@kaspacom/kcc20-tx-builder 0.6.3 → 0.8.0-fee.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.
Files changed (62) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/RELEASING.md +9 -5
  3. package/artifacts/KCC20SnapshotBootstrap.placeholder.json +14577 -7985
  4. package/artifacts/KCC20SnapshotController.placeholder.json +978 -813
  5. package/dist/abi.d.ts.map +1 -1
  6. package/dist/abi.js +32 -1
  7. package/dist/abi.js.map +1 -1
  8. package/dist/artifacts.d.ts +7 -7
  9. package/dist/artifacts.js +7 -7
  10. package/dist/cjs/abi.js +32 -1
  11. package/dist/cjs/abi.js.map +1 -1
  12. package/dist/cjs/artifacts.d.ts +7 -7
  13. package/dist/cjs/artifacts.js +7 -7
  14. package/dist/cjs/escrow-fee.d.ts +79 -0
  15. package/dist/cjs/escrow-fee.js +155 -0
  16. package/dist/cjs/escrow-fee.js.map +1 -0
  17. package/dist/cjs/escrow-policy.d.ts +72 -0
  18. package/dist/cjs/escrow-policy.js +118 -0
  19. package/dist/cjs/escrow-policy.js.map +1 -0
  20. package/dist/cjs/index.d.ts +2 -0
  21. package/dist/cjs/index.js +2 -0
  22. package/dist/cjs/index.js.map +1 -1
  23. package/dist/cjs/snapshot-deployment.js +2 -1
  24. package/dist/cjs/snapshot-deployment.js.map +1 -1
  25. package/dist/cjs/snapshot-operation.js +17 -1
  26. package/dist/cjs/snapshot-operation.js.map +1 -1
  27. package/dist/cjs/snapshot-signerless.js +26 -6
  28. package/dist/cjs/snapshot-signerless.js.map +1 -1
  29. package/dist/escrow-fee.d.ts +80 -0
  30. package/dist/escrow-fee.d.ts.map +1 -0
  31. package/dist/escrow-fee.js +148 -0
  32. package/dist/escrow-fee.js.map +1 -0
  33. package/dist/escrow-policy.d.ts +73 -0
  34. package/dist/escrow-policy.d.ts.map +1 -0
  35. package/dist/escrow-policy.js +111 -0
  36. package/dist/escrow-policy.js.map +1 -0
  37. package/dist/index.d.ts +2 -0
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +2 -0
  40. package/dist/index.js.map +1 -1
  41. package/dist/snapshot-deployment.d.ts.map +1 -1
  42. package/dist/snapshot-deployment.js +2 -1
  43. package/dist/snapshot-deployment.js.map +1 -1
  44. package/dist/snapshot-operation.d.ts.map +1 -1
  45. package/dist/snapshot-operation.js +17 -1
  46. package/dist/snapshot-operation.js.map +1 -1
  47. package/dist/snapshot-signerless.d.ts.map +1 -1
  48. package/dist/snapshot-signerless.js +26 -6
  49. package/dist/snapshot-signerless.js.map +1 -1
  50. package/docs/COMPATIBILITY.json +26 -14
  51. package/docs/escrow-fees.md +56 -0
  52. package/package.json +5 -2
  53. package/src/abi.ts +46 -6
  54. package/src/artifacts.ts +7 -7
  55. package/src/escrow-fee.ts +181 -0
  56. package/src/escrow-policy.ts +130 -0
  57. package/src/index.ts +2 -0
  58. package/src/snapshot-deployment.ts +2 -1
  59. package/src/snapshot-operation.ts +17 -1
  60. package/src/snapshot-signerless.ts +30 -6
  61. package/artifacts/kcc20-snapshot-bootstrap/KCC20SnapshotBootstrap.placeholder.json +0 -101678
  62. package/artifacts/kcc20-snapshot-controller/KCC20SnapshotController.placeholder.json +0 -46548
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0-fee.0
4
+
5
+ - Add fee arithmetic, grouped quotes, policy encoding, creator consent and claim commitments for DEV integration tests.
6
+ - Keep transaction construction on the legacy market path; this prerelease does not build or authorize fee-market spends.
7
+
8
+ ## 0.7.0
9
+
10
+ - Remove duplicate nested snapshot artifact files while preserving their public package subpaths as aliases to the canonical root artifacts.
11
+ - Support fixed snapshot supplies above one signed-64-bit KCC1 integer while keeping every holder and reserve amount signed-64-bit.
12
+ - Bind wide fixed supplies with the domain-separated `KASPACOM/KCC20/HOLDER/V2` commitment and preserve V1 commitments for ordinary supplies.
13
+ - Package the two-limb snapshot bootstrap/controller artifacts and encode their updated immutable state and start-plan commitments.
14
+
3
15
  ## 0.6.2
4
16
 
5
17
  - Reuse authenticated profile scripts during native holder consolidation, including the independent Argent implementation.
package/RELEASING.md CHANGED
@@ -9,6 +9,8 @@ The package is published under the same version to both registries:
9
9
 
10
10
  Never publish different contents under the same version. npm package versions
11
11
  are immutable, so update `package.json` before each release.
12
+ Prerelease versions use the `next` tag in both registries; stable versions use
13
+ `latest`. Consumers must pin the full prerelease version.
12
14
 
13
15
  ## Publishing setup
14
16
 
@@ -90,9 +92,11 @@ A green publishing workflow confirms an upload, not consumer compatibility.
90
92
  Inspect the installed tarball and complete the live release gate before
91
93
  consumer deployment. Record any unverified operation families explicitly.
92
94
 
93
- ## Snapshot release gate
95
+ ## Fee integration prerelease
94
96
 
95
- The current candidate is version `0.6.0`. Run `test:snapshot:transactions` with
96
- the pinned WASM and close the snapshot artifact reproduction and funded TN10
97
- construction gates before merging the release PR. The first publish run must
98
- confirm npm trusted publishing for this workflow.
97
+ Version `0.8.0-fee.0` exposes accounting and policy helpers for DEV integration
98
+ tests. It does not construct fee-market transactions. Run the existing snapshot
99
+ and example tests against the pinned WASM before publishing it under `next`.
100
+ Funded fee-market journeys and signed settlement construction remain required
101
+ before enabling markets or promoting a stable fee release. Confirm trusted npm
102
+ publishing in the first workflow run.