wative-core 2.5.4 → 2.5.5
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 +10 -0
- package/dist/artifacts/evm/index.cjs +1 -1
- package/dist/artifacts/evm/index.d.cts +2 -2
- package/dist/artifacts/evm/index.d.ts +2 -2
- package/dist/artifacts/evm/index.js +1 -1
- package/dist/artifacts/svm/index.cjs +1 -1
- package/dist/artifacts/svm/index.d.cts +3 -3
- package/dist/artifacts/svm/index.d.ts +3 -3
- package/dist/artifacts/svm/index.js +1 -1
- package/dist/{container-provider-B_TXusVF.d.cts → container-provider-BGXrTnGa.d.cts} +1 -1
- package/dist/{container-provider-C0dZf8jA.d.ts → container-provider-DeEiua4J.d.ts} +1 -1
- package/dist/{evm-CsdcpuSb.d.ts → evm-D3zji6gT.d.ts} +1 -1
- package/dist/{evm-DjRcWpHv.d.cts → evm-TSU9rVlb.d.cts} +1 -1
- package/dist/{file-sink-B_Ng4V0f.d.cts → file-sink-BsfIT5JJ.d.cts} +2 -2
- package/dist/{file-sink-gFMJnV3R.d.ts → file-sink-DAitYVxc.d.ts} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.node.cjs +1 -1
- package/dist/index.node.d.cts +5 -5
- package/dist/index.node.d.ts +5 -5
- package/dist/index.node.js +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +3 -3
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.js +1 -1
- package/dist/{svm-BZlfBFcJ.d.ts → svm-B66vNECq.d.ts} +1 -1
- package/dist/{svm-B7qJlwaU.d.cts → svm-DuJBblmu.d.cts} +1 -1
- package/dist/{workspace-kmsiTC-d.d.cts → workspace-_8Ed5yFS.d.cts} +6 -0
- package/dist/{workspace-kmsiTC-d.d.ts → workspace-_8Ed5yFS.d.ts} +6 -0
- package/examples/03-pk-account.test.cjs +1 -1
- package/examples/04-network-management.test.cjs +1 -1
- package/examples/05-asset-management.test.cjs +2 -2
- package/examples/06-address-signing.test.cjs +2 -3
- package/examples/18-envelope-v3.test.cjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `wative-core` are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
+
## [2.5.5] — 2026-10-03
|
|
6
|
+
|
|
7
|
+
Adds reorder methods for networks and per-network assets, and a dedicated error for duplicate adds.
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- Reorder with `workspace.networks.move(slug, toIndex)` and `workspace.moveAsset(network, id, toIndex)`, which move a network, or a token within its network, to a 0-based final position; the new order is what the networks list and `assets(network)` return, and it persists.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- BREAKING: a duplicate add now rejects with the new `DUPLICATE_IDENTITY` code instead of `PARAMETER_ERROR` (29 codes total) — a duplicate account or network slug, an asset id, an asset `(network, contractAddress)` pair or native slot, a re-imported key identity, or a duplicate wallet id. Callers branching on `err.code === "PARAMETER_ERROR"` for these must switch. Malformed input and a network `(chainId, rpcUrl)` collision stay `PARAMETER_ERROR`.
|
|
14
|
+
|
|
5
15
|
## [2.5.4] — 2026-09-29
|
|
6
16
|
|
|
7
17
|
Reworks disabling wallet slots, adds a filtered wallet list, and improves mnemonic generation.
|