@kaspacom/kcc20-tx-builder 0.7.0 → 0.8.0-fee.1

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 (54) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/RELEASING.md +9 -5
  3. package/artifacts/KCC20FeeEscrowV1.placeholder.json +75648 -0
  4. package/artifacts/KCC20FeePolicyV1.manifest.json +86 -0
  5. package/artifacts/KCC20FeeRecipientV1.placeholder.json +3493 -0
  6. package/artifacts/KCC20OrderbookFeeAskV1.placeholder.json +199068 -0
  7. package/artifacts/KCC20OrderbookFeeBidV1.placeholder.json +13815 -0
  8. package/artifacts/KCC20OrderbookFeeHolderV1.placeholder.json +171404 -0
  9. package/artifacts/KCC20OrderbookFeeRootV1.placeholder.json +11488 -0
  10. package/artifacts/KCC20WrapperFeeArgentV1.placeholder.json +28365 -0
  11. package/artifacts/KCC20WrapperFeeV1.placeholder.json +27233 -0
  12. package/dist/artifacts.d.ts +20 -0
  13. package/dist/artifacts.d.ts.map +1 -1
  14. package/dist/artifacts.js +20 -0
  15. package/dist/artifacts.js.map +1 -1
  16. package/dist/cjs/artifacts.d.ts +20 -0
  17. package/dist/cjs/artifacts.js +21 -1
  18. package/dist/cjs/artifacts.js.map +1 -1
  19. package/dist/cjs/escrow-fee.d.ts +79 -0
  20. package/dist/cjs/escrow-fee.js +155 -0
  21. package/dist/cjs/escrow-fee.js.map +1 -0
  22. package/dist/cjs/escrow-group.d.ts +22 -0
  23. package/dist/cjs/escrow-group.js +80 -0
  24. package/dist/cjs/escrow-group.js.map +1 -0
  25. package/dist/cjs/escrow-policy.d.ts +72 -0
  26. package/dist/cjs/escrow-policy.js +118 -0
  27. package/dist/cjs/escrow-policy.js.map +1 -0
  28. package/dist/cjs/index.d.ts +3 -0
  29. package/dist/cjs/index.js +3 -0
  30. package/dist/cjs/index.js.map +1 -1
  31. package/dist/escrow-fee.d.ts +80 -0
  32. package/dist/escrow-fee.d.ts.map +1 -0
  33. package/dist/escrow-fee.js +148 -0
  34. package/dist/escrow-fee.js.map +1 -0
  35. package/dist/escrow-group.d.ts +23 -0
  36. package/dist/escrow-group.d.ts.map +1 -0
  37. package/dist/escrow-group.js +75 -0
  38. package/dist/escrow-group.js.map +1 -0
  39. package/dist/escrow-policy.d.ts +73 -0
  40. package/dist/escrow-policy.d.ts.map +1 -0
  41. package/dist/escrow-policy.js +111 -0
  42. package/dist/escrow-policy.js.map +1 -0
  43. package/dist/index.d.ts +3 -0
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js +3 -0
  46. package/dist/index.js.map +1 -1
  47. package/docs/COMPATIBILITY.json +1 -1
  48. package/docs/escrow-fees.md +56 -0
  49. package/package.json +3 -2
  50. package/src/artifacts.ts +31 -0
  51. package/src/escrow-fee.ts +181 -0
  52. package/src/escrow-group.ts +105 -0
  53. package/src/escrow-policy.ts +130 -0
  54. package/src/index.ts +3 -0
package/CHANGELOG.md CHANGED
@@ -1,9 +1,19 @@
1
1
  # Changelog
2
2
 
3
- - Remove duplicate nested snapshot artifact files while preserving their public package subpaths as aliases to the canonical root artifacts.
3
+ ## 0.8.0-fee.1
4
+
5
+ - Package the pinned fee v1 contract artifacts and fixed policy manifest for integration work.
6
+ - Verify the raw artifact bytes and policy template tuples in the package test.
7
+ - Signed fee-market trade and claim construction remains unavailable in this prerelease.
8
+
9
+ ## 0.8.0-fee.0
10
+
11
+ - Add fee arithmetic, grouped quotes, policy encoding, creator consent and claim commitments for DEV integration tests.
12
+ - Keep transaction construction on the legacy market path; this prerelease does not build or authorize fee-market spends.
4
13
 
5
14
  ## 0.7.0
6
15
 
16
+ - Remove duplicate nested snapshot artifact files while preserving their public package subpaths as aliases to the canonical root artifacts.
7
17
  - Support fixed snapshot supplies above one signed-64-bit KCC1 integer while keeping every holder and reserve amount signed-64-bit.
8
18
  - Bind wide fixed supplies with the domain-separated `KASPACOM/KCC20/HOLDER/V2` commitment and preserve V1 commitments for ordinary supplies.
9
19
  - Package the two-limb snapshot bootstrap/controller artifacts and encode their updated immutable state and start-plan commitments.
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.7.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.1` adds pinned fee artifacts to the 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.