@ckb-ccc/spore 1.0.0 → 1.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @ckb-ccc/spore
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#111](https://github.com/ckb-devrel/ccc/pull/111) [`719055b`](https://github.com/ckb-devrel/ccc/commit/719055b404f31b40362f51714b9f11c85b857581) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix: call stack overflow caused by spread operator
8
+
9
+ - Updated dependencies [[`719055b`](https://github.com/ckb-devrel/ccc/commit/719055b404f31b40362f51714b9f11c85b857581), [`94caaca`](https://github.com/ckb-devrel/ccc/commit/94caaca11c63752a25282d42f51161c94397dec6)]:
10
+ - @ckb-ccc/core@1.0.1
11
+
3
12
  ## 1.0.0
4
13
 
5
14
  ### Major Changes
@@ -128,7 +128,7 @@ export async function prepareSporeTransaction(signer, txLike, actions) {
128
128
  }
129
129
  const existedActions = extractCobuildActionsFromTx(tx);
130
130
  tx = await signer.prepareTransaction(tx);
131
- injectCobuild(tx, [...existedActions, ...actions]);
131
+ injectCobuild(tx, [existedActions, actions].flat());
132
132
  return tx;
133
133
  }
134
134
  export function unpackCommonCobuildProof(data) {
@@ -139,7 +139,7 @@ async function prepareSporeTransaction(signer, txLike, actions) {
139
139
  }
140
140
  const existedActions = extractCobuildActionsFromTx(tx);
141
141
  tx = await signer.prepareTransaction(tx);
142
- injectCobuild(tx, [...existedActions, ...actions]);
142
+ injectCobuild(tx, [existedActions, actions].flat());
143
143
  return tx;
144
144
  }
145
145
  function unpackCommonCobuildProof(data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckb-ccc/spore",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CCC - CKBer's Codebase. Common Chains Connector's support for Spore protocol",
5
5
  "author": "ashuralyk <ashuralyk@live.com>",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "axios": "^1.7.7",
47
- "@ckb-ccc/core": "1.0.0"
47
+ "@ckb-ccc/core": "1.0.1"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
@@ -165,7 +165,7 @@ export async function prepareSporeTransaction(
165
165
 
166
166
  const existedActions = extractCobuildActionsFromTx(tx);
167
167
  tx = await signer.prepareTransaction(tx);
168
- injectCobuild(tx, [...existedActions, ...actions]);
168
+ injectCobuild(tx, [existedActions, actions].flat());
169
169
  return tx;
170
170
  }
171
171