@kaspacom/kcc20-tx-builder 0.4.0 → 0.5.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
 
3
- ## 0.4.0 (unreleased)
3
+ ## 0.5.0 (unreleased)
4
+
5
+ - Remove the obsolete operator-controlled snapshot cancellation constant and
6
+ builders; signerless start is the only supported snapshot lifecycle.
7
+ - Return canonical start payload bytes from `snapshotStartPayload` so callers
8
+ cannot accidentally reinterpret binary payload data as text.
4
9
 
5
10
  - Add signerless snapshot deployment, start, claim, transfer, and verification builders with pinned contract artifacts and transaction tests.
6
11
  - Reject conflicting explicit native covenant IDs during transfer while retaining legacy alias resolution.
package/README.md CHANGED
@@ -7,7 +7,7 @@ frontend and the Node backend.
7
7
  ## Install
8
8
 
9
9
  ```sh
10
- npm install --save-exact @kaspacom/kcc20-tx-builder@0.4.0 \
10
+ npm install --save-exact @kaspacom/kcc20-tx-builder@0.5.0 \
11
11
  --registry=https://registry.npmjs.org/ \
12
12
  --@kaspacom:registry=https://registry.npmjs.org/
13
13
  ```
@@ -29,7 +29,7 @@ not bundled or initialized by this package.
29
29
 
30
30
  Public npm installation does not require a GitHub token. The explicit scoped
31
31
  registry flag overrides project settings that route `@kaspacom` to GitHub Packages.
32
- This branch prepares `0.4.0` with expanded documentation and signerless snapshot
32
+ This branch prepares `0.5.0` with expanded documentation and signerless snapshot
33
33
  builders. Pin the same exact version across wallet and server adapters. See
34
34
  [the changelog](CHANGELOG.md) for the release contents.
35
35
 
package/RELEASING.md CHANGED
@@ -43,12 +43,12 @@ review the release first; do not create a release merely to test the workflow.
43
43
  Install the exact released version using the registry used by your CI:
44
44
 
45
45
  ```sh
46
- npm install --save-exact @kaspacom/kcc20-tx-builder@0.2.5 \
46
+ npm install --save-exact @kaspacom/kcc20-tx-builder@0.5.0 \
47
47
  --registry=https://registry.npmjs.org/ \
48
48
  --@kaspacom:registry=https://registry.npmjs.org/
49
49
  ```
50
50
 
51
- Replace `0.2.5` with the reviewed version for a later upgrade. Commit both
51
+ Replace `0.5.0` with the reviewed version for a later upgrade. Commit both
52
52
  `package.json` and `package-lock.json`. Keep frontend and backend on the same
53
53
  exact package version. Remove any `file:../kcc20-tx-builder` resolution before
54
54
  independent CI or deployment. Run package, backend, and frontend verification
@@ -90,4 +90,4 @@ consumer deployment. Record any unverified operation families explicitly.
90
90
 
91
91
  ## Snapshot release gate
92
92
 
93
- The current candidate is version `0.4.0`. Keep publication blocked until the release workflow and trusted-publisher configuration are verified for the final release revision. Run `test:snapshot:transactions` with the pinned WASM and close the snapshot artifact reproduction and funded-rehearsal gates before creating the `v0.4.0` tag.
93
+ The current candidate is version `0.5.0`. Keep publication blocked until the release workflow and trusted-publisher configuration are verified for the final release revision. Run `test:snapshot:transactions` with the pinned WASM and close the snapshot artifact reproduction and funded-rehearsal gates before creating the `v0.5.0` tag.
@@ -23,5 +23,4 @@ export interface Kcc20SnapshotBuilderOptions {
23
23
  rpcClientFactory?: (config: unknown) => any;
24
24
  transactionWithCalculatedFeeChange: (...args: any[]) => any;
25
25
  }
26
- export declare const SNAPSHOT_CANCEL_SINK_P2SH = "d379e50f3e2203f9a92584916335bb7cd014b237ceaa8b36f1d3d80d0cc88b32";
27
26
  export declare function createKcc20SnapshotPsktBuilder(options: Kcc20SnapshotBuilderOptions): (input: unknown) => Promise<Record<string, unknown>>;