@ckb-ccc/joy-id 0.0.10-alpha.9 → 0.0.11-alpha.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/dist/ckb/index.js +1 -1
- package/dist.commonjs/ckb/index.js +1 -1
- package/package.json +3 -3
- package/src/ckb/index.ts +1 -1
package/dist/ckb/index.js
CHANGED
|
@@ -184,7 +184,7 @@ export class CkbSigner extends ccc.Signer {
|
|
|
184
184
|
});
|
|
185
185
|
witness.outputType = ccc.hexFrom(unlockEntry);
|
|
186
186
|
const cotaDeps = [];
|
|
187
|
-
for await (const cell of this.client.
|
|
187
|
+
for await (const cell of this.client.findCellsByLock(lock, await ccc.Script.fromKnownScript(this.client, ccc.KnownScript.COTA, "0x"))) {
|
|
188
188
|
cotaDeps.push(ccc.CellDep.from({
|
|
189
189
|
depType: "code",
|
|
190
190
|
outPoint: cell.outPoint,
|
|
@@ -187,7 +187,7 @@ class CkbSigner extends core_1.ccc.Signer {
|
|
|
187
187
|
});
|
|
188
188
|
witness.outputType = core_1.ccc.hexFrom(unlockEntry);
|
|
189
189
|
const cotaDeps = [];
|
|
190
|
-
for await (const cell of this.client.
|
|
190
|
+
for await (const cell of this.client.findCellsByLock(lock, await core_1.ccc.Script.fromKnownScript(this.client, core_1.ccc.KnownScript.COTA, "0x"))) {
|
|
191
191
|
cotaDeps.push(core_1.ccc.CellDep.from({
|
|
192
192
|
depType: "code",
|
|
193
193
|
outPoint: cell.outPoint,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckb-ccc/joy-id",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11-alpha.0",
|
|
4
4
|
"description": "Connector's support for JoyID",
|
|
5
5
|
"author": "Hanssen0 <hanssen0@hanssen0.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckb-ccc/core": "0.0.
|
|
42
|
+
"@ckb-ccc/core": "0.0.11-alpha.0",
|
|
43
43
|
"@joyid/ckb": "^1.0.1",
|
|
44
44
|
"@joyid/common": "^0.2.0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "1daf9e21ef56b6a5aa40136aae0e22f8921d5316"
|
|
47
47
|
}
|
package/src/ckb/index.ts
CHANGED
|
@@ -229,7 +229,7 @@ export class CkbSigner extends ccc.Signer {
|
|
|
229
229
|
witness.outputType = ccc.hexFrom(unlockEntry);
|
|
230
230
|
|
|
231
231
|
const cotaDeps: ccc.CellDep[] = [];
|
|
232
|
-
for await (const cell of this.client.
|
|
232
|
+
for await (const cell of this.client.findCellsByLock(
|
|
233
233
|
lock,
|
|
234
234
|
await ccc.Script.fromKnownScript(this.client, ccc.KnownScript.COTA, "0x"),
|
|
235
235
|
)) {
|