@stacks/clarinet-sdk 3.25.0 → 4.0.0
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/README.md +5 -0
- package/dist/cjs/common/src/sdkProxy.d.ts +10 -18
- package/dist/cjs/common/src/sdkProxy.js +14 -15
- package/dist/cjs/common/src/sdkProxy.js.map +1 -1
- package/dist/cjs/common/src/sdkProxyHelpers.d.ts +90 -1
- package/dist/cjs/common/src/sdkProxyHelpers.js +66 -0
- package/dist/cjs/common/src/sdkProxyHelpers.js.map +1 -1
- package/dist/cjs/node/src/index.d.ts +1 -1
- package/dist/cjs/node/src/index.js.map +1 -1
- package/dist/cjs/node/src/syncDebugSimnet.d.ts +3 -3
- package/dist/cjs/node/src/syncDebugSimnet.js +55 -43
- package/dist/cjs/node/src/syncDebugSimnet.js.map +1 -1
- package/dist/cjs/node/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/esm/common/src/sdkProxy.d.ts +10 -18
- package/dist/esm/common/src/sdkProxy.js +15 -16
- package/dist/esm/common/src/sdkProxy.js.map +1 -1
- package/dist/esm/common/src/sdkProxyHelpers.d.ts +90 -1
- package/dist/esm/common/src/sdkProxyHelpers.js +62 -0
- package/dist/esm/common/src/sdkProxyHelpers.js.map +1 -1
- package/dist/esm/node/src/index.d.ts +1 -1
- package/dist/esm/node/src/index.js.map +1 -1
- package/dist/esm/node/src/syncDebugSimnet.d.ts +3 -3
- package/dist/esm/node/src/syncDebugSimnet.js +57 -45
- package/dist/esm/node/src/syncDebugSimnet.js.map +1 -1
- package/dist/esm/node/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"7.0.2","root":["../../../src/debugClient.ts","../../../src/index.ts","../../../src/sdkProxy.ts","../../../src/syncDebugSimnet.ts","../../../src/syncDebugSocket.ts","../../../src/vfs.ts","../../../../common/src/sdkProxy.ts","../../../../common/src/sdkProxyHelpers.ts"],"packageJsons":["../../../../../clarinet-sdk-wasm/pkg-node/package.json","../../../../common/package.json","../../../package.json","../../../../../../node_modules/.pnpm/@noble+secp256k1@1.7.1/node_modules/@noble/secp256k1/package.json","../../../../../../node_modules/.pnpm/@stacks+common@7.6.0/node_modules/@stacks/common/package.json","../../../../../../node_modules/.pnpm/@stacks+network@7.6.0/node_modules/@stacks/network/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/package.json","../../../../../../node_modules/.pnpm/events@3.3.0/node_modules/events/package.json","../../../../../../node_modules/.pnpm/undici-types@8.3.0/node_modules/undici-types/package.json"],"missingPackageJsons":["../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/child_process/package.json","../../../node_modules/net/package.json","../../../../../../node_modules/.pnpm/@noble+secp256k1@1.7.1/node_modules/@noble/secp256k1/lib/package.json","../../../../../../node_modules/.pnpm/@stacks+common@7.6.0/node_modules/@stacks/common/dist/package.json","../../../../../../node_modules/.pnpm/@stacks+network@7.6.0/node_modules/@stacks/network/dist/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/clarity/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/clarity/values/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/namespaces/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/wire/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/assert/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/assert/strict/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/async_hooks/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/buffer/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/child_process/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/cluster/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/console/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/constants/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/crypto/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/dgram/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/diagnostics_channel/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/dns/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/dns/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/domain/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/events/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/fs/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/fs/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/http/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/http2/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/https/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/inspector/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/inspector/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/module/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/net/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/assert/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/dns/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/fs/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/inspector/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/path/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/readline/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/stream/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/test/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/timers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/util/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/web-globals/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/node/zlib/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/os/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/path/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/path/posix/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/path/win32/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/perf_hooks/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/process/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/punycode/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/querystring/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/readline/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/readline/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/repl/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/stream/consumers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/stream/iter/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/stream/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/stream/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/stream/web/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/string_decoder/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/timers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/timers/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/tls/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/trace_events/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/tty/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/url/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/util/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/util/types/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/v8/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/vm/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/wasi/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/worker_threads/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/@types/zlib/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/assert/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/assert/strict/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/async_hooks/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/buffer/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/child_process/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/cluster/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/console/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/constants/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/crypto/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/dgram/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/diagnostics_channel/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/dns/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/dns/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/domain/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/events/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/fs/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/fs/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/http/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/http2/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/https/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/inspector/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/inspector/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/module/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/net/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/os/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/path/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/path/posix/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/path/win32/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/perf_hooks/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/process/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/punycode/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/querystring/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/readline/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/readline/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/repl/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/stream/consumers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/stream/iter/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/stream/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/stream/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/stream/web/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/string_decoder/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/timers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/timers/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/tls/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/trace_events/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/tty/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/url/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/util/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/util/types/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/v8/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/vm/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/wasi/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/worker_threads/package.json","../../../../../../node_modules/.pnpm/@types+node@26.4.0/node_modules/zlib/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/assert/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/assert/strict/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/async_hooks/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/buffer/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/child_process/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/cluster/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/console/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/constants/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/crypto/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/dgram/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/diagnostics_channel/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/dns/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/dns/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/domain/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/events/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/fs/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/fs/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/http/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/http2/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/https/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/inspector/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/inspector/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/module/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/net/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/os/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/path/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/path/posix/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/path/win32/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/perf_hooks/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/process/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/punycode/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/querystring/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/readline/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/readline/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/repl/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/consumers/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/iter/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/web/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/string_decoder/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/timers/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/timers/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/tls/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/trace_events/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/tty/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/url/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/util/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/util/types/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/v8/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/vm/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/wasi/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/worker_threads/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/zlib/package.json","../../../../../../node_modules/.pnpm/node_modules/assert/package.json","../../../../../../node_modules/.pnpm/node_modules/assert/strict/package.json","../../../../../../node_modules/.pnpm/node_modules/async_hooks/package.json","../../../../../../node_modules/.pnpm/node_modules/buffer/package.json","../../../../../../node_modules/.pnpm/node_modules/child_process/package.json","../../../../../../node_modules/.pnpm/node_modules/cluster/package.json","../../../../../../node_modules/.pnpm/node_modules/console/package.json","../../../../../../node_modules/.pnpm/node_modules/constants/package.json","../../../../../../node_modules/.pnpm/node_modules/crypto/package.json","../../../../../../node_modules/.pnpm/node_modules/dgram/package.json","../../../../../../node_modules/.pnpm/node_modules/diagnostics_channel/package.json","../../../../../../node_modules/.pnpm/node_modules/dns/package.json","../../../../../../node_modules/.pnpm/node_modules/dns/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/domain/package.json","../../../../../../node_modules/.pnpm/node_modules/fs/package.json","../../../../../../node_modules/.pnpm/node_modules/fs/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/http/package.json","../../../../../../node_modules/.pnpm/node_modules/http2/package.json","../../../../../../node_modules/.pnpm/node_modules/https/package.json","../../../../../../node_modules/.pnpm/node_modules/inspector/package.json","../../../../../../node_modules/.pnpm/node_modules/inspector/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/module/package.json","../../../../../../node_modules/.pnpm/node_modules/net/package.json","../../../../../../node_modules/.pnpm/node_modules/os/package.json","../../../../../../node_modules/.pnpm/node_modules/path/package.json","../../../../../../node_modules/.pnpm/node_modules/path/posix/package.json","../../../../../../node_modules/.pnpm/node_modules/path/win32/package.json","../../../../../../node_modules/.pnpm/node_modules/perf_hooks/package.json","../../../../../../node_modules/.pnpm/node_modules/process/package.json","../../../../../../node_modules/.pnpm/node_modules/punycode/package.json","../../../../../../node_modules/.pnpm/node_modules/querystring/package.json","../../../../../../node_modules/.pnpm/node_modules/readline/package.json","../../../../../../node_modules/.pnpm/node_modules/readline/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/repl/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/consumers/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/iter/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/web/package.json","../../../../../../node_modules/.pnpm/node_modules/string_decoder/package.json","../../../../../../node_modules/.pnpm/node_modules/timers/package.json","../../../../../../node_modules/.pnpm/node_modules/timers/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/tls/package.json","../../../../../../node_modules/.pnpm/node_modules/trace_events/package.json","../../../../../../node_modules/.pnpm/node_modules/tty/package.json","../../../../../../node_modules/.pnpm/node_modules/url/package.json","../../../../../../node_modules/.pnpm/node_modules/util/package.json","../../../../../../node_modules/.pnpm/node_modules/util/types/package.json","../../../../../../node_modules/.pnpm/node_modules/v8/package.json","../../../../../../node_modules/.pnpm/node_modules/vm/package.json","../../../../../../node_modules/.pnpm/node_modules/wasi/package.json","../../../../../../node_modules/.pnpm/node_modules/worker_threads/package.json","../../../../../../node_modules/.pnpm/node_modules/zlib/package.json","../../../../../../node_modules/assert/package.json","../../../../../../node_modules/assert/strict/package.json","../../../../../../node_modules/async_hooks/package.json","../../../../../../node_modules/buffer/package.json","../../../../../../node_modules/child_process/package.json","../../../../../../node_modules/cluster/package.json","../../../../../../node_modules/console/package.json","../../../../../../node_modules/constants/package.json","../../../../../../node_modules/crypto/package.json","../../../../../../node_modules/dgram/package.json","../../../../../../node_modules/diagnostics_channel/package.json","../../../../../../node_modules/dns/package.json","../../../../../../node_modules/dns/promises/package.json","../../../../../../node_modules/domain/package.json","../../../../../../node_modules/events/package.json","../../../../../../node_modules/fs/package.json","../../../../../../node_modules/fs/promises/package.json","../../../../../../node_modules/http/package.json","../../../../../../node_modules/http2/package.json","../../../../../../node_modules/https/package.json","../../../../../../node_modules/inspector/package.json","../../../../../../node_modules/inspector/promises/package.json","../../../../../../node_modules/module/package.json","../../../../../../node_modules/net/package.json","../../../../../../node_modules/os/package.json","../../../../../../node_modules/path/package.json","../../../../../../node_modules/path/posix/package.json","../../../../../../node_modules/path/win32/package.json","../../../../../../node_modules/perf_hooks/package.json","../../../../../../node_modules/process/package.json","../../../../../../node_modules/punycode/package.json","../../../../../../node_modules/querystring/package.json","../../../../../../node_modules/readline/package.json","../../../../../../node_modules/readline/promises/package.json","../../../../../../node_modules/repl/package.json","../../../../../../node_modules/stream/consumers/package.json","../../../../../../node_modules/stream/iter/package.json","../../../../../../node_modules/stream/package.json","../../../../../../node_modules/stream/promises/package.json","../../../../../../node_modules/stream/web/package.json","../../../../../../node_modules/string_decoder/package.json","../../../../../../node_modules/timers/package.json","../../../../../../node_modules/timers/promises/package.json","../../../../../../node_modules/tls/package.json","../../../../../../node_modules/trace_events/package.json","../../../../../../node_modules/tty/package.json","../../../../../../node_modules/url/package.json","../../../../../../node_modules/util/package.json","../../../../../../node_modules/util/types/package.json","../../../../../../node_modules/v8/package.json","../../../../../../node_modules/vm/package.json","../../../../../../node_modules/wasi/package.json","../../../../../../node_modules/worker_threads/package.json","../../../../../../node_modules/zlib/package.json"]}
|
|
1
|
+
{"version":"7.0.2","root":["../../../src/debugClient.ts","../../../src/index.ts","../../../src/sdkProxy.ts","../../../src/syncDebugSimnet.ts","../../../src/syncDebugSocket.ts","../../../src/vfs.ts","../../../../common/src/sdkProxy.ts","../../../../common/src/sdkProxyHelpers.ts"],"packageJsons":["../../../../../clarinet-sdk-wasm/pkg-node/package.json","../../../../common/package.json","../../../package.json","../../../../../../node_modules/.pnpm/@noble+secp256k1@1.7.1/node_modules/@noble/secp256k1/package.json","../../../../../../node_modules/.pnpm/@stacks+common@7.6.0/node_modules/@stacks/common/package.json","../../../../../../node_modules/.pnpm/@stacks+network@7.6.0/node_modules/@stacks/network/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/package.json","../../../../../../node_modules/.pnpm/events@3.3.0/node_modules/events/package.json","../../../../../../node_modules/.pnpm/undici-types@8.9.0/node_modules/undici-types/package.json"],"missingPackageJsons":["../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/child_process/package.json","../../../node_modules/net/package.json","../../../../../../node_modules/.pnpm/@noble+secp256k1@1.7.1/node_modules/@noble/secp256k1/lib/package.json","../../../../../../node_modules/.pnpm/@stacks+common@7.6.0/node_modules/@stacks/common/dist/package.json","../../../../../../node_modules/.pnpm/@stacks+network@7.6.0/node_modules/@stacks/network/dist/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/clarity/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/clarity/values/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/namespaces/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/package.json","../../../../../../node_modules/.pnpm/@stacks+transactions@7.6.0/node_modules/@stacks/transactions/dist/wire/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/assert/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/assert/strict/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/async_hooks/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/buffer/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/child_process/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/cluster/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/console/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/constants/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/crypto/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/dgram/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/diagnostics_channel/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/dns/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/dns/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/domain/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/events/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/fs/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/fs/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/http/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/http2/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/https/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/inspector/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/inspector/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/module/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/net/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/assert/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/dns/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/fs/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/inspector/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/path/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/readline/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/stream/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/test/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/timers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/util/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/web-globals/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/node/zlib/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/os/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/path/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/path/posix/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/path/win32/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/perf_hooks/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/process/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/punycode/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/querystring/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/readline/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/readline/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/repl/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/stream/consumers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/stream/iter/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/stream/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/stream/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/stream/web/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/string_decoder/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/timers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/timers/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/tls/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/trace_events/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/tty/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/url/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/util/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/util/types/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/v8/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/vm/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/wasi/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/worker_threads/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/@types/zlib/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/assert/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/assert/strict/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/async_hooks/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/buffer/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/child_process/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/cluster/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/console/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/constants/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/crypto/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/dgram/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/diagnostics_channel/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/dns/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/dns/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/domain/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/events/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/fs/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/fs/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/http/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/http2/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/https/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/inspector/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/inspector/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/module/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/net/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/os/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/path/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/path/posix/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/path/win32/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/perf_hooks/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/process/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/punycode/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/querystring/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/readline/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/readline/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/repl/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/stream/consumers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/stream/iter/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/stream/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/stream/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/stream/web/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/string_decoder/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/timers/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/timers/promises/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/tls/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/trace_events/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/tty/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/url/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/util/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/util/types/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/v8/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/vm/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/wasi/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/worker_threads/package.json","../../../../../../node_modules/.pnpm/@types+node@26.6.5/node_modules/zlib/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/assert/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/assert/strict/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/async_hooks/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/buffer/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/child_process/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/cluster/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/console/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/constants/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/crypto/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/dgram/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/diagnostics_channel/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/dns/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/dns/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/domain/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/events/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/fs/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/fs/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/http/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/http2/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/https/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/inspector/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/inspector/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/module/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/net/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/os/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/path/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/path/posix/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/path/win32/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/perf_hooks/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/process/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/punycode/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/querystring/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/readline/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/readline/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/repl/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/consumers/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/iter/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/stream/web/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/string_decoder/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/timers/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/timers/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/tls/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/trace_events/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/tty/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/url/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/util/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/util/types/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/v8/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/vm/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/wasi/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/worker_threads/package.json","../../../../../../node_modules/.pnpm/node_modules/@types/zlib/package.json","../../../../../../node_modules/.pnpm/node_modules/assert/package.json","../../../../../../node_modules/.pnpm/node_modules/assert/strict/package.json","../../../../../../node_modules/.pnpm/node_modules/async_hooks/package.json","../../../../../../node_modules/.pnpm/node_modules/buffer/package.json","../../../../../../node_modules/.pnpm/node_modules/child_process/package.json","../../../../../../node_modules/.pnpm/node_modules/cluster/package.json","../../../../../../node_modules/.pnpm/node_modules/console/package.json","../../../../../../node_modules/.pnpm/node_modules/constants/package.json","../../../../../../node_modules/.pnpm/node_modules/crypto/package.json","../../../../../../node_modules/.pnpm/node_modules/dgram/package.json","../../../../../../node_modules/.pnpm/node_modules/diagnostics_channel/package.json","../../../../../../node_modules/.pnpm/node_modules/dns/package.json","../../../../../../node_modules/.pnpm/node_modules/dns/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/domain/package.json","../../../../../../node_modules/.pnpm/node_modules/fs/package.json","../../../../../../node_modules/.pnpm/node_modules/fs/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/http/package.json","../../../../../../node_modules/.pnpm/node_modules/http2/package.json","../../../../../../node_modules/.pnpm/node_modules/https/package.json","../../../../../../node_modules/.pnpm/node_modules/inspector/package.json","../../../../../../node_modules/.pnpm/node_modules/inspector/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/module/package.json","../../../../../../node_modules/.pnpm/node_modules/net/package.json","../../../../../../node_modules/.pnpm/node_modules/os/package.json","../../../../../../node_modules/.pnpm/node_modules/path/package.json","../../../../../../node_modules/.pnpm/node_modules/path/posix/package.json","../../../../../../node_modules/.pnpm/node_modules/path/win32/package.json","../../../../../../node_modules/.pnpm/node_modules/perf_hooks/package.json","../../../../../../node_modules/.pnpm/node_modules/process/package.json","../../../../../../node_modules/.pnpm/node_modules/punycode/package.json","../../../../../../node_modules/.pnpm/node_modules/querystring/package.json","../../../../../../node_modules/.pnpm/node_modules/readline/package.json","../../../../../../node_modules/.pnpm/node_modules/readline/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/repl/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/consumers/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/iter/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/stream/web/package.json","../../../../../../node_modules/.pnpm/node_modules/string_decoder/package.json","../../../../../../node_modules/.pnpm/node_modules/timers/package.json","../../../../../../node_modules/.pnpm/node_modules/timers/promises/package.json","../../../../../../node_modules/.pnpm/node_modules/tls/package.json","../../../../../../node_modules/.pnpm/node_modules/trace_events/package.json","../../../../../../node_modules/.pnpm/node_modules/tty/package.json","../../../../../../node_modules/.pnpm/node_modules/url/package.json","../../../../../../node_modules/.pnpm/node_modules/util/package.json","../../../../../../node_modules/.pnpm/node_modules/util/types/package.json","../../../../../../node_modules/.pnpm/node_modules/v8/package.json","../../../../../../node_modules/.pnpm/node_modules/vm/package.json","../../../../../../node_modules/.pnpm/node_modules/wasi/package.json","../../../../../../node_modules/.pnpm/node_modules/worker_threads/package.json","../../../../../../node_modules/.pnpm/node_modules/zlib/package.json","../../../../../../node_modules/assert/package.json","../../../../../../node_modules/assert/strict/package.json","../../../../../../node_modules/async_hooks/package.json","../../../../../../node_modules/buffer/package.json","../../../../../../node_modules/child_process/package.json","../../../../../../node_modules/cluster/package.json","../../../../../../node_modules/console/package.json","../../../../../../node_modules/constants/package.json","../../../../../../node_modules/crypto/package.json","../../../../../../node_modules/dgram/package.json","../../../../../../node_modules/diagnostics_channel/package.json","../../../../../../node_modules/dns/package.json","../../../../../../node_modules/dns/promises/package.json","../../../../../../node_modules/domain/package.json","../../../../../../node_modules/events/package.json","../../../../../../node_modules/fs/package.json","../../../../../../node_modules/fs/promises/package.json","../../../../../../node_modules/http/package.json","../../../../../../node_modules/http2/package.json","../../../../../../node_modules/https/package.json","../../../../../../node_modules/inspector/package.json","../../../../../../node_modules/inspector/promises/package.json","../../../../../../node_modules/module/package.json","../../../../../../node_modules/net/package.json","../../../../../../node_modules/os/package.json","../../../../../../node_modules/path/package.json","../../../../../../node_modules/path/posix/package.json","../../../../../../node_modules/path/win32/package.json","../../../../../../node_modules/perf_hooks/package.json","../../../../../../node_modules/process/package.json","../../../../../../node_modules/punycode/package.json","../../../../../../node_modules/querystring/package.json","../../../../../../node_modules/readline/package.json","../../../../../../node_modules/readline/promises/package.json","../../../../../../node_modules/repl/package.json","../../../../../../node_modules/stream/consumers/package.json","../../../../../../node_modules/stream/iter/package.json","../../../../../../node_modules/stream/package.json","../../../../../../node_modules/stream/promises/package.json","../../../../../../node_modules/stream/web/package.json","../../../../../../node_modules/string_decoder/package.json","../../../../../../node_modules/timers/package.json","../../../../../../node_modules/timers/promises/package.json","../../../../../../node_modules/tls/package.json","../../../../../../node_modules/trace_events/package.json","../../../../../../node_modules/tty/package.json","../../../../../../node_modules/url/package.json","../../../../../../node_modules/util/package.json","../../../../../../node_modules/util/types/package.json","../../../../../../node_modules/v8/package.json","../../../../../../node_modules/vm/package.json","../../../../../../node_modules/wasi/package.json","../../../../../../node_modules/worker_threads/package.json","../../../../../../node_modules/zlib/package.json"]}
|
|
@@ -1,26 +1,18 @@
|
|
|
1
|
-
import { type CallFn, type CallReadOnlyFn, type DeployContract, type Execute, type GetDataVar, type GetMapEntry, type MineBlock, type TransferSTX } from "./sdkProxyHelpers.js";
|
|
2
|
-
type WasmTransactionRes = {
|
|
3
|
-
result: string;
|
|
4
|
-
events: string;
|
|
5
|
-
costs: string;
|
|
6
|
-
performance?: string;
|
|
7
|
-
};
|
|
1
|
+
import { type SerializedTransactionResult, type SerializedBlockTransactionResult, type BroadcastTransaction, type CallFn, type CallReadOnlyFn, type DeployContract, type Execute, type GetDataVar, type GetMapEntry, type MineBlock, type TransferSTX } from "./sdkProxyHelpers.js";
|
|
8
2
|
type ProxySdk = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
broadcastTransaction(rawHex: string): string;
|
|
4
|
+
callReadOnlyFn(args: unknown): SerializedTransactionResult;
|
|
5
|
+
callPublicFn(args: unknown): SerializedTransactionResult;
|
|
6
|
+
callPrivateFn(args: unknown): SerializedTransactionResult;
|
|
7
|
+
deployContract(args: unknown): SerializedTransactionResult;
|
|
8
|
+
execute(snippet: string): SerializedTransactionResult;
|
|
14
9
|
getDataVar(contract: string, varName: string): string;
|
|
15
10
|
getMapEntry(contract: string, mapName: string, mapKey: Uint8Array): string;
|
|
16
|
-
mineBlock(txs: unknown[]):
|
|
17
|
-
|
|
18
|
-
transferSTX(args: unknown): WasmTransactionRes;
|
|
11
|
+
mineBlock(txs: unknown[]): SerializedBlockTransactionResult[];
|
|
12
|
+
transferSTX(args: unknown): SerializedTransactionResult;
|
|
19
13
|
};
|
|
20
|
-
/** @deprecated use `simnet.execute(command)` instead */
|
|
21
|
-
type RunSnippet<S extends ProxySdk> = S["runSnippet"];
|
|
22
14
|
export type ProxiedSimnet<S extends ProxySdk> = {
|
|
23
|
-
[K in keyof S]: K extends "callReadOnlyFn" ? CallReadOnlyFn : K extends "callPublicFn" | "callPrivateFn" ? CallFn : K extends "execute" ? Execute : K extends "
|
|
15
|
+
[K in keyof S]: K extends "broadcastTransaction" ? BroadcastTransaction : K extends "callReadOnlyFn" ? CallReadOnlyFn : K extends "callPublicFn" | "callPrivateFn" ? CallFn : K extends "execute" ? Execute : K extends "deployContract" ? DeployContract : K extends "transferSTX" ? TransferSTX : K extends "mineBlock" ? MineBlock : K extends "getDataVar" ? GetDataVar : K extends "getMapEntry" ? GetMapEntry : S[K];
|
|
24
16
|
};
|
|
25
17
|
type ProxyBindings<ContractOptions> = {
|
|
26
18
|
CallFnArgs: new (contract: string, method: string, args: Uint8Array[], sender: string, postConditions?: string[], postConditionMode?: string) => unknown;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import { Cl, serializeCVBytes } from "@stacks/transactions";
|
|
2
|
-
import {
|
|
3
|
-
function parseTxResponse(response) {
|
|
4
|
-
return {
|
|
5
|
-
result: Cl.deserialize(response.result),
|
|
6
|
-
events: parseEvents(response.events),
|
|
7
|
-
costs: parseCosts(response.costs),
|
|
8
|
-
performance: response.performance,
|
|
9
|
-
};
|
|
10
|
-
}
|
|
2
|
+
import { parseBlockTransactionResult, getClarityVersionInputError, mineBlockWithValidatedVersions, parseTransactionResult, serializePostConditions, } from "./sdkProxyHelpers.js";
|
|
11
3
|
export function createSessionProxy(bindings) {
|
|
12
4
|
const { CallFnArgs, ContractOptions, DeployContractArgs, TransferSTXArgs } = bindings;
|
|
13
5
|
return {
|
|
@@ -17,33 +9,40 @@ export function createSessionProxy(bindings) {
|
|
|
17
9
|
const callFn = (contract, method, args, sender, options) => {
|
|
18
10
|
const { postConditions, postConditionMode } = serializePostConditions(options);
|
|
19
11
|
const response = sdk[prop](new CallFnArgs(contract, method, args.map(serializeCVBytes), sender, postConditions, postConditionMode));
|
|
20
|
-
return
|
|
12
|
+
return parseTransactionResult(response);
|
|
21
13
|
};
|
|
22
14
|
return callFn;
|
|
23
15
|
}
|
|
16
|
+
if (prop === "broadcastTransaction") {
|
|
17
|
+
const broadcast = (rawHex) => JSON.parse(sdk.broadcastTransaction(rawHex));
|
|
18
|
+
return broadcast;
|
|
19
|
+
}
|
|
24
20
|
if (prop === "execute") {
|
|
25
|
-
const execute = (snippet) =>
|
|
21
|
+
const execute = (snippet) => parseTransactionResult(sdk.execute(snippet));
|
|
26
22
|
return execute;
|
|
27
23
|
}
|
|
28
24
|
if (prop === "deployContract") {
|
|
29
25
|
const deployContract = (name, content, options, sender, postConditionOptions) => {
|
|
26
|
+
const error = getClarityVersionInputError(options?.clarityVersion);
|
|
27
|
+
if (error !== undefined)
|
|
28
|
+
throw new Error(error);
|
|
30
29
|
const rustOptions = options
|
|
31
30
|
? new ContractOptions(options.clarityVersion)
|
|
32
31
|
: new ContractOptions();
|
|
33
32
|
const { postConditions, postConditionMode } = serializePostConditions(postConditionOptions);
|
|
34
|
-
return
|
|
33
|
+
return parseTransactionResult(sdk.deployContract(new DeployContractArgs(name, content, rustOptions, sender, postConditions, postConditionMode)));
|
|
35
34
|
};
|
|
36
35
|
return deployContract;
|
|
37
36
|
}
|
|
38
37
|
if (prop === "transferSTX") {
|
|
39
38
|
const transferSTX = (amount, recipient, sender, options) => {
|
|
40
39
|
const { postConditions, postConditionMode } = serializePostConditions(options);
|
|
41
|
-
return
|
|
40
|
+
return parseTransactionResult(sdk.transferSTX(new TransferSTXArgs(BigInt(amount), recipient, sender, postConditions, postConditionMode)));
|
|
42
41
|
};
|
|
43
42
|
return transferSTX;
|
|
44
43
|
}
|
|
45
44
|
if (prop === "mineBlock") {
|
|
46
|
-
const mineBlock = (txs) => {
|
|
45
|
+
const mineBlock = (txs = []) => mineBlockWithValidatedVersions(txs, (txs) => {
|
|
47
46
|
const serializedTxs = txs.map((tx) => {
|
|
48
47
|
if (tx.callPublicFn) {
|
|
49
48
|
return {
|
|
@@ -66,8 +65,8 @@ export function createSessionProxy(bindings) {
|
|
|
66
65
|
}
|
|
67
66
|
return tx;
|
|
68
67
|
});
|
|
69
|
-
return sdk.mineBlock(serializedTxs).map(
|
|
70
|
-
};
|
|
68
|
+
return sdk.mineBlock(serializedTxs).map(parseBlockTransactionResult);
|
|
69
|
+
});
|
|
71
70
|
return mineBlock;
|
|
72
71
|
}
|
|
73
72
|
if (prop === "getDataVar") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdkProxy.js","sourceRoot":"","sources":["../../../../../common/src/sdkProxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"sdkProxy.js","sourceRoot":"","sources":["../../../../../common/src/sdkProxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,sBAAsB,EAGtB,uBAAuB,GAUxB,MAAM,sBAAsB,CAAC;AA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AE,EAAE,CAC7D,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;gBAC/E,OAAO,WAAW,CAAC;YACrB,CAAC;YAED,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC9C,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -26,6 +26,22 @@ export type ParsedTransactionResult = {
|
|
|
26
26
|
costs: ClarityCosts | null;
|
|
27
27
|
performance: string | undefined;
|
|
28
28
|
};
|
|
29
|
+
export type RawTransactionMetadata = {
|
|
30
|
+
txid: string;
|
|
31
|
+
fee: bigint;
|
|
32
|
+
nonce: bigint;
|
|
33
|
+
};
|
|
34
|
+
export type BroadcastTransactionResult = {
|
|
35
|
+
txid: string;
|
|
36
|
+
} | {
|
|
37
|
+
error: string;
|
|
38
|
+
reason: string;
|
|
39
|
+
reason_data?: Record<string, unknown>;
|
|
40
|
+
txid?: string;
|
|
41
|
+
};
|
|
42
|
+
/** Submit signed bytes to the mempool without executing or advancing the chain.
|
|
43
|
+
* Call `mineBlock()` to attempt inclusion; admission does not guarantee inclusion. */
|
|
44
|
+
export type BroadcastTransaction = (rawHex: string) => BroadcastTransactionResult;
|
|
29
45
|
/**
|
|
30
46
|
* Post-conditions to enforce on a simnet transaction.
|
|
31
47
|
*
|
|
@@ -48,13 +64,26 @@ export type CallReadOnlyFn = (contract: string, method: string, args: ClarityVal
|
|
|
48
64
|
export type DeployContractOptions = {
|
|
49
65
|
clarityVersion: ClarityVersion;
|
|
50
66
|
};
|
|
67
|
+
/** Deploy using the node's initialization rules. Success returns `(ok true)`,
|
|
68
|
+
* regardless of the initializer's final expression. */
|
|
51
69
|
export type DeployContract = (name: string, content: string, options: DeployContractOptions | null, sender: string, postConditionOptions?: PostConditionOptions) => ParsedTransactionResult;
|
|
70
|
+
/** Execute a native STX transfer. Invalid transfers (self-transfers, zero
|
|
71
|
+
* amounts and insufficient funds) throw without consuming a nonce. In
|
|
72
|
+
* `mineBlock`, they return a rejected outcome without consuming a
|
|
73
|
+
* nonce instead. */
|
|
52
74
|
export type TransferSTX = (amount: number | bigint, recipient: string, sender: string, options?: PostConditionOptions) => ParsedTransactionResult;
|
|
53
75
|
/**
|
|
54
76
|
* A transaction in a `mineBlock` batch. Post-conditions are already encoded,
|
|
55
77
|
* because the batch is handed to Wasm as plain JSON.
|
|
56
78
|
*/
|
|
57
79
|
export type Tx = {
|
|
80
|
+
broadcastTx: string;
|
|
81
|
+
callPublicFn?: never;
|
|
82
|
+
callPrivateFn?: never;
|
|
83
|
+
deployContract?: never;
|
|
84
|
+
transferSTX?: never;
|
|
85
|
+
} | {
|
|
86
|
+
broadcastTx?: never;
|
|
58
87
|
callPublicFn: {
|
|
59
88
|
contract: string;
|
|
60
89
|
method: string;
|
|
@@ -65,6 +94,7 @@ export type Tx = {
|
|
|
65
94
|
deployContract?: never;
|
|
66
95
|
transferSTX?: never;
|
|
67
96
|
} | {
|
|
97
|
+
broadcastTx?: never;
|
|
68
98
|
callPublicFn?: never;
|
|
69
99
|
callPrivateFn: {
|
|
70
100
|
contract: string;
|
|
@@ -75,6 +105,7 @@ export type Tx = {
|
|
|
75
105
|
deployContract?: never;
|
|
76
106
|
transferSTX?: never;
|
|
77
107
|
} | {
|
|
108
|
+
broadcastTx?: never;
|
|
78
109
|
callPublicFn?: never;
|
|
79
110
|
callPrivateFn?: never;
|
|
80
111
|
deployContract: {
|
|
@@ -85,6 +116,7 @@ export type Tx = {
|
|
|
85
116
|
} & SerializedPostConditions;
|
|
86
117
|
transferSTX?: never;
|
|
87
118
|
} | {
|
|
119
|
+
broadcastTx?: never;
|
|
88
120
|
callPublicFn?: never;
|
|
89
121
|
callPrivateFn?: never;
|
|
90
122
|
deployContract?: never;
|
|
@@ -94,6 +126,10 @@ export type Tx = {
|
|
|
94
126
|
sender: string;
|
|
95
127
|
} & SerializedPostConditions;
|
|
96
128
|
};
|
|
129
|
+
/** Check lossless u32 transport; Rust validates which Clarity versions are supported. */
|
|
130
|
+
export declare function getClarityVersionInputError(version: unknown): string | undefined;
|
|
131
|
+
/** Keep invalid versions as per-entry rejections, including when mining queued transactions. */
|
|
132
|
+
export declare function mineBlockWithValidatedVersions(txs: Tx[], mine: (txs: Tx[]) => BlockTransactionResult[]): BlockTransactionResult[];
|
|
97
133
|
export declare const tx: {
|
|
98
134
|
callPublicFn: (contract: string, method: string, args: ClarityValue[], sender: string, options?: PostConditionOptions) => Tx;
|
|
99
135
|
callPrivateFn: (contract: string, method: string, args: ClarityValue[], sender: string, options?: PostConditionOptions) => Tx;
|
|
@@ -102,7 +138,60 @@ export declare const tx: {
|
|
|
102
138
|
};
|
|
103
139
|
export declare function parseEvents(events: string): ClarityEvent[];
|
|
104
140
|
export declare function parseCosts(costs: string): ClarityCosts | null;
|
|
105
|
-
export type
|
|
141
|
+
export type FailureKind = "abort_by_response" | "abort_by_post_condition" | "runtime_error" | "analysis_error";
|
|
142
|
+
/** Signed entries carry their transaction metadata; convenience entries do not. */
|
|
143
|
+
export type MinedTransactionDetails = {
|
|
144
|
+
transaction?: RawTransactionMetadata | null;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* One outcome per selected queued transaction or explicit batch entry; rejected
|
|
148
|
+
* entries do not consume a nonce. Like a node's transaction receipt, an included
|
|
149
|
+
* failure's `execution` reports `(err none)`
|
|
150
|
+
* when execution produced no value, and post-condition aborts report the
|
|
151
|
+
* events they attempted, none of which were committed.
|
|
152
|
+
*/
|
|
153
|
+
export type BlockTransactionResult = MinedTransactionDetails & ({
|
|
154
|
+
status: "success";
|
|
155
|
+
execution: ParsedTransactionResult;
|
|
156
|
+
} | {
|
|
157
|
+
status: "included_failure";
|
|
158
|
+
kind: FailureKind;
|
|
159
|
+
error: string;
|
|
160
|
+
execution: ParsedTransactionResult;
|
|
161
|
+
} | {
|
|
162
|
+
status: "rejected";
|
|
163
|
+
error: string;
|
|
164
|
+
});
|
|
165
|
+
/** Advance one block and mine ready queued transactions, then explicit entries.
|
|
166
|
+
* Queued results precede explicit results, which retain input order. Rejections
|
|
167
|
+
* do not stop later entries; empty or entirely rejected batches still advance. */
|
|
168
|
+
export type MineBlock = (txs?: Array<Tx>) => BlockTransactionResult[];
|
|
169
|
+
export type SerializedTransactionResult = {
|
|
170
|
+
result: string;
|
|
171
|
+
events: string;
|
|
172
|
+
costs: string;
|
|
173
|
+
performance?: string;
|
|
174
|
+
};
|
|
175
|
+
export declare function parseTransactionResult(response: SerializedTransactionResult): ParsedTransactionResult;
|
|
176
|
+
export type SerializedBlockTransactionResult = {
|
|
177
|
+
transaction?: {
|
|
178
|
+
txid: string;
|
|
179
|
+
fee: string;
|
|
180
|
+
nonce: string;
|
|
181
|
+
} | null;
|
|
182
|
+
} & ({
|
|
183
|
+
status: "success";
|
|
184
|
+
execution: SerializedTransactionResult;
|
|
185
|
+
} | {
|
|
186
|
+
status: "included_failure";
|
|
187
|
+
kind: FailureKind;
|
|
188
|
+
error: string;
|
|
189
|
+
execution: SerializedTransactionResult;
|
|
190
|
+
} | {
|
|
191
|
+
status: "rejected";
|
|
192
|
+
error: string;
|
|
193
|
+
});
|
|
194
|
+
export declare function parseBlockTransactionResult(response: SerializedBlockTransactionResult): BlockTransactionResult;
|
|
106
195
|
export type Execute = (snippet: string) => ParsedTransactionResult;
|
|
107
196
|
export type GetDataVar = (contract: string, dataVar: string) => ClarityValue;
|
|
108
197
|
export type GetMapEntry = (contract: string, mapName: string, mapKey: ClarityValue) => ClarityValue;
|
|
@@ -24,6 +24,29 @@ export function serializePostConditions(options) {
|
|
|
24
24
|
}),
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
+
/** Check lossless u32 transport; Rust validates which Clarity versions are supported. */
|
|
28
|
+
export function getClarityVersionInputError(version) {
|
|
29
|
+
if (version === undefined)
|
|
30
|
+
return;
|
|
31
|
+
if (typeof version !== "number" ||
|
|
32
|
+
!Number.isInteger(version) ||
|
|
33
|
+
version < 0 ||
|
|
34
|
+
version > 0xffffffff) {
|
|
35
|
+
return "Invalid Clarity version: expected an unsigned 32-bit integer";
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
/** Keep invalid versions as per-entry rejections, including when mining queued transactions. */
|
|
39
|
+
export function mineBlockWithValidatedVersions(txs, mine) {
|
|
40
|
+
const errors = txs.map((entry) => getClarityVersionInputError(entry.deployContract?.options?.clarityVersion));
|
|
41
|
+
const valid = txs.filter((_, index) => errors[index] === undefined);
|
|
42
|
+
const results = mine(valid);
|
|
43
|
+
const queuedCount = results.length - valid.length;
|
|
44
|
+
let index = queuedCount;
|
|
45
|
+
return [
|
|
46
|
+
...results.slice(0, queuedCount),
|
|
47
|
+
...errors.map((error) => error === undefined ? results[index++] : { status: "rejected", error }),
|
|
48
|
+
];
|
|
49
|
+
}
|
|
27
50
|
export const tx = {
|
|
28
51
|
callPublicFn: (contract, method, args, sender, options) => ({
|
|
29
52
|
callPublicFn: { contract, method, args, sender, ...serializePostConditions(options) },
|
|
@@ -89,4 +112,43 @@ export function parseCosts(costs) {
|
|
|
89
112
|
return null;
|
|
90
113
|
}
|
|
91
114
|
}
|
|
115
|
+
export function parseTransactionResult(response) {
|
|
116
|
+
return {
|
|
117
|
+
result: Cl.deserialize(response.result),
|
|
118
|
+
events: parseEvents(response.events),
|
|
119
|
+
costs: parseCosts(response.costs),
|
|
120
|
+
performance: response.performance ?? undefined,
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
export function parseBlockTransactionResult(response) {
|
|
124
|
+
const details = {};
|
|
125
|
+
if (response.transaction !== undefined) {
|
|
126
|
+
details.transaction =
|
|
127
|
+
response.transaction === null
|
|
128
|
+
? null
|
|
129
|
+
: {
|
|
130
|
+
txid: response.transaction.txid,
|
|
131
|
+
fee: BigInt(response.transaction.fee),
|
|
132
|
+
nonce: BigInt(response.transaction.nonce),
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
switch (response.status) {
|
|
136
|
+
case "rejected":
|
|
137
|
+
return { ...details, status: "rejected", error: response.error };
|
|
138
|
+
case "success":
|
|
139
|
+
return {
|
|
140
|
+
...details,
|
|
141
|
+
status: "success",
|
|
142
|
+
execution: parseTransactionResult(response.execution),
|
|
143
|
+
};
|
|
144
|
+
case "included_failure":
|
|
145
|
+
return {
|
|
146
|
+
...details,
|
|
147
|
+
status: "included_failure",
|
|
148
|
+
kind: response.kind,
|
|
149
|
+
error: response.error,
|
|
150
|
+
execution: parseTransactionResult(response.execution),
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}
|
|
92
154
|
//# sourceMappingURL=sdkProxyHelpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdkProxyHelpers.js","sourceRoot":"","sources":["../../../../../common/src/sdkProxyHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAKF,iBAAiB,EAGjB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"sdkProxyHelpers.js","sourceRoot":"","sources":["../../../../../common/src/sdkProxyHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAKF,iBAAiB,EAGjB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,sBAAsB,CAAC;AA2D9B,MAAM,UAAU,uBAAuB,CAAC,OAA8B;IACpE,MAAM,UAAU,GAAG,OAAO,EAAE,cAAc,CAAC;IAC3C,MAAM,IAAI,GAAG,OAAO,EAAE,iBAAiB,CAAC;IAExC,8EAA8E;IAC9E,OAAO;QACL,GAAG,CAAC,UAAU,KAAK,SAAS,IAAI;YAC9B,cAAc,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE;gBACpC,IAAI,OAAO,EAAE,KAAK,QAAQ;oBAAE,OAAO,EAAE,CAAC;gBACtC,OAAO,OAAO,EAAE,CAAC,IAAI,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AAS,CAAC;aACtD,CAAC;QACJ,KAAK,kBAAkB;YACrB,OAAO;gBACL,GAAG,OAAO;gBACV,MAAM,EAAE,kBAAkB;gBAC1B,IAAI,EAAE,QAAQ,CAAC,IAAI;gBACnB,KAAK,EAAE,QAAQ,CAAC,KAAK;gBACrB,SAAS,EAAE,sBAAsB,CAAC,QAAQ,CAAC,SAAS,CAAC;aACtD,CAAC;IACN,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { tx, type ClarityEvent, type ParsedTransactionResult, type DeployContractOptions, type Tx, type TransferSTX, } from "../../common/src/sdkProxyHelpers.js";
|
|
1
|
+
export { tx, type ClarityEvent, type ParsedTransactionResult, type BlockTransactionResult, type FailureKind, type BroadcastTransactionResult, type RawTransactionMetadata, type BroadcastTransaction, type DeployContractOptions, type Tx, type TransferSTX, } from "../../common/src/sdkProxyHelpers.js";
|
|
2
2
|
import type { SDK } from "@stacks/clarinet-sdk-wasm";
|
|
3
3
|
import { Simnet } from "./sdkProxy.js";
|
|
4
4
|
export { type Simnet } from "./sdkProxy.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,GAWH,MAAM,qCAAqC,CAAC;AAI7C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAU,eAAe,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAI7D,MAAM,UAAU,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC;AAEvD,0GAA0G;AAC1G,aAAa;AACb,MAAM,CAAC,SA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qB,CAAC,CAAC;YAC5C,CAAC,CAAC,SAAS,CAAC;QAEd,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;YACtB,4DAA4D;YAC5D,MAAM,iBAAiB,CAAC,SAAS,CAAC,CAAC;YACnC,IAAI,CAAC,WAAW,IAAI,OAAO,EAAE,CAAC;gBAC5B,WAAW,GAAG,qBAAqB,EAAE,CAAC;YACxC,CAAC;YACD,+EAA+E;YAC/E,MAAM,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;YACpE,OAAO,WAAgC,CAAC;QAC1C,CAAC;QAED,IAAI,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC;QACjC,CAAC;QAED,6BAA6B;QAC7B,MAAM,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,IAAI,IAAI,CAAC,CAAC;QAC/E,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,EAAE,CAAC;AAEzC,OAAO,EACL,gBAAgB,EAChB,WAAW,GAEZ,MAAM,kBAAkB,CAAC"}
|
|
@@ -8,21 +8,21 @@
|
|
|
8
8
|
* from the Wasm SDK; coverage and cost reports are not supported.
|
|
9
9
|
*/
|
|
10
10
|
import { type ClarityValue } from "@stacks/transactions";
|
|
11
|
-
import { type ParsedTransactionResult, type Tx } from "../../common/src/sdkProxyHelpers.js";
|
|
11
|
+
import { type BlockTransactionResult, type BroadcastTransactionResult, type ParsedTransactionResult, type Tx } from "../../common/src/sdkProxyHelpers.js";
|
|
12
12
|
export type SyncDebugSimnet = {
|
|
13
13
|
readonly deployer: string;
|
|
14
14
|
readonly blockHeight: number;
|
|
15
15
|
readonly burnBlockHeight: number;
|
|
16
16
|
readonly stacksBlockHeight: number;
|
|
17
17
|
getAccounts(): Map<string, string>;
|
|
18
|
-
|
|
18
|
+
broadcastTransaction(rawHex: string): BroadcastTransactionResult;
|
|
19
|
+
mineBlock(txs?: Tx[]): BlockTransactionResult[];
|
|
19
20
|
mineEmptyBlock(count?: number): number;
|
|
20
21
|
mineEmptyStacksBlock(): number;
|
|
21
22
|
callPublicFn(contract: string, method: string, args: ClarityValue[], sender: string): ParsedTransactionResult;
|
|
22
23
|
callReadOnlyFn(contract: string, method: string, args: ClarityValue[], sender: string): ParsedTransactionResult;
|
|
23
24
|
callPrivateFn(contract: string, method: string, args: ClarityValue[], sender: string): ParsedTransactionResult;
|
|
24
25
|
execute(snippet: string): ParsedTransactionResult;
|
|
25
|
-
runSnippet(snippet: string): string;
|
|
26
26
|
getAssetsMap(): Map<string, Map<string, bigint>>;
|
|
27
27
|
getLastContractCallTrace(): string | undefined;
|
|
28
28
|
setCurrentTestName(name: string): void;
|