@ckb-ccc/spore 1.0.0 → 1.0.2
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 +16 -0
- package/dist/cobuild/index.js +1 -1
- package/dist.commonjs/cobuild/index.js +1 -1
- package/package.json +2 -2
- package/src/cobuild/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @ckb-ccc/spore
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`ddc0a28`](https://github.com/ckb-devrel/ccc/commit/ddc0a281c3d1dfa6ebc990dae92994f026dfddcc)]:
|
|
8
|
+
- @ckb-ccc/core@1.1.0
|
|
9
|
+
|
|
10
|
+
## 1.0.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#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
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`719055b`](https://github.com/ckb-devrel/ccc/commit/719055b404f31b40362f51714b9f11c85b857581), [`94caaca`](https://github.com/ckb-devrel/ccc/commit/94caaca11c63752a25282d42f51161c94397dec6)]:
|
|
17
|
+
- @ckb-ccc/core@1.0.1
|
|
18
|
+
|
|
3
19
|
## 1.0.0
|
|
4
20
|
|
|
5
21
|
### Major Changes
|
package/dist/cobuild/index.js
CHANGED
|
@@ -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, [
|
|
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, [
|
|
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.
|
|
3
|
+
"version": "1.0.2",
|
|
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.
|
|
47
|
+
"@ckb-ccc/core": "1.1.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
|
package/src/cobuild/index.ts
CHANGED
|
@@ -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, [
|
|
168
|
+
injectCobuild(tx, [existedActions, actions].flat());
|
|
169
169
|
return tx;
|
|
170
170
|
}
|
|
171
171
|
|