mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-05-16 02:27:57 +08:00
* feat: use native nodejs addon module for Stacks binary encoding and decoding (Clarity values, binary wire formats, addresses, etc) * refactor: move transaction, post-condition, and clarity value decoding from js to native addon * chore: fix rosetta pox contract-call parsing * chore: use npm registry for stacks-encoding-native-js * chore: fix unused export * chore: commit dev file to be converted to unit tests * refactor: use stacks-encoding-native lib for stacks-address operations * chore: bump stacks-encoding-native lib * chore: stacks-native-encoding version bump with fix for decoding multisig tx sender address * chore: stacks-native-encoding version bump with fix for decoding zero-length prefixed contract call args * test: introduce tests for on-btc-chain originating stx tx processing * chore: prettier ignore json payload sample files * chore: clear up type import syntax * test: tests for on-btc-chain originating stx-lock tx processing * feat: expand cpu profiling capabilties with distinct start and stop endpoints easier to use in scripts * chore: fix compilation error in /utils * feat: support for performing cpu profiling with the native addon * fix: avoid re-injecting sourcemap support when running with ts-node * chore: updates for latest stacks-native-encoding library function usage, only decode clarity value type signatures when needed * chore: decode only clarity value repr string rather than deep value in several areas * chore: fix package-lock.json * feat: commit load testing script with sampled endpoint list * chore: fix synthetic-stx-txs-tests * chore: update to latest stacks-encoding-native types (using hex strings rather than js buffers) * chore: bump stacks-encoding-native version * chore: fix regular integration tests * chore: fix bug with rosetta principal repr parsing * chore: bump stacks-encoding-native version * chore: add several TODO(perf) comments where buffers should be hex strings * chore: remove stacks-native-encoding debug code that have since been converted into unit tests * chore: remove debug code * fix: bug fix for reverse file stream bug if read chunk starts with line-ending * chore: wrap synthetic stx txs tests
33 lines
997 B
JSON
33 lines
997 B
JSON
{
|
|
"name": "@stacks/blockchain-api-utils",
|
|
"version": "0.1.0",
|
|
"description": "Utilities for Stacks Blockchain API",
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"build": "rimraf ./lib && npm run build:node",
|
|
"build:node": "tsc",
|
|
"start": "node ./lib/utils/src/index.js",
|
|
"address-cache-test": "npm run build && NODE_ENV=production node --expose-gc ./lib/utils/src/addr-lru-cache-test.js",
|
|
"chaintip-cache-control-test": "npm run build && node ./lib/utils/src/chaintip-cache-control-test.js"
|
|
},
|
|
"prettier": "@stacks/prettier-config",
|
|
"dependencies": {
|
|
"@stacks/transactions": "^v2.0.1",
|
|
"bignumber.js": "^9.0.1",
|
|
"dotenv": "^10.0.0",
|
|
"extra-bigint": "0.0.62",
|
|
"getopts": "^2.3.0",
|
|
"node-fetch": "^2.6.6",
|
|
"pg": "^8.2.1",
|
|
"pg-copy-streams": "^5.1.1",
|
|
"pg-cursor": "^2.6.0",
|
|
"pg-listen": "^1.7.0",
|
|
"table": "^6.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/pg": "^8.6.1",
|
|
"rimraf": "^3.0.2",
|
|
"typescript": "^4.4.2"
|
|
}
|
|
}
|