@ckb-ccc/joy-id 0.0.14-alpha.0 → 0.0.14-alpha.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 +7 -0
- package/README.md +16 -3
- package/dist/btc/index.js +1 -1
- package/dist.commonjs/btc/index.js +1 -1
- package/package.json +2 -2
- package/src/btc/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @ckb-ccc/joy-id
|
|
2
2
|
|
|
3
|
+
## 0.0.14-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`5e942f8`](https://github.com/ckb-ecofund/ccc/commit/5e942f8f1ed678abdb7ab9716f5449f0714cea53), [`e5bd2ad`](https://github.com/ckb-ecofund/ccc/commit/e5bd2ad5de4b42a22c422ecfc42056750f69b88b), [`aae3e06`](https://github.com/ckb-ecofund/ccc/commit/aae3e0679fb940dd8c12ac9be12a4b53277a339d)]:
|
|
8
|
+
- @ckb-ccc/core@0.0.14-alpha.1
|
|
9
|
+
|
|
3
10
|
## 0.0.14-alpha.0
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/ckb-ecofund/ccc" />
|
|
16
16
|
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/ckb-ecofund/ccc/master" />
|
|
17
17
|
<img alt="GitHub branch check runs" src="https://img.shields.io/github/check-runs/ckb-ecofund/ccc/master" />
|
|
18
|
+
<a href="https://live.ckbccc.com/"><img
|
|
19
|
+
alt="Playground" src="https://img.shields.io/website?url=https%3A%2F%2Flive.ckbccc.com%2F&label=Playground"
|
|
20
|
+
/></a>
|
|
18
21
|
<a href="https://app.ckbccc.com/"><img
|
|
19
22
|
alt="App" src="https://img.shields.io/website?url=https%3A%2F%2Fapp.ckbccc.com%2F&label=App"
|
|
20
23
|
/></a>
|
|
@@ -33,15 +36,25 @@
|
|
|
33
36
|
Fully enabling CKB's Turing completeness and cryptographic freedom power.
|
|
34
37
|
</p>
|
|
35
38
|
|
|
36
|
-
##
|
|
39
|
+
## Playground
|
|
40
|
+
|
|
41
|
+
<p align="center">
|
|
42
|
+
<a href="https://live.ckbccc.com/">
|
|
43
|
+
<img src="https://raw.githubusercontent.com/ckb-ecofund/ccc/master/assets/preview.png" width="90%" />
|
|
44
|
+
</a>
|
|
45
|
+
</p>
|
|
46
|
+
|
|
47
|
+
This project is still under active development, and we are looking forward to your feedback. You can [experiment instantly in the playground](https://live.ckbccc.com/). If you are new to the CKB, we recommend checking [Nervos CKB Docs](https://docs.nervos.org/) for basic knowledge.
|
|
48
|
+
|
|
49
|
+
## App
|
|
37
50
|
|
|
38
51
|
<p align="center">
|
|
39
52
|
<a href="https://app.ckbccc.com/">
|
|
40
|
-
<img src="https://raw.githubusercontent.com/ckb-ecofund/ccc/master/assets/
|
|
53
|
+
<img src="https://raw.githubusercontent.com/ckb-ecofund/ccc/master/assets/appPreview.png" width="50%" />
|
|
41
54
|
</a>
|
|
42
55
|
</p>
|
|
43
56
|
|
|
44
|
-
|
|
57
|
+
For non-developers, you can also [try CCC's app now here](https://app.ckbccc.com/). It showcases how to use CCC for some basic scenarios in CKB.
|
|
45
58
|
|
|
46
59
|
<h3 align="center">
|
|
47
60
|
Read more about CCC on <a href="https://docs.ckbccc.com">our website</a> or <a href="https://github.com/ckb-ecofund/ccc">GitHub Repo</a>.
|
package/dist/btc/index.js
CHANGED
|
@@ -107,7 +107,7 @@ export class BitcoinSigner extends ccc.SignerBtc {
|
|
|
107
107
|
if (this.addressType === "auto") {
|
|
108
108
|
return res.btcAddressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
|
|
109
109
|
}
|
|
110
|
-
return
|
|
110
|
+
return this.addressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
|
|
111
111
|
})();
|
|
112
112
|
this.connection = {
|
|
113
113
|
address,
|
|
@@ -110,7 +110,7 @@ class BitcoinSigner extends core_1.ccc.SignerBtc {
|
|
|
110
110
|
if (this.addressType === "auto") {
|
|
111
111
|
return res.btcAddressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
|
|
112
112
|
}
|
|
113
|
-
return
|
|
113
|
+
return this.addressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
|
|
114
114
|
})();
|
|
115
115
|
this.connection = {
|
|
116
116
|
address,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckb-ccc/joy-id",
|
|
3
|
-
"version": "0.0.14-alpha.
|
|
3
|
+
"version": "0.0.14-alpha.1",
|
|
4
4
|
"description": "Connector's support for JoyID",
|
|
5
5
|
"author": "Hanssen0 <hanssen0@hanssen0.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@joyid/ckb": "^1.0.1",
|
|
38
38
|
"@joyid/common": "^0.2.0",
|
|
39
|
-
"@ckb-ccc/core": "0.0.14-alpha.
|
|
39
|
+
"@ckb-ccc/core": "0.0.14-alpha.1"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
|
package/src/btc/index.ts
CHANGED
|
@@ -135,7 +135,7 @@ export class BitcoinSigner extends ccc.SignerBtc {
|
|
|
135
135
|
if (this.addressType === "auto") {
|
|
136
136
|
return res.btcAddressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
|
|
137
137
|
}
|
|
138
|
-
return
|
|
138
|
+
return this.addressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
|
|
139
139
|
})();
|
|
140
140
|
|
|
141
141
|
this.connection = {
|