cargo-near 0.13.5 → 0.14.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 +21 -0
- package/README.md +5 -0
- package/npm-shrinkwrap.json +15 -13
- package/package.json +5 -5
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.14.0](https://github.com/near/cargo-near/compare/cargo-near-v0.13.6...cargo-near-v0.14.0) - 2025-04-21
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- [**breaking**] pass in external nep330_wasm_output path from env as override ([#328](https://github.com/near/cargo-near/pull/328))
|
|
15
|
+
- populate `output_wasm_path` into `ContractSourceMetadata` ([#323](https://github.com/near/cargo-near/pull/323))
|
|
16
|
+
|
|
17
|
+
### Other
|
|
18
|
+
|
|
19
|
+
- update `cargo near new` template `image` and `image_digest` ([#327](https://github.com/near/cargo-near/pull/327))
|
|
20
|
+
|
|
21
|
+
## [0.13.6](https://github.com/near/cargo-near/compare/cargo-near-v0.13.5...cargo-near-v0.13.6) - 2025-04-08
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- extract `near-verify-rs` dependency ([#320](https://github.com/near/cargo-near/pull/320))
|
|
26
|
+
|
|
27
|
+
### Other
|
|
28
|
+
|
|
29
|
+
- update `cargo near new` template `image` and `image_digest` ([#318](https://github.com/near/cargo-near/pull/318))
|
|
30
|
+
|
|
10
31
|
## [0.13.5](https://github.com/near/cargo-near/compare/cargo-near-v0.13.4...cargo-near-v0.13.5) - 2025-03-20
|
|
11
32
|
|
|
12
33
|
### Other
|
package/README.md
CHANGED
|
@@ -205,6 +205,11 @@ This forwards to [reproducible-wasm](#reproducible-wasm) variant of `build` comm
|
|
|
205
205
|
2. has been pushed to remote repository, identified by
|
|
206
206
|
[`package.repository`](https://github.com/near/cargo-near/blob/main/cargo-near/src/commands/new/new-project-template/Cargo.template.toml#L9).
|
|
207
207
|
|
|
208
|
+
## Factories
|
|
209
|
+
|
|
210
|
+
See [`cargo_near_build::extended`](https://docs.rs/cargo-near-build/latest/cargo_near_build/extended/index.html) module documentation on
|
|
211
|
+
how to write `build.rs` for subcontracts.
|
|
212
|
+
|
|
208
213
|
## Special `cargo` environment variables
|
|
209
214
|
|
|
210
215
|
Both of the following are mentioned on https://doc.rust-lang.org/cargo/reference/config.html#buildrustflags
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
"cargo-near": "run-cargo-near.js"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"axios": "^1.7.
|
|
10
|
+
"axios": "^1.7.9",
|
|
11
11
|
"axios-proxy-builder": "^0.1.2",
|
|
12
12
|
"console.table": "^0.10.0",
|
|
13
13
|
"detect-libc": "^2.0.3",
|
|
14
14
|
"rimraf": "^5.0.8"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"prettier": "^3.
|
|
17
|
+
"prettier": "^3.4.2"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=14",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT OR Apache-2.0",
|
|
25
25
|
"name": "cargo-near",
|
|
26
|
-
"version": "0.
|
|
26
|
+
"version": "0.14.0"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/cliui": {
|
|
29
29
|
"dependencies": {
|
|
@@ -88,9 +88,10 @@
|
|
|
88
88
|
"form-data": "^4.0.0",
|
|
89
89
|
"proxy-from-env": "^1.1.0"
|
|
90
90
|
},
|
|
91
|
-
"integrity": "sha512-
|
|
92
|
-
"
|
|
93
|
-
"
|
|
91
|
+
"integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==",
|
|
92
|
+
"license": "MIT",
|
|
93
|
+
"resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz",
|
|
94
|
+
"version": "1.7.9"
|
|
94
95
|
},
|
|
95
96
|
"node_modules/axios-proxy-builder": {
|
|
96
97
|
"dependencies": {
|
|
@@ -177,10 +178,10 @@
|
|
|
177
178
|
"engines": {
|
|
178
179
|
"node": ">= 8"
|
|
179
180
|
},
|
|
180
|
-
"integrity": "sha512-
|
|
181
|
+
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
|
|
181
182
|
"license": "MIT",
|
|
182
|
-
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.
|
|
183
|
-
"version": "7.0.
|
|
183
|
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
|
184
|
+
"version": "7.0.6"
|
|
184
185
|
},
|
|
185
186
|
"node_modules/defaults": {
|
|
186
187
|
"dependencies": {
|
|
@@ -428,9 +429,10 @@
|
|
|
428
429
|
"funding": {
|
|
429
430
|
"url": "https://github.com/prettier/prettier?sponsor=1"
|
|
430
431
|
},
|
|
431
|
-
"integrity": "sha512-
|
|
432
|
-
"
|
|
433
|
-
"
|
|
432
|
+
"integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==",
|
|
433
|
+
"license": "MIT",
|
|
434
|
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz",
|
|
435
|
+
"version": "3.4.2"
|
|
434
436
|
},
|
|
435
437
|
"node_modules/proxy-from-env": {
|
|
436
438
|
"integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
|
|
@@ -711,5 +713,5 @@
|
|
|
711
713
|
}
|
|
712
714
|
},
|
|
713
715
|
"requires": true,
|
|
714
|
-
"version": "0.
|
|
716
|
+
"version": "0.14.0"
|
|
715
717
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"artifactDownloadUrl": "https://github.com/near/cargo-near/releases/download/cargo-near-v0.
|
|
2
|
+
"artifactDownloadUrl": "https://github.com/near/cargo-near/releases/download/cargo-near-v0.14.0",
|
|
3
3
|
"author": "Near Inc <hello@nearprotocol.com>",
|
|
4
4
|
"bin": {
|
|
5
5
|
"cargo-near": "run-cargo-near.js"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"axios": "^1.7.
|
|
8
|
+
"axios": "^1.7.9",
|
|
9
9
|
"axios-proxy-builder": "^0.1.2",
|
|
10
10
|
"console.table": "^0.10.0",
|
|
11
11
|
"detect-libc": "^2.0.3",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"description": "Cargo extension for building Rust smart contracts on NEAR",
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"prettier": "^3.
|
|
16
|
+
"prettier": "^3.4.2"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=14",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"glibcMinimum": {
|
|
23
23
|
"major": 2,
|
|
24
|
-
"series":
|
|
24
|
+
"series": 39
|
|
25
25
|
},
|
|
26
26
|
"keywords": [
|
|
27
27
|
"development-tools",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"zipExt": ".tar.gz"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
-
"version": "0.
|
|
97
|
+
"version": "0.14.0",
|
|
98
98
|
"volta": {
|
|
99
99
|
"node": "18.14.1",
|
|
100
100
|
"npm": "9.5.0"
|