@witnet/sdk 3.2.1 → 3.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witnet/sdk",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Typescript library and CLI tooling for Web3 buidlers willing to interact with the Witnet blockchain.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -80,14 +80,14 @@
80
80
  "promise-poller": "^1.9.1",
81
81
  "protobufjs": "^7.5.4",
82
82
  "qrcode-terminal": "^0.12.0",
83
- "tree-kill": "^1.2.2",
84
- "secp256k1": "^5.0.1"
83
+ "secp256k1": "^5.0.1",
84
+ "tree-kill": "^1.2.2"
85
85
  },
86
86
  "devDependencies": {
87
- "@biomejs/biome": "^2.3.10",
87
+ "@biomejs/biome": "^2.3.11",
88
88
  "@types/cbor": "^5.0.1",
89
89
  "@types/json-bigint": "^1.0.4",
90
- "@types/node": "^24.10.4",
90
+ "@types/node": "^24.10.7",
91
91
  "@types/promise-poller": "^1.7.4",
92
92
  "cross-env": "10.0.0",
93
93
  "protobufjs-cli": "^1.2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witnet/sdk",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Typescript library and CLI tooling for Web3 buidlers willing to interact with the Witnet blockchain.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,14 +70,14 @@
70
70
  "promise-poller": "^1.9.1",
71
71
  "protobufjs": "^7.5.4",
72
72
  "qrcode-terminal": "^0.12.0",
73
- "tree-kill": "^1.2.2",
74
- "secp256k1": "^5.0.1"
73
+ "secp256k1": "^5.0.1",
74
+ "tree-kill": "^1.2.2"
75
75
  },
76
76
  "devDependencies": {
77
- "@biomejs/biome": "^2.3.10",
77
+ "@biomejs/biome": "^2.3.11",
78
78
  "@types/cbor": "^5.0.1",
79
79
  "@types/json-bigint": "^1.0.4",
80
- "@types/node": "^24.10.4",
80
+ "@types/node": "^24.10.7",
81
81
  "@types/promise-poller": "^1.7.4",
82
82
  "cross-env": "10.0.0",
83
83
  "protobufjs-cli": "^1.2.0",
@@ -627,7 +627,12 @@ function traceWitnetRadonRequest(request, options) {
627
627
  async function traceWitnetRadonRequestDryRun(request, options) {
628
628
  const bytecode = request.toBytecode();
629
629
  let report = await helpers
630
- .toolkitRun(options, ["try-data-request", "--hex", bytecode.startsWith("0x") ? bytecode.slice(2) : bytecode])
630
+ .toolkitRun(options, [
631
+ "try-data-request",
632
+ "--hex",
633
+ bytecode.startsWith("0x") ? bytecode.slice(2) : bytecode,
634
+ ...(options?.timeout ? ["--timeout", options.timeout] : []),
635
+ ])
631
636
  .catch((err) => {
632
637
  let errorMessage = err.message.split("\n").slice(1).join("\n").trim();
633
638
  const errorRegex = /.*^error: (?<message>.*)$.*/gm;
package/src/bin/index.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
 
29
29
  const __dirname = import.meta.dirname;
30
30
 
31
- const version = "2.0.24";
31
+ const version = "2.0.25";
32
32
  const toolkitDownloadUrlBase = `https://github.com/witnet/witnet-rust/releases/download/${version}/`;
33
33
  const toolkitDownloadNames = {
34
34
  win32: (arch) => `witnet_toolkit-${arch}-pc-windows-msvc.exe`,