near-cli-rs 0.8.0 → 0.9.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.9.0](https://github.com/near/near-cli-rs/compare/v0.8.1...v0.9.0) - 2024-04-22
11
+
12
+ ### Added
13
+ - Highlight the re-run command to make it more prominent ([#317](https://github.com/near/near-cli-rs/pull/317))
14
+ - Added ability to select contract function from NEAR ABI functions ([#314](https://github.com/near/near-cli-rs/pull/314))
15
+ - Added the ability to output a signed transaction (serialized as base64) to a file ([#313](https://github.com/near/near-cli-rs/pull/313))
16
+
17
+ ### Other
18
+ - Updated "interactive_clap" to 0.2.10 ("flatten" parameter changed to "subargs") ([#322](https://github.com/near/near-cli-rs/pull/322))
19
+ - fix typos ([#318](https://github.com/near/near-cli-rs/pull/318))
20
+ - update `near-ledger` to `0.5.0` ([#309](https://github.com/near/near-cli-rs/pull/309))
21
+ - Upgraded `inquire` crate to use CustomType inputs where initial value is needed ([#310](https://github.com/near/near-cli-rs/pull/310))
22
+
23
+ ## [0.8.1](https://github.com/near/near-cli-rs/compare/v0.8.0...v0.8.1) - 2024-02-26
24
+
25
+ ### Fixed
26
+ - Added support for viewing account summary on networks without NEAR Social contract ([#302](https://github.com/near/near-cli-rs/pull/302))
27
+
28
+ ### Other
29
+ - Improved formatting of the Install section in the README
30
+
10
31
  ## [0.8.0](https://github.com/near/near-cli-rs/compare/v0.7.8...v0.8.0) - 2024-02-19
11
32
 
12
33
  ### Added
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
- You can find binary releases of `near` CLI for your OS on the [Releases page](https://github.com/near/near-cli-rs/releases/).
13
+ Visit [Releases page](https://github.com/near/near-cli-rs/releases/) to see the latest updates.
14
14
 
15
- ### Install prebuilt binaries via shell script (macOS, Linux, WSL)
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
- ### Install prebuilt binaries via powershell script (Windows)
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
- ### Run prebuilt binaries with npx (Node.js)
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
- ### Install prebuilt binaries into your npm project (Node.js)
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
- ### Install from source code (Cargo)
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
- ### Install on CI (GitHub Actions)
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 in [near/devgigsboard](https://github.com/near/devgigsboard).
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.8.0";
14
+ const artifact_download_url = "https://github.com/near/near-cli-rs/releases/download/v0.9.0";
15
15
 
16
16
  const builder_glibc_major_version = 2;
17
17
  const builder_glibc_minor_version = 31;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "near-cli-rs",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "near-cli-rs",
9
- "version": "0.8.0",
9
+ "version": "0.9.0",
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.8.0",
3
+ "version": "0.9.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",