@ckb-ccc/joy-id 0.0.13 → 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 CHANGED
@@ -1,5 +1,19 @@
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
+
10
+ ## 0.0.14-alpha.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`f5b5938`](https://github.com/ckb-ecofund/ccc/commit/f5b5938ab8f9c0a338dfd6765fe717f7ad1b1dd8), [`2164efd`](https://github.com/ckb-ecofund/ccc/commit/2164efd6d834c1917ad5f4a514dc25941f937185)]:
15
+ - @ckb-ccc/core@0.0.14-alpha.0
16
+
3
17
  ## 0.0.13
4
18
 
5
19
  ### 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
- ## Preview
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/preview.png" width="30%" />
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
- This project is still under active development, and we are looking forward to your feedback. [Try its demo now here](https://app.ckbccc.com/). It showcases how to use CCC for some basic scenarios in CKB.
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 res.btcAddressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
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 res.btcAddressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
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.13",
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.13"
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 res.btcAddressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
138
+ return this.addressType === "p2wpkh" ? res.nativeSegwit : res.taproot;
139
139
  })();
140
140
 
141
141
  this.connection = {