near-cli-rs 0.22.2 → 0.23.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/CHANGELOG.md CHANGED
@@ -7,6 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.23.2](https://github.com/near/near-cli-rs/compare/v0.23.1...v0.23.2) - 2025-12-19
11
+
12
+ ### Added
13
+
14
+ - New commands for getting and adding MPC-derived access key to account (`account -> get-public-key -> from-mpc`, `account -> add-key -> use-mpc-contract`) ([#535](https://github.com/near/near-cli-rs/pull/535))
15
+
16
+ ## [0.23.1](https://github.com/near/near-cli-rs/compare/v0.23.0...v0.23.1) - 2025-12-17
17
+
18
+ ### Fixed
19
+
20
+ - deploy as global ([#530](https://github.com/near/near-cli-rs/pull/530))
21
+
22
+ ## [0.23.0](https://github.com/near/near-cli-rs/compare/v0.22.2...v0.23.0) - 2025-12-11
23
+
24
+ ### Added
25
+
26
+ - Updated user interface for interactive mode ([#524](https://github.com/near/near-cli-rs/pull/524))
27
+ - Added support for reconstructing transaction with global contracts deploy or use actions ([#521](https://github.com/near/near-cli-rs/pull/521))
28
+ - Sign transactions with MPC from a different account or even through a DAO proposal ([#520](https://github.com/near/near-cli-rs/pull/520))
29
+ - Enabled aarch64 Windows binary builds (upgraded cargo-dist to 0.29.0) ([#518](https://github.com/near/near-cli-rs/pull/518))
30
+ - introduce tests ([#522](https://github.com/near/near-cli-rs/pull/522))
31
+
32
+ ### Fixed
33
+
34
+ - Fixed a flaky test (block hash can be 43 or 44 characters long when base58-encoded) ([#529](https://github.com/near/near-cli-rs/pull/529))
35
+
36
+ ### Other
37
+
38
+ - bump near-* dependencies to 0.34 (nearcore release 2.10) ([#528](https://github.com/near/near-cli-rs/pull/528))
39
+ - changed default rpc to archival fastnear ([#527](https://github.com/near/near-cli-rs/pull/527))
40
+
10
41
  ## [0.22.2](https://github.com/near/near-cli-rs/compare/v0.22.1...v0.22.2) - 2025-08-31
11
42
 
12
43
  ### Fixed
package/binary-install.js CHANGED
@@ -13,7 +13,7 @@ const error = (msg) => {
13
13
  };
14
14
 
15
15
  class Package {
16
- constructor(name, url, filename, zipExt, binaries) {
16
+ constructor(platform, name, url, filename, zipExt, binaries) {
17
17
  let errors = [];
18
18
  if (typeof url !== "string") {
19
19
  errors.push("url must be a string");
@@ -47,6 +47,8 @@ class Package {
47
47
  '\n\nCorrect usage: new Package("my-binary", "https://example.com/binary/download.tar.gz", {"my-binary": "my-binary"})';
48
48
  error(errorMsg);
49
49
  }
50
+
51
+ this.platform = platform;
50
52
  this.url = url;
51
53
  this.name = name;
52
54
  this.filename = filename;
@@ -122,12 +124,30 @@ class Package {
122
124
  );
123
125
  }
124
126
  } else if (this.zipExt == ".zip") {
125
- const result = spawnSync("unzip", [
126
- "-q",
127
- tempFile,
128
- "-d",
129
- this.installDirectory,
130
- ]);
127
+ let result;
128
+ if (this.platform.artifactName.includes("windows")) {
129
+ // Windows does not have "unzip" by default on many installations, instead
130
+ // we use Expand-Archive from powershell
131
+ result = spawnSync("powershell.exe", [
132
+ "-NoProfile",
133
+ "-NonInteractive",
134
+ "-Command",
135
+ `& {
136
+ param([string]$LiteralPath, [string]$DestinationPath)
137
+ Expand-Archive -LiteralPath $LiteralPath -DestinationPath $DestinationPath -Force
138
+ }`,
139
+ tempFile,
140
+ this.installDirectory,
141
+ ]);
142
+ } else {
143
+ result = spawnSync("unzip", [
144
+ "-q",
145
+ tempFile,
146
+ "-d",
147
+ this.installDirectory,
148
+ ]);
149
+ }
150
+
131
151
  if (result.status == 0) {
132
152
  resolve();
133
153
  } else if (result.error) {
package/binary.js CHANGED
@@ -96,7 +96,7 @@ const getPackage = () => {
96
96
  const url = `${artifactDownloadUrl}/${platform.artifactName}`;
97
97
  let filename = platform.artifactName;
98
98
  let ext = platform.zipExt;
99
- let binary = new Package(name, url, filename, ext, platform.bins);
99
+ let binary = new Package(platform, name, url, filename, ext, platform.bins);
100
100
 
101
101
  return binary;
102
102
  };
@@ -7,14 +7,14 @@
7
7
  "near": "run-near.js"
8
8
  },
9
9
  "dependencies": {
10
- "axios": "^1.7.9",
10
+ "axios": "^1.12.2",
11
11
  "axios-proxy-builder": "^0.1.2",
12
12
  "console.table": "^0.10.0",
13
- "detect-libc": "^2.0.3",
14
- "rimraf": "^5.0.8"
13
+ "detect-libc": "^2.1.2",
14
+ "rimraf": "^6.0.1"
15
15
  },
16
16
  "devDependencies": {
17
- "prettier": "^3.4.2"
17
+ "prettier": "^3.6.2"
18
18
  },
19
19
  "engines": {
20
20
  "node": ">=14",
@@ -23,7 +23,28 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT OR Apache-2.0",
25
25
  "name": "near-cli-rs",
26
- "version": "0.22.2"
26
+ "version": "0.23.2"
27
+ },
28
+ "node_modules/@isaacs/balanced-match": {
29
+ "engines": {
30
+ "node": "20 || >=22"
31
+ },
32
+ "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==",
33
+ "license": "MIT",
34
+ "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz",
35
+ "version": "4.0.1"
36
+ },
37
+ "node_modules/@isaacs/brace-expansion": {
38
+ "dependencies": {
39
+ "@isaacs/balanced-match": "^4.0.1"
40
+ },
41
+ "engines": {
42
+ "node": "20 || >=22"
43
+ },
44
+ "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==",
45
+ "license": "MIT",
46
+ "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
47
+ "version": "5.0.0"
27
48
  },
28
49
  "node_modules/@isaacs/cliui": {
29
50
  "dependencies": {
@@ -42,16 +63,6 @@
42
63
  "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
43
64
  "version": "8.0.2"
44
65
  },
45
- "node_modules/@pkgjs/parseargs": {
46
- "engines": {
47
- "node": ">=14"
48
- },
49
- "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
50
- "license": "MIT",
51
- "optional": true,
52
- "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
53
- "version": "0.11.0"
54
- },
55
66
  "node_modules/ansi-regex": {
56
67
  "engines": {
57
68
  "node": ">=12"
@@ -59,10 +70,10 @@
59
70
  "funding": {
60
71
  "url": "https://github.com/chalk/ansi-regex?sponsor=1"
61
72
  },
62
- "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
73
+ "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
63
74
  "license": "MIT",
64
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
65
- "version": "6.0.1"
75
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
76
+ "version": "6.1.0"
66
77
  },
67
78
  "node_modules/ansi-styles": {
68
79
  "engines": {
@@ -85,13 +96,13 @@
85
96
  "node_modules/axios": {
86
97
  "dependencies": {
87
98
  "follow-redirects": "^1.15.6",
88
- "form-data": "^4.0.0",
99
+ "form-data": "^4.0.4",
89
100
  "proxy-from-env": "^1.1.0"
90
101
  },
91
- "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==",
102
+ "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==",
92
103
  "license": "MIT",
93
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz",
94
- "version": "1.7.9"
104
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz",
105
+ "version": "1.12.2"
95
106
  },
96
107
  "node_modules/axios-proxy-builder": {
97
108
  "dependencies": {
@@ -102,20 +113,18 @@
102
113
  "resolved": "https://registry.npmjs.org/axios-proxy-builder/-/axios-proxy-builder-0.1.2.tgz",
103
114
  "version": "0.1.2"
104
115
  },
105
- "node_modules/balanced-match": {
106
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
107
- "license": "MIT",
108
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
109
- "version": "1.0.2"
110
- },
111
- "node_modules/brace-expansion": {
116
+ "node_modules/call-bind-apply-helpers": {
112
117
  "dependencies": {
113
- "balanced-match": "^1.0.0"
118
+ "es-errors": "^1.3.0",
119
+ "function-bind": "^1.1.2"
120
+ },
121
+ "engines": {
122
+ "node": ">= 0.4"
114
123
  },
115
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
124
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
116
125
  "license": "MIT",
117
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
118
- "version": "2.0.1"
126
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
127
+ "version": "1.0.2"
119
128
  },
120
129
  "node_modules/clone": {
121
130
  "engines": {
@@ -209,10 +218,24 @@
209
218
  "engines": {
210
219
  "node": ">=8"
211
220
  },
212
- "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==",
221
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
213
222
  "license": "Apache-2.0",
214
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
215
- "version": "2.0.3"
223
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
224
+ "version": "2.1.2"
225
+ },
226
+ "node_modules/dunder-proto": {
227
+ "dependencies": {
228
+ "call-bind-apply-helpers": "^1.0.1",
229
+ "es-errors": "^1.3.0",
230
+ "gopd": "^1.2.0"
231
+ },
232
+ "engines": {
233
+ "node": ">= 0.4"
234
+ },
235
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
236
+ "license": "MIT",
237
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
238
+ "version": "1.0.1"
216
239
  },
217
240
  "node_modules/eastasianwidth": {
218
241
  "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
@@ -235,6 +258,51 @@
235
258
  "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
236
259
  "version": "9.2.2"
237
260
  },
261
+ "node_modules/es-define-property": {
262
+ "engines": {
263
+ "node": ">= 0.4"
264
+ },
265
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
266
+ "license": "MIT",
267
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
268
+ "version": "1.0.1"
269
+ },
270
+ "node_modules/es-errors": {
271
+ "engines": {
272
+ "node": ">= 0.4"
273
+ },
274
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
275
+ "license": "MIT",
276
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
277
+ "version": "1.3.0"
278
+ },
279
+ "node_modules/es-object-atoms": {
280
+ "dependencies": {
281
+ "es-errors": "^1.3.0"
282
+ },
283
+ "engines": {
284
+ "node": ">= 0.4"
285
+ },
286
+ "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
287
+ "license": "MIT",
288
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
289
+ "version": "1.1.1"
290
+ },
291
+ "node_modules/es-set-tostringtag": {
292
+ "dependencies": {
293
+ "es-errors": "^1.3.0",
294
+ "get-intrinsic": "^1.2.6",
295
+ "has-tostringtag": "^1.0.2",
296
+ "hasown": "^2.0.2"
297
+ },
298
+ "engines": {
299
+ "node": ">= 0.4"
300
+ },
301
+ "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
302
+ "license": "MIT",
303
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
304
+ "version": "2.1.0"
305
+ },
238
306
  "node_modules/follow-redirects": {
239
307
  "engines": {
240
308
  "node": ">=4.0"
@@ -257,7 +325,7 @@
257
325
  },
258
326
  "node_modules/foreground-child": {
259
327
  "dependencies": {
260
- "cross-spawn": "^7.0.0",
328
+ "cross-spawn": "^7.0.6",
261
329
  "signal-exit": "^4.0.1"
262
330
  },
263
331
  "engines": {
@@ -266,46 +334,146 @@
266
334
  "funding": {
267
335
  "url": "https://github.com/sponsors/isaacs"
268
336
  },
269
- "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==",
337
+ "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
270
338
  "license": "ISC",
271
- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz",
272
- "version": "3.1.1"
339
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
340
+ "version": "3.3.1"
273
341
  },
274
342
  "node_modules/form-data": {
275
343
  "dependencies": {
276
344
  "asynckit": "^0.4.0",
277
345
  "combined-stream": "^1.0.8",
346
+ "es-set-tostringtag": "^2.1.0",
347
+ "hasown": "^2.0.2",
278
348
  "mime-types": "^2.1.12"
279
349
  },
280
350
  "engines": {
281
351
  "node": ">= 6"
282
352
  },
283
- "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
353
+ "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==",
284
354
  "license": "MIT",
285
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
286
- "version": "4.0.0"
355
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz",
356
+ "version": "4.0.4"
357
+ },
358
+ "node_modules/function-bind": {
359
+ "funding": {
360
+ "url": "https://github.com/sponsors/ljharb"
361
+ },
362
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
363
+ "license": "MIT",
364
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
365
+ "version": "1.1.2"
366
+ },
367
+ "node_modules/get-intrinsic": {
368
+ "dependencies": {
369
+ "call-bind-apply-helpers": "^1.0.2",
370
+ "es-define-property": "^1.0.1",
371
+ "es-errors": "^1.3.0",
372
+ "es-object-atoms": "^1.1.1",
373
+ "function-bind": "^1.1.2",
374
+ "get-proto": "^1.0.1",
375
+ "gopd": "^1.2.0",
376
+ "has-symbols": "^1.1.0",
377
+ "hasown": "^2.0.2",
378
+ "math-intrinsics": "^1.1.0"
379
+ },
380
+ "engines": {
381
+ "node": ">= 0.4"
382
+ },
383
+ "funding": {
384
+ "url": "https://github.com/sponsors/ljharb"
385
+ },
386
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
387
+ "license": "MIT",
388
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
389
+ "version": "1.3.0"
390
+ },
391
+ "node_modules/get-proto": {
392
+ "dependencies": {
393
+ "dunder-proto": "^1.0.1",
394
+ "es-object-atoms": "^1.0.0"
395
+ },
396
+ "engines": {
397
+ "node": ">= 0.4"
398
+ },
399
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
400
+ "license": "MIT",
401
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
402
+ "version": "1.0.1"
287
403
  },
288
404
  "node_modules/glob": {
289
405
  "bin": {
290
406
  "glob": "dist/esm/bin.mjs"
291
407
  },
292
408
  "dependencies": {
293
- "foreground-child": "^3.1.0",
294
- "jackspeak": "^3.1.2",
295
- "minimatch": "^9.0.1",
296
- "minipass": "^7.0.4",
297
- "path-scurry": "^1.11.0"
409
+ "foreground-child": "^3.3.1",
410
+ "jackspeak": "^4.1.1",
411
+ "minimatch": "^10.0.3",
412
+ "minipass": "^7.1.2",
413
+ "package-json-from-dist": "^1.0.0",
414
+ "path-scurry": "^2.0.0"
298
415
  },
299
416
  "engines": {
300
- "node": ">=16 || 14 >=14.18"
417
+ "node": "20 || >=22"
301
418
  },
302
419
  "funding": {
303
420
  "url": "https://github.com/sponsors/isaacs"
304
421
  },
305
- "integrity": "sha512-JDKXl1DiuuHJ6fVS2FXjownaavciiHNUU4mOvV/B793RLh05vZL1rcPnCSaOgv1hDT6RDlY7AB7ZUvFYAtPgAw==",
422
+ "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==",
306
423
  "license": "ISC",
307
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.16.tgz",
308
- "version": "10.3.16"
424
+ "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz",
425
+ "version": "11.0.3"
426
+ },
427
+ "node_modules/gopd": {
428
+ "engines": {
429
+ "node": ">= 0.4"
430
+ },
431
+ "funding": {
432
+ "url": "https://github.com/sponsors/ljharb"
433
+ },
434
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
435
+ "license": "MIT",
436
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
437
+ "version": "1.2.0"
438
+ },
439
+ "node_modules/has-symbols": {
440
+ "engines": {
441
+ "node": ">= 0.4"
442
+ },
443
+ "funding": {
444
+ "url": "https://github.com/sponsors/ljharb"
445
+ },
446
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
447
+ "license": "MIT",
448
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
449
+ "version": "1.1.0"
450
+ },
451
+ "node_modules/has-tostringtag": {
452
+ "dependencies": {
453
+ "has-symbols": "^1.0.3"
454
+ },
455
+ "engines": {
456
+ "node": ">= 0.4"
457
+ },
458
+ "funding": {
459
+ "url": "https://github.com/sponsors/ljharb"
460
+ },
461
+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
462
+ "license": "MIT",
463
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
464
+ "version": "1.0.2"
465
+ },
466
+ "node_modules/hasown": {
467
+ "dependencies": {
468
+ "function-bind": "^1.1.2"
469
+ },
470
+ "engines": {
471
+ "node": ">= 0.4"
472
+ },
473
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
474
+ "license": "MIT",
475
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
476
+ "version": "2.0.2"
309
477
  },
310
478
  "node_modules/is-fullwidth-code-point": {
311
479
  "engines": {
@@ -327,27 +495,33 @@
327
495
  "@isaacs/cliui": "^8.0.2"
328
496
  },
329
497
  "engines": {
330
- "node": ">=14"
498
+ "node": "20 || >=22"
331
499
  },
332
500
  "funding": {
333
501
  "url": "https://github.com/sponsors/isaacs"
334
502
  },
335
- "integrity": "sha512-kWmLKn2tRtfYMF/BakihVVRzBKOxz4gJMiL2Rj91WnAB5TPZumSH99R/Yf1qE1u4uRimvCSJfm6hnxohXeEXjQ==",
503
+ "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==",
336
504
  "license": "BlueOak-1.0.0",
337
- "optionalDependencies": {
338
- "@pkgjs/parseargs": "^0.11.0"
339
- },
340
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.1.2.tgz",
341
- "version": "3.1.2"
505
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz",
506
+ "version": "4.1.1"
342
507
  },
343
508
  "node_modules/lru-cache": {
344
509
  "engines": {
345
- "node": "14 || >=16.14"
510
+ "node": "20 || >=22"
346
511
  },
347
- "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==",
512
+ "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==",
348
513
  "license": "ISC",
349
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz",
350
- "version": "10.2.2"
514
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz",
515
+ "version": "11.1.0"
516
+ },
517
+ "node_modules/math-intrinsics": {
518
+ "engines": {
519
+ "node": ">= 0.4"
520
+ },
521
+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
522
+ "license": "MIT",
523
+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
524
+ "version": "1.1.0"
351
525
  },
352
526
  "node_modules/mime-db": {
353
527
  "engines": {
@@ -372,27 +546,34 @@
372
546
  },
373
547
  "node_modules/minimatch": {
374
548
  "dependencies": {
375
- "brace-expansion": "^2.0.1"
549
+ "@isaacs/brace-expansion": "^5.0.0"
376
550
  },
377
551
  "engines": {
378
- "node": ">=16 || 14 >=14.17"
552
+ "node": "20 || >=22"
379
553
  },
380
554
  "funding": {
381
555
  "url": "https://github.com/sponsors/isaacs"
382
556
  },
383
- "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",
557
+ "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==",
384
558
  "license": "ISC",
385
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
386
- "version": "9.0.4"
559
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz",
560
+ "version": "10.0.3"
387
561
  },
388
562
  "node_modules/minipass": {
389
563
  "engines": {
390
564
  "node": ">=16 || 14 >=14.17"
391
565
  },
392
566
  "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
567
+ "license": "ISC",
393
568
  "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
394
569
  "version": "7.1.2"
395
570
  },
571
+ "node_modules/package-json-from-dist": {
572
+ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
573
+ "license": "BlueOak-1.0.0",
574
+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
575
+ "version": "1.0.1"
576
+ },
396
577
  "node_modules/path-key": {
397
578
  "engines": {
398
579
  "node": ">=8"
@@ -404,19 +585,19 @@
404
585
  },
405
586
  "node_modules/path-scurry": {
406
587
  "dependencies": {
407
- "lru-cache": "^10.2.0",
408
- "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
588
+ "lru-cache": "^11.0.0",
589
+ "minipass": "^7.1.2"
409
590
  },
410
591
  "engines": {
411
- "node": ">=16 || 14 >=14.18"
592
+ "node": "20 || >=22"
412
593
  },
413
594
  "funding": {
414
595
  "url": "https://github.com/sponsors/isaacs"
415
596
  },
416
- "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
597
+ "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==",
417
598
  "license": "BlueOak-1.0.0",
418
- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
419
- "version": "1.11.1"
599
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz",
600
+ "version": "2.0.0"
420
601
  },
421
602
  "node_modules/prettier": {
422
603
  "bin": {
@@ -429,10 +610,10 @@
429
610
  "funding": {
430
611
  "url": "https://github.com/prettier/prettier?sponsor=1"
431
612
  },
432
- "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==",
613
+ "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
433
614
  "license": "MIT",
434
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz",
435
- "version": "3.4.2"
615
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
616
+ "version": "3.6.2"
436
617
  },
437
618
  "node_modules/proxy-from-env": {
438
619
  "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
@@ -445,17 +626,19 @@
445
626
  "rimraf": "dist/esm/bin.mjs"
446
627
  },
447
628
  "dependencies": {
448
- "glob": "^10.3.7"
629
+ "glob": "^11.0.0",
630
+ "package-json-from-dist": "^1.0.0"
449
631
  },
450
632
  "engines": {
451
- "node": ">=18"
633
+ "node": "20 || >=22"
452
634
  },
453
635
  "funding": {
454
636
  "url": "https://github.com/sponsors/isaacs"
455
637
  },
456
- "integrity": "sha512-XSh0V2/yNhDEi8HwdIefD8MLgs4LQXPag/nEJWs3YUc3Upn+UHa1GyIkEg9xSSNt7HnkO5FjTvmcRzgf+8UZuw==",
457
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.8.tgz",
458
- "version": "5.0.8"
638
+ "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==",
639
+ "license": "ISC",
640
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz",
641
+ "version": "6.0.1"
459
642
  },
460
643
  "node_modules/shebang-command": {
461
644
  "dependencies": {
@@ -713,5 +896,5 @@
713
896
  }
714
897
  },
715
898
  "requires": true,
716
- "version": "0.22.2"
899
+ "version": "0.23.2"
717
900
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/near/near-cli-rs/releases/download/v0.22.2",
2
+ "artifactDownloadUrl": "https://github.com/near/near-cli-rs/releases/download/v0.23.2",
3
3
  "bin": {
4
4
  "near": "run-near.js"
5
5
  },
@@ -8,15 +8,15 @@
8
8
  "Near Inc <hello@nearprotocol.com>"
9
9
  ],
10
10
  "dependencies": {
11
- "axios": "^1.7.9",
11
+ "axios": "^1.12.2",
12
12
  "axios-proxy-builder": "^0.1.2",
13
13
  "console.table": "^0.10.0",
14
- "detect-libc": "^2.0.3",
15
- "rimraf": "^5.0.8"
14
+ "detect-libc": "^2.1.2",
15
+ "rimraf": "^6.0.1"
16
16
  },
17
17
  "description": "human-friendly console utility that helps to interact with NEAR Protocol from command line.",
18
18
  "devDependencies": {
19
- "prettier": "^3.4.2"
19
+ "prettier": "^3.6.2"
20
20
  },
21
21
  "engines": {
22
22
  "node": ">=14",
@@ -44,8 +44,15 @@
44
44
  },
45
45
  "zipExt": ".tar.gz"
46
46
  },
47
+ "aarch64-pc-windows-gnu": {
48
+ "artifactName": "near-cli-rs-aarch64-pc-windows-msvc.tar.gz",
49
+ "bins": {
50
+ "near": "near.exe"
51
+ },
52
+ "zipExt": ".tar.gz"
53
+ },
47
54
  "aarch64-pc-windows-msvc": {
48
- "artifactName": "near-cli-rs-x86_64-pc-windows-msvc.tar.gz",
55
+ "artifactName": "near-cli-rs-aarch64-pc-windows-msvc.tar.gz",
49
56
  "bins": {
50
57
  "near": "near.exe"
51
58
  },
@@ -87,7 +94,7 @@
87
94
  "zipExt": ".tar.gz"
88
95
  }
89
96
  },
90
- "version": "0.22.2",
97
+ "version": "0.23.2",
91
98
  "volta": {
92
99
  "node": "18.14.1",
93
100
  "npm": "9.5.0"