near-cli-rs 0.4.3 → 0.6.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.
@@ -7,6 +7,63 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.6.2](https://github.com/near/near-cli-rs/compare/v0.6.1...v0.6.2) - 2023-10-17
11
+
12
+ ### Added
13
+ - Exposed some of the functions to use "manage-profile" in bos-cli-rs ([#249](https://github.com/near/near-cli-rs/pull/249))
14
+ - Exposed subcommands related to "deploy" to reuse in cargo-near ([#247](https://github.com/near/near-cli-rs/pull/247))
15
+
16
+ ## [0.6.1](https://github.com/near/near-cli-rs/compare/v0.6.0...v0.6.1) - 2023-10-09
17
+
18
+ ### Added
19
+ - Added a new command to manage BOS profile in SocialDB ([#231](https://github.com/near/near-cli-rs/pull/231))
20
+ - Provide a relevant faucet error message when helper API server returns an error ([#243](https://github.com/near/near-cli-rs/pull/243))
21
+
22
+ ### Other
23
+ - Exposed sponsor_by_faucet_service module to re-use in "cargo-near" ([#246](https://github.com/near/near-cli-rs/pull/246))
24
+
25
+ ## [0.6.0](https://github.com/near/near-cli-rs/compare/v0.5.2...v0.6.0) - 2023-09-28
26
+
27
+ ### Added
28
+ - New command export-account ([#226](https://github.com/near/near-cli-rs/pull/226))
29
+ - [**breaking**] Added system keychain support for windows & linux, so now all major desktop operating systems are supported! ([#232](https://github.com/near/near-cli-rs/pull/232))
30
+ - order networks selection based on the selected account id (bubble up more relevant networks) ([#225](https://github.com/near/near-cli-rs/pull/225))
31
+
32
+ ### Fixed
33
+ - CLI must return a non-zero exit code when function call (as-transaction) fails ([#238](https://github.com/near/near-cli-rs/pull/238))
34
+ - legacy view-function call with --base64 was not recognized ([#237](https://github.com/near/near-cli-rs/pull/237))
35
+ - self update is now pointing to the right archive name ([#234](https://github.com/near/near-cli-rs/pull/234))
36
+
37
+ ### Other
38
+ - Upgraded cargo-dist to 0.3.0 version to enable MSI Windows installer, and binary artifacts on every PR ([#241](https://github.com/near/near-cli-rs/pull/241))
39
+ - Switch to near-gas crate ([#240](https://github.com/near/near-cli-rs/pull/240))
40
+ - New command to view contract storage state ([#239](https://github.com/near/near-cli-rs/pull/239))
41
+
42
+ ## [0.5.2](https://github.com/near/near-cli-rs/compare/v0.5.1...v0.5.2) - 2023-08-17
43
+
44
+ ### Added
45
+ - Select your account when prompted interactively ([#224](https://github.com/near/near-cli-rs/pull/224))
46
+ - Allow to specify a custom Web Wallet URL when importing account (default to MyNearWallet) ([#218](https://github.com/near/near-cli-rs/pull/218))
47
+
48
+ ### Other
49
+ - Upgrade cargo-dist to 0.1.0 release ([#229](https://github.com/near/near-cli-rs/pull/229))
50
+
51
+ ## [0.5.1](https://github.com/near/near-cli-rs/compare/v0.5.0...v0.5.1) - 2023-06-07
52
+
53
+ ### Added
54
+ - New `transaction sign-transaction` command [useful in combination with `... sign-later` and `transaction send-signed-transaction` commands] ([#215](https://github.com/near/near-cli-rs/pull/215))
55
+
56
+ ### Other
57
+ - Upgraded NEAR crates to 0.17.0 release ([#216](https://github.com/near/near-cli-rs/pull/216))
58
+
59
+ ## [0.5.0](https://github.com/near/near-cli-rs/compare/v0.4.3...v0.5.0) - 2023-06-05
60
+
61
+ ### Added
62
+ - New offline mode allows to prepare transactions on devices that are not connected to the Internet ([#209](https://github.com/near/near-cli-rs/pull/209))
63
+
64
+ ### Fixed
65
+ - Add support for no-args view-function calls for legacy JS CLI `view` command ([#213](https://github.com/near/near-cli-rs/pull/213))
66
+
10
67
  ## [0.4.3](https://github.com/near/near-cli-rs/compare/v0.4.2...v0.4.3) - 2023-06-02
11
68
 
12
69
  ### Added
@@ -10,29 +10,27 @@ const error = (msg) => {
10
10
  };
11
11
 
12
12
  const { version } = require("./package.json");
13
- // These are injected by cargo-dist
14
13
  const name = "near-cli-rs";
15
- const artifact_download_url = "https://github.com/near/near-cli-rs/releases/download/v0.4.3";
14
+ const artifact_download_url = "https://github.com/near/near-cli-rs/releases/download/v0.6.2";
16
15
 
17
- // These are injected by cargo-dist
18
16
  const supportedPlatforms = {
19
17
  "aarch64-apple-darwin": {
20
- "artifact_name": "near-cli-rs-v0.4.3-aarch64-apple-darwin.tar.gz",
18
+ "artifact_name": "near-cli-rs-aarch64-apple-darwin.tar.gz",
21
19
  "bins": ["near"],
22
20
  "zip_ext": ".tar.gz"
23
21
  },
24
22
  "x86_64-apple-darwin": {
25
- "artifact_name": "near-cli-rs-v0.4.3-x86_64-apple-darwin.tar.gz",
23
+ "artifact_name": "near-cli-rs-x86_64-apple-darwin.tar.gz",
26
24
  "bins": ["near"],
27
25
  "zip_ext": ".tar.gz"
28
26
  },
29
27
  "x86_64-pc-windows-msvc": {
30
- "artifact_name": "near-cli-rs-v0.4.3-x86_64-pc-windows-msvc.tar.gz",
28
+ "artifact_name": "near-cli-rs-x86_64-pc-windows-msvc.tar.gz",
31
29
  "bins": ["near.exe"],
32
30
  "zip_ext": ".tar.gz"
33
31
  },
34
32
  "x86_64-unknown-linux-gnu": {
35
- "artifact_name": "near-cli-rs-v0.4.3-x86_64-unknown-linux-gnu.tar.gz",
33
+ "artifact_name": "near-cli-rs-x86_64-unknown-linux-gnu.tar.gz",
36
34
  "bins": ["near"],
37
35
  "zip_ext": ".tar.gz"
38
36
  }
@@ -116,10 +114,9 @@ const getBinary = () => {
116
114
  return binary;
117
115
  };
118
116
 
119
- const install = () => {
117
+ const install = (suppressLogs) => {
120
118
  const binary = getBinary();
121
119
  const proxy = configureProxy(binary.url);
122
- const suppressLogs = false;
123
120
 
124
121
  return binary.install(proxy, suppressLogs);
125
122
  };
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const { install } = require("./binary");
4
- install();
4
+ install(false);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "near-cli-rs",
3
- "version": "0.4.3",
3
+ "version": "0.6.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "near-cli-rs",
9
- "version": "0.4.3",
9
+ "version": "0.6.2",
10
10
  "license": "MIT OR Apache-2.0",
11
11
  "hasInstallScript": true,
12
12
  "dependencies": {
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "near-cli-rs",
3
- "version": "0.4.3",
3
+ "version": "0.6.2",
4
4
  "description": "human-friendly console utility that helps to interact with NEAR Protocol from command line.",
5
5
  "repository": "https://github.com/near/near-cli-rs",
6
6
  "homepage": "https://near.cli.rs",
7
- "contributors": ["FroVolod <frol_off@meta.ua>","Near Inc <hello@nearprotocol.com>"],
8
7
  "license": "MIT OR Apache-2.0",
9
- "keywords": [],
8
+ "contributors": ["FroVolod <frol_off@meta.ua>","Near Inc <hello@nearprotocol.com>"],
10
9
  "bin": {
11
10
  "near": "run.js"
12
11
  },
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const { run, install: maybeInstall } = require("./binary");
4
- maybeInstall(true).then(run);
4
+ maybeInstall(true).then(run);
File without changes
File without changes
File without changes