@ckb-ccc/ccc 0.0.16-alpha.4 → 0.0.16-alpha.6
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 +71 -41
- package/README.md +6 -26
- package/dist/signersController.d.ts.map +1 -1
- package/dist/signersController.js +2 -0
- package/dist.commonjs/assets/utils.js +1 -2
- package/dist.commonjs/signersController.d.ts.map +1 -1
- package/dist.commonjs/signersController.js +2 -0
- package/package.json +14 -14
- package/src/signersController.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,40 @@
|
|
|
1
1
|
# @ckb-ccc/ccc
|
|
2
2
|
|
|
3
|
+
## 0.0.16-alpha.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`50f2ce0`](https://github.com/ckb-devrel/ccc/commit/50f2ce08e74cb3fbeae926267d42e28b426fd7f4)]:
|
|
8
|
+
- @ckb-ccc/core@0.1.0-alpha.5
|
|
9
|
+
- @ckb-ccc/eip6963@0.0.16-alpha.5
|
|
10
|
+
- @ckb-ccc/joy-id@0.0.16-alpha.5
|
|
11
|
+
- @ckb-ccc/nip07@0.0.16-alpha.5
|
|
12
|
+
- @ckb-ccc/okx@0.0.16-alpha.5
|
|
13
|
+
- @ckb-ccc/rei@0.0.16-alpha.5
|
|
14
|
+
- @ckb-ccc/uni-sat@0.0.16-alpha.5
|
|
15
|
+
- @ckb-ccc/utxo-global@0.0.16-alpha.5
|
|
16
|
+
- @ckb-ccc/xverse@0.0.15-alpha.6
|
|
17
|
+
|
|
18
|
+
## 0.0.16-alpha.5
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`f21d7e4`](https://github.com/ckb-devrel/ccc/commit/f21d7e4cf422edab4a836ef6d678b620594fef8d)]:
|
|
23
|
+
- @ckb-ccc/core@0.1.0-alpha.4
|
|
24
|
+
- @ckb-ccc/eip6963@0.0.16-alpha.4
|
|
25
|
+
- @ckb-ccc/joy-id@0.0.16-alpha.4
|
|
26
|
+
- @ckb-ccc/nip07@0.0.16-alpha.4
|
|
27
|
+
- @ckb-ccc/okx@0.0.16-alpha.4
|
|
28
|
+
- @ckb-ccc/rei@0.0.16-alpha.4
|
|
29
|
+
- @ckb-ccc/uni-sat@0.0.16-alpha.4
|
|
30
|
+
- @ckb-ccc/utxo-global@0.0.16-alpha.4
|
|
31
|
+
- @ckb-ccc/xverse@0.0.15-alpha.5
|
|
32
|
+
|
|
3
33
|
## 0.0.16-alpha.4
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
6
36
|
|
|
7
|
-
- Updated dependencies [[`a3d5359`](https://github.com/ckb-
|
|
37
|
+
- Updated dependencies [[`a3d5359`](https://github.com/ckb-devrel/ccc/commit/a3d53595f6dd11f2f59cdf0086b3d7ce558a2fdd)]:
|
|
8
38
|
- @ckb-ccc/core@0.0.16-alpha.3
|
|
9
39
|
- @ckb-ccc/eip6963@0.0.16-alpha.3
|
|
10
40
|
- @ckb-ccc/joy-id@0.0.16-alpha.3
|
|
@@ -19,9 +49,9 @@
|
|
|
19
49
|
|
|
20
50
|
### Patch Changes
|
|
21
51
|
|
|
22
|
-
- [#70](https://github.com/ckb-
|
|
52
|
+
- [#70](https://github.com/ckb-devrel/ccc/pull/70) [`acfc050`](https://github.com/ckb-devrel/ccc/commit/acfc0502cd6beb48b9310dec8411dcd630507366) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): websocket transport
|
|
23
53
|
|
|
24
|
-
- Updated dependencies [[`acfc050`](https://github.com/ckb-
|
|
54
|
+
- Updated dependencies [[`acfc050`](https://github.com/ckb-devrel/ccc/commit/acfc0502cd6beb48b9310dec8411dcd630507366)]:
|
|
25
55
|
- @ckb-ccc/core@0.0.16-alpha.2
|
|
26
56
|
- @ckb-ccc/eip6963@0.0.16-alpha.2
|
|
27
57
|
- @ckb-ccc/joy-id@0.0.16-alpha.2
|
|
@@ -36,11 +66,11 @@
|
|
|
36
66
|
|
|
37
67
|
### Patch Changes
|
|
38
68
|
|
|
39
|
-
- [#69](https://github.com/ckb-
|
|
69
|
+
- [#69](https://github.com/ckb-devrel/ccc/pull/69) [`8824ff2`](https://github.com/ckb-devrel/ccc/commit/8824ff27af3b76186f1a7d6db8c907cd66f09d6a) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): Client.waitTransaction
|
|
40
70
|
|
|
41
|
-
- [#67](https://github.com/ckb-
|
|
71
|
+
- [#67](https://github.com/ckb-devrel/ccc/pull/67) [`c092988`](https://github.com/ckb-devrel/ccc/commit/c092988e7765b9ac79498d6bd72a6a2f62859b6f) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): auto fee rate
|
|
42
72
|
|
|
43
|
-
- Updated dependencies [[`8824ff2`](https://github.com/ckb-
|
|
73
|
+
- Updated dependencies [[`8824ff2`](https://github.com/ckb-devrel/ccc/commit/8824ff27af3b76186f1a7d6db8c907cd66f09d6a), [`c092988`](https://github.com/ckb-devrel/ccc/commit/c092988e7765b9ac79498d6bd72a6a2f62859b6f)]:
|
|
44
74
|
- @ckb-ccc/core@0.0.16-alpha.1
|
|
45
75
|
- @ckb-ccc/eip6963@0.0.16-alpha.1
|
|
46
76
|
- @ckb-ccc/joy-id@0.0.16-alpha.1
|
|
@@ -55,7 +85,7 @@
|
|
|
55
85
|
|
|
56
86
|
### Patch Changes
|
|
57
87
|
|
|
58
|
-
- Updated dependencies [[`1720d5a`](https://github.com/ckb-
|
|
88
|
+
- Updated dependencies [[`1720d5a`](https://github.com/ckb-devrel/ccc/commit/1720d5a398543f1c6e24763eeaf15d84cd2214bf)]:
|
|
59
89
|
- @ckb-ccc/core@0.0.16-alpha.0
|
|
60
90
|
- @ckb-ccc/eip6963@0.0.16-alpha.0
|
|
61
91
|
- @ckb-ccc/joy-id@0.0.16-alpha.0
|
|
@@ -70,16 +100,16 @@
|
|
|
70
100
|
|
|
71
101
|
### Patch Changes
|
|
72
102
|
|
|
73
|
-
- [#60](https://github.com/ckb-
|
|
103
|
+
- [#60](https://github.com/ckb-devrel/ccc/pull/60) [`e904963`](https://github.com/ckb-devrel/ccc/commit/e904963a16f12c410d861eb3ae01b87d68cb3e34) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat: support Xverse
|
|
74
104
|
|
|
75
|
-
- Updated dependencies [[`e904963`](https://github.com/ckb-
|
|
105
|
+
- Updated dependencies [[`e904963`](https://github.com/ckb-devrel/ccc/commit/e904963a16f12c410d861eb3ae01b87d68cb3e34)]:
|
|
76
106
|
- @ckb-ccc/xverse@0.0.15-alpha.0
|
|
77
107
|
|
|
78
108
|
## 0.0.15
|
|
79
109
|
|
|
80
110
|
### Patch Changes
|
|
81
111
|
|
|
82
|
-
- Updated dependencies [[`8f2560a`](https://github.com/ckb-
|
|
112
|
+
- Updated dependencies [[`8f2560a`](https://github.com/ckb-devrel/ccc/commit/8f2560ab0e5619654fff7c5eacda8425385f908e)]:
|
|
83
113
|
- @ckb-ccc/core@0.0.15
|
|
84
114
|
- @ckb-ccc/eip6963@0.0.15
|
|
85
115
|
- @ckb-ccc/joy-id@0.0.15
|
|
@@ -93,11 +123,11 @@
|
|
|
93
123
|
|
|
94
124
|
### Patch Changes
|
|
95
125
|
|
|
96
|
-
- [#56](https://github.com/ckb-
|
|
126
|
+
- [#56](https://github.com/ckb-devrel/ccc/pull/56) [`f13f4d3`](https://github.com/ckb-devrel/ccc/commit/f13f4d319ca66b571029a65e945e3a038bfeea25) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): Signer.findTransactions
|
|
97
127
|
|
|
98
|
-
- [#48](https://github.com/ckb-
|
|
128
|
+
- [#48](https://github.com/ckb-devrel/ccc/pull/48) [`4fb114b`](https://github.com/ckb-devrel/ccc/commit/4fb114bc421c7250eed7388c16f1c026875153e6) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(okx): make okx wallet happy
|
|
99
129
|
|
|
100
|
-
- Updated dependencies [[`5e942f8`](https://github.com/ckb-
|
|
130
|
+
- Updated dependencies [[`5e942f8`](https://github.com/ckb-devrel/ccc/commit/5e942f8f1ed678abdb7ab9716f5449f0714cea53), [`f5b5938`](https://github.com/ckb-devrel/ccc/commit/f5b5938ab8f9c0a338dfd6765fe717f7ad1b1dd8), [`f13f4d3`](https://github.com/ckb-devrel/ccc/commit/f13f4d319ca66b571029a65e945e3a038bfeea25), [`4fb114b`](https://github.com/ckb-devrel/ccc/commit/4fb114bc421c7250eed7388c16f1c026875153e6), [`7ba62a0`](https://github.com/ckb-devrel/ccc/commit/7ba62a056f17808fe5684786c00c2dff80bb7d1d), [`2164efd`](https://github.com/ckb-devrel/ccc/commit/2164efd6d834c1917ad5f4a514dc25941f937185), [`e5bd2ad`](https://github.com/ckb-devrel/ccc/commit/e5bd2ad5de4b42a22c422ecfc42056750f69b88b), [`aae3e06`](https://github.com/ckb-devrel/ccc/commit/aae3e0679fb940dd8c12ac9be12a4b53277a339d)]:
|
|
101
131
|
- @ckb-ccc/core@0.0.14
|
|
102
132
|
- @ckb-ccc/okx@0.0.14
|
|
103
133
|
- @ckb-ccc/eip6963@0.0.14
|
|
@@ -111,7 +141,7 @@
|
|
|
111
141
|
|
|
112
142
|
### Patch Changes
|
|
113
143
|
|
|
114
|
-
- Updated dependencies [[`7ba62a0`](https://github.com/ckb-
|
|
144
|
+
- Updated dependencies [[`7ba62a0`](https://github.com/ckb-devrel/ccc/commit/7ba62a056f17808fe5684786c00c2dff80bb7d1d)]:
|
|
115
145
|
- @ckb-ccc/core@0.0.14-alpha.2
|
|
116
146
|
- @ckb-ccc/eip6963@0.0.14-alpha.2
|
|
117
147
|
- @ckb-ccc/joy-id@0.0.14-alpha.2
|
|
@@ -125,9 +155,9 @@
|
|
|
125
155
|
|
|
126
156
|
### Patch Changes
|
|
127
157
|
|
|
128
|
-
- [#48](https://github.com/ckb-
|
|
158
|
+
- [#48](https://github.com/ckb-devrel/ccc/pull/48) [`4fb114b`](https://github.com/ckb-devrel/ccc/commit/4fb114bc421c7250eed7388c16f1c026875153e6) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(okx): make okx wallet happy
|
|
129
159
|
|
|
130
|
-
- Updated dependencies [[`5e942f8`](https://github.com/ckb-
|
|
160
|
+
- Updated dependencies [[`5e942f8`](https://github.com/ckb-devrel/ccc/commit/5e942f8f1ed678abdb7ab9716f5449f0714cea53), [`4fb114b`](https://github.com/ckb-devrel/ccc/commit/4fb114bc421c7250eed7388c16f1c026875153e6), [`e5bd2ad`](https://github.com/ckb-devrel/ccc/commit/e5bd2ad5de4b42a22c422ecfc42056750f69b88b), [`aae3e06`](https://github.com/ckb-devrel/ccc/commit/aae3e0679fb940dd8c12ac9be12a4b53277a339d)]:
|
|
131
161
|
- @ckb-ccc/core@0.0.14-alpha.1
|
|
132
162
|
- @ckb-ccc/okx@0.0.14-alpha.1
|
|
133
163
|
- @ckb-ccc/eip6963@0.0.14-alpha.1
|
|
@@ -141,7 +171,7 @@
|
|
|
141
171
|
|
|
142
172
|
### Patch Changes
|
|
143
173
|
|
|
144
|
-
- Updated dependencies [[`f5b5938`](https://github.com/ckb-
|
|
174
|
+
- Updated dependencies [[`f5b5938`](https://github.com/ckb-devrel/ccc/commit/f5b5938ab8f9c0a338dfd6765fe717f7ad1b1dd8), [`2164efd`](https://github.com/ckb-devrel/ccc/commit/2164efd6d834c1917ad5f4a514dc25941f937185)]:
|
|
145
175
|
- @ckb-ccc/core@0.0.14-alpha.0
|
|
146
176
|
- @ckb-ccc/eip6963@0.0.14-alpha.0
|
|
147
177
|
- @ckb-ccc/joy-id@0.0.14-alpha.0
|
|
@@ -155,19 +185,19 @@
|
|
|
155
185
|
|
|
156
186
|
### Patch Changes
|
|
157
187
|
|
|
158
|
-
- [`6d62032`](https://github.com/ckb-
|
|
188
|
+
- [`6d62032`](https://github.com/ckb-devrel/ccc/commit/6d620326f42f8c48eff9deb95578cf28d7bf5c97) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): recordCells should not add usableCells
|
|
159
189
|
|
|
160
|
-
- [`3658797`](https://github.com/ckb-
|
|
190
|
+
- [`3658797`](https://github.com/ckb-devrel/ccc/commit/3658797e67c42c56b20fa66481d0455ed019e69f) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): node.js websocket
|
|
161
191
|
|
|
162
|
-
- [#25](https://github.com/ckb-
|
|
192
|
+
- [#25](https://github.com/ckb-devrel/ccc/pull/25) [`69c10fd`](https://github.com/ckb-devrel/ccc/commit/69c10fdfcd507433c13b15d17015dca4687afb97) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(utxo-global): switchNetwork
|
|
163
193
|
|
|
164
|
-
- [`44c7fee`](https://github.com/ckb-
|
|
194
|
+
- [`44c7fee`](https://github.com/ckb-devrel/ccc/commit/44c7feed37369836268fba21884418682f15254b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): completeInputs
|
|
165
195
|
|
|
166
|
-
- [`079e20e`](https://github.com/ckb-
|
|
196
|
+
- [`079e20e`](https://github.com/ckb-devrel/ccc/commit/079e20ef14cf9a7c06bbaddf3e92cbfbb005da11) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): more APIs. Since parsing.
|
|
167
197
|
|
|
168
|
-
- [`ed154d1`](https://github.com/ckb-
|
|
198
|
+
- [`ed154d1`](https://github.com/ckb-devrel/ccc/commit/ed154d189e239907ad686ec51ac8133b6d5eb895) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): Signer.findCells
|
|
169
199
|
|
|
170
|
-
- Updated dependencies [[`3378e85`](https://github.com/ckb-
|
|
200
|
+
- Updated dependencies [[`3378e85`](https://github.com/ckb-devrel/ccc/commit/3378e85b32797f5cdc1943b9ecaca1fd1d9fad5e), [`8629449`](https://github.com/ckb-devrel/ccc/commit/86294490e76fc2a1cee20f827883e02fceca6e8b), [`6d62032`](https://github.com/ckb-devrel/ccc/commit/6d620326f42f8c48eff9deb95578cf28d7bf5c97), [`3658797`](https://github.com/ckb-devrel/ccc/commit/3658797e67c42c56b20fa66481d0455ed019e69f), [`69c10fd`](https://github.com/ckb-devrel/ccc/commit/69c10fdfcd507433c13b15d17015dca4687afb97), [`600cc13`](https://github.com/ckb-devrel/ccc/commit/600cc137ac6eb7c5b2533670de6df29d82f1b9e1), [`642f731`](https://github.com/ckb-devrel/ccc/commit/642f7317f4951ef801f1245aea96c40b4b6fb73e), [`96dbb61`](https://github.com/ckb-devrel/ccc/commit/96dbb6107d2071b9383350ddd578557746227054), [`0462a4e`](https://github.com/ckb-devrel/ccc/commit/0462a4ee101926f0da857173626dc4ab879e3b56), [`588db84`](https://github.com/ckb-devrel/ccc/commit/588db8434d76a5a9ea6dd1d4c5b03f356ec1fb7d), [`52156f9`](https://github.com/ckb-devrel/ccc/commit/52156f9df9cae9e0b71b77b49cda0e4d73e76142), [`63606db`](https://github.com/ckb-devrel/ccc/commit/63606db908f95bfc857430083932144d1ef4deef), [`44c7fee`](https://github.com/ckb-devrel/ccc/commit/44c7feed37369836268fba21884418682f15254b), [`1043c2b`](https://github.com/ckb-devrel/ccc/commit/1043c2bc211ec283b88dba3b81feef98e4185c0e), [`079e20e`](https://github.com/ckb-devrel/ccc/commit/079e20ef14cf9a7c06bbaddf3e92cbfbb005da11), [`1f999f8`](https://github.com/ckb-devrel/ccc/commit/1f999f854beb255b3cd9dbbc5a7268e75442b3db), [`a69a9dc`](https://github.com/ckb-devrel/ccc/commit/a69a9dc0c722f7b4cfa36b2ae8ecba4dcde0db90), [`ed154d1`](https://github.com/ckb-devrel/ccc/commit/ed154d189e239907ad686ec51ac8133b6d5eb895)]:
|
|
171
201
|
- @ckb-ccc/core@0.0.13
|
|
172
202
|
- @ckb-ccc/eip6963@0.0.13
|
|
173
203
|
- @ckb-ccc/joy-id@0.0.13
|
|
@@ -181,7 +211,7 @@
|
|
|
181
211
|
|
|
182
212
|
### Patch Changes
|
|
183
213
|
|
|
184
|
-
- Updated dependencies [[`8629449`](https://github.com/ckb-
|
|
214
|
+
- Updated dependencies [[`8629449`](https://github.com/ckb-devrel/ccc/commit/86294490e76fc2a1cee20f827883e02fceca6e8b), [`52156f9`](https://github.com/ckb-devrel/ccc/commit/52156f9df9cae9e0b71b77b49cda0e4d73e76142), [`63606db`](https://github.com/ckb-devrel/ccc/commit/63606db908f95bfc857430083932144d1ef4deef)]:
|
|
185
215
|
- @ckb-ccc/core@0.0.13-alpha.8
|
|
186
216
|
- @ckb-ccc/eip6963@0.0.13-alpha.8
|
|
187
217
|
- @ckb-ccc/joy-id@0.0.13-alpha.8
|
|
@@ -195,11 +225,11 @@
|
|
|
195
225
|
|
|
196
226
|
### Patch Changes
|
|
197
227
|
|
|
198
|
-
- [`079e20e`](https://github.com/ckb-
|
|
228
|
+
- [`079e20e`](https://github.com/ckb-devrel/ccc/commit/079e20ef14cf9a7c06bbaddf3e92cbfbb005da11) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): more APIs. Since parsing.
|
|
199
229
|
|
|
200
|
-
- [`ed154d1`](https://github.com/ckb-
|
|
230
|
+
- [`ed154d1`](https://github.com/ckb-devrel/ccc/commit/ed154d189e239907ad686ec51ac8133b6d5eb895) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): Signer.findCells
|
|
201
231
|
|
|
202
|
-
- Updated dependencies [[`1043c2b`](https://github.com/ckb-
|
|
232
|
+
- Updated dependencies [[`1043c2b`](https://github.com/ckb-devrel/ccc/commit/1043c2bc211ec283b88dba3b81feef98e4185c0e), [`079e20e`](https://github.com/ckb-devrel/ccc/commit/079e20ef14cf9a7c06bbaddf3e92cbfbb005da11), [`ed154d1`](https://github.com/ckb-devrel/ccc/commit/ed154d189e239907ad686ec51ac8133b6d5eb895)]:
|
|
203
233
|
- @ckb-ccc/core@0.0.13-alpha.7
|
|
204
234
|
- @ckb-ccc/eip6963@0.0.13-alpha.7
|
|
205
235
|
- @ckb-ccc/joy-id@0.0.13-alpha.7
|
|
@@ -213,11 +243,11 @@
|
|
|
213
243
|
|
|
214
244
|
### Patch Changes
|
|
215
245
|
|
|
216
|
-
- [#25](https://github.com/ckb-
|
|
246
|
+
- [#25](https://github.com/ckb-devrel/ccc/pull/25) [`69c10fd`](https://github.com/ckb-devrel/ccc/commit/69c10fdfcd507433c13b15d17015dca4687afb97) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(utxo-global): switchNetwork
|
|
217
247
|
|
|
218
|
-
- [`44c7fee`](https://github.com/ckb-
|
|
248
|
+
- [`44c7fee`](https://github.com/ckb-devrel/ccc/commit/44c7feed37369836268fba21884418682f15254b) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): completeInputs
|
|
219
249
|
|
|
220
|
-
- Updated dependencies [[`69c10fd`](https://github.com/ckb-
|
|
250
|
+
- Updated dependencies [[`69c10fd`](https://github.com/ckb-devrel/ccc/commit/69c10fdfcd507433c13b15d17015dca4687afb97), [`44c7fee`](https://github.com/ckb-devrel/ccc/commit/44c7feed37369836268fba21884418682f15254b)]:
|
|
221
251
|
- @ckb-ccc/utxo-global@0.0.13-alpha.6
|
|
222
252
|
- @ckb-ccc/core@0.0.13-alpha.6
|
|
223
253
|
- @ckb-ccc/eip6963@0.0.13-alpha.6
|
|
@@ -231,9 +261,9 @@
|
|
|
231
261
|
|
|
232
262
|
### Patch Changes
|
|
233
263
|
|
|
234
|
-
- [`6d62032`](https://github.com/ckb-
|
|
264
|
+
- [`6d62032`](https://github.com/ckb-devrel/ccc/commit/6d620326f42f8c48eff9deb95578cf28d7bf5c97) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): recordCells should not add usableCells
|
|
235
265
|
|
|
236
|
-
- Updated dependencies [[`6d62032`](https://github.com/ckb-
|
|
266
|
+
- Updated dependencies [[`6d62032`](https://github.com/ckb-devrel/ccc/commit/6d620326f42f8c48eff9deb95578cf28d7bf5c97)]:
|
|
237
267
|
- @ckb-ccc/core@0.0.13-alpha.5
|
|
238
268
|
- @ckb-ccc/eip6963@0.0.13-alpha.5
|
|
239
269
|
- @ckb-ccc/joy-id@0.0.13-alpha.5
|
|
@@ -247,9 +277,9 @@
|
|
|
247
277
|
|
|
248
278
|
### Patch Changes
|
|
249
279
|
|
|
250
|
-
- [`3658797`](https://github.com/ckb-
|
|
280
|
+
- [`3658797`](https://github.com/ckb-devrel/ccc/commit/3658797e67c42c56b20fa66481d0455ed019e69f) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat(core): node.js websocket
|
|
251
281
|
|
|
252
|
-
- Updated dependencies [[`3658797`](https://github.com/ckb-
|
|
282
|
+
- Updated dependencies [[`3658797`](https://github.com/ckb-devrel/ccc/commit/3658797e67c42c56b20fa66481d0455ed019e69f), [`642f731`](https://github.com/ckb-devrel/ccc/commit/642f7317f4951ef801f1245aea96c40b4b6fb73e)]:
|
|
253
283
|
- @ckb-ccc/core@0.0.13-alpha.4
|
|
254
284
|
- @ckb-ccc/eip6963@0.0.13-alpha.4
|
|
255
285
|
- @ckb-ccc/joy-id@0.0.13-alpha.4
|
|
@@ -263,7 +293,7 @@
|
|
|
263
293
|
|
|
264
294
|
### Patch Changes
|
|
265
295
|
|
|
266
|
-
- Updated dependencies [[`1f999f8`](https://github.com/ckb-
|
|
296
|
+
- Updated dependencies [[`1f999f8`](https://github.com/ckb-devrel/ccc/commit/1f999f854beb255b3cd9dbbc5a7268e75442b3db)]:
|
|
267
297
|
- @ckb-ccc/core@0.0.13-alpha.3
|
|
268
298
|
- @ckb-ccc/eip6963@0.0.13-alpha.3
|
|
269
299
|
- @ckb-ccc/joy-id@0.0.13-alpha.3
|
|
@@ -277,7 +307,7 @@
|
|
|
277
307
|
|
|
278
308
|
### Patch Changes
|
|
279
309
|
|
|
280
|
-
- Updated dependencies [[`96dbb61`](https://github.com/ckb-
|
|
310
|
+
- Updated dependencies [[`96dbb61`](https://github.com/ckb-devrel/ccc/commit/96dbb6107d2071b9383350ddd578557746227054)]:
|
|
281
311
|
- @ckb-ccc/core@0.0.13-alpha.2
|
|
282
312
|
- @ckb-ccc/eip6963@0.0.13-alpha.2
|
|
283
313
|
- @ckb-ccc/joy-id@0.0.13-alpha.2
|
|
@@ -291,7 +321,7 @@
|
|
|
291
321
|
|
|
292
322
|
### Patch Changes
|
|
293
323
|
|
|
294
|
-
- Updated dependencies [[`3378e85`](https://github.com/ckb-
|
|
324
|
+
- Updated dependencies [[`3378e85`](https://github.com/ckb-devrel/ccc/commit/3378e85b32797f5cdc1943b9ecaca1fd1d9fad5e), [`588db84`](https://github.com/ckb-devrel/ccc/commit/588db8434d76a5a9ea6dd1d4c5b03f356ec1fb7d), [`a69a9dc`](https://github.com/ckb-devrel/ccc/commit/a69a9dc0c722f7b4cfa36b2ae8ecba4dcde0db90)]:
|
|
295
325
|
- @ckb-ccc/core@0.0.13-alpha.1
|
|
296
326
|
- @ckb-ccc/joy-id@0.0.13-alpha.1
|
|
297
327
|
- @ckb-ccc/eip6963@0.0.13-alpha.1
|
|
@@ -305,7 +335,7 @@
|
|
|
305
335
|
|
|
306
336
|
### Patch Changes
|
|
307
337
|
|
|
308
|
-
- Updated dependencies [[`600cc13`](https://github.com/ckb-
|
|
338
|
+
- Updated dependencies [[`600cc13`](https://github.com/ckb-devrel/ccc/commit/600cc137ac6eb7c5b2533670de6df29d82f1b9e1)]:
|
|
309
339
|
- @ckb-ccc/core@0.0.13-alpha.0
|
|
310
340
|
- @ckb-ccc/eip6963@0.0.13-alpha.0
|
|
311
341
|
- @ckb-ccc/joy-id@0.0.13-alpha.0
|
|
@@ -319,9 +349,9 @@
|
|
|
319
349
|
|
|
320
350
|
### Patch Changes
|
|
321
351
|
|
|
322
|
-
- [`591e779`](https://github.com/ckb-
|
|
352
|
+
- [`591e779`](https://github.com/ckb-devrel/ccc/commit/591e7794ce3d07ceaad55b7a80d2277fe0aa9fe7) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat: custom SignersController
|
|
323
353
|
|
|
324
|
-
- Updated dependencies [[`6bee006`](https://github.com/ckb-
|
|
354
|
+
- Updated dependencies [[`6bee006`](https://github.com/ckb-devrel/ccc/commit/6bee006fbcb96986c65ca4d2d896fca21db2503b)]:
|
|
325
355
|
- @ckb-ccc/nip07@0.0.12
|
|
326
356
|
- @ckb-ccc/okx@0.0.12
|
|
327
357
|
- @ckb-ccc/core@0.0.12
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="https://app.ckbccc.com/">
|
|
3
|
-
<img alt="Logo" src="https://raw.githubusercontent.com/ckb-
|
|
3
|
+
<img alt="Logo" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/logoAndText.svg" style="height: 8rem; max-width: 90%; padding: 0.5rem 0;" />
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
<a href="https://www.npmjs.com/package/@ckb-ccc/ccc"><img
|
|
13
13
|
alt="NPM Version" src="https://img.shields.io/npm/v/%40ckb-ccc%2Fccc"
|
|
14
14
|
/></a>
|
|
15
|
-
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/ckb-
|
|
16
|
-
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/ckb-
|
|
17
|
-
<img alt="GitHub branch check runs" src="https://img.shields.io/github/check-runs/ckb-
|
|
15
|
+
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/ckb-devrel/ccc" />
|
|
16
|
+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/ckb-devrel/ccc/master" />
|
|
17
|
+
<img alt="GitHub branch check runs" src="https://img.shields.io/github/check-runs/ckb-devrel/ccc/master" />
|
|
18
18
|
<a href="https://live.ckbccc.com/"><img
|
|
19
19
|
alt="Playground" src="https://img.shields.io/website?url=https%3A%2F%2Flive.ckbccc.com%2F&label=Playground"
|
|
20
20
|
/></a>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
</p>
|
|
28
28
|
|
|
29
29
|
<p align="center">
|
|
30
|
-
|
|
30
|
+
CCC - CKBers' Codebase is a one-stop solution for your CKB JS/TS ecosystem development.
|
|
31
31
|
<br />
|
|
32
32
|
Empower yourself with CCC to discover the unlimited potential of CKB.
|
|
33
33
|
<br />
|
|
@@ -36,26 +36,6 @@
|
|
|
36
36
|
Fully enabling CKB's Turing completeness and cryptographic freedom power.
|
|
37
37
|
</p>
|
|
38
38
|
|
|
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
|
|
50
|
-
|
|
51
|
-
<p align="center">
|
|
52
|
-
<a href="https://app.ckbccc.com/">
|
|
53
|
-
<img src="https://raw.githubusercontent.com/ckb-ecofund/ccc/master/assets/appPreview.png" width="50%" />
|
|
54
|
-
</a>
|
|
55
|
-
</p>
|
|
56
|
-
|
|
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.
|
|
58
|
-
|
|
59
39
|
<h3 align="center">
|
|
60
|
-
Read more about CCC on <a href="https://docs.ckbccc.com">our website</a> or <a href="https://github.com/ckb-
|
|
40
|
+
Read more about CCC on <a href="https://docs.ckbccc.com">our website</a> or <a href="https://github.com/ckb-devrel/ccc">GitHub Repo</a>.
|
|
61
41
|
</h3>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signersController.d.ts","sourceRoot":"","sources":["../src/signersController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAkBpC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,GAAG;IAC3C,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;IAC3C,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACjD,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,cAAc,CAAsB;;IAI5C,SAAS,CAAC,OAAO,CAAC,EAAE;QAClB,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;;;;;
|
|
1
|
+
{"version":3,"file":"signersController.d.ts","sourceRoot":"","sources":["../src/signersController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAkBpC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,GAAG;IAC3C,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;IAC3C,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACjD,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,cAAc,CAAsB;;IAI5C,SAAS,CAAC,OAAO,CAAC,EAAE;QAClB,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;;;;;IAkCD,UAAU;IAKJ,OAAO,CACX,MAAM,EAAE,GAAG,CAAC,MAAM,EAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,EAChD,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAmBG,cAAc,CAAC,OAAO,EAAE,+BAA+B;IAwEvD,eAAe,CAAC,OAAO,EAAE,+BAA+B;IAmCxD,cAAc,CAClB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,GAAG,CAAC,UAAU,EAAE,EAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,+BAA+B;IAapC,UAAU,CACd,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,EACzB,OAAO,EAAE,+BAA+B;cAS1B,SAAS,CACvB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,GAAG,CAAC,UAAU,EAC1B,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,+BAA+B,GACrD,OAAO,CAAC,IAAI,CAAC;CAkBjB"}
|
|
@@ -24,9 +24,11 @@ export class SignersController {
|
|
|
24
24
|
}
|
|
25
25
|
getConfig(configs) {
|
|
26
26
|
const appName = configs?.name ??
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
27
28
|
document.querySelector("head title")?.text ??
|
|
28
29
|
"Unknown";
|
|
29
30
|
const appIcon = configs?.icon ??
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
30
32
|
document.querySelector('link[rel="icon"]')
|
|
31
33
|
?.href ??
|
|
32
34
|
"https://fav.farm/%E2%9D%93";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.encodeSvgToImgSrc =
|
|
3
|
+
exports.encodeSvgToImgSrc = encodeSvgToImgSrc;
|
|
4
4
|
function encodeSvgToImgSrc(svg) {
|
|
5
5
|
return `data:image/svg+xml,${encodeURIComponent(svg)}`;
|
|
6
6
|
}
|
|
7
|
-
exports.encodeSvgToImgSrc = encodeSvgToImgSrc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signersController.d.ts","sourceRoot":"","sources":["../src/signersController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAkBpC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,GAAG;IAC3C,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;IAC3C,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACjD,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,cAAc,CAAsB;;IAI5C,SAAS,CAAC,OAAO,CAAC,EAAE;QAClB,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;;;;;
|
|
1
|
+
{"version":3,"file":"signersController.d.ts","sourceRoot":"","sources":["../src/signersController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAkBpC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,GAAG;IAC3C,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;IAC3C,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACjD,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,cAAc,CAAsB;;IAI5C,SAAS,CAAC,OAAO,CAAC,EAAE;QAClB,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;;;;;IAkCD,UAAU;IAKJ,OAAO,CACX,MAAM,EAAE,GAAG,CAAC,MAAM,EAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,EAChD,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAmBG,cAAc,CAAC,OAAO,EAAE,+BAA+B;IAwEvD,eAAe,CAAC,OAAO,EAAE,+BAA+B;IAmCxD,cAAc,CAClB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,GAAG,CAAC,UAAU,EAAE,EAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,+BAA+B;IAapC,UAAU,CACd,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,EACzB,OAAO,EAAE,+BAA+B;cAS1B,SAAS,CACvB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,GAAG,CAAC,UAAU,EAC1B,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,+BAA+B,GACrD,OAAO,CAAC,IAAI,CAAC;CAkBjB"}
|
|
@@ -27,9 +27,11 @@ class SignersController {
|
|
|
27
27
|
}
|
|
28
28
|
getConfig(configs) {
|
|
29
29
|
const appName = configs?.name ??
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
30
31
|
document.querySelector("head title")?.text ??
|
|
31
32
|
"Unknown";
|
|
32
33
|
const appIcon = configs?.icon ??
|
|
34
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
33
35
|
document.querySelector('link[rel="icon"]')
|
|
34
36
|
?.href ??
|
|
35
37
|
"https://fav.farm/%E2%9D%93";
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckb-ccc/ccc",
|
|
3
|
-
"version": "0.0.16-alpha.
|
|
3
|
+
"version": "0.0.16-alpha.6",
|
|
4
4
|
"description": "CCC - CKBer's Codebase. Common Chains Connector.",
|
|
5
5
|
"author": "Hanssen0 <hanssen0@hanssen0.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
8
|
-
"homepage": "https://github.com/ckb-
|
|
8
|
+
"homepage": "https://github.com/ckb-devrel/ccc",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git://github.com/ckb-
|
|
11
|
+
"url": "git://github.com/ckb-devrel/ccc.git"
|
|
12
12
|
},
|
|
13
13
|
"main": "dist.commonjs/index.js",
|
|
14
14
|
"module": "dist/index.js",
|
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@ckb-ccc/
|
|
50
|
-
"@ckb-ccc/
|
|
51
|
-
"@ckb-ccc/
|
|
52
|
-
"@ckb-ccc/
|
|
53
|
-
"@ckb-ccc/okx": "0.0.16-alpha.
|
|
54
|
-
"@ckb-ccc/uni-sat": "0.0.16-alpha.
|
|
55
|
-
"@ckb-ccc/
|
|
56
|
-
"@ckb-ccc/
|
|
57
|
-
"@ckb-ccc/xverse": "0.0.15-alpha.
|
|
49
|
+
"@ckb-ccc/core": "0.1.0-alpha.5",
|
|
50
|
+
"@ckb-ccc/eip6963": "0.0.16-alpha.5",
|
|
51
|
+
"@ckb-ccc/nip07": "0.0.16-alpha.5",
|
|
52
|
+
"@ckb-ccc/joy-id": "0.0.16-alpha.5",
|
|
53
|
+
"@ckb-ccc/okx": "0.0.16-alpha.5",
|
|
54
|
+
"@ckb-ccc/uni-sat": "0.0.16-alpha.5",
|
|
55
|
+
"@ckb-ccc/utxo-global": "0.0.16-alpha.5",
|
|
56
|
+
"@ckb-ccc/rei": "0.0.16-alpha.5",
|
|
57
|
+
"@ckb-ccc/xverse": "0.0.15-alpha.6"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
|
|
61
|
-
"lint": "eslint",
|
|
62
|
-
"format": "prettier --write . && eslint --fix"
|
|
61
|
+
"lint": "eslint ./src",
|
|
62
|
+
"format": "prettier --write . && eslint --fix ./src"
|
|
63
63
|
}
|
|
64
64
|
}
|
package/src/signersController.ts
CHANGED
|
@@ -50,10 +50,12 @@ export class SignersController {
|
|
|
50
50
|
}) {
|
|
51
51
|
const appName =
|
|
52
52
|
configs?.name ??
|
|
53
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
53
54
|
(document.querySelector("head title") as HTMLTitleElement | null)?.text ??
|
|
54
55
|
"Unknown";
|
|
55
56
|
const appIcon =
|
|
56
57
|
configs?.icon ??
|
|
58
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
57
59
|
(document.querySelector('link[rel="icon"]') as HTMLLinkElement | null)
|
|
58
60
|
?.href ??
|
|
59
61
|
"https://fav.farm/%E2%9D%93";
|