near-cli-rs 0.7.8 → 0.8.1
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 +17 -0
- package/README.md +20 -8
- package/binary.js +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.8.1](https://github.com/near/near-cli-rs/compare/v0.8.0...v0.8.1) - 2024-02-26
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Added support for viewing account summary on networks without NEAR Social contract ([#302](https://github.com/near/near-cli-rs/pull/302))
|
|
14
|
+
|
|
15
|
+
### Other
|
|
16
|
+
- Improved formatting of the Install section in the README
|
|
17
|
+
|
|
18
|
+
## [0.8.0](https://github.com/near/near-cli-rs/compare/v0.7.8...v0.8.0) - 2024-02-19
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- Added `inspect` and `download-abi` commands for contracts! ([#293](https://github.com/near/near-cli-rs/pull/293))
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
- Fixed incorrect serialization in staking delegation commands that required to input amounts ([#300](https://github.com/near/near-cli-rs/pull/300))
|
|
25
|
+
- Fixed a syntax error in CI (publish-to-npm.yml)
|
|
26
|
+
|
|
10
27
|
## [0.7.8](https://github.com/near/near-cli-rs/compare/v0.7.7...v0.7.8) - 2024-02-03
|
|
11
28
|
|
|
12
29
|
### Other
|
package/README.md
CHANGED
|
@@ -10,33 +10,42 @@ Just run `near` and let it guide you through!
|
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Visit [Releases page](https://github.com/near/near-cli-rs/releases/) to see the latest updates.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
<details>
|
|
16
|
+
<summary>Install prebuilt binaries via shell script (macOS, Linux, WSL)</summary>
|
|
16
17
|
|
|
17
18
|
```sh
|
|
18
19
|
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.sh | sh
|
|
19
20
|
```
|
|
21
|
+
</details>
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
<details>
|
|
24
|
+
<summary>Install prebuilt binaries via powershell script (Windows)</summary>
|
|
22
25
|
|
|
23
26
|
```sh
|
|
24
27
|
irm https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.ps1 | iex
|
|
25
28
|
```
|
|
29
|
+
</details>
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
<details>
|
|
32
|
+
<summary>Run prebuilt binaries with npx (Node.js)</summary>
|
|
28
33
|
|
|
29
34
|
```sh
|
|
30
35
|
npx near-cli-rs
|
|
31
36
|
```
|
|
37
|
+
</details>
|
|
32
38
|
|
|
33
|
-
|
|
39
|
+
<details>
|
|
40
|
+
<summary>Install prebuilt binaries into your npm project (Node.js)</summary>
|
|
34
41
|
|
|
35
42
|
```sh
|
|
36
43
|
npm install near-cli-rs
|
|
37
44
|
```
|
|
45
|
+
</details>
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
<details>
|
|
48
|
+
<summary>Compile and install from the source code (Cargo)</summary>
|
|
40
49
|
|
|
41
50
|
Install it with `cargo`, just make sure you have [Rust](https://rustup.rs) installed on your computer.
|
|
42
51
|
|
|
@@ -49,8 +58,10 @@ or, install the most recent version from git repository:
|
|
|
49
58
|
```bash
|
|
50
59
|
$ cargo install --git https://github.com/near/near-cli-rs
|
|
51
60
|
```
|
|
61
|
+
</details>
|
|
52
62
|
|
|
53
|
-
|
|
63
|
+
<details>
|
|
64
|
+
<summary>Install on CI (GitHub Actions)</summary>
|
|
54
65
|
|
|
55
66
|
It is often desirable to use `near` CLI from CI to automate some actions, so here is an example of how you can make a function call during CI:
|
|
56
67
|
|
|
@@ -86,7 +97,8 @@ jobs:
|
|
|
86
97
|
|
|
87
98
|
You will need to configure GitHub Actions Secrets and Variables and once it is ready, this CI will only take a couple of _seconds_ to complete!
|
|
88
99
|
|
|
89
|
-
See how it is used
|
|
100
|
+
See how it is used by [DevHub]([https://github.com/near/devgigsboard](https://github.com/NEAR-DevHub/neardevhub-contract/blob/05fb66ac307d84347f29e8e3ab9f429a78cb6513/.github/workflows/release.yml#L30-L41)).
|
|
101
|
+
</details>
|
|
90
102
|
|
|
91
103
|
## Run
|
|
92
104
|
|
package/binary.js
CHANGED
|
@@ -11,7 +11,7 @@ const error = (msg) => {
|
|
|
11
11
|
|
|
12
12
|
const { version } = require("./package.json");
|
|
13
13
|
const name = "near-cli-rs";
|
|
14
|
-
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.8.1";
|
|
15
15
|
|
|
16
16
|
const builder_glibc_major_version = 2;
|
|
17
17
|
const builder_glibc_minor_version = 31;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "near-cli-rs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
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.8.1",
|
|
10
10
|
"license": "MIT OR Apache-2.0",
|
|
11
11
|
"hasInstallScript": true,
|
|
12
12
|
"dependencies": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "near-cli-rs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
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",
|