@ton/sandbox 0.21.0-beta.1 → 0.21.0-debugger.1
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/dist/blockchain/Blockchain.d.ts +3 -0
- package/dist/blockchain/Blockchain.js +7 -0
- package/dist/blockchain/SmartContract.d.ts +2 -0
- package/dist/blockchain/SmartContract.js +52 -6
- package/dist/debugger/Debuggee.d.ts +88 -0
- package/dist/debugger/Debuggee.js +467 -0
- package/dist/debugger/SourceMapCache.d.ts +5 -0
- package/dist/debugger/SourceMapCache.js +27 -0
- package/dist/debugger/debug.d.ts +5 -0
- package/dist/debugger/debug.js +63 -0
- package/dist/executor/Executor.d.ts +23 -4
- package/dist/executor/Executor.js +126 -8
- package/dist/executor/emulator-emscripten.js +1 -1
- package/dist/executor/emulator-emscripten.wasm.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/package.json +7 -2
package/dist/index.d.ts
CHANGED
|
@@ -10,3 +10,4 @@ export { Treasury, TreasuryContract, } from './treasury/Treasury';
|
|
|
10
10
|
export { prettyLogTransaction, prettyLogTransactions, } from './utils/prettyLogTransaction';
|
|
11
11
|
export { printTransactionFees, } from './utils/printTransactionFees';
|
|
12
12
|
export { internal, } from './utils/message';
|
|
13
|
+
export { registerCompiledContract, } from './debugger/SourceMapCache';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.internal = exports.printTransactionFees = exports.prettyLogTransactions = exports.prettyLogTransaction = exports.TreasuryContract = exports.Executor = exports.EmulationError = exports.TimeError = exports.GetMethodError = exports.createShardAccount = exports.createEmptyShardAccount = exports.SmartContract = exports.wrapTonClient4ForRemote = exports.RemoteBlockchainStorage = exports.LocalBlockchainStorage = exports.BlockchainSender = exports.BlockchainContractProvider = exports.toSandboxContract = exports.Blockchain = exports.defaultConfigSeqno = exports.defaultConfig = void 0;
|
|
3
|
+
exports.registerCompiledContract = exports.internal = exports.printTransactionFees = exports.prettyLogTransactions = exports.prettyLogTransaction = exports.TreasuryContract = exports.Executor = exports.EmulationError = exports.TimeError = exports.GetMethodError = exports.createShardAccount = exports.createEmptyShardAccount = exports.SmartContract = exports.wrapTonClient4ForRemote = exports.RemoteBlockchainStorage = exports.LocalBlockchainStorage = exports.BlockchainSender = exports.BlockchainContractProvider = exports.toSandboxContract = exports.Blockchain = exports.defaultConfigSeqno = exports.defaultConfig = void 0;
|
|
4
4
|
var defaultConfig_1 = require("./config/defaultConfig");
|
|
5
5
|
Object.defineProperty(exports, "defaultConfig", { enumerable: true, get: function () { return defaultConfig_1.defaultConfig; } });
|
|
6
6
|
Object.defineProperty(exports, "defaultConfigSeqno", { enumerable: true, get: function () { return defaultConfig_1.defaultConfigSeqno; } });
|
|
@@ -33,3 +33,5 @@ var printTransactionFees_1 = require("./utils/printTransactionFees");
|
|
|
33
33
|
Object.defineProperty(exports, "printTransactionFees", { enumerable: true, get: function () { return printTransactionFees_1.printTransactionFees; } });
|
|
34
34
|
var message_1 = require("./utils/message");
|
|
35
35
|
Object.defineProperty(exports, "internal", { enumerable: true, get: function () { return message_1.internal; } });
|
|
36
|
+
var SourceMapCache_1 = require("./debugger/SourceMapCache");
|
|
37
|
+
Object.defineProperty(exports, "registerCompiledContract", { enumerable: true, get: function () { return SourceMapCache_1.registerCompiledContract; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ton/sandbox",
|
|
3
|
-
"version": "0.21.0-
|
|
3
|
+
"version": "0.21.0-debugger.1",
|
|
4
4
|
"description": "TON transaction emulator",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,12 +13,14 @@
|
|
|
13
13
|
"url": "git+https://github.com/ton-org/sandbox"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
+
"@ton/blueprint": "0.23.0-debugger.0",
|
|
16
17
|
"@ton/core": "^0.56.0",
|
|
17
18
|
"@ton/crypto": "3.2.0",
|
|
18
19
|
"@ton/test-utils": "^0.3.1",
|
|
19
20
|
"@ton/ton": "^13.11.0",
|
|
20
21
|
"@types/jest": "^29.5.0",
|
|
21
22
|
"@types/node": "^18.15.11",
|
|
23
|
+
"@vscode/debugprotocol": "^1.66.0",
|
|
22
24
|
"jest": "^29.5.0",
|
|
23
25
|
"ts-jest": "^29.0.5",
|
|
24
26
|
"ts-node": "^10.9.1",
|
|
@@ -35,5 +37,8 @@
|
|
|
35
37
|
"build": "rm -rf dist && yarn wasm:pack && yarn test && tsc && yarn wasm:copy",
|
|
36
38
|
"config:pack": "ts-node ./scripts/pack-config.ts"
|
|
37
39
|
},
|
|
38
|
-
"packageManager": "yarn@3.6.1"
|
|
40
|
+
"packageManager": "yarn@3.6.1",
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@vscode/debugadapter": "^1.66.0"
|
|
43
|
+
}
|
|
39
44
|
}
|