wative-core 2.4.3 → 2.4.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/artifacts/evm/index.cjs +1 -1
  3. package/dist/artifacts/evm/index.d.cts +2 -2
  4. package/dist/artifacts/evm/index.d.ts +2 -2
  5. package/dist/artifacts/evm/index.js +1 -1
  6. package/dist/artifacts/svm/index.cjs +1 -1
  7. package/dist/artifacts/svm/index.d.cts +3 -3
  8. package/dist/artifacts/svm/index.d.ts +3 -3
  9. package/dist/artifacts/svm/index.js +1 -1
  10. package/dist/{container-provider-YxyMpkhG.d.cts → container-provider-BBCTGYIz.d.cts} +3 -1
  11. package/dist/{container-provider-B8M0ylrK.d.ts → container-provider-_78IyJa7.d.ts} +3 -1
  12. package/dist/{evm-DA6Sh6jv.d.cts → evm-CttQebXS.d.cts} +1 -1
  13. package/dist/{evm-Bo3Dy492.d.ts → evm-DoSOTqrS.d.ts} +1 -1
  14. package/dist/{file-sink-KCCpKHRj.d.cts → file-sink-B2Y_lOmu.d.cts} +4 -2
  15. package/dist/{file-sink-Be5iLbuT.d.ts → file-sink-DCNmCf3a.d.ts} +4 -2
  16. package/dist/index.cjs +1 -1
  17. package/dist/index.d.cts +9 -7
  18. package/dist/index.d.ts +9 -7
  19. package/dist/index.js +1 -1
  20. package/dist/index.node.cjs +1 -1
  21. package/dist/index.node.d.cts +6 -6
  22. package/dist/index.node.d.ts +6 -6
  23. package/dist/index.node.js +1 -1
  24. package/dist/node/index.cjs +1 -1
  25. package/dist/node/index.d.cts +3 -3
  26. package/dist/node/index.d.ts +3 -3
  27. package/dist/node/index.js +1 -1
  28. package/dist/{svm-DswX6XRv.d.cts → svm-DuvHI8Vy.d.cts} +1 -1
  29. package/dist/{svm-B51NevS8.d.ts → svm-FkRN0iiR.d.ts} +1 -1
  30. package/dist/{workspace-CBxKR80D.d.cts → workspace-B5Uj8CfN.d.cts} +24 -5
  31. package/dist/{workspace-CBxKR80D.d.ts → workspace-B5Uj8CfN.d.ts} +24 -5
  32. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
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.4.5] — 2026-09-10
6
+
7
+ Safer handling of references you hold, of account names, and of sending transactions.
8
+
9
+ ### Added
10
+ - `workspace.close()` — finish with a workspace and release its storage, where `lock()` only ends the session. A closed workspace reports `closed` and refuses further use. `closeAllRpcClients()` is now exported, for releasing cached RPC clients when you are done with them.
11
+
12
+ ### Fixed
13
+ - A `Network`, `workspace.accounts` or `workspace.networks` you obtained before locking can no longer be used to make changes after unlocking — re-read them from the workspace. `networks.add` and `networks.update` refuse the built-in `Network` objects; pass your own instance for that slug.
14
+ - `accounts.create` and `accounts.add` refuse a name another handle on the same storage already holds, whichever storage backend you use. Changing an account's default network now reports a failed save instead of appearing to succeed.
15
+ - Two transactions sent together can no longer both go out under one nonce, and an address stays usable after a lock. `rpcUrl` is validated when you assign it, not only when you pass it in, and is fixed once the transaction is prepared. A failed `Workspace.open()` leaves no storage open, `close()` can be retried, and a second file log keeps its own files.
16
+
17
+ ## [2.4.4] — 2026-08-12
18
+
19
+ Correctness fixes across signing, storage and the network layer.
20
+
21
+ ### Fixed
22
+ - Signing twice, or signing after sending, no longer double-signs a transaction or erases its recorded on-chain outcome.
23
+ - A Solana transaction reports the id the network knows it by, not the wallet's own signature — including after a failed broadcast.
24
+ - Requests to a node now have a deadline, so an unresponsive endpoint no longer leaves a transaction hanging indefinitely.
25
+ - A failed unlock leaves no open session and no stray directories behind, and a workspace root that is a symlink is refused.
26
+ - `signTransaction(tx)` returns the type it was given. Type-only: a non-generic value assigned to it now needs the same shape.
27
+
5
28
  ## [2.4.3] — 2026-08-11
6
29
 
7
30
  Documentation only. No API or behaviour changes from 2.4.2.