@ckb-ccc/xverse 0.0.0-canary-20250214032000

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.
Files changed (90) hide show
  1. package/CHANGELOG.md +195 -0
  2. package/README.md +51 -0
  3. package/dist/advanced.d.ts +2 -0
  4. package/dist/advanced.d.ts.map +1 -0
  5. package/dist/advanced.js +1 -0
  6. package/dist/advancedBarrel.d.ts +2 -0
  7. package/dist/advancedBarrel.d.ts.map +1 -0
  8. package/dist/advancedBarrel.js +1 -0
  9. package/dist/barrel.d.ts +3 -0
  10. package/dist/barrel.d.ts.map +1 -0
  11. package/dist/barrel.js +2 -0
  12. package/dist/index.d.ts +2 -0
  13. package/dist/index.d.ts.map +1 -0
  14. package/dist/index.js +1 -0
  15. package/dist/package.json +3 -0
  16. package/dist/sat-connect-core/advanced.d.ts +5 -0
  17. package/dist/sat-connect-core/advanced.d.ts.map +1 -0
  18. package/dist/sat-connect-core/advanced.js +4 -0
  19. package/dist/sat-connect-core/btcMethods.advanced.d.ts +280 -0
  20. package/dist/sat-connect-core/btcMethods.advanced.d.ts.map +1 -0
  21. package/dist/sat-connect-core/btcMethods.advanced.js +179 -0
  22. package/dist/sat-connect-core/provider.advanced.d.ts +48 -0
  23. package/dist/sat-connect-core/provider.advanced.d.ts.map +1 -0
  24. package/dist/sat-connect-core/provider.advanced.js +21 -0
  25. package/dist/sat-connect-core/requests.advanced.d.ts +21 -0
  26. package/dist/sat-connect-core/requests.advanced.d.ts.map +1 -0
  27. package/dist/sat-connect-core/requests.advanced.js +1 -0
  28. package/dist/sat-connect-core/types.advanced.d.ts +124 -0
  29. package/dist/sat-connect-core/types.advanced.d.ts.map +1 -0
  30. package/dist/sat-connect-core/types.advanced.js +80 -0
  31. package/dist/sat-connect-core/walletMethods.advanced.d.ts +36 -0
  32. package/dist/sat-connect-core/walletMethods.advanced.d.ts.map +1 -0
  33. package/dist/sat-connect-core/walletMethods.advanced.js +37 -0
  34. package/dist/signer.d.ts +47 -0
  35. package/dist/signer.d.ts.map +1 -0
  36. package/dist/signer.js +123 -0
  37. package/dist/signersFactory.d.ts +13 -0
  38. package/dist/signersFactory.d.ts.map +1 -0
  39. package/dist/signersFactory.js +33 -0
  40. package/dist.commonjs/advanced.d.ts +2 -0
  41. package/dist.commonjs/advanced.d.ts.map +1 -0
  42. package/dist.commonjs/advanced.js +37 -0
  43. package/dist.commonjs/advancedBarrel.d.ts +2 -0
  44. package/dist.commonjs/advancedBarrel.d.ts.map +1 -0
  45. package/dist.commonjs/advancedBarrel.js +17 -0
  46. package/dist.commonjs/barrel.d.ts +3 -0
  47. package/dist.commonjs/barrel.d.ts.map +1 -0
  48. package/dist.commonjs/barrel.js +18 -0
  49. package/dist.commonjs/index.d.ts +2 -0
  50. package/dist.commonjs/index.d.ts.map +1 -0
  51. package/dist.commonjs/index.js +37 -0
  52. package/dist.commonjs/package.json +3 -0
  53. package/dist.commonjs/sat-connect-core/advanced.d.ts +5 -0
  54. package/dist.commonjs/sat-connect-core/advanced.d.ts.map +1 -0
  55. package/dist.commonjs/sat-connect-core/advanced.js +20 -0
  56. package/dist.commonjs/sat-connect-core/btcMethods.advanced.d.ts +280 -0
  57. package/dist.commonjs/sat-connect-core/btcMethods.advanced.d.ts.map +1 -0
  58. package/dist.commonjs/sat-connect-core/btcMethods.advanced.js +215 -0
  59. package/dist.commonjs/sat-connect-core/provider.advanced.d.ts +48 -0
  60. package/dist.commonjs/sat-connect-core/provider.advanced.d.ts.map +1 -0
  61. package/dist.commonjs/sat-connect-core/provider.advanced.js +57 -0
  62. package/dist.commonjs/sat-connect-core/requests.advanced.d.ts +21 -0
  63. package/dist.commonjs/sat-connect-core/requests.advanced.d.ts.map +1 -0
  64. package/dist.commonjs/sat-connect-core/requests.advanced.js +2 -0
  65. package/dist.commonjs/sat-connect-core/types.advanced.d.ts +124 -0
  66. package/dist.commonjs/sat-connect-core/types.advanced.d.ts.map +1 -0
  67. package/dist.commonjs/sat-connect-core/types.advanced.js +116 -0
  68. package/dist.commonjs/sat-connect-core/walletMethods.advanced.d.ts +36 -0
  69. package/dist.commonjs/sat-connect-core/walletMethods.advanced.d.ts.map +1 -0
  70. package/dist.commonjs/sat-connect-core/walletMethods.advanced.js +73 -0
  71. package/dist.commonjs/signer.d.ts +47 -0
  72. package/dist.commonjs/signer.d.ts.map +1 -0
  73. package/dist.commonjs/signer.js +160 -0
  74. package/dist.commonjs/signersFactory.d.ts +13 -0
  75. package/dist.commonjs/signersFactory.d.ts.map +1 -0
  76. package/dist.commonjs/signersFactory.js +36 -0
  77. package/package.json +62 -0
  78. package/src/advanced.ts +1 -0
  79. package/src/advancedBarrel.ts +1 -0
  80. package/src/barrel.ts +2 -0
  81. package/src/index.ts +1 -0
  82. package/src/sat-connect-core/advanced.ts +4 -0
  83. package/src/sat-connect-core/btcMethods.advanced.ts +304 -0
  84. package/src/sat-connect-core/provider.advanced.ts +61 -0
  85. package/src/sat-connect-core/requests.advanced.ts +41 -0
  86. package/src/sat-connect-core/types.advanced.ts +160 -0
  87. package/src/sat-connect-core/walletMethods.advanced.ts +58 -0
  88. package/src/signer.ts +170 -0
  89. package/src/signersFactory.ts +55 -0
  90. package/typedoc.json +6 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,195 @@
1
+ # @ckb-ccc/xverse
2
+
3
+ ## 0.0.0-canary-20250214032000
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`80e605d`](https://github.com/ckb-devrel/ccc/commit/80e605d0645e87b4e8b5be85c63322f7a3926e38), [`def62a0`](https://github.com/ckb-devrel/ccc/commit/def62a08bf908c6a21fe91c8db2c60848a2ada52), [`d584059`](https://github.com/ckb-devrel/ccc/commit/d584059644e8bcd3a0ea8b0314fdcbb68ee66013), [`1e88ad8`](https://github.com/ckb-devrel/ccc/commit/1e88ad8743428b46b28fe790bd559b96df8a6ce4), [`6f10589`](https://github.com/ckb-devrel/ccc/commit/6f1058977e7aa113808fa74793f1ad5d672626d2), [`d7728d9`](https://github.com/ckb-devrel/ccc/commit/d7728d9edb46c9c5a2bfeb342fc68a8b1c0fec5d)]:
8
+ - @ckb-ccc/core@0.0.0-canary-20250214032000
9
+
10
+ ## 1.0.11
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`28c211d`](https://github.com/ckb-devrel/ccc/commit/28c211d839a2d2305eca56e82ba7da144aa3df4a)]:
15
+ - @ckb-ccc/core@1.5.0
16
+
17
+ ## 1.0.10
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`3fdb2c4`](https://github.com/ckb-devrel/ccc/commit/3fdb2c477d0b2766b231e436b8f396f047b02634), [`f429087`](https://github.com/ckb-devrel/ccc/commit/f4290874dfab3fe58844e5169673c5d47bda64e3)]:
22
+ - @ckb-ccc/core@1.4.0
23
+
24
+ ## 1.0.9
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`a48cccf`](https://github.com/ckb-devrel/ccc/commit/a48cccfae3ce6b3456a5eb863f207e7e5a6e568f)]:
29
+ - @ckb-ccc/core@1.3.1
30
+
31
+ ## 1.0.8
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [[`4dbf4fd`](https://github.com/ckb-devrel/ccc/commit/4dbf4fd8021cf14d05282706a7667ea7d108fb09), [`4c76f9e`](https://github.com/ckb-devrel/ccc/commit/4c76f9e2a93a226fcfc4c32a5378bb531bfff08f), [`c2c4c26`](https://github.com/ckb-devrel/ccc/commit/c2c4c264e04461948e4b913b2f22054e6032ddc8), [`b6a73fa`](https://github.com/ckb-devrel/ccc/commit/b6a73fa9628ebdff51cb8f246309654cd53e36f2), [`8c97c85`](https://github.com/ckb-devrel/ccc/commit/8c97c851db4a2d940c7e59116ca7620cfd0afae1)]:
36
+ - @ckb-ccc/core@1.3.0
37
+
38
+ ## 1.0.7
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [[`01263bd`](https://github.com/ckb-devrel/ccc/commit/01263bd8c601fa8fcdfa24be52601716e1864843)]:
43
+ - @ckb-ccc/core@1.2.3
44
+
45
+ ## 1.0.6
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [[`7886e3d`](https://github.com/ckb-devrel/ccc/commit/7886e3d89e9ca8f3514a2044c6dd4e8ec6b49933)]:
50
+ - @ckb-ccc/core@1.2.2
51
+
52
+ ## 1.0.5
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies [[`94e2618`](https://github.com/ckb-devrel/ccc/commit/94e26182515e09d6086ec5b653d091f117a499e6)]:
57
+ - @ckb-ccc/core@1.2.1
58
+
59
+ ## 1.0.4
60
+
61
+ ### Patch Changes
62
+
63
+ - Updated dependencies [[`128e87b`](https://github.com/ckb-devrel/ccc/commit/128e87b5ca3e97bfe7842e76f786aa6aec010797)]:
64
+ - @ckb-ccc/core@1.2.0
65
+
66
+ ## 1.0.3
67
+
68
+ ### Patch Changes
69
+
70
+ - Updated dependencies [[`925991c`](https://github.com/ckb-devrel/ccc/commit/925991c8a24b1f34667e30b28b69812e936e3928)]:
71
+ - @ckb-ccc/core@1.1.1
72
+
73
+ ## 1.0.2
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [[`ddc0a28`](https://github.com/ckb-devrel/ccc/commit/ddc0a281c3d1dfa6ebc990dae92994f026dfddcc)]:
78
+ - @ckb-ccc/core@1.1.0
79
+
80
+ ## 1.0.1
81
+
82
+ ### Patch Changes
83
+
84
+ - Updated dependencies [[`719055b`](https://github.com/ckb-devrel/ccc/commit/719055b404f31b40362f51714b9f11c85b857581), [`94caaca`](https://github.com/ckb-devrel/ccc/commit/94caaca11c63752a25282d42f51161c94397dec6)]:
85
+ - @ckb-ccc/core@1.0.1
86
+
87
+ ## 1.0.0
88
+
89
+ ### Major Changes
90
+
91
+ - [#107](https://github.com/ckb-devrel/ccc/pull/107) [`b99f55f`](https://github.com/ckb-devrel/ccc/commit/b99f55f74e64106391ce53f7d0bd0fa7522023cc) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat: molecule
92
+
93
+ ### Patch Changes
94
+
95
+ - Updated dependencies [[`b99f55f`](https://github.com/ckb-devrel/ccc/commit/b99f55f74e64106391ce53f7d0bd0fa7522023cc)]:
96
+ - @ckb-ccc/core@1.0.0
97
+
98
+ ## 0.0.17
99
+
100
+ ### Patch Changes
101
+
102
+ - Updated dependencies [[`c1cb910`](https://github.com/ckb-devrel/ccc/commit/c1cb91091780c7b33fbbd683ef8edc9f11452ecd)]:
103
+ - @ckb-ccc/core@0.1.2
104
+
105
+ ## 0.0.16
106
+
107
+ ### Patch Changes
108
+
109
+ - [#101](https://github.com/ckb-devrel/ccc/pull/101) [`d9affcc`](https://github.com/ckb-devrel/ccc/commit/d9affcc01c7b839b227e4d79bcb66e717577502a) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix: commonjs
110
+
111
+ - Updated dependencies [[`d9affcc`](https://github.com/ckb-devrel/ccc/commit/d9affcc01c7b839b227e4d79bcb66e717577502a)]:
112
+ - @ckb-ccc/core@0.1.1
113
+
114
+ ## 0.0.15
115
+
116
+ ### Patch Changes
117
+
118
+ - [#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
119
+
120
+ - [#85](https://github.com/ckb-devrel/ccc/pull/85) [`91832b1`](https://github.com/ckb-devrel/ccc/commit/91832b103c5d7a1272060639f77754a1c731a753) Thanks [@yixyxiu](https://github.com/yixyxiu)! - fixed: To resolve module not found compilation errors in the CRA app.
121
+
122
+ - [#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
123
+
124
+ - Updated dependencies [[`a3d5359`](https://github.com/ckb-devrel/ccc/commit/a3d53595f6dd11f2f59cdf0086b3d7ce558a2fdd), [`8824ff2`](https://github.com/ckb-devrel/ccc/commit/8824ff27af3b76186f1a7d6db8c907cd66f09d6a), [`f07a506`](https://github.com/ckb-devrel/ccc/commit/f07a506bd6fc27fe659a17d2f7baaeec54716d81), [`f21d7e4`](https://github.com/ckb-devrel/ccc/commit/f21d7e4cf422edab4a836ef6d678b620594fef8d), [`acfc050`](https://github.com/ckb-devrel/ccc/commit/acfc0502cd6beb48b9310dec8411dcd630507366), [`1720d5a`](https://github.com/ckb-devrel/ccc/commit/1720d5a398543f1c6e24763eeaf15d84cd2214bf), [`e63a06e`](https://github.com/ckb-devrel/ccc/commit/e63a06ee75ac8595208d216dec88a4228c465e23), [`c092988`](https://github.com/ckb-devrel/ccc/commit/c092988e7765b9ac79498d6bd72a6a2f62859b6f), [`50f2ce0`](https://github.com/ckb-devrel/ccc/commit/50f2ce08e74cb3fbeae926267d42e28b426fd7f4), [`4709384`](https://github.com/ckb-devrel/ccc/commit/4709384e37188991cb937b16f99f47ca82c912b8)]:
125
+ - @ckb-ccc/core@0.1.0
126
+
127
+ ## 0.0.15-alpha.9
128
+
129
+ ### Patch Changes
130
+
131
+ - Updated dependencies [[`f07a506`](https://github.com/ckb-devrel/ccc/commit/f07a506bd6fc27fe659a17d2f7baaeec54716d81)]:
132
+ - @ckb-ccc/core@0.1.0-alpha.7
133
+
134
+ ## 0.0.15-alpha.8
135
+
136
+ ### Patch Changes
137
+
138
+ - Updated dependencies [[`4709384`](https://github.com/ckb-devrel/ccc/commit/4709384e37188991cb937b16f99f47ca82c912b8)]:
139
+ - @ckb-ccc/core@0.1.0-alpha.6
140
+
141
+ ## 0.0.15-alpha.7
142
+
143
+ ### Patch Changes
144
+
145
+ - [#85](https://github.com/ckb-devrel/ccc/pull/85) [`91832b1`](https://github.com/ckb-devrel/ccc/commit/91832b103c5d7a1272060639f77754a1c731a753) Thanks [@yixyxiu](https://github.com/yixyxiu)! - fixed: To resolve module not found compilation errors in the CRA app.
146
+
147
+ ## 0.0.15-alpha.6
148
+
149
+ ### Patch Changes
150
+
151
+ - Updated dependencies [[`50f2ce0`](https://github.com/ckb-devrel/ccc/commit/50f2ce08e74cb3fbeae926267d42e28b426fd7f4)]:
152
+ - @ckb-ccc/core@0.1.0-alpha.5
153
+
154
+ ## 0.0.15-alpha.5
155
+
156
+ ### Patch Changes
157
+
158
+ - Updated dependencies [[`f21d7e4`](https://github.com/ckb-devrel/ccc/commit/f21d7e4cf422edab4a836ef6d678b620594fef8d)]:
159
+ - @ckb-ccc/core@0.1.0-alpha.4
160
+
161
+ ## 0.0.15-alpha.4
162
+
163
+ ### Patch Changes
164
+
165
+ - Updated dependencies [[`a3d5359`](https://github.com/ckb-devrel/ccc/commit/a3d53595f6dd11f2f59cdf0086b3d7ce558a2fdd)]:
166
+ - @ckb-ccc/core@0.0.16-alpha.3
167
+
168
+ ## 0.0.15-alpha.3
169
+
170
+ ### Patch Changes
171
+
172
+ - [#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
173
+
174
+ - Updated dependencies [[`acfc050`](https://github.com/ckb-devrel/ccc/commit/acfc0502cd6beb48b9310dec8411dcd630507366)]:
175
+ - @ckb-ccc/core@0.0.16-alpha.2
176
+
177
+ ## 0.0.15-alpha.2
178
+
179
+ ### Patch Changes
180
+
181
+ - Updated dependencies [[`8824ff2`](https://github.com/ckb-devrel/ccc/commit/8824ff27af3b76186f1a7d6db8c907cd66f09d6a), [`c092988`](https://github.com/ckb-devrel/ccc/commit/c092988e7765b9ac79498d6bd72a6a2f62859b6f)]:
182
+ - @ckb-ccc/core@0.0.16-alpha.1
183
+
184
+ ## 0.0.15-alpha.1
185
+
186
+ ### Patch Changes
187
+
188
+ - Updated dependencies [[`1720d5a`](https://github.com/ckb-devrel/ccc/commit/1720d5a398543f1c6e24763eeaf15d84cd2214bf)]:
189
+ - @ckb-ccc/core@0.0.16-alpha.0
190
+
191
+ ## 0.0.15-alpha.0
192
+
193
+ ### Patch Changes
194
+
195
+ - [#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
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ <p align="center">
2
+ <a href="https://app.ckbccc.com/">
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
+ </a>
5
+ </p>
6
+
7
+ <h1 align="center" style="font-size: 48px;">
8
+ CCC's support for Xverse
9
+ </h1>
10
+
11
+ <p align="center">
12
+ <a href="https://www.npmjs.com/package/@ckb-ccc/xverse"><img
13
+ alt="NPM Version" src="https://img.shields.io/npm/v/%40ckb-ccc%2Fxverse"
14
+ /></a>
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
+ <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>
21
+ <a href="https://app.ckbccc.com/"><img
22
+ alt="App" src="https://img.shields.io/website?url=https%3A%2F%2Fapp.ckbccc.com%2F&label=App"
23
+ /></a>
24
+ <a href="https://docs.ckbccc.com/"><img
25
+ alt="Docs" src="https://img.shields.io/website?url=https%3A%2F%2Fdocs.ckbccc.com%2F&label=Docs"
26
+ /></a>
27
+ </p>
28
+
29
+ <p align="center">
30
+ CCC - CKBers' Codebase is a one-stop solution for your CKB JS/TS ecosystem development.
31
+ <br />
32
+ Empower yourself with CCC to discover the unlimited potential of CKB.
33
+ <br />
34
+ Interoperate with wallets from different chain ecosystems.
35
+ <br />
36
+ Fully enabling CKB's Turing completeness and cryptographic freedom power.
37
+ </p>
38
+
39
+ ## Preview
40
+
41
+ <p align="center">
42
+ <a href="https://app.ckbccc.com/">
43
+ <img src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/preview.png" width="30%" />
44
+ </a>
45
+ </p>
46
+
47
+ 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.
48
+
49
+ <h3 align="center">
50
+ 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>.
51
+ </h3>
@@ -0,0 +1,2 @@
1
+ export * as XverseA from "./advancedBarrel.js";
2
+ //# sourceMappingURL=advanced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../src/advanced.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1 @@
1
+ export * as XverseA from "./advancedBarrel.js";
@@ -0,0 +1,2 @@
1
+ export * from "./sat-connect-core/advanced.js";
2
+ //# sourceMappingURL=advancedBarrel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advancedBarrel.d.ts","sourceRoot":"","sources":["../src/advancedBarrel.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from "./sat-connect-core/advanced.js";
@@ -0,0 +1,3 @@
1
+ export * from "./signer.js";
2
+ export * from "./signersFactory.js";
3
+ //# sourceMappingURL=barrel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"barrel.d.ts","sourceRoot":"","sources":["../src/barrel.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC"}
package/dist/barrel.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./signer.js";
2
+ export * from "./signersFactory.js";
@@ -0,0 +1,2 @@
1
+ export * as Xverse from "./barrel.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * as Xverse from "./barrel.js";
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./btcMethods.advanced.js";
2
+ export * from "./provider.advanced.js";
3
+ export * from "./requests.advanced.js";
4
+ export * from "./types.advanced.js";
5
+ //# sourceMappingURL=advanced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../src/sat-connect-core/advanced.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./btcMethods.advanced.js";
2
+ export * from "./provider.advanced.js";
3
+ export * from "./requests.advanced.js";
4
+ export * from "./types.advanced.js";
@@ -0,0 +1,280 @@
1
+ /**
2
+ * Represents the types and interfaces related to BTC methods.
3
+ */
4
+ import * as v from "valibot";
5
+ import { MethodParamsAndResult } from "./types.advanced.js";
6
+ export declare enum AddressPurpose {
7
+ Ordinals = "ordinals",
8
+ Payment = "payment",
9
+ Stacks = "stacks"
10
+ }
11
+ export declare enum AddressType {
12
+ p2pkh = "p2pkh",
13
+ p2sh = "p2sh",
14
+ p2wpkh = "p2wpkh",
15
+ p2wsh = "p2wsh",
16
+ p2tr = "p2tr",
17
+ stacks = "stacks"
18
+ }
19
+ export declare const addressSchema: v.ObjectSchema<{
20
+ readonly address: v.StringSchema<undefined>;
21
+ readonly publicKey: v.StringSchema<undefined>;
22
+ readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
23
+ readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
24
+ }, undefined>;
25
+ export type Address = v.InferOutput<typeof addressSchema>;
26
+ export declare const getInfoMethodName = "getInfo";
27
+ export declare const getInfoParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
28
+ export type GetInfoParams = v.InferOutput<typeof getInfoParamsSchema>;
29
+ export declare const getInfoResultSchema: v.ObjectSchema<{
30
+ /**
31
+ * Version of the wallet.
32
+ */
33
+ readonly version: v.StringSchema<undefined>;
34
+ /**
35
+ * [WBIP](https://wbips.netlify.app/wbips/WBIP002) methods supported by the wallet.
36
+ */
37
+ readonly methods: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
38
+ /**
39
+ * List of WBIP standards supported by the wallet. Not currently used.
40
+ */
41
+ readonly supports: v.ArraySchema<v.StringSchema<undefined>, undefined>;
42
+ }, undefined>;
43
+ export type GetInfoResult = v.InferOutput<typeof getInfoResultSchema>;
44
+ export declare const getInfoRequestMessageSchema: v.ObjectSchema<{
45
+ readonly method: v.LiteralSchema<"getInfo", undefined>;
46
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
47
+ readonly id: v.StringSchema<undefined>;
48
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
49
+ }, undefined>;
50
+ export type GetInfoRequestMessage = v.InferOutput<typeof getInfoRequestMessageSchema>;
51
+ export type GetInfo = MethodParamsAndResult<v.InferOutput<typeof getInfoParamsSchema>, v.InferOutput<typeof getInfoResultSchema>>;
52
+ export declare const getAddressesMethodName = "getAddresses";
53
+ export declare const getAddressesParamsSchema: v.ObjectSchema<{
54
+ /**
55
+ * The purposes for which to generate addresses. See
56
+ * {@linkcode AddressPurpose} for available purposes.
57
+ */
58
+ readonly purposes: v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>;
59
+ /**
60
+ * A message to be displayed to the user in the request prompt.
61
+ */
62
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
63
+ }, undefined>;
64
+ export type GetAddressesParams = v.InferOutput<typeof getAddressesParamsSchema>;
65
+ export declare const getAddressesResultSchema: v.ObjectSchema<{
66
+ /**
67
+ * The addresses generated for the given purposes.
68
+ */
69
+ readonly addresses: v.ArraySchema<v.ObjectSchema<{
70
+ readonly address: v.StringSchema<undefined>;
71
+ readonly publicKey: v.StringSchema<undefined>;
72
+ readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
73
+ readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
74
+ }, undefined>, undefined>;
75
+ }, undefined>;
76
+ export type GetAddressesResult = v.InferOutput<typeof getAddressesResultSchema>;
77
+ export declare const getAddressesRequestMessageSchema: v.ObjectSchema<{
78
+ readonly method: v.LiteralSchema<"getAddresses", undefined>;
79
+ readonly params: v.ObjectSchema<{
80
+ /**
81
+ * The purposes for which to generate addresses. See
82
+ * {@linkcode AddressPurpose} for available purposes.
83
+ */
84
+ readonly purposes: v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>;
85
+ /**
86
+ * A message to be displayed to the user in the request prompt.
87
+ */
88
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
89
+ }, undefined>;
90
+ readonly id: v.StringSchema<undefined>;
91
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
92
+ }, undefined>;
93
+ export type GetAddressesRequestMessage = v.InferOutput<typeof getAddressesRequestMessageSchema>;
94
+ export type GetAddresses = MethodParamsAndResult<v.InferOutput<typeof getAddressesParamsSchema>, v.InferOutput<typeof getAddressesResultSchema>>;
95
+ export declare const signMessageMethodName = "signMessage";
96
+ export declare enum MessageSigningProtocols {
97
+ ECDSA = "ECDSA",
98
+ BIP322 = "BIP322"
99
+ }
100
+ export declare const signMessageParamsSchema: v.ObjectSchema<{
101
+ /**
102
+ * The address used for signing.
103
+ **/
104
+ readonly address: v.StringSchema<undefined>;
105
+ /**
106
+ * The message to sign.
107
+ **/
108
+ readonly message: v.StringSchema<undefined>;
109
+ /**
110
+ * The protocol to use for signing the message.
111
+ */
112
+ readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, never>;
113
+ }, undefined>;
114
+ export type SignMessageParams = v.InferOutput<typeof signMessageParamsSchema>;
115
+ export declare const signMessageResultSchema: v.ObjectSchema<{
116
+ /**
117
+ * The signature of the message.
118
+ */
119
+ readonly signature: v.StringSchema<undefined>;
120
+ /**
121
+ * hash of the message.
122
+ */
123
+ readonly messageHash: v.StringSchema<undefined>;
124
+ /**
125
+ * The address used for signing.
126
+ */
127
+ readonly address: v.StringSchema<undefined>;
128
+ /**
129
+ * The protocol to use for signing the message.
130
+ */
131
+ readonly protocol: v.EnumSchema<typeof MessageSigningProtocols, undefined>;
132
+ }, undefined>;
133
+ export type SignMessageResult = v.InferOutput<typeof signMessageResultSchema>;
134
+ export declare const signMessageRequestMessageSchema: v.ObjectSchema<{
135
+ readonly method: v.LiteralSchema<"signMessage", undefined>;
136
+ readonly params: v.ObjectSchema<{
137
+ /**
138
+ * The address used for signing.
139
+ **/
140
+ readonly address: v.StringSchema<undefined>;
141
+ /**
142
+ * The message to sign.
143
+ **/
144
+ readonly message: v.StringSchema<undefined>;
145
+ /**
146
+ * The protocol to use for signing the message.
147
+ */
148
+ readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, never>;
149
+ }, undefined>;
150
+ readonly id: v.StringSchema<undefined>;
151
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
152
+ }, undefined>;
153
+ export type SignMessageRequestMessage = v.InferOutput<typeof signMessageRequestMessageSchema>;
154
+ export type SignMessage = MethodParamsAndResult<v.InferOutput<typeof signMessageParamsSchema>, v.InferOutput<typeof signMessageResultSchema>>;
155
+ type Recipient = {
156
+ /**
157
+ * The recipient's address.
158
+ **/
159
+ address: string;
160
+ /**
161
+ * The amount to send to the recipient in satoshis.
162
+ */
163
+ amount: number;
164
+ };
165
+ export type SendTransferParams = {
166
+ /**
167
+ * Array of recipients to send to.
168
+ * The amount to send to each recipient is in satoshis.
169
+ */
170
+ recipients: Array<Recipient>;
171
+ };
172
+ type SendTransferResult = {
173
+ /**
174
+ * The transaction id as a hex-encoded string.
175
+ */
176
+ txid: string;
177
+ };
178
+ export type SendTransfer = MethodParamsAndResult<SendTransferParams, SendTransferResult>;
179
+ export type SignPsbtParams = {
180
+ /**
181
+ * The base64 encoded PSBT to sign.
182
+ */
183
+ psbt: string;
184
+ /**
185
+ * The inputs to sign.
186
+ * The key is the address and the value is an array of indexes of the inputs to sign.
187
+ */
188
+ signInputs: Record<string, number[]>;
189
+ /**
190
+ * the sigHash type to use for signing.
191
+ * will default to the sighash type of the input if not provided.
192
+ **/
193
+ allowedSignHash?: number;
194
+ /**
195
+ * Whether to broadcast the transaction after signing.
196
+ **/
197
+ broadcast?: boolean;
198
+ };
199
+ export type SignPsbtResult = {
200
+ /**
201
+ * The base64 encoded PSBT after signing.
202
+ */
203
+ psbt: string;
204
+ /**
205
+ * The transaction id as a hex-encoded string.
206
+ * This is only returned if the transaction was broadcast.
207
+ **/
208
+ txid?: string;
209
+ };
210
+ export type SignPsbt = MethodParamsAndResult<SignPsbtParams, SignPsbtResult>;
211
+ export declare const getAccountsMethodName = "getAccounts";
212
+ export declare const getAccountsParamsSchema: v.ObjectSchema<{
213
+ /**
214
+ * The purposes for which to generate addresses. See
215
+ * {@linkcode AddressPurpose} for available purposes.
216
+ */
217
+ readonly purposes: v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>;
218
+ /**
219
+ * A message to be displayed to the user in the request prompt.
220
+ */
221
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
222
+ }, undefined>;
223
+ export type GetAccountsParams = v.InferOutput<typeof getAccountsParamsSchema>;
224
+ export declare const getAccountsResultSchema: v.ArraySchema<v.ObjectSchema<{
225
+ readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
226
+ readonly address: v.StringSchema<undefined>;
227
+ readonly publicKey: v.StringSchema<undefined>;
228
+ readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
229
+ readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
230
+ }, undefined>, undefined>;
231
+ export type GetAccountsResult = v.InferOutput<typeof getAccountsResultSchema>;
232
+ export declare const getAccountsRequestMessageSchema: v.ObjectSchema<{
233
+ readonly method: v.LiteralSchema<"getAccounts", undefined>;
234
+ readonly params: v.ObjectSchema<{
235
+ /**
236
+ * The purposes for which to generate addresses. See
237
+ * {@linkcode AddressPurpose} for available purposes.
238
+ */
239
+ readonly purposes: v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>;
240
+ /**
241
+ * A message to be displayed to the user in the request prompt.
242
+ */
243
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
244
+ }, undefined>;
245
+ readonly id: v.StringSchema<undefined>;
246
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
247
+ }, undefined>;
248
+ export type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageSchema>;
249
+ export type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
250
+ export declare const getBalanceMethodName = "getBalance";
251
+ export declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
252
+ export declare const getBalanceResultSchema: v.ObjectSchema<{
253
+ /**
254
+ * The confirmed balance of the wallet in sats. Using a string due to chrome
255
+ * messages not supporting bigint
256
+ * (https://issues.chromium.org/issues/40116184).
257
+ */
258
+ readonly confirmed: v.StringSchema<undefined>;
259
+ /**
260
+ * The unconfirmed balance of the wallet in sats. Using a string due to chrome
261
+ * messages not supporting bigint
262
+ * (https://issues.chromium.org/issues/40116184).
263
+ */
264
+ readonly unconfirmed: v.StringSchema<undefined>;
265
+ /**
266
+ * The total balance (both confirmed and unconfrimed UTXOs) of the wallet in
267
+ * sats. Using a string due to chrome messages not supporting bigint
268
+ * (https://issues.chromium.org/issues/40116184).
269
+ */
270
+ readonly total: v.StringSchema<undefined>;
271
+ }, undefined>;
272
+ export declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
273
+ readonly method: v.LiteralSchema<"getBalance", undefined>;
274
+ readonly id: v.StringSchema<undefined>;
275
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
276
+ readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
277
+ }, undefined>;
278
+ export type GetBalance = MethodParamsAndResult<v.InferOutput<typeof getBalanceParamsSchema>, v.InferOutput<typeof getBalanceResultSchema>>;
279
+ export {};
280
+ //# sourceMappingURL=btcMethods.advanced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"btcMethods.advanced.d.ts","sourceRoot":"","sources":["../../src/sat-connect-core/btcMethods.advanced.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,EACL,qBAAqB,EAEtB,MAAM,qBAAqB,CAAC;AAG7B,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,aAAa;;;;;aAKxB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,mBAAmB,iDAAsB,CAAC;AACvD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,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