@ton/sandbox 0.32.2 → 0.33.0-dev.20250610093937.e3733e4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/blockchain/Blockchain.d.ts +14 -14
- package/dist/blockchain/Blockchain.js +28 -18
- package/dist/blockchain/BlockchainContractProvider.d.ts +4 -4
- package/dist/blockchain/BlockchainContractProvider.js +9 -8
- package/dist/blockchain/BlockchainSender.d.ts +1 -1
- package/dist/blockchain/BlockchainSender.js +5 -2
- package/dist/blockchain/BlockchainStorage.d.ts +6 -6
- package/dist/blockchain/BlockchainStorage.js +15 -7
- package/dist/blockchain/SmartContract.d.ts +4 -4
- package/dist/blockchain/SmartContract.js +24 -15
- package/dist/event/Event.d.ts +1 -1
- package/dist/event/Event.js +15 -13
- package/dist/executor/Executor.d.ts +2 -2
- package/dist/executor/Executor.js +52 -33
- package/dist/index.d.ts +10 -9
- package/dist/index.js +4 -1
- package/dist/jest/BenchmarkCommand.js +1 -1
- package/dist/jest/BenchmarkReporter.js +1 -1
- package/dist/meta/ContractsMeta.d.ts +1 -1
- package/dist/metric/collectMetric.js +6 -1
- package/dist/metric/deltaResult.js +2 -0
- package/dist/treasury/Treasury.d.ts +1 -1
- package/dist/treasury/Treasury.js +6 -11
- package/dist/utils/AsyncLock.js +5 -5
- package/dist/utils/base64.js +1 -1
- package/dist/utils/config.d.ts +3 -0
- package/dist/utils/config.js +78 -0
- package/dist/utils/crc16.js +19 -32
- package/dist/utils/ec.d.ts +1 -1
- package/dist/utils/message.d.ts +2 -2
- package/dist/utils/prettyLogTransaction.d.ts +1 -1
- package/dist/utils/prettyLogTransaction.js +1 -0
- package/dist/utils/printTransactionFees.d.ts +1 -1
- package/dist/utils/printTransactionFees.js +6 -4
- package/jest-environment.js +1 -1
- package/jest-reporter.js +1 -1
- package/package.json +9 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ton/sandbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0-dev.20250610093937.e3733e4",
|
|
4
4
|
"description": "TON transaction emulator",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,14 +14,17 @@
|
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git+https://github.com/ton-org/sandbox"
|
|
16
16
|
},
|
|
17
|
+
"prettier": "@ton/toolchain/prettier",
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@ton/core": "^0.61.0",
|
|
19
20
|
"@ton/crypto": "3.3.0",
|
|
20
21
|
"@ton/test-utils": "^0.7.0",
|
|
21
22
|
"@ton/tolk-js": "^0.13.0",
|
|
22
23
|
"@ton/ton": "^15.2.1",
|
|
24
|
+
"@ton/toolchain": "the-ton-tech/toolchain#v1.4.0",
|
|
23
25
|
"@types/jest": "^29.5.0",
|
|
24
26
|
"@types/node": "^18.15.11",
|
|
27
|
+
"eslint": "^9.28.0",
|
|
25
28
|
"jest": "^29.5.0",
|
|
26
29
|
"jest-config": "^29.7.0",
|
|
27
30
|
"jest-environment-node": "^29.7.0",
|
|
@@ -44,14 +47,16 @@
|
|
|
44
47
|
}
|
|
45
48
|
},
|
|
46
49
|
"scripts": {
|
|
47
|
-
"metric": "BENCH_NEW=\"@ton/sandbox v$(npm view @ton/sandbox version)\" jest",
|
|
48
50
|
"wasm:pack": "ts-node ./scripts/pack-wasm.ts",
|
|
49
51
|
"wasm:copy": "cp src/executor/emulator-emscripten.js src/executor/emulator-emscripten.wasm.js ./dist/executor",
|
|
50
52
|
"test": "yarn wasm:pack && yarn jest src",
|
|
51
|
-
"build": "rm -rf dist && yarn wasm:pack && tsc && yarn
|
|
53
|
+
"build": "rm -rf dist && yarn wasm:pack && tsc && yarn wasm:copy",
|
|
54
|
+
"bt": "yarn build && yarn test",
|
|
55
|
+
"lint": "eslint . --max-warnings 0",
|
|
56
|
+
"lint:fix": "eslint . --max-warnings 0 --fix",
|
|
52
57
|
"config:pack": "ts-node ./scripts/pack-config.ts"
|
|
53
58
|
},
|
|
54
|
-
"packageManager": "yarn@
|
|
59
|
+
"packageManager": "yarn@4.9.2",
|
|
55
60
|
"dependencies": {
|
|
56
61
|
"chalk": "^4.1.2",
|
|
57
62
|
"table": "^6.9.0"
|