near-cli-rs 0.4.3 → 0.6.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.
- {near-cli-rs-v0.4.3-npm-package → package}/CHANGELOG.md +42 -0
- {near-cli-rs-v0.4.3-npm-package → package}/binary.js +6 -9
- {near-cli-rs-v0.4.3-npm-package → package}/install.js +1 -1
- {near-cli-rs-v0.4.3-npm-package → package}/npm-shrinkwrap.json +2 -2
- {near-cli-rs-v0.4.3-npm-package → package}/package.json +2 -3
- {near-cli-rs-v0.4.3-npm-package → package}/run.js +1 -1
- {near-cli-rs-v0.4.3-npm-package → package}/.gitignore +0 -0
- {near-cli-rs-v0.4.3-npm-package → package}/LICENSE-APACHE +0 -0
- {near-cli-rs-v0.4.3-npm-package → package}/LICENSE-MIT +0 -0
- {near-cli-rs-v0.4.3-npm-package → package}/README.md +0 -0
|
@@ -7,6 +7,48 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.0](https://github.com/near/near-cli-rs/compare/v0.5.2...v0.6.0) - 2023-09-28
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- New command export-account ([#226](https://github.com/near/near-cli-rs/pull/226))
|
|
14
|
+
- [**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))
|
|
15
|
+
- order networks selection based on the selected account id (bubble up more relevant networks) ([#225](https://github.com/near/near-cli-rs/pull/225))
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- CLI must return a non-zero exit code when function call (as-transaction) fails ([#238](https://github.com/near/near-cli-rs/pull/238))
|
|
19
|
+
- legacy view-function call with --base64 was not recognized ([#237](https://github.com/near/near-cli-rs/pull/237))
|
|
20
|
+
- self update is now pointing to the right archive name ([#234](https://github.com/near/near-cli-rs/pull/234))
|
|
21
|
+
|
|
22
|
+
### Other
|
|
23
|
+
- 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))
|
|
24
|
+
- Switch to near-gas crate ([#240](https://github.com/near/near-cli-rs/pull/240))
|
|
25
|
+
- New command to view contract storage state ([#239](https://github.com/near/near-cli-rs/pull/239))
|
|
26
|
+
|
|
27
|
+
## [0.5.2](https://github.com/near/near-cli-rs/compare/v0.5.1...v0.5.2) - 2023-08-17
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
- Select your account when prompted interactively ([#224](https://github.com/near/near-cli-rs/pull/224))
|
|
31
|
+
- Allow to specify a custom Web Wallet URL when importing account (default to MyNearWallet) ([#218](https://github.com/near/near-cli-rs/pull/218))
|
|
32
|
+
|
|
33
|
+
### Other
|
|
34
|
+
- Upgrade cargo-dist to 0.1.0 release ([#229](https://github.com/near/near-cli-rs/pull/229))
|
|
35
|
+
|
|
36
|
+
## [0.5.1](https://github.com/near/near-cli-rs/compare/v0.5.0...v0.5.1) - 2023-06-07
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
- 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))
|
|
40
|
+
|
|
41
|
+
### Other
|
|
42
|
+
- Upgraded NEAR crates to 0.17.0 release ([#216](https://github.com/near/near-cli-rs/pull/216))
|
|
43
|
+
|
|
44
|
+
## [0.5.0](https://github.com/near/near-cli-rs/compare/v0.4.3...v0.5.0) - 2023-06-05
|
|
45
|
+
|
|
46
|
+
### Added
|
|
47
|
+
- 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))
|
|
48
|
+
|
|
49
|
+
### Fixed
|
|
50
|
+
- Add support for no-args view-function calls for legacy JS CLI `view` command ([#213](https://github.com/near/near-cli-rs/pull/213))
|
|
51
|
+
|
|
10
52
|
## [0.4.3](https://github.com/near/near-cli-rs/compare/v0.4.2...v0.4.3) - 2023-06-02
|
|
11
53
|
|
|
12
54
|
### 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.
|
|
14
|
+
const artifact_download_url = "https://github.com/near/near-cli-rs/releases/download/v0.6.0";
|
|
16
15
|
|
|
17
|
-
// These are injected by cargo-dist
|
|
18
16
|
const supportedPlatforms = {
|
|
19
17
|
"aarch64-apple-darwin": {
|
|
20
|
-
"artifact_name": "near-cli-rs-
|
|
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-
|
|
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-
|
|
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-
|
|
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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "near-cli-rs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "near-cli-rs",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.6.0",
|
|
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.
|
|
3
|
+
"version": "0.6.0",
|
|
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
|
-
"
|
|
8
|
+
"contributors": ["FroVolod <frol_off@meta.ua>","Near Inc <hello@nearprotocol.com>"],
|
|
10
9
|
"bin": {
|
|
11
10
|
"near": "run.js"
|
|
12
11
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|