@kaspacom/kcc20-tx-builder 0.8.0-fee.4 → 0.8.0-fee.6

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 (52) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/RELEASING.md +16 -0
  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 +2770 -0
  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 +14 -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 +2770 -0
  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 +14 -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/package.json +3 -3
  47. package/src/artifacts.ts +5 -5
  48. package/src/engine.ts +2986 -0
  49. package/src/escrow-market-artifacts.ts +129 -0
  50. package/src/escrow-market-setup.ts +182 -0
  51. package/src/index.ts +2 -0
  52. package/src/operations.ts +14 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0-fee.6
4
+
5
+ - Expose the existing fee-market holder merge and seller sweep PSKT handlers through the public builder key registry.
6
+ - Keep transaction construction, contract artifacts, legacy operations and snapshot operations unchanged.
7
+
8
+ ## 0.8.0-fee.5
9
+
10
+ - Add signed fee-market setup, wrap, unwrap, orders, fills, two-ask buyer groups, seller sweeps, holder consolidation, claims and account rotation.
11
+ - Check live covenant inputs and fixed market policy before signing. Carry reusable creator consent and the authenticated token holder extension in creator-fee wraps.
12
+ - Keep legacy and snapshot builders available. New fee-market creation remains disabled in the application.
13
+
3
14
  ## 0.8.0-fee.4
4
15
 
5
16
  - Require the fee-account owner key to match the connected Schnorr funding wallet for creation and binding.
package/RELEASING.md CHANGED
@@ -95,6 +95,22 @@ consumer deployment. Record any unverified operation families explicitly.
95
95
 
96
96
  ## Fee integration prerelease
97
97
 
98
+ Version `0.8.0-fee.6` registers the previously implemented fee-market holder
99
+ merge and seller-sweep keys for browser consumers. It changes no contract
100
+ artifacts or signed transaction logic. Backend consumers must update their
101
+ browser-only key allowlist in the same dependency upgrade. Funded grouped
102
+ trades and the remaining market-enablement gates below are still open.
103
+
104
+ Version `0.8.0-fee.5` adds signed fee-market setup, trade, claim, rotation,
105
+ wrap and unwrap builders. A funded DEV TN10 0% market completed setup,
106
+ wrap, trade, protocol claim, cancel and unwrap. A funded 1% market completed
107
+ setup, creator-consent wrap, trade and protocol-first independent claims.
108
+ The conservative 450,000 transient-mass target is exceeded by some signed
109
+ order and fill shapes even though the pinned TN10 node accepted them.
110
+ Grouped ticket trades, creator-first claims, recipient-covenant approval,
111
+ historical parity and frontend wallet journeys remain release gates for
112
+ market enablement.
113
+
98
114
  Version `0.8.0-fee.4` adds fee-account creation and binding PSKTs for DEV
99
115
  integration. Run the existing snapshot and example tests against the pinned
100
116
  WASM before publishing it under `next`. This version fixes fee.3's owner and
@@ -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
  }