@kaspacom/kcc20-tx-builder 0.8.0-fee.3 → 0.8.0-fee.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 (53) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/RELEASING.md +13 -2
  3. package/artifacts/KCC20FeePolicyV1.manifest.json +4 -4
  4. package/artifacts/KCC20WrapperFeeArgentV1.placeholder.json +1816 -360
  5. package/artifacts/KCC20WrapperFeeV1.placeholder.json +1818 -362
  6. package/dist/artifacts.d.ts +5 -5
  7. package/dist/artifacts.js +5 -5
  8. package/dist/cjs/artifacts.d.ts +5 -5
  9. package/dist/cjs/artifacts.js +5 -5
  10. package/dist/cjs/engine.js +2782 -1
  11. package/dist/cjs/engine.js.map +1 -1
  12. package/dist/cjs/escrow-market-artifacts.d.ts +90 -0
  13. package/dist/cjs/escrow-market-artifacts.js +128 -0
  14. package/dist/cjs/escrow-market-artifacts.js.map +1 -0
  15. package/dist/cjs/escrow-market-setup.d.ts +429 -0
  16. package/dist/cjs/escrow-market-setup.js +140 -0
  17. package/dist/cjs/escrow-market-setup.js.map +1 -0
  18. package/dist/cjs/index.d.ts +2 -0
  19. package/dist/cjs/index.js +2 -0
  20. package/dist/cjs/index.js.map +1 -1
  21. package/dist/cjs/operations.d.ts +1 -1
  22. package/dist/cjs/operations.js +12 -0
  23. package/dist/cjs/operations.js.map +1 -1
  24. package/dist/cjs/sale-common.d.ts +1 -1
  25. package/dist/engine.d.ts.map +1 -1
  26. package/dist/engine.js +2782 -1
  27. package/dist/engine.js.map +1 -1
  28. package/dist/escrow-market-artifacts.d.ts +91 -0
  29. package/dist/escrow-market-artifacts.d.ts.map +1 -0
  30. package/dist/escrow-market-artifacts.js +124 -0
  31. package/dist/escrow-market-artifacts.js.map +1 -0
  32. package/dist/escrow-market-setup.d.ts +430 -0
  33. package/dist/escrow-market-setup.d.ts.map +1 -0
  34. package/dist/escrow-market-setup.js +133 -0
  35. package/dist/escrow-market-setup.js.map +1 -0
  36. package/dist/index.d.ts +2 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +2 -0
  39. package/dist/index.js.map +1 -1
  40. package/dist/operations.d.ts +1 -1
  41. package/dist/operations.d.ts.map +1 -1
  42. package/dist/operations.js +12 -0
  43. package/dist/operations.js.map +1 -1
  44. package/dist/sale-common.d.ts +1 -1
  45. package/docs/COMPATIBILITY.json +1 -1
  46. package/docs/escrow-fees.md +3 -1
  47. package/package.json +3 -3
  48. package/src/artifacts.ts +5 -5
  49. package/src/engine.ts +3165 -165
  50. package/src/escrow-market-artifacts.ts +129 -0
  51. package/src/escrow-market-setup.ts +182 -0
  52. package/src/index.ts +2 -0
  53. package/src/operations.ts +12 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0-fee.5
4
+
5
+ - Add signed fee-market setup, wrap, unwrap, orders, fills, two-ask buyer groups, seller sweeps, holder consolidation, claims and account rotation.
6
+ - Check live covenant inputs and fixed market policy before signing. Carry reusable creator consent and the authenticated token holder extension in creator-fee wraps.
7
+ - Keep legacy and snapshot builders available. New fee-market creation remains disabled in the application.
8
+
9
+ ## 0.8.0-fee.4
10
+
11
+ - Require the fee-account owner key to match the connected Schnorr funding wallet for creation and binding.
12
+ - Exclude the account source outpoint from binding funding and reject duplicate inputs.
13
+
3
14
  ## 0.8.0-fee.3
4
15
 
5
16
  - Build wallet-signable fee-account genesis and one-time market binding PSKTs from the pinned escrow artifact.
package/RELEASING.md CHANGED
@@ -95,9 +95,20 @@ consumer deployment. Record any unverified operation families explicitly.
95
95
 
96
96
  ## Fee integration prerelease
97
97
 
98
- Version `0.8.0-fee.3` adds fee-account creation and binding PSKTs for DEV
98
+ Version `0.8.0-fee.5` adds signed fee-market setup, trade, claim, rotation,
99
+ wrap and unwrap builders. A funded DEV TN10 0% market completed setup,
100
+ wrap, trade, protocol claim, cancel and unwrap. A funded 1% market completed
101
+ setup, creator-consent wrap, trade and protocol-first independent claims.
102
+ The conservative 450,000 transient-mass target is exceeded by some signed
103
+ order and fill shapes even though the pinned TN10 node accepted them.
104
+ Grouped ticket trades, creator-first claims, recipient-covenant approval,
105
+ historical parity and frontend wallet journeys remain release gates for
106
+ market enablement.
107
+
108
+ Version `0.8.0-fee.4` adds fee-account creation and binding PSKTs for DEV
99
109
  integration. Run the existing snapshot and example tests against the pinned
100
- WASM before publishing it under `next`. This prerelease does not build
110
+ WASM before publishing it under `next`. This version fixes fee.3's owner and
111
+ funding-source checks. This prerelease does not build
101
112
  fee-market trades, claims or authority rotation. Funded fee-market journeys and
102
113
  signed settlement construction remain required before enabling markets or
103
114
  promoting a stable fee release.
@@ -70,17 +70,17 @@
70
70
  },
71
71
  "wrapper": {
72
72
  "source": "contracts/kcc20-wrapper-fee-v1.sil",
73
- "sourceSha256": "881e79b28fbff61136b6f424c14043789d75cda7633fa0a96b45880e0b69c0ed",
73
+ "sourceSha256": "19baef1fc0c3bbf13252afe1113e0227c1d7c123a1e0a82a919e24ae4f0ed10d",
74
74
  "walletArtifact": "vendor/kcc20-wrapper-fee-v1/KCC20WrapperFeeV1.placeholder.json",
75
75
  "decoderFixture": "crates/tn12-indexer-decoder/fixtures/kcc20-wrapper-fee-v1/KCC20WrapperFeeV1.placeholder.json",
76
- "artifactSha256": "ef8c1518209577f2c106a65ce267e95b129d62ec2220c72e49427ad92d84ad25"
76
+ "artifactSha256": "345cbefc8f870b2daa408e2608c4fcf50d27d9f5ebb505439ee22092715f0007"
77
77
  },
78
78
  "argentWrapper": {
79
79
  "source": "contracts/kcc20-wrapper-fee-argent-v1.sil",
80
- "sourceSha256": "06a43609b4a80d1d380346f0d96c5c26326398ce3ba4fa312faf97d90f97ca37",
80
+ "sourceSha256": "28ca40eb53296025f2b07231bd74ff693999cb10386f967aef534066553d5c54",
81
81
  "walletArtifact": "vendor/kcc20-wrapper-fee-argent-v1/KCC20WrapperFeeArgentV1.placeholder.json",
82
82
  "decoderFixture": "crates/tn12-indexer-decoder/fixtures/kcc20-wrapper-fee-argent-v1/KCC20WrapperFeeArgentV1.placeholder.json",
83
- "artifactSha256": "2a03ffa43c9951ac4d17b9ad6698c4c3528d292e2841db195f8a7385855ea578"
83
+ "artifactSha256": "d14cdd05f9522b393e9b5e674a4645cf6b51f8831a5bb370882eb0e9a2f8d4b0"
84
84
  }
85
85
  }
86
86
  }