@coinbase/cdp-core 0.0.105 → 0.0.107

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 (1019) hide show
  1. package/dist/esm/index.web.js +139 -133
  2. package/dist/esm/index.web10.js +1 -1
  3. package/dist/esm/index.web100.js +14 -16
  4. package/dist/esm/index.web101.js +24 -28
  5. package/dist/esm/index.web102.js +21 -40
  6. package/dist/esm/index.web103.js +16 -48
  7. package/dist/esm/index.web104.js +24 -76
  8. package/dist/esm/index.web105.js +40 -25
  9. package/dist/esm/index.web106.js +47 -158
  10. package/dist/esm/index.web107.js +80 -46
  11. package/dist/esm/index.web108.js +26 -28
  12. package/dist/esm/index.web109.js +155 -68
  13. package/dist/esm/index.web11.js +1 -1
  14. package/dist/esm/index.web110.js +47 -8
  15. package/dist/esm/index.web111.js +23 -91
  16. package/dist/esm/index.web112.js +71 -135
  17. package/dist/esm/index.web113.js +6 -66
  18. package/dist/esm/index.web114.js +96 -27
  19. package/dist/esm/index.web115.js +137 -24
  20. package/dist/esm/index.web116.js +69 -24
  21. package/dist/esm/index.web117.js +27 -65
  22. package/dist/esm/index.web118.js +23 -50
  23. package/dist/esm/index.web119.js +23 -20
  24. package/dist/esm/index.web12.js +3 -3
  25. package/dist/esm/index.web120.js +62 -150
  26. package/dist/esm/index.web121.js +48 -374
  27. package/dist/esm/index.web122.js +21 -29
  28. package/dist/esm/index.web123.js +152 -28
  29. package/dist/esm/index.web124.js +379 -2
  30. package/dist/esm/index.web125.js +2 -68
  31. package/dist/esm/index.web126.js +37 -336
  32. package/dist/esm/index.web127.js +360 -12
  33. package/dist/esm/index.web128.js +15 -21
  34. package/dist/esm/index.web129.js +21 -49
  35. package/dist/esm/index.web13.js +1 -1
  36. package/dist/esm/index.web130.js +50 -944
  37. package/dist/esm/index.web131.js +29 -2
  38. package/dist/esm/index.web132.js +28 -49
  39. package/dist/esm/index.web133.js +944 -26
  40. package/dist/esm/index.web134.js +2 -5
  41. package/dist/esm/index.web135.js +48 -11
  42. package/dist/esm/index.web136.js +26 -11
  43. package/dist/esm/index.web137.js +5 -55
  44. package/dist/esm/index.web138.js +47 -10
  45. package/dist/esm/index.web139.js +5 -2
  46. package/dist/esm/index.web14.js +1 -1
  47. package/dist/esm/index.web140.js +12 -44
  48. package/dist/esm/index.web141.js +11 -13
  49. package/dist/esm/index.web142.js +55 -5
  50. package/dist/esm/index.web143.js +10 -47
  51. package/dist/esm/index.web144.js +2 -15
  52. package/dist/esm/index.web145.js +44 -28
  53. package/dist/esm/index.web146.js +13 -7
  54. package/dist/esm/index.web147.js +14 -3
  55. package/dist/esm/index.web148.js +19 -19
  56. package/dist/esm/index.web149.js +7 -8
  57. package/dist/esm/index.web15.js +1 -1
  58. package/dist/esm/index.web150.js +3 -7
  59. package/dist/esm/index.web151.js +20 -72
  60. package/dist/esm/index.web152.js +8 -28
  61. package/dist/esm/index.web153.js +7 -3
  62. package/dist/esm/index.web154.js +74 -9
  63. package/dist/esm/index.web155.js +28 -4
  64. package/dist/esm/index.web156.js +3 -14
  65. package/dist/esm/index.web157.js +15 -19
  66. package/dist/esm/index.web158.js +4 -61
  67. package/dist/esm/index.web159.js +13 -16
  68. package/dist/esm/index.web16.js +1 -1
  69. package/dist/esm/index.web160.js +15 -19
  70. package/dist/esm/index.web161.js +61 -8
  71. package/dist/esm/index.web162.js +16 -41
  72. package/dist/esm/index.web163.js +23 -7
  73. package/dist/esm/index.web164.js +8 -20
  74. package/dist/esm/index.web165.js +42 -13
  75. package/dist/esm/index.web166.js +7 -55
  76. package/dist/esm/index.web167.js +20 -6
  77. package/dist/esm/index.web168.js +13 -21
  78. package/dist/esm/index.web169.js +54 -16
  79. package/dist/esm/index.web17.js +3 -3
  80. package/dist/esm/index.web170.js +6 -45
  81. package/dist/esm/index.web171.js +21 -3
  82. package/dist/esm/index.web172.js +17 -3
  83. package/dist/esm/index.web173.js +41 -30
  84. package/dist/esm/index.web174.js +3 -12
  85. package/dist/esm/index.web175.js +3 -4
  86. package/dist/esm/index.web176.js +31 -25
  87. package/dist/esm/index.web177.js +12 -6
  88. package/dist/esm/index.web178.js +4 -32
  89. package/dist/esm/index.web179.js +27 -11
  90. package/dist/esm/index.web18.js +3 -3
  91. package/dist/esm/index.web180.js +6 -55
  92. package/dist/esm/index.web181.js +30 -40
  93. package/dist/esm/index.web182.js +11 -126
  94. package/dist/esm/index.web183.js +53 -102
  95. package/dist/esm/index.web184.js +42 -6
  96. package/dist/esm/index.web185.js +128 -3
  97. package/dist/esm/index.web186.js +100 -74
  98. package/dist/esm/index.web187.js +7 -2
  99. package/dist/esm/index.web188.js +3 -2
  100. package/dist/esm/index.web189.js +74 -33
  101. package/dist/esm/index.web19.js +7 -7
  102. package/dist/esm/index.web190.js +2 -7
  103. package/dist/esm/index.web191.js +2 -35
  104. package/dist/esm/index.web192.js +37 -14
  105. package/dist/esm/index.web193.js +5 -33
  106. package/dist/esm/index.web194.js +33 -17
  107. package/dist/esm/index.web195.js +14 -8
  108. package/dist/esm/index.web196.js +33 -9
  109. package/dist/esm/index.web197.js +18 -11
  110. package/dist/esm/index.web198.js +8 -13
  111. package/dist/esm/index.web199.js +10 -5
  112. package/dist/esm/index.web2.js +3 -3
  113. package/dist/esm/index.web20.js +1 -1
  114. package/dist/esm/index.web200.js +12 -5
  115. package/dist/esm/index.web201.js +13 -10
  116. package/dist/esm/index.web202.js +6 -2
  117. package/dist/esm/index.web203.js +5 -2
  118. package/dist/esm/index.web204.js +10 -108
  119. package/dist/esm/index.web205.js +2 -2
  120. package/dist/esm/index.web206.js +2 -2
  121. package/dist/esm/index.web207.js +2 -104
  122. package/dist/esm/index.web208.js +107 -77
  123. package/dist/esm/index.web209.js +2 -79
  124. package/dist/esm/index.web21.js +1 -1
  125. package/dist/esm/index.web210.js +102 -19
  126. package/dist/esm/index.web211.js +79 -10
  127. package/dist/esm/index.web212.js +79 -20
  128. package/dist/esm/index.web213.js +20 -93
  129. package/dist/esm/index.web214.js +9 -20
  130. package/dist/esm/index.web215.js +16 -114
  131. package/dist/esm/index.web216.js +94 -39
  132. package/dist/esm/index.web217.js +21 -2
  133. package/dist/esm/index.web218.js +117 -69
  134. package/dist/esm/index.web219.js +7 -34
  135. package/dist/esm/index.web22.js +1 -1
  136. package/dist/esm/index.web220.js +2 -15
  137. package/dist/esm/index.web221.js +368 -7
  138. package/dist/esm/index.web222.js +827 -2
  139. package/dist/esm/index.web223.js +35 -365
  140. package/dist/esm/index.web224.js +2 -827
  141. package/dist/esm/index.web225.js +69 -20
  142. package/dist/esm/index.web226.js +35 -2
  143. package/dist/esm/index.web227.js +13 -18
  144. package/dist/esm/index.web228.js +18 -30
  145. package/dist/esm/index.web229.js +2 -7
  146. package/dist/esm/index.web23.js +1 -1
  147. package/dist/esm/index.web230.js +17 -44
  148. package/dist/esm/index.web231.js +32 -3
  149. package/dist/esm/index.web232.js +6 -17
  150. package/dist/esm/index.web233.js +46 -27
  151. package/dist/esm/index.web234.js +2 -8
  152. package/dist/esm/index.web235.js +2 -11
  153. package/dist/esm/index.web236.js +2 -13
  154. package/dist/esm/index.web237.js +16 -8
  155. package/dist/esm/index.web238.js +28 -17
  156. package/dist/esm/index.web239.js +6 -79
  157. package/dist/esm/index.web24.js +1 -1
  158. package/dist/esm/index.web240.js +11 -2
  159. package/dist/esm/index.web241.js +13 -2
  160. package/dist/esm/index.web242.js +10 -2
  161. package/dist/esm/index.web243.js +17 -5
  162. package/dist/esm/index.web244.js +80 -14
  163. package/dist/esm/index.web245.js +3 -78
  164. package/dist/esm/index.web248.js +17 -0
  165. package/dist/esm/index.web25.js +1 -1
  166. package/dist/esm/index.web26.js +1 -1
  167. package/dist/esm/index.web27.js +6 -6
  168. package/dist/esm/index.web28.js +7 -7
  169. package/dist/esm/index.web29.js +6 -6
  170. package/dist/esm/index.web3.js +1 -1
  171. package/dist/esm/index.web30.js +6 -6
  172. package/dist/esm/index.web31.js +6 -6
  173. package/dist/esm/index.web32.js +6 -6
  174. package/dist/esm/index.web33.js +7 -7
  175. package/dist/esm/index.web34.js +6 -6
  176. package/dist/esm/index.web35.js +6 -6
  177. package/dist/esm/index.web36.js +2 -2
  178. package/dist/esm/index.web37.js +6 -6
  179. package/dist/esm/index.web38.js +6 -6
  180. package/dist/esm/index.web39.js +7 -7
  181. package/dist/esm/index.web40.js +2 -2
  182. package/dist/esm/index.web41.js +6 -6
  183. package/dist/esm/index.web42.js +1 -1
  184. package/dist/esm/index.web43.js +2 -2
  185. package/dist/esm/index.web44.js +1 -1
  186. package/dist/esm/index.web45.js +1 -1
  187. package/dist/esm/index.web46.js +1 -1
  188. package/dist/esm/index.web47.js +4 -4
  189. package/dist/esm/index.web48.js +1 -1
  190. package/dist/esm/index.web49.js +25 -29
  191. package/dist/esm/index.web5.js +1 -1
  192. package/dist/esm/index.web50.js +26 -53
  193. package/dist/esm/index.web51.js +53 -29
  194. package/dist/esm/index.web52.js +32 -12
  195. package/dist/esm/index.web53.js +14 -25
  196. package/dist/esm/index.web54.js +25 -22
  197. package/dist/esm/index.web55.js +21 -9
  198. package/dist/esm/index.web56.js +9 -15
  199. package/dist/esm/index.web57.js +12 -19
  200. package/dist/esm/index.web58.js +22 -10
  201. package/dist/esm/index.web59.js +10 -16
  202. package/dist/esm/index.web60.js +15 -31
  203. package/dist/esm/index.web61.js +32 -36
  204. package/dist/esm/index.web62.js +34 -38
  205. package/dist/esm/index.web63.js +30 -31
  206. package/dist/esm/index.web64.js +35 -114
  207. package/dist/esm/index.web65.js +38 -47
  208. package/dist/esm/index.web66.js +34 -79
  209. package/dist/esm/index.web67.js +116 -19
  210. package/dist/esm/index.web68.js +48 -10
  211. package/dist/esm/index.web69.js +85 -35
  212. package/dist/esm/index.web70.js +19 -30
  213. package/dist/esm/index.web71.js +10 -64
  214. package/dist/esm/index.web72.js +36 -25
  215. package/dist/esm/index.web73.js +29 -15
  216. package/dist/esm/index.web74.js +62 -32
  217. package/dist/esm/index.web75.js +23 -6
  218. package/dist/esm/index.web76.js +16 -47
  219. package/dist/esm/index.web77.js +34 -19
  220. package/dist/esm/index.web78.js +7 -48
  221. package/dist/esm/index.web79.js +47 -38
  222. package/dist/esm/index.web8.js +1 -1
  223. package/dist/esm/index.web80.js +15 -328
  224. package/dist/esm/index.web81.js +47 -17
  225. package/dist/esm/index.web82.js +36 -128
  226. package/dist/esm/index.web83.js +300 -54
  227. package/dist/esm/index.web84.js +18 -6
  228. package/dist/esm/index.web85.js +126 -49
  229. package/dist/esm/index.web86.js +68 -138
  230. package/dist/esm/index.web87.js +5 -66
  231. package/dist/esm/index.web88.js +56 -35
  232. package/dist/esm/index.web89.js +150 -83
  233. package/dist/esm/index.web9.js +5 -5
  234. package/dist/esm/index.web90.js +66 -41
  235. package/dist/esm/index.web91.js +35 -32
  236. package/dist/esm/index.web92.js +87 -15
  237. package/dist/esm/index.web93.js +43 -45
  238. package/dist/esm/index.web94.js +32 -3
  239. package/dist/esm/index.web95.js +17 -43
  240. package/dist/esm/index.web96.js +45 -24
  241. package/dist/esm/index.web97.js +3 -15
  242. package/dist/esm/index.web98.js +42 -23
  243. package/dist/esm/index.web99.js +25 -22
  244. package/dist/native/index.native.js +112 -106
  245. package/dist/native/index.native100.js +3 -15
  246. package/dist/native/index.native101.js +42 -23
  247. package/dist/native/index.native102.js +25 -22
  248. package/dist/native/index.native103.js +14 -16
  249. package/dist/native/index.native104.js +24 -28
  250. package/dist/native/index.native105.js +21 -40
  251. package/dist/native/index.native106.js +16 -48
  252. package/dist/native/index.native107.js +24 -75
  253. package/dist/native/index.native108.js +40 -25
  254. package/dist/native/index.native109.js +47 -158
  255. package/dist/native/index.native11.js +1 -1
  256. package/dist/native/index.native110.js +79 -46
  257. package/dist/native/index.native111.js +26 -22
  258. package/dist/native/index.native112.js +155 -68
  259. package/dist/native/index.native113.js +47 -8
  260. package/dist/native/index.native114.js +17 -90
  261. package/dist/native/index.native115.js +71 -135
  262. package/dist/native/index.native116.js +6 -65
  263. package/dist/native/index.native117.js +95 -27
  264. package/dist/native/index.native118.js +137 -24
  265. package/dist/native/index.native119.js +68 -24
  266. package/dist/native/index.native12.js +6 -6
  267. package/dist/native/index.native120.js +27 -65
  268. package/dist/native/index.native121.js +23 -50
  269. package/dist/native/index.native122.js +23 -20
  270. package/dist/native/index.native123.js +62 -150
  271. package/dist/native/index.native124.js +48 -374
  272. package/dist/native/index.native125.js +21 -29
  273. package/dist/native/index.native126.js +152 -28
  274. package/dist/native/index.native127.js +6 -6
  275. package/dist/native/index.native128.js +1 -1
  276. package/dist/native/index.native13.js +1 -1
  277. package/dist/native/index.native130.js +4 -4
  278. package/dist/native/index.native131.js +379 -2
  279. package/dist/native/index.native132.js +2 -68
  280. package/dist/native/index.native133.js +37 -336
  281. package/dist/native/index.native134.js +360 -940
  282. package/dist/native/index.native135.js +29 -2
  283. package/dist/native/index.native136.js +28 -49
  284. package/dist/native/index.native137.js +944 -26
  285. package/dist/native/index.native138.js +2 -5
  286. package/dist/native/index.native139.js +45 -43
  287. package/dist/native/index.native14.js +1 -1
  288. package/dist/native/index.native140.js +27 -35
  289. package/dist/native/index.native141.js +5 -68
  290. package/dist/native/index.native142.js +47 -13
  291. package/dist/native/index.native143.js +10 -25
  292. package/dist/native/index.native144.js +11 -7
  293. package/dist/native/index.native145.js +54 -3
  294. package/dist/native/index.native146.js +10 -27
  295. package/dist/native/index.native147.js +2 -9
  296. package/dist/native/index.native148.js +45 -8
  297. package/dist/native/index.native149.js +13 -79
  298. package/dist/native/index.native15.js +3 -3
  299. package/dist/native/index.native150.js +4 -27
  300. package/dist/native/index.native151.js +35 -4
  301. package/dist/native/index.native152.js +67 -14
  302. package/dist/native/index.native153.js +13 -4
  303. package/dist/native/index.native154.js +55 -13
  304. package/dist/native/index.native155.js +6 -19
  305. package/dist/native/index.native156.js +19 -58
  306. package/dist/native/index.native157.js +17 -17
  307. package/dist/native/index.native158.js +42 -20
  308. package/dist/native/index.native159.js +3 -8
  309. package/dist/native/index.native16.js +1 -1
  310. package/dist/native/index.native160.js +3 -41
  311. package/dist/native/index.native161.js +34 -7
  312. package/dist/native/index.native162.js +11 -19
  313. package/dist/native/index.native163.js +4 -54
  314. package/dist/native/index.native164.js +28 -10
  315. package/dist/native/index.native165.js +7 -2
  316. package/dist/native/index.native166.js +33 -45
  317. package/dist/native/index.native167.js +12 -13
  318. package/dist/native/index.native168.js +54 -11
  319. package/dist/native/index.native169.js +42 -11
  320. package/dist/native/index.native17.js +1 -1
  321. package/dist/native/index.native170.js +127 -4
  322. package/dist/native/index.native171.js +104 -13
  323. package/dist/native/index.native172.js +6 -55
  324. package/dist/native/index.native173.js +3 -7
  325. package/dist/native/index.native174.js +76 -19
  326. package/dist/native/index.native175.js +2 -18
  327. package/dist/native/index.native176.js +2 -46
  328. package/dist/native/index.native177.js +37 -3
  329. package/dist/native/index.native178.js +6 -3
  330. package/dist/native/index.native179.js +30 -30
  331. package/dist/native/index.native18.js +1 -1
  332. package/dist/native/index.native180.js +14 -12
  333. package/dist/native/index.native181.js +34 -4
  334. package/dist/native/index.native182.js +18 -28
  335. package/dist/native/index.native183.js +8 -6
  336. package/dist/native/index.native184.js +10 -32
  337. package/dist/native/index.native185.js +11 -12
  338. package/dist/native/index.native186.js +13 -55
  339. package/dist/native/index.native187.js +5 -42
  340. package/dist/native/index.native188.js +4 -127
  341. package/dist/native/index.native189.js +10 -104
  342. package/dist/native/index.native19.js +1 -1
  343. package/dist/native/index.native190.js +2 -7
  344. package/dist/native/index.native191.js +2 -3
  345. package/dist/native/index.native192.js +13 -78
  346. package/dist/native/index.native193.js +28 -2
  347. package/dist/native/index.native194.js +8 -2
  348. package/dist/native/index.native195.js +3 -37
  349. package/dist/native/index.native196.js +26 -5
  350. package/dist/native/index.native197.js +8 -34
  351. package/dist/native/index.native198.js +7 -14
  352. package/dist/native/index.native199.js +78 -33
  353. package/dist/native/index.native2.js +3 -3
  354. package/dist/native/index.native20.js +3 -3
  355. package/dist/native/index.native200.js +26 -17
  356. package/dist/native/index.native201.js +3 -8
  357. package/dist/native/index.native202.js +14 -10
  358. package/dist/native/index.native203.js +4 -11
  359. package/dist/native/index.native204.js +13 -13
  360. package/dist/native/index.native205.js +19 -5
  361. package/dist/native/index.native206.js +61 -5
  362. package/dist/native/index.native207.js +17 -10
  363. package/dist/native/index.native208.js +24 -2
  364. package/dist/native/index.native209.js +9 -2
  365. package/dist/native/index.native21.js +3 -3
  366. package/dist/native/index.native210.js +38 -17
  367. package/dist/native/index.native211.js +8 -10
  368. package/dist/native/index.native212.js +20 -19
  369. package/dist/native/index.native213.js +8 -94
  370. package/dist/native/index.native214.js +2 -21
  371. package/dist/native/index.native215.js +361 -110
  372. package/dist/native/index.native216.js +826 -103
  373. package/dist/native/index.native217.js +37 -77
  374. package/dist/native/index.native218.js +2 -79
  375. package/dist/native/index.native219.js +70 -2
  376. package/dist/native/index.native22.js +7 -7
  377. package/dist/native/index.native220.js +32 -106
  378. package/dist/native/index.native221.js +15 -2
  379. package/dist/native/index.native222.js +103 -38
  380. package/dist/native/index.native223.js +79 -2
  381. package/dist/native/index.native224.js +78 -69
  382. package/dist/native/index.native225.js +20 -34
  383. package/dist/native/index.native226.js +10 -15
  384. package/dist/native/index.native227.js +20 -8
  385. package/dist/native/index.native228.js +94 -2
  386. package/dist/native/index.native229.js +21 -369
  387. package/dist/native/index.native23.js +1 -1
  388. package/dist/native/index.native230.js +118 -827
  389. package/dist/native/index.native231.js +2 -21
  390. package/dist/native/index.native232.js +109 -2
  391. package/dist/native/index.native233.js +2 -20
  392. package/dist/native/index.native234.js +18 -30
  393. package/dist/native/index.native235.js +2 -7
  394. package/dist/native/index.native236.js +17 -44
  395. package/dist/native/index.native237.js +33 -2
  396. package/dist/native/index.native238.js +7 -2
  397. package/dist/native/index.native239.js +2 -2
  398. package/dist/native/index.native24.js +1 -1
  399. package/dist/native/index.native240.js +2 -4
  400. package/dist/native/index.native241.js +2 -18
  401. package/dist/native/index.native242.js +4 -28
  402. package/dist/native/index.native243.js +18 -8
  403. package/dist/native/index.native244.js +26 -9
  404. package/dist/native/index.native245.js +8 -13
  405. package/dist/native/index.native246.js +11 -10
  406. package/dist/native/index.native247.js +11 -15
  407. package/dist/native/index.native248.js +9 -80
  408. package/dist/native/index.native249.js +17 -5
  409. package/dist/native/index.native25.js +1 -1
  410. package/dist/native/index.native250.js +72 -70
  411. package/dist/native/index.native251.js +45 -13
  412. package/dist/native/index.native252.js +7 -0
  413. package/dist/native/index.native253.js +81 -0
  414. package/dist/{esm/index.native251.js → native/index.native254.js} +1 -1
  415. package/dist/native/index.native26.js +1 -1
  416. package/dist/native/index.native27.js +1 -1
  417. package/dist/native/index.native28.js +1 -1
  418. package/dist/native/index.native29.js +1 -1
  419. package/dist/native/index.native3.js +1 -1
  420. package/dist/native/index.native30.js +5 -5
  421. package/dist/native/index.native31.js +6 -6
  422. package/dist/native/index.native32.js +5 -5
  423. package/dist/native/index.native33.js +5 -5
  424. package/dist/native/index.native34.js +5 -5
  425. package/dist/native/index.native35.js +5 -5
  426. package/dist/native/index.native36.js +6 -6
  427. package/dist/native/index.native37.js +5 -5
  428. package/dist/native/index.native38.js +5 -5
  429. package/dist/native/index.native39.js +2 -2
  430. package/dist/native/index.native4.js +2 -2
  431. package/dist/native/index.native40.js +5 -5
  432. package/dist/native/index.native41.js +5 -5
  433. package/dist/native/index.native42.js +6 -6
  434. package/dist/native/index.native43.js +2 -2
  435. package/dist/native/index.native44.js +5 -5
  436. package/dist/native/index.native45.js +1 -1
  437. package/dist/native/index.native46.js +2 -2
  438. package/dist/native/index.native47.js +1 -1
  439. package/dist/native/index.native48.js +1 -1
  440. package/dist/native/index.native49.js +1 -1
  441. package/dist/native/index.native5.js +2 -2
  442. package/dist/native/index.native50.js +3 -3
  443. package/dist/native/index.native51.js +1 -1
  444. package/dist/native/index.native52.js +25 -29
  445. package/dist/native/index.native53.js +26 -53
  446. package/dist/native/index.native54.js +53 -29
  447. package/dist/native/index.native55.js +32 -12
  448. package/dist/native/index.native56.js +14 -25
  449. package/dist/native/index.native57.js +25 -22
  450. package/dist/native/index.native58.js +21 -9
  451. package/dist/native/index.native59.js +9 -15
  452. package/dist/native/index.native6.js +1 -1
  453. package/dist/native/index.native60.js +12 -19
  454. package/dist/native/index.native61.js +22 -10
  455. package/dist/native/index.native62.js +10 -16
  456. package/dist/native/index.native63.js +15 -31
  457. package/dist/native/index.native64.js +32 -35
  458. package/dist/native/index.native65.js +34 -37
  459. package/dist/native/index.native66.js +28 -29
  460. package/dist/native/index.native67.js +35 -115
  461. package/dist/native/index.native68.js +37 -47
  462. package/dist/native/index.native69.js +33 -78
  463. package/dist/native/index.native7.js +2 -2
  464. package/dist/native/index.native70.js +116 -19
  465. package/dist/native/index.native71.js +48 -10
  466. package/dist/native/index.native72.js +84 -35
  467. package/dist/native/index.native73.js +19 -30
  468. package/dist/native/index.native74.js +10 -64
  469. package/dist/native/index.native75.js +36 -25
  470. package/dist/native/index.native76.js +29 -15
  471. package/dist/native/index.native77.js +62 -32
  472. package/dist/native/index.native78.js +23 -6
  473. package/dist/native/index.native79.js +16 -47
  474. package/dist/native/index.native80.js +34 -19
  475. package/dist/native/index.native81.js +7 -48
  476. package/dist/native/index.native82.js +47 -38
  477. package/dist/native/index.native83.js +15 -328
  478. package/dist/native/index.native84.js +47 -17
  479. package/dist/native/index.native85.js +36 -127
  480. package/dist/native/index.native86.js +300 -54
  481. package/dist/native/index.native87.js +18 -6
  482. package/dist/native/index.native88.js +125 -48
  483. package/dist/native/index.native89.js +68 -137
  484. package/dist/native/index.native90.js +4 -39
  485. package/dist/native/index.native91.js +54 -8
  486. package/dist/native/index.native92.js +153 -6
  487. package/dist/native/index.native93.js +41 -8
  488. package/dist/native/index.native94.js +7 -30
  489. package/dist/native/index.native95.js +8 -17
  490. package/dist/native/index.native96.js +9 -45
  491. package/dist/native/index.native97.js +32 -3
  492. package/dist/native/index.native98.js +17 -43
  493. package/dist/native/index.native99.js +45 -24
  494. package/dist/native-types/actions/createBitcoinAccount.d.ts +26 -0
  495. package/dist/native-types/actions/linkSiwe.d.ts +49 -0
  496. package/dist/native-types/actions/signBitcoinHash.d.ts +41 -0
  497. package/dist/native-types/auth/toAuthState.d.ts +2 -1
  498. package/dist/native-types/index.d.ts +3 -0
  499. package/dist/native-types/index.native.d.ts +3 -0
  500. package/dist/native-types/index.web.d.ts +3 -0
  501. package/dist/native-types/mfa/protectedActions.d.ts +2 -0
  502. package/dist/native-types/types.d.ts +5 -1
  503. package/dist/native-types/version.d.ts +1 -1
  504. package/dist/types/actions/createBitcoinAccount.d.ts +26 -0
  505. package/dist/types/actions/linkSiwe.d.ts +49 -0
  506. package/dist/types/actions/signBitcoinHash.d.ts +41 -0
  507. package/dist/types/auth/toAuthState.d.ts +2 -1
  508. package/dist/types/index.d.ts +3 -0
  509. package/dist/types/index.native.d.ts +3 -0
  510. package/dist/types/index.web.d.ts +3 -0
  511. package/dist/types/mfa/protectedActions.d.ts +2 -0
  512. package/dist/types/types.d.ts +5 -1
  513. package/dist/types/version.d.ts +1 -1
  514. package/dist/web/index.web.js +139 -133
  515. package/dist/web/index.web10.js +1 -1
  516. package/dist/web/index.web100.js +14 -16
  517. package/dist/web/index.web101.js +24 -28
  518. package/dist/web/index.web102.js +21 -40
  519. package/dist/web/index.web103.js +16 -48
  520. package/dist/web/index.web104.js +24 -76
  521. package/dist/web/index.web105.js +40 -25
  522. package/dist/web/index.web106.js +47 -158
  523. package/dist/web/index.web107.js +80 -46
  524. package/dist/web/index.web108.js +26 -28
  525. package/dist/web/index.web109.js +155 -68
  526. package/dist/web/index.web11.js +1 -1
  527. package/dist/web/index.web110.js +47 -8
  528. package/dist/web/index.web111.js +23 -91
  529. package/dist/web/index.web112.js +71 -135
  530. package/dist/web/index.web113.js +6 -66
  531. package/dist/web/index.web114.js +96 -27
  532. package/dist/web/index.web115.js +137 -24
  533. package/dist/web/index.web116.js +69 -24
  534. package/dist/web/index.web117.js +27 -65
  535. package/dist/web/index.web118.js +23 -50
  536. package/dist/web/index.web119.js +23 -20
  537. package/dist/web/index.web12.js +3 -3
  538. package/dist/web/index.web120.js +62 -150
  539. package/dist/web/index.web121.js +48 -374
  540. package/dist/web/index.web122.js +21 -29
  541. package/dist/web/index.web123.js +152 -28
  542. package/dist/web/index.web124.js +379 -2
  543. package/dist/web/index.web125.js +2 -68
  544. package/dist/web/index.web126.js +37 -336
  545. package/dist/web/index.web127.js +360 -12
  546. package/dist/web/index.web128.js +15 -21
  547. package/dist/web/index.web129.js +21 -49
  548. package/dist/web/index.web13.js +1 -1
  549. package/dist/web/index.web130.js +50 -944
  550. package/dist/web/index.web131.js +29 -2
  551. package/dist/web/index.web132.js +28 -49
  552. package/dist/web/index.web133.js +944 -26
  553. package/dist/web/index.web134.js +2 -5
  554. package/dist/web/index.web135.js +48 -11
  555. package/dist/web/index.web136.js +26 -11
  556. package/dist/web/index.web137.js +5 -55
  557. package/dist/web/index.web138.js +47 -10
  558. package/dist/web/index.web139.js +5 -2
  559. package/dist/web/index.web14.js +1 -1
  560. package/dist/web/index.web140.js +12 -44
  561. package/dist/web/index.web141.js +11 -13
  562. package/dist/web/index.web142.js +55 -5
  563. package/dist/web/index.web143.js +10 -47
  564. package/dist/web/index.web144.js +2 -15
  565. package/dist/web/index.web145.js +44 -28
  566. package/dist/web/index.web146.js +13 -7
  567. package/dist/web/index.web147.js +14 -3
  568. package/dist/web/index.web148.js +19 -19
  569. package/dist/web/index.web149.js +7 -8
  570. package/dist/web/index.web15.js +1 -1
  571. package/dist/web/index.web150.js +3 -7
  572. package/dist/web/index.web151.js +20 -72
  573. package/dist/web/index.web152.js +8 -28
  574. package/dist/web/index.web153.js +7 -3
  575. package/dist/web/index.web154.js +74 -9
  576. package/dist/web/index.web155.js +28 -4
  577. package/dist/web/index.web156.js +3 -14
  578. package/dist/web/index.web157.js +15 -19
  579. package/dist/web/index.web158.js +4 -61
  580. package/dist/web/index.web159.js +13 -16
  581. package/dist/web/index.web16.js +1 -1
  582. package/dist/web/index.web160.js +15 -19
  583. package/dist/web/index.web161.js +61 -8
  584. package/dist/web/index.web162.js +16 -41
  585. package/dist/web/index.web163.js +23 -7
  586. package/dist/web/index.web164.js +8 -20
  587. package/dist/web/index.web165.js +42 -13
  588. package/dist/web/index.web166.js +7 -55
  589. package/dist/web/index.web167.js +20 -6
  590. package/dist/web/index.web168.js +13 -21
  591. package/dist/web/index.web169.js +54 -16
  592. package/dist/web/index.web17.js +3 -3
  593. package/dist/web/index.web170.js +6 -45
  594. package/dist/web/index.web171.js +21 -3
  595. package/dist/web/index.web172.js +17 -3
  596. package/dist/web/index.web173.js +41 -30
  597. package/dist/web/index.web174.js +3 -12
  598. package/dist/web/index.web175.js +3 -4
  599. package/dist/web/index.web176.js +31 -25
  600. package/dist/web/index.web177.js +12 -6
  601. package/dist/web/index.web178.js +4 -32
  602. package/dist/web/index.web179.js +27 -11
  603. package/dist/web/index.web18.js +3 -3
  604. package/dist/web/index.web180.js +6 -55
  605. package/dist/web/index.web181.js +30 -40
  606. package/dist/web/index.web182.js +11 -126
  607. package/dist/web/index.web183.js +53 -102
  608. package/dist/web/index.web184.js +42 -6
  609. package/dist/web/index.web185.js +128 -3
  610. package/dist/web/index.web186.js +100 -74
  611. package/dist/web/index.web187.js +7 -2
  612. package/dist/web/index.web188.js +3 -2
  613. package/dist/web/index.web189.js +74 -33
  614. package/dist/web/index.web19.js +7 -7
  615. package/dist/web/index.web190.js +2 -7
  616. package/dist/web/index.web191.js +2 -35
  617. package/dist/web/index.web192.js +37 -14
  618. package/dist/web/index.web193.js +5 -33
  619. package/dist/web/index.web194.js +33 -17
  620. package/dist/web/index.web195.js +14 -8
  621. package/dist/web/index.web196.js +33 -9
  622. package/dist/web/index.web197.js +18 -11
  623. package/dist/web/index.web198.js +8 -13
  624. package/dist/web/index.web199.js +10 -5
  625. package/dist/web/index.web2.js +3 -3
  626. package/dist/web/index.web20.js +1 -1
  627. package/dist/web/index.web200.js +12 -5
  628. package/dist/web/index.web201.js +13 -10
  629. package/dist/web/index.web202.js +6 -2
  630. package/dist/web/index.web203.js +5 -2
  631. package/dist/web/index.web204.js +10 -108
  632. package/dist/web/index.web205.js +2 -2
  633. package/dist/web/index.web206.js +2 -2
  634. package/dist/web/index.web207.js +2 -104
  635. package/dist/web/index.web208.js +107 -77
  636. package/dist/web/index.web209.js +2 -79
  637. package/dist/web/index.web21.js +1 -1
  638. package/dist/web/index.web210.js +102 -19
  639. package/dist/web/index.web211.js +79 -10
  640. package/dist/web/index.web212.js +79 -20
  641. package/dist/web/index.web213.js +20 -93
  642. package/dist/web/index.web214.js +9 -20
  643. package/dist/web/index.web215.js +16 -114
  644. package/dist/web/index.web216.js +94 -39
  645. package/dist/web/index.web217.js +21 -2
  646. package/dist/web/index.web218.js +117 -69
  647. package/dist/web/index.web219.js +7 -34
  648. package/dist/web/index.web22.js +1 -1
  649. package/dist/web/index.web220.js +2 -15
  650. package/dist/web/index.web221.js +368 -7
  651. package/dist/web/index.web222.js +827 -2
  652. package/dist/web/index.web223.js +35 -365
  653. package/dist/web/index.web224.js +2 -827
  654. package/dist/web/index.web225.js +69 -20
  655. package/dist/web/index.web226.js +35 -2
  656. package/dist/web/index.web227.js +13 -18
  657. package/dist/web/index.web228.js +18 -30
  658. package/dist/web/index.web229.js +2 -7
  659. package/dist/web/index.web23.js +1 -1
  660. package/dist/web/index.web230.js +17 -44
  661. package/dist/web/index.web231.js +32 -3
  662. package/dist/web/index.web232.js +6 -17
  663. package/dist/web/index.web233.js +46 -27
  664. package/dist/web/index.web234.js +2 -8
  665. package/dist/web/index.web235.js +2 -11
  666. package/dist/web/index.web236.js +2 -13
  667. package/dist/web/index.web237.js +16 -8
  668. package/dist/web/index.web238.js +28 -17
  669. package/dist/web/index.web239.js +6 -79
  670. package/dist/web/index.web24.js +1 -1
  671. package/dist/web/index.web240.js +11 -2
  672. package/dist/web/index.web241.js +13 -2
  673. package/dist/web/index.web242.js +10 -2
  674. package/dist/web/index.web243.js +17 -5
  675. package/dist/web/index.web244.js +80 -14
  676. package/dist/web/index.web245.js +3 -78
  677. package/dist/web/index.web246.js +7 -0
  678. package/dist/web/index.web247.js +81 -0
  679. package/dist/web/index.web248.js +17 -0
  680. package/dist/web/index.web25.js +1 -1
  681. package/dist/web/index.web26.js +1 -1
  682. package/dist/web/index.web27.js +6 -6
  683. package/dist/web/index.web28.js +7 -7
  684. package/dist/web/index.web29.js +6 -6
  685. package/dist/web/index.web3.js +1 -1
  686. package/dist/web/index.web30.js +6 -6
  687. package/dist/web/index.web31.js +6 -6
  688. package/dist/web/index.web32.js +6 -6
  689. package/dist/web/index.web33.js +7 -7
  690. package/dist/web/index.web34.js +6 -6
  691. package/dist/web/index.web35.js +6 -6
  692. package/dist/web/index.web36.js +2 -2
  693. package/dist/web/index.web37.js +6 -6
  694. package/dist/web/index.web38.js +6 -6
  695. package/dist/web/index.web39.js +7 -7
  696. package/dist/web/index.web40.js +2 -2
  697. package/dist/web/index.web41.js +6 -6
  698. package/dist/web/index.web42.js +1 -1
  699. package/dist/web/index.web43.js +2 -2
  700. package/dist/web/index.web44.js +1 -1
  701. package/dist/web/index.web45.js +1 -1
  702. package/dist/web/index.web46.js +1 -1
  703. package/dist/web/index.web47.js +4 -4
  704. package/dist/web/index.web48.js +1 -1
  705. package/dist/web/index.web49.js +25 -29
  706. package/dist/web/index.web5.js +1 -1
  707. package/dist/web/index.web50.js +26 -53
  708. package/dist/web/index.web51.js +53 -29
  709. package/dist/web/index.web52.js +32 -12
  710. package/dist/web/index.web53.js +14 -25
  711. package/dist/web/index.web54.js +25 -22
  712. package/dist/web/index.web55.js +21 -9
  713. package/dist/web/index.web56.js +9 -15
  714. package/dist/web/index.web57.js +12 -19
  715. package/dist/web/index.web58.js +22 -10
  716. package/dist/web/index.web59.js +10 -16
  717. package/dist/web/index.web60.js +15 -31
  718. package/dist/web/index.web61.js +32 -36
  719. package/dist/web/index.web62.js +34 -38
  720. package/dist/web/index.web63.js +30 -31
  721. package/dist/web/index.web64.js +35 -114
  722. package/dist/web/index.web65.js +38 -47
  723. package/dist/web/index.web66.js +34 -79
  724. package/dist/web/index.web67.js +116 -19
  725. package/dist/web/index.web68.js +48 -10
  726. package/dist/web/index.web69.js +85 -35
  727. package/dist/web/index.web70.js +19 -30
  728. package/dist/web/index.web71.js +10 -64
  729. package/dist/web/index.web72.js +36 -25
  730. package/dist/web/index.web73.js +29 -15
  731. package/dist/web/index.web74.js +62 -32
  732. package/dist/web/index.web75.js +23 -6
  733. package/dist/web/index.web76.js +16 -47
  734. package/dist/web/index.web77.js +34 -19
  735. package/dist/web/index.web78.js +7 -48
  736. package/dist/web/index.web79.js +47 -38
  737. package/dist/web/index.web8.js +1 -1
  738. package/dist/web/index.web80.js +15 -328
  739. package/dist/web/index.web81.js +47 -17
  740. package/dist/web/index.web82.js +36 -128
  741. package/dist/web/index.web83.js +300 -54
  742. package/dist/web/index.web84.js +18 -6
  743. package/dist/web/index.web85.js +126 -49
  744. package/dist/web/index.web86.js +68 -138
  745. package/dist/web/index.web87.js +5 -66
  746. package/dist/web/index.web88.js +56 -35
  747. package/dist/web/index.web89.js +150 -83
  748. package/dist/web/index.web9.js +5 -5
  749. package/dist/web/index.web90.js +66 -41
  750. package/dist/web/index.web91.js +35 -32
  751. package/dist/web/index.web92.js +87 -15
  752. package/dist/web/index.web93.js +43 -45
  753. package/dist/web/index.web94.js +32 -3
  754. package/dist/web/index.web95.js +17 -43
  755. package/dist/web/index.web96.js +45 -24
  756. package/dist/web/index.web97.js +3 -15
  757. package/dist/web/index.web98.js +42 -23
  758. package/dist/web/index.web99.js +25 -22
  759. package/dist/web-types/actions/createBitcoinAccount.d.ts +26 -0
  760. package/dist/web-types/actions/linkSiwe.d.ts +49 -0
  761. package/dist/web-types/actions/signBitcoinHash.d.ts +41 -0
  762. package/dist/web-types/auth/toAuthState.d.ts +2 -1
  763. package/dist/web-types/index.d.ts +3 -0
  764. package/dist/web-types/index.native.d.ts +3 -0
  765. package/dist/web-types/index.web.d.ts +3 -0
  766. package/dist/web-types/mfa/protectedActions.d.ts +2 -0
  767. package/dist/web-types/types.d.ts +5 -1
  768. package/dist/web-types/version.d.ts +1 -1
  769. package/package.json +11 -11
  770. package/dist/esm/index.native.js +0 -208
  771. package/dist/esm/index.native10.js +0 -29
  772. package/dist/esm/index.native100.js +0 -17
  773. package/dist/esm/index.native101.js +0 -27
  774. package/dist/esm/index.native102.js +0 -24
  775. package/dist/esm/index.native103.js +0 -19
  776. package/dist/esm/index.native104.js +0 -31
  777. package/dist/esm/index.native105.js +0 -43
  778. package/dist/esm/index.native106.js +0 -51
  779. package/dist/esm/index.native107.js +0 -83
  780. package/dist/esm/index.native108.js +0 -28
  781. package/dist/esm/index.native109.js +0 -162
  782. package/dist/esm/index.native11.js +0 -4
  783. package/dist/esm/index.native110.js +0 -50
  784. package/dist/esm/index.native111.js +0 -24
  785. package/dist/esm/index.native112.js +0 -75
  786. package/dist/esm/index.native113.js +0 -11
  787. package/dist/esm/index.native114.js +0 -97
  788. package/dist/esm/index.native115.js +0 -139
  789. package/dist/esm/index.native116.js +0 -70
  790. package/dist/esm/index.native117.js +0 -29
  791. package/dist/esm/index.native118.js +0 -26
  792. package/dist/esm/index.native119.js +0 -26
  793. package/dist/esm/index.native12.js +0 -121
  794. package/dist/esm/index.native120.js +0 -67
  795. package/dist/esm/index.native121.js +0 -53
  796. package/dist/esm/index.native122.js +0 -23
  797. package/dist/esm/index.native123.js +0 -155
  798. package/dist/esm/index.native124.js +0 -379
  799. package/dist/esm/index.native125.js +0 -31
  800. package/dist/esm/index.native126.js +0 -31
  801. package/dist/esm/index.native127.js +0 -92
  802. package/dist/esm/index.native128.js +0 -19
  803. package/dist/esm/index.native129.js +0 -25
  804. package/dist/esm/index.native13.js +0 -15
  805. package/dist/esm/index.native130.js +0 -53
  806. package/dist/esm/index.native131.js +0 -2
  807. package/dist/esm/index.native132.js +0 -68
  808. package/dist/esm/index.native133.js +0 -367
  809. package/dist/esm/index.native134.js +0 -947
  810. package/dist/esm/index.native135.js +0 -4
  811. package/dist/esm/index.native136.js +0 -52
  812. package/dist/esm/index.native137.js +0 -29
  813. package/dist/esm/index.native138.js +0 -7
  814. package/dist/esm/index.native139.js +0 -50
  815. package/dist/esm/index.native14.js +0 -15
  816. package/dist/esm/index.native140.js +0 -37
  817. package/dist/esm/index.native141.js +0 -70
  818. package/dist/esm/index.native142.js +0 -16
  819. package/dist/esm/index.native143.js +0 -30
  820. package/dist/esm/index.native144.js +0 -10
  821. package/dist/esm/index.native145.js +0 -6
  822. package/dist/esm/index.native146.js +0 -30
  823. package/dist/esm/index.native147.js +0 -11
  824. package/dist/esm/index.native148.js +0 -10
  825. package/dist/esm/index.native149.js +0 -82
  826. package/dist/esm/index.native15.js +0 -83
  827. package/dist/esm/index.native150.js +0 -30
  828. package/dist/esm/index.native151.js +0 -6
  829. package/dist/esm/index.native152.js +0 -17
  830. package/dist/esm/index.native153.js +0 -7
  831. package/dist/esm/index.native154.js +0 -16
  832. package/dist/esm/index.native155.js +0 -22
  833. package/dist/esm/index.native156.js +0 -63
  834. package/dist/esm/index.native157.js +0 -20
  835. package/dist/esm/index.native158.js +0 -26
  836. package/dist/esm/index.native159.js +0 -11
  837. package/dist/esm/index.native16.js +0 -37
  838. package/dist/esm/index.native160.js +0 -44
  839. package/dist/esm/index.native161.js +0 -10
  840. package/dist/esm/index.native162.js +0 -23
  841. package/dist/esm/index.native163.js +0 -57
  842. package/dist/esm/index.native164.js +0 -13
  843. package/dist/esm/index.native165.js +0 -4
  844. package/dist/esm/index.native166.js +0 -47
  845. package/dist/esm/index.native167.js +0 -16
  846. package/dist/esm/index.native168.js +0 -15
  847. package/dist/esm/index.native169.js +0 -14
  848. package/dist/esm/index.native17.js +0 -17
  849. package/dist/esm/index.native170.js +0 -7
  850. package/dist/esm/index.native171.js +0 -16
  851. package/dist/esm/index.native172.js +0 -58
  852. package/dist/esm/index.native173.js +0 -9
  853. package/dist/esm/index.native174.js +0 -24
  854. package/dist/esm/index.native175.js +0 -20
  855. package/dist/esm/index.native176.js +0 -48
  856. package/dist/esm/index.native177.js +0 -6
  857. package/dist/esm/index.native178.js +0 -6
  858. package/dist/esm/index.native179.js +0 -37
  859. package/dist/esm/index.native18.js +0 -13
  860. package/dist/esm/index.native180.js +0 -15
  861. package/dist/esm/index.native181.js +0 -7
  862. package/dist/esm/index.native182.js +0 -31
  863. package/dist/esm/index.native183.js +0 -9
  864. package/dist/esm/index.native184.js +0 -35
  865. package/dist/esm/index.native185.js +0 -15
  866. package/dist/esm/index.native186.js +0 -58
  867. package/dist/esm/index.native187.js +0 -45
  868. package/dist/esm/index.native188.js +0 -130
  869. package/dist/esm/index.native189.js +0 -107
  870. package/dist/esm/index.native19.js +0 -13
  871. package/dist/esm/index.native190.js +0 -9
  872. package/dist/esm/index.native191.js +0 -5
  873. package/dist/esm/index.native192.js +0 -81
  874. package/dist/esm/index.native193.js +0 -4
  875. package/dist/esm/index.native194.js +0 -4
  876. package/dist/esm/index.native195.js +0 -40
  877. package/dist/esm/index.native196.js +0 -9
  878. package/dist/esm/index.native197.js +0 -37
  879. package/dist/esm/index.native198.js +0 -17
  880. package/dist/esm/index.native199.js +0 -37
  881. package/dist/esm/index.native2.js +0 -65
  882. package/dist/esm/index.native20.js +0 -33
  883. package/dist/esm/index.native200.js +0 -21
  884. package/dist/esm/index.native201.js +0 -11
  885. package/dist/esm/index.native202.js +0 -13
  886. package/dist/esm/index.native203.js +0 -14
  887. package/dist/esm/index.native204.js +0 -16
  888. package/dist/esm/index.native205.js +0 -8
  889. package/dist/esm/index.native206.js +0 -7
  890. package/dist/esm/index.native207.js +0 -13
  891. package/dist/esm/index.native208.js +0 -4
  892. package/dist/esm/index.native209.js +0 -4
  893. package/dist/esm/index.native21.js +0 -38
  894. package/dist/esm/index.native210.js +0 -23
  895. package/dist/esm/index.native211.js +0 -12
  896. package/dist/esm/index.native212.js +0 -22
  897. package/dist/esm/index.native213.js +0 -96
  898. package/dist/esm/index.native214.js +0 -23
  899. package/dist/esm/index.native215.js +0 -120
  900. package/dist/esm/index.native216.js +0 -106
  901. package/dist/esm/index.native217.js +0 -81
  902. package/dist/esm/index.native218.js +0 -81
  903. package/dist/esm/index.native219.js +0 -4
  904. package/dist/esm/index.native22.js +0 -56
  905. package/dist/esm/index.native220.js +0 -111
  906. package/dist/esm/index.native221.js +0 -4
  907. package/dist/esm/index.native222.js +0 -41
  908. package/dist/esm/index.native223.js +0 -4
  909. package/dist/esm/index.native224.js +0 -72
  910. package/dist/esm/index.native225.js +0 -37
  911. package/dist/esm/index.native226.js +0 -17
  912. package/dist/esm/index.native227.js +0 -10
  913. package/dist/esm/index.native228.js +0 -4
  914. package/dist/esm/index.native229.js +0 -371
  915. package/dist/esm/index.native23.js +0 -9
  916. package/dist/esm/index.native230.js +0 -829
  917. package/dist/esm/index.native231.js +0 -23
  918. package/dist/esm/index.native232.js +0 -4
  919. package/dist/esm/index.native233.js +0 -22
  920. package/dist/esm/index.native234.js +0 -35
  921. package/dist/esm/index.native235.js +0 -9
  922. package/dist/esm/index.native236.js +0 -49
  923. package/dist/esm/index.native237.js +0 -4
  924. package/dist/esm/index.native238.js +0 -4
  925. package/dist/esm/index.native239.js +0 -4
  926. package/dist/esm/index.native24.js +0 -7
  927. package/dist/esm/index.native240.js +0 -6
  928. package/dist/esm/index.native241.js +0 -20
  929. package/dist/esm/index.native242.js +0 -30
  930. package/dist/esm/index.native243.js +0 -10
  931. package/dist/esm/index.native244.js +0 -13
  932. package/dist/esm/index.native245.js +0 -15
  933. package/dist/esm/index.native246.js +0 -12
  934. package/dist/esm/index.native247.js +0 -19
  935. package/dist/esm/index.native248.js +0 -83
  936. package/dist/esm/index.native25.js +0 -15
  937. package/dist/esm/index.native26.js +0 -7
  938. package/dist/esm/index.native27.js +0 -7
  939. package/dist/esm/index.native28.js +0 -9
  940. package/dist/esm/index.native29.js +0 -9
  941. package/dist/esm/index.native3.js +0 -2
  942. package/dist/esm/index.native30.js +0 -29
  943. package/dist/esm/index.native31.js +0 -33
  944. package/dist/esm/index.native32.js +0 -29
  945. package/dist/esm/index.native33.js +0 -29
  946. package/dist/esm/index.native34.js +0 -29
  947. package/dist/esm/index.native35.js +0 -29
  948. package/dist/esm/index.native36.js +0 -38
  949. package/dist/esm/index.native37.js +0 -31
  950. package/dist/esm/index.native38.js +0 -39
  951. package/dist/esm/index.native39.js +0 -28
  952. package/dist/esm/index.native4.js +0 -183
  953. package/dist/esm/index.native40.js +0 -43
  954. package/dist/esm/index.native41.js +0 -50
  955. package/dist/esm/index.native42.js +0 -49
  956. package/dist/esm/index.native43.js +0 -43
  957. package/dist/esm/index.native44.js +0 -34
  958. package/dist/esm/index.native45.js +0 -9
  959. package/dist/esm/index.native46.js +0 -46
  960. package/dist/esm/index.native47.js +0 -19
  961. package/dist/esm/index.native48.js +0 -23
  962. package/dist/esm/index.native49.js +0 -23
  963. package/dist/esm/index.native5.js +0 -110
  964. package/dist/esm/index.native50.js +0 -56
  965. package/dist/esm/index.native51.js +0 -23
  966. package/dist/esm/index.native52.js +0 -34
  967. package/dist/esm/index.native53.js +0 -61
  968. package/dist/esm/index.native54.js +0 -37
  969. package/dist/esm/index.native55.js +0 -17
  970. package/dist/esm/index.native56.js +0 -28
  971. package/dist/esm/index.native57.js +0 -25
  972. package/dist/esm/index.native58.js +0 -13
  973. package/dist/esm/index.native59.js +0 -19
  974. package/dist/esm/index.native6.js +0 -29
  975. package/dist/esm/index.native60.js +0 -26
  976. package/dist/esm/index.native61.js +0 -14
  977. package/dist/esm/index.native62.js +0 -20
  978. package/dist/esm/index.native63.js +0 -36
  979. package/dist/esm/index.native64.js +0 -39
  980. package/dist/esm/index.native65.js +0 -41
  981. package/dist/esm/index.native66.js +0 -42
  982. package/dist/esm/index.native67.js +0 -119
  983. package/dist/esm/index.native68.js +0 -51
  984. package/dist/esm/index.native69.js +0 -87
  985. package/dist/esm/index.native7.js +0 -68
  986. package/dist/esm/index.native70.js +0 -22
  987. package/dist/esm/index.native71.js +0 -13
  988. package/dist/esm/index.native72.js +0 -38
  989. package/dist/esm/index.native73.js +0 -33
  990. package/dist/esm/index.native74.js +0 -67
  991. package/dist/esm/index.native75.js +0 -27
  992. package/dist/esm/index.native76.js +0 -19
  993. package/dist/esm/index.native77.js +0 -37
  994. package/dist/esm/index.native78.js +0 -10
  995. package/dist/esm/index.native79.js +0 -50
  996. package/dist/esm/index.native8.js +0 -81
  997. package/dist/esm/index.native80.js +0 -22
  998. package/dist/esm/index.native81.js +0 -51
  999. package/dist/esm/index.native82.js +0 -41
  1000. package/dist/esm/index.native83.js +0 -335
  1001. package/dist/esm/index.native84.js +0 -21
  1002. package/dist/esm/index.native85.js +0 -134
  1003. package/dist/esm/index.native86.js +0 -89
  1004. package/dist/esm/index.native87.js +0 -9
  1005. package/dist/esm/index.native88.js +0 -57
  1006. package/dist/esm/index.native89.js +0 -158
  1007. package/dist/esm/index.native9.js +0 -71
  1008. package/dist/esm/index.native90.js +0 -44
  1009. package/dist/esm/index.native91.js +0 -11
  1010. package/dist/esm/index.native92.js +0 -11
  1011. package/dist/esm/index.native93.js +0 -11
  1012. package/dist/esm/index.native94.js +0 -34
  1013. package/dist/esm/index.native95.js +0 -20
  1014. package/dist/esm/index.native96.js +0 -47
  1015. package/dist/esm/index.native97.js +0 -5
  1016. package/dist/esm/index.native98.js +0 -46
  1017. package/dist/esm/index.native99.js +0 -26
  1018. /package/dist/esm/{index.native249.js → index.web246.js} +0 -0
  1019. /package/dist/esm/{index.native250.js → index.web247.js} +0 -0
@@ -1,5 +1,34 @@
1
- import { __require as r } from "./index.native134.js";
2
- var f = r();
1
+ function a(e) {
2
+ if (typeof btoa < "u")
3
+ return btoa(
4
+ Array.from(e).map((t) => String.fromCharCode(t)).join("")
5
+ );
6
+ const c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
7
+ let r = "";
8
+ for (let t = 0; t < e.length; t += 3) {
9
+ const h = e[t], n = t + 1 < e.length ? e[t + 1] : 0, s = t + 2 < e.length ? e[t + 2] : 0, o = h << 16 | n << 8 | s;
10
+ r += c.charAt(o >> 18 & 63), r += c.charAt(o >> 12 & 63), r += t + 1 < e.length ? c.charAt(o >> 6 & 63) : "=", r += t + 2 < e.length ? c.charAt(o & 63) : "=";
11
+ }
12
+ return r;
13
+ }
14
+ function g(e) {
15
+ if (typeof atob < "u") {
16
+ const n = atob(e), s = new Uint8Array(n.length);
17
+ for (let o = 0; o < n.length; o++)
18
+ s[o] = n.charCodeAt(o);
19
+ return s;
20
+ }
21
+ const c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", r = {};
22
+ for (let n = 0; n < c.length; n++)
23
+ r[c[n]] = n;
24
+ const t = e.replace(/[^A-Za-z0-9+/]/g, ""), h = [];
25
+ for (let n = 0; n < t.length; n += 4) {
26
+ const s = r[t[n]] || 0, o = r[t[n + 1]] || 0, l = r[t[n + 2]] || 0, f = r[t[n + 3]] || 0, i = s << 18 | o << 12 | l << 6 | f;
27
+ h.push(i >> 16 & 255), n + 2 < t.length && h.push(i >> 8 & 255), n + 3 < t.length && h.push(i & 255);
28
+ }
29
+ return new Uint8Array(h);
30
+ }
3
31
  export {
4
- f as b
32
+ g as decodeBase64,
33
+ a as encodeBase64
5
34
  };
@@ -1,46 +1,20 @@
1
- import { InputValidationError as a } from "./index.native86.js";
2
- import { getPlatformCrypto as l } from "./index.native10.js";
3
- function y(e, o) {
4
- if (e.period !== void 0 && e.periodInDays !== void 0)
5
- throw new a(
6
- "Cannot specify both 'period' and 'periodInDays'. Please provide only one."
7
- );
8
- if (e.period === void 0 && e.periodInDays === void 0)
9
- throw new a("Must specify either 'period' (in seconds) or 'periodInDays'.");
10
- const t = e.period ?? e.periodInDays * 24 * 60 * 60, d = /* @__PURE__ */ new Date(), c = e.start ?? d, r = e.end, f = Math.floor(c.getTime() / 1e3), E = r ? Math.floor(r.getTime() / 1e3) : 281474976710655;
11
- return {
12
- account: e.account,
13
- spender: e.spender,
14
- allowance: e.allowance,
15
- token: D(e.token, o),
16
- period: t,
17
- start: f,
18
- end: E,
19
- salt: e.salt ?? l().generateRandomSalt(),
20
- extraData: e.extraData ?? "0x"
21
- };
1
+ import "@coinbase/cdp-api-client";
2
+ import "viem";
3
+ const u = async (c) => await c.isSignedIn();
4
+ async function A(c, a, r) {
5
+ if (!await u(a))
6
+ throw new Error("User not signed in");
7
+ const t = a.getUser();
8
+ if ("evmAccount" in c && !(t.evmAccounts?.find((n) => n === c.evmAccount) || t.evmAccountObjects?.find((n) => n.address === c.evmAccount)))
9
+ throw new Error("EVM account not found");
10
+ if ("evmSmartAccount" in c && !(t.evmSmartAccounts?.find((n) => n === c.evmSmartAccount) || t.evmSmartAccountObjects?.find((n) => n.address === c.evmSmartAccount)))
11
+ throw new Error("EVM Smart Account not found");
12
+ if ("solanaAccount" in c && !(t.solanaAccounts?.find((n) => n === c.solanaAccount) || t.solanaAccountObjects?.find((n) => n.address === c.solanaAccount)))
13
+ throw new Error("Solana account not found");
14
+ const e = await a.getWalletSecretId();
15
+ return r({ ...c, user: t, walletSecretId: e });
22
16
  }
23
- function D(e, o) {
24
- if (e === "eth")
25
- return "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
26
- if (e === "usdc") {
27
- const t = n[o]?.usdc;
28
- if (!t)
29
- throw new a(
30
- `Automatic token address lookup for ${e} is not supported on ${o}. Please provide the token address manually.`
31
- );
32
- return t;
33
- }
34
- return e;
35
- }
36
- const n = {
37
- base: {
38
- usdc: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
39
- },
40
- "base-sepolia": {
41
- usdc: "0x036CbD53842c5426634e7929541eC2318f3dCF7e"
42
- }
43
- };
44
17
  export {
45
- y as toSpendPermission
18
+ u as isSignedIn,
19
+ A as withAuth
46
20
  };
@@ -1,26 +1,47 @@
1
- import "@coinbase/cdp-api-client";
2
- const e = (t) => ({
3
- userId: t.userId,
4
- // Deprecated fields - keep for backward compatibility
5
- evmAccounts: t.evmAccounts?.map((c) => c) ?? [],
6
- evmSmartAccounts: t.evmSmartAccounts?.map((c) => c) ?? [],
7
- solanaAccounts: t.solanaAccounts?.map((c) => c) ?? [],
8
- // New account object fields
9
- evmAccountObjects: t.evmAccountObjects,
10
- evmSmartAccountObjects: t.evmSmartAccountObjects,
11
- solanaAccountObjects: t.solanaAccountObjects,
12
- authenticationMethods: t.authenticationMethods.reduce((c, a) => (c[a.type] = a, c), {}),
13
- mfaMethods: t.mfaMethods,
14
- lastAuthenticatedAt: t.lastAuthenticatedAt
15
- }), s = (t, c, a) => {
16
- const o = new Date(c).getTime();
17
- return {
18
- accessToken: t,
19
- expiresAt: o,
20
- user: e(a)
21
- };
22
- };
1
+ import { SendEvmTransactionWithEndUserAccountBodyNetwork as i } from "@coinbase/cdp-api-client";
2
+ const t = (e) => !e || typeof e != "object" ? e : Array.isArray(e) ? e.map(t) : Object.keys(e).sort().reduce(
3
+ (r, n) => (r[n] = t(e[n]), r),
4
+ {}
5
+ ), p = (e) => Object.values(i).includes(
6
+ e
7
+ ), a = {
8
+ "base-sepolia": 84532,
9
+ base: 8453,
10
+ ethereum: 1,
11
+ "ethereum-sepolia": 11155111,
12
+ avalanche: 43114,
13
+ polygon: 137,
14
+ optimism: 10,
15
+ arbitrum: 42161,
16
+ "arbitrum-sepolia": 421614,
17
+ world: 480,
18
+ "world-sepolia": 4801
19
+ }, u = Object.fromEntries(
20
+ Object.entries(a).map(([e, r]) => [r, e])
21
+ ), c = (e) => Object.values(a).includes(
22
+ e
23
+ ), s = {
24
+ "base-sepolia": 84532,
25
+ base: 8453,
26
+ ethereum: 1,
27
+ "ethereum-sepolia": 11155111,
28
+ avalanche: 43114,
29
+ polygon: 137,
30
+ optimism: 10,
31
+ arbitrum: 42161,
32
+ zora: 7777777,
33
+ bnb: 56
34
+ }, m = Object.fromEntries(
35
+ Object.entries(s).map(([e, r]) => [r, e])
36
+ ), d = (e) => Object.values(s).includes(
37
+ e
38
+ );
23
39
  export {
24
- s as toAuthState,
25
- e as toAuthStateUser
40
+ c as isChainIdSupportedForCDPSends,
41
+ d as isChainIdSupportedForCDPUserOps,
42
+ p as isChainSupportedForCDPSends,
43
+ u as sendTransactionChainIdToNameMapping,
44
+ t as sortKeys,
45
+ m as userOperationChainIdToNameMapping,
46
+ s as userOperationNameToChainIdMapping
26
47
  };
@@ -0,0 +1,26 @@
1
+ import { EndUserBtcAccount, CreateEndUserBtcAccountBodyAddressType, CreateEndUserBtcAccountBodyNetwork } from '@coinbase/cdp-api-client';
2
+ /**
3
+ * Options for creating a Bitcoin HD (Hierarchical Deterministic) account.
4
+ */
5
+ export type CreateBitcoinAccountOptions = {
6
+ /** The Bitcoin network. Defaults to "bitcoin-testnet". */
7
+ network?: CreateEndUserBtcAccountBodyNetwork;
8
+ /** The Bitcoin address type. Defaults to "segwit" (BIP-84). */
9
+ addressType?: CreateEndUserBtcAccountBodyAddressType;
10
+ /** Optional idempotency key for safe retries. */
11
+ idempotencyKey?: string;
12
+ };
13
+ /**
14
+ * The result of creating a Bitcoin HD account.
15
+ */
16
+ export type CreateBitcoinAccountResult = EndUserBtcAccount;
17
+ /**
18
+ * Creates a Bitcoin HD (Hierarchical Deterministic) account for the current user.
19
+ * The account uses BIP-84 derivation (segwit) and returns an extended public key (xpub)
20
+ * that can be used to derive unlimited child addresses for UTXO discovery.
21
+ *
22
+ * @param options - Options for creating the account.
23
+ * @returns The newly created Bitcoin account (xpub, network, addressType).
24
+ * @throws Error if the user is not signed in or account creation fails.
25
+ */
26
+ export declare function createBitcoinAccount(options?: CreateBitcoinAccountOptions): Promise<CreateBitcoinAccountResult>;
@@ -0,0 +1,49 @@
1
+ import { EvmAddress } from '../types.js';
2
+ /** Request parameters for linkSiwe. */
3
+ export type LinkSiweOptions = {
4
+ /** The ERC-55 checksummed Ethereum address to link to the current user. */
5
+ address: EvmAddress;
6
+ /** The EIP-155 chain ID of the network the user is authenticating on. */
7
+ chainId: number;
8
+ /** The RFC 3986 authority of the application requesting the signature (e.g., the hostname). */
9
+ domain: string;
10
+ /** The RFC 3986 URI of the resource that is the subject of the signing. */
11
+ uri: string;
12
+ /** An optional human-readable ASCII assertion that the user will see when signing. */
13
+ statement?: string;
14
+ /** An optional list of URIs for information or references the user wishes to have resolved as part of authentication. */
15
+ resources?: string[];
16
+ /** Optional idempotency key for safe retries. */
17
+ idempotencyKey?: string;
18
+ };
19
+ /** Result of linkSiwe. */
20
+ export type LinkSiweResult = {
21
+ /** The flow ID to use in verifySiweSignature. */
22
+ flowId: string;
23
+ /** The EIP-4361-formatted SIWE message for the end user to sign with their Ethereum wallet. */
24
+ message: string;
25
+ /** The cryptographic nonce embedded in the message. */
26
+ nonce: string;
27
+ /** The date and time at which the SIWE challenge expires, in ISO 8601 format. */
28
+ expirationTime: string;
29
+ };
30
+ /**
31
+ * Links an Ethereum address to the current user via Sign In With Ethereum (SIWE/EIP-4361).
32
+ * The user must already be signed in. The server returns a pre-formatted SIWE message for the
33
+ * user to sign with their Ethereum wallet. Pass the resulting `flowId` and the wallet signature
34
+ * to `verifySiweSignature` to complete linking.
35
+ *
36
+ * @param options - The options for the link operation.
37
+ * @returns The result of the link initiation, including the SIWE message to sign.
38
+ * @example
39
+ * ```typescript lines
40
+ * const result = await linkSiwe({
41
+ * address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
42
+ * chainId: 1,
43
+ * domain: "example.com",
44
+ * uri: "https://example.com",
45
+ * });
46
+ * // Sign result.message with the user's wallet, then call verifySiweSignature
47
+ * ```
48
+ */
49
+ export declare const linkSiwe: (options: LinkSiweOptions) => Promise<LinkSiweResult>;
@@ -0,0 +1,41 @@
1
+ import { SignBtcHashWithEndUserAccountBodyAddressType, SignBtcHashWithEndUserAccountBodyNetwork, SignBtcHashWithEndUserAccountBodyChange } from '@coinbase/cdp-api-client';
2
+ /**
3
+ * Options for signing a Bitcoin sighash.
4
+ */
5
+ export type SignBitcoinHashOptions = {
6
+ /** The Bitcoin network. Defaults to "bitcoin-testnet". */
7
+ network?: SignBtcHashWithEndUserAccountBodyNetwork;
8
+ /** The Bitcoin address type. Defaults to "segwit". */
9
+ addressType?: SignBtcHashWithEndUserAccountBodyAddressType;
10
+ /** BIP-32 change level: 0 for external (receive) addresses, 1 for internal (change) addresses. */
11
+ change: SignBtcHashWithEndUserAccountBodyChange;
12
+ /** BIP-32 address index — must match the index used to derive the address controlling the UTXO. */
13
+ addressIndex: number;
14
+ /**
15
+ * The 32-byte sighash to sign, as a 64-character hex string (no 0x prefix).
16
+ * Compute this using hashForWitnessV0 for native SegWit P2WPKH inputs.
17
+ */
18
+ hash: string;
19
+ /** Optional idempotency key for safe retries. */
20
+ idempotencyKey?: string;
21
+ };
22
+ /**
23
+ * The result of signing a Bitcoin sighash.
24
+ */
25
+ export type SignBitcoinHashResult = {
26
+ /**
27
+ * The DER-encoded ECDSA signature as a bare hex string (no 0x prefix), 70–72 bytes.
28
+ * To construct the SegWit witness: append 0x01 (SIGHASH_ALL) to get the full sig,
29
+ * then push [fullSig, compressedPubKey] onto the witness stack.
30
+ */
31
+ signature: string;
32
+ };
33
+ /**
34
+ * Signs a 32-byte Bitcoin sighash using the end user's HD wallet child key.
35
+ * One call is required per UTXO input in the transaction.
36
+ *
37
+ * @param options - The signing options including derivation path and sighash.
38
+ * @returns The DER-encoded ECDSA signature (hex, no 0x prefix).
39
+ * @throws Error if the user is not signed in or signing fails.
40
+ */
41
+ export declare const signBitcoinHash: (options: SignBitcoinHashOptions) => Promise<SignBitcoinHashResult>;
@@ -1,4 +1,4 @@
1
- import { EndUser, EndUserEvmAccount, EndUserEvmSmartAccount, EndUserSolanaAccount, MFAMethods } from '@coinbase/cdp-api-client';
1
+ import { EndUser, EndUserEvmAccount, EndUserEvmSmartAccount, EndUserSolanaAccount, EndUserBtcAccount, MFAMethods } from '@coinbase/cdp-api-client';
2
2
  import { AuthState } from './types.js';
3
3
  import { AuthenticationMethods } from '../types.js';
4
4
  /**
@@ -16,6 +16,7 @@ export declare const toAuthStateUser: (endUser: EndUser) => {
16
16
  evmAccountObjects: EndUserEvmAccount[];
17
17
  evmSmartAccountObjects: EndUserEvmSmartAccount[];
18
18
  solanaAccountObjects: EndUserSolanaAccount[];
19
+ btcAccountObjects: EndUserBtcAccount[] | undefined;
19
20
  authenticationMethods: AuthenticationMethods;
20
21
  mfaMethods: MFAMethods | undefined;
21
22
  lastAuthenticatedAt: string | undefined;
@@ -11,6 +11,7 @@ export { linkEmail } from './actions/linkEmail.js';
11
11
  export { linkOAuth } from './actions/linkOAuth.js';
12
12
  export { linkApple } from './actions/linkApple.js';
13
13
  export { linkTelegram } from './actions/linkTelegram.js';
14
+ export { linkSiwe, type LinkSiweOptions, type LinkSiweResult } from './actions/linkSiwe.js';
14
15
  export { createEvmEoaAccount, type CreateEvmEoaAccountOptions, } from './actions/createEvmEoaAccount.js';
15
16
  export { createEvmSmartAccount, type CreateEvmSmartAccountOptions, } from './actions/createEvmSmartAccount.js';
16
17
  export { createEvmEip7702Delegation, type CreateEvmEip7702DelegationOptions, type CreateEvmEip7702DelegationResult, } from './actions/createEvmEip7702Delegation.js';
@@ -25,6 +26,8 @@ export { createDelegationForAccount, type CreateDelegationForAccountOptions, typ
25
26
  export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
26
27
  export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
27
28
  export { createSolanaAccount, type CreateSolanaAccountOptions, } from './actions/createSolanaAccount.js';
29
+ export { createBitcoinAccount, type CreateBitcoinAccountOptions, type CreateBitcoinAccountResult, } from './actions/createBitcoinAccount.js';
30
+ export { signBitcoinHash, type SignBitcoinHashOptions, type SignBitcoinHashResult, } from './actions/signBitcoinHash.js';
28
31
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
29
32
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';
30
33
  export { sendSolanaUsdc, type SendSolanaUsdcOptions, type SendSolanaUsdcResult, type SendSolanaUsdcNetwork, } from './actions/sendSolanaUsdc.js';
@@ -15,6 +15,7 @@ export { linkSms } from './actions/linkSms.js';
15
15
  export { linkEmail } from './actions/linkEmail.js';
16
16
  export { linkOAuth } from './actions/linkOAuth.js';
17
17
  export { linkApple } from './actions/linkApple.js';
18
+ export { linkSiwe, type LinkSiweOptions, type LinkSiweResult } from './actions/linkSiwe.js';
18
19
  export { createEvmEoaAccount } from './actions/createEvmEoaAccount.js';
19
20
  export { createEvmSmartAccount, type CreateEvmSmartAccountOptions, } from './actions/createEvmSmartAccount.js';
20
21
  export { createEvmEip7702Delegation, type CreateEvmEip7702DelegationOptions, type CreateEvmEip7702DelegationResult, } from './actions/createEvmEip7702Delegation.js';
@@ -29,6 +30,8 @@ export { createDelegationForAccount, type CreateDelegationForAccountOptions, typ
29
30
  export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
30
31
  export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
31
32
  export { createSolanaAccount } from './actions/createSolanaAccount.js';
33
+ export { createBitcoinAccount, type CreateBitcoinAccountOptions, type CreateBitcoinAccountResult, } from './actions/createBitcoinAccount.js';
34
+ export { signBitcoinHash, type SignBitcoinHashOptions, type SignBitcoinHashResult, } from './actions/signBitcoinHash.js';
32
35
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
33
36
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';
34
37
  export { sendSolanaUsdc, type SendSolanaUsdcOptions, type SendSolanaUsdcResult, type SendSolanaUsdcNetwork, } from './actions/sendSolanaUsdc.js';
@@ -15,6 +15,7 @@ export { linkSms } from './actions/linkSms.js';
15
15
  export { linkEmail } from './actions/linkEmail.js';
16
16
  export { linkOAuth } from './actions/linkOAuth.js';
17
17
  export { linkApple } from './actions/linkApple.js';
18
+ export { linkSiwe, type LinkSiweOptions, type LinkSiweResult } from './actions/linkSiwe.js';
18
19
  export { createEvmEoaAccount } from './actions/createEvmEoaAccount.js';
19
20
  export { createEvmSmartAccount, type CreateEvmSmartAccountOptions, } from './actions/createEvmSmartAccount.js';
20
21
  export { createEvmEip7702Delegation, type CreateEvmEip7702DelegationOptions, type CreateEvmEip7702DelegationResult, } from './actions/createEvmEip7702Delegation.js';
@@ -29,6 +30,8 @@ export { createDelegationForAccount, type CreateDelegationForAccountOptions, typ
29
30
  export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
30
31
  export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
31
32
  export { createSolanaAccount } from './actions/createSolanaAccount.js';
33
+ export { createBitcoinAccount, type CreateBitcoinAccountOptions, type CreateBitcoinAccountResult, } from './actions/createBitcoinAccount.js';
34
+ export { signBitcoinHash, type SignBitcoinHashOptions, type SignBitcoinHashResult, } from './actions/signBitcoinHash.js';
32
35
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
33
36
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';
34
37
  export { sendSolanaUsdc, type SendSolanaUsdcOptions, type SendSolanaUsdcResult, type SendSolanaUsdcNetwork, } from './actions/sendSolanaUsdc.js';
@@ -1,5 +1,6 @@
1
1
  import { createEvmKeyExportIframe, createSolanaKeyExportIframe } from '../actions/createKeyExportIframe.js';
2
2
  import { SignEvmHashOptions, SignEvmHashResult, SignEvmTransactionOptions, SignEvmTransactionResult, SignSolanaTransactionOptions, SignSolanaTransactionResult, SendEvmTransactionOptions, SendEvmTransactionResult, SendSolanaTransactionOptions, SendSolanaTransactionResult, SignEvmMessageOptions, SignSolanaMessageOptions, SignSolanaMessageResult, SignEvmTypedDataOptions, SignEvmTypedDataResult, SendUserOperationOptions, SendUserOperationResult, ExportEvmAccountOptions, ExportEvmAccountResult, ExportSolanaAccountOptions, ExportSolanaAccountResult } from '../types.js';
3
+ import { SignBitcoinHashOptions, SignBitcoinHashResult } from '../actions/signBitcoinHash.js';
3
4
  /**
4
5
  * Map of MFA-protected functions to ensure type safety.
5
6
  * If a function is renamed, the import will fail and this file won't compile.
@@ -18,6 +19,7 @@ export declare const MFA_PROTECTED_FUNCTIONS: {
18
19
  readonly sendUserOperation: (options: SendUserOperationOptions) => Promise< SendUserOperationResult>;
19
20
  readonly exportEvmAccount: (options: ExportEvmAccountOptions) => Promise< ExportEvmAccountResult>;
20
21
  readonly exportSolanaAccount: (options: ExportSolanaAccountOptions) => Promise< ExportSolanaAccountResult>;
22
+ readonly signBitcoinHash: (options: SignBitcoinHashOptions) => Promise< SignBitcoinHashResult>;
21
23
  readonly createEvmKeyExportIframe: typeof createEvmKeyExportIframe;
22
24
  readonly createSolanaKeyExportIframe: typeof createSolanaKeyExportIframe;
23
25
  };
@@ -1,4 +1,4 @@
1
- import { SendEvmTransactionWithEndUserAccountBodyNetwork, SendSolanaTransactionWithEndUserAccountBodyNetwork, APIError, APIErrorType, ErrorType, HttpErrorType, EvmUserOperation, EvmCall as EvmUserOperationCall, EvmUserOperationNetwork, EvmUserOperationStatus, OAuth2ProviderType, OAuth2Authentication, TelegramAuthentication, MFAMethods, MfaMethod, EndUserEvmAccount, EndUserSolanaAccount, EndUserEvmSmartAccount, UserOperationReceipt, TokenFee, GetEndUserEvmSwapPrice200IssuesAllowance, GetEndUserEvmSwapPrice200IssuesBalance } from '@coinbase/cdp-api-client';
1
+ import { SendEvmTransactionWithEndUserAccountBodyNetwork, SendSolanaTransactionWithEndUserAccountBodyNetwork, APIError, APIErrorType, ErrorType, HttpErrorType, EvmUserOperation, EvmCall as EvmUserOperationCall, EvmUserOperationNetwork, EvmUserOperationStatus, OAuth2ProviderType, OAuth2Authentication, TelegramAuthentication, MFAMethods, MfaMethod, EndUserEvmAccount, EndUserSolanaAccount, EndUserEvmSmartAccount, EndUserBtcAccount, UserOperationReceipt, TokenFee, GetEndUserEvmSwapPrice200IssuesAllowance, GetEndUserEvmSwapPrice200IssuesBalance } from '@coinbase/cdp-api-client';
2
2
  import { TransactionSerializableEIP1559 } from 'viem';
3
3
  export {
4
4
  /** The API error class */
@@ -23,6 +23,8 @@ type MFAMethods,
23
23
  type EndUserEvmAccount,
24
24
  /** Solana account object with address and createdAt */
25
25
  type EndUserSolanaAccount,
26
+ /** Bitcoin HD account object with extendedPublicKey (xpub), network, and addressType */
27
+ type EndUserBtcAccount,
26
28
  /** EVM smart account object with address, ownerAddresses, and createdAt */
27
29
  type EndUserEvmSmartAccount,
28
30
  /** User operation receipt from ERC-4337 */
@@ -189,6 +191,8 @@ export type User = {
189
191
  evmSmartAccountObjects?: EndUserEvmSmartAccount[];
190
192
  /** The Solana account objects associated with the user. Users can have up to 10 Solana accounts. */
191
193
  solanaAccountObjects?: EndUserSolanaAccount[];
194
+ /** The Bitcoin HD account objects associated with the user. One per addressType+network combination. */
195
+ btcAccountObjects?: EndUserBtcAccount[];
192
196
  /** The MFA methods enrolled for the user. */
193
197
  mfaMethods?: MFAMethods;
194
198
  /** The date and time when the user was last authenticated, in ISO 8601 format. */
@@ -2,4 +2,4 @@
2
2
  * Current version of @coinbase/cdp-core package.
3
3
  * This file is auto-generated by scripts/sync-versions.js
4
4
  */
5
- export declare const VERSION = "0.0.105";
5
+ export declare const VERSION = "0.0.106";
@@ -0,0 +1,26 @@
1
+ import { EndUserBtcAccount, CreateEndUserBtcAccountBodyAddressType, CreateEndUserBtcAccountBodyNetwork } from '@coinbase/cdp-api-client';
2
+ /**
3
+ * Options for creating a Bitcoin HD (Hierarchical Deterministic) account.
4
+ */
5
+ export type CreateBitcoinAccountOptions = {
6
+ /** The Bitcoin network. Defaults to "bitcoin-testnet". */
7
+ network?: CreateEndUserBtcAccountBodyNetwork;
8
+ /** The Bitcoin address type. Defaults to "segwit" (BIP-84). */
9
+ addressType?: CreateEndUserBtcAccountBodyAddressType;
10
+ /** Optional idempotency key for safe retries. */
11
+ idempotencyKey?: string;
12
+ };
13
+ /**
14
+ * The result of creating a Bitcoin HD account.
15
+ */
16
+ export type CreateBitcoinAccountResult = EndUserBtcAccount;
17
+ /**
18
+ * Creates a Bitcoin HD (Hierarchical Deterministic) account for the current user.
19
+ * The account uses BIP-84 derivation (segwit) and returns an extended public key (xpub)
20
+ * that can be used to derive unlimited child addresses for UTXO discovery.
21
+ *
22
+ * @param options - Options for creating the account.
23
+ * @returns The newly created Bitcoin account (xpub, network, addressType).
24
+ * @throws Error if the user is not signed in or account creation fails.
25
+ */
26
+ export declare function createBitcoinAccount(options?: CreateBitcoinAccountOptions): Promise<CreateBitcoinAccountResult>;
@@ -0,0 +1,49 @@
1
+ import { EvmAddress } from '../types.js';
2
+ /** Request parameters for linkSiwe. */
3
+ export type LinkSiweOptions = {
4
+ /** The ERC-55 checksummed Ethereum address to link to the current user. */
5
+ address: EvmAddress;
6
+ /** The EIP-155 chain ID of the network the user is authenticating on. */
7
+ chainId: number;
8
+ /** The RFC 3986 authority of the application requesting the signature (e.g., the hostname). */
9
+ domain: string;
10
+ /** The RFC 3986 URI of the resource that is the subject of the signing. */
11
+ uri: string;
12
+ /** An optional human-readable ASCII assertion that the user will see when signing. */
13
+ statement?: string;
14
+ /** An optional list of URIs for information or references the user wishes to have resolved as part of authentication. */
15
+ resources?: string[];
16
+ /** Optional idempotency key for safe retries. */
17
+ idempotencyKey?: string;
18
+ };
19
+ /** Result of linkSiwe. */
20
+ export type LinkSiweResult = {
21
+ /** The flow ID to use in verifySiweSignature. */
22
+ flowId: string;
23
+ /** The EIP-4361-formatted SIWE message for the end user to sign with their Ethereum wallet. */
24
+ message: string;
25
+ /** The cryptographic nonce embedded in the message. */
26
+ nonce: string;
27
+ /** The date and time at which the SIWE challenge expires, in ISO 8601 format. */
28
+ expirationTime: string;
29
+ };
30
+ /**
31
+ * Links an Ethereum address to the current user via Sign In With Ethereum (SIWE/EIP-4361).
32
+ * The user must already be signed in. The server returns a pre-formatted SIWE message for the
33
+ * user to sign with their Ethereum wallet. Pass the resulting `flowId` and the wallet signature
34
+ * to `verifySiweSignature` to complete linking.
35
+ *
36
+ * @param options - The options for the link operation.
37
+ * @returns The result of the link initiation, including the SIWE message to sign.
38
+ * @example
39
+ * ```typescript lines
40
+ * const result = await linkSiwe({
41
+ * address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
42
+ * chainId: 1,
43
+ * domain: "example.com",
44
+ * uri: "https://example.com",
45
+ * });
46
+ * // Sign result.message with the user's wallet, then call verifySiweSignature
47
+ * ```
48
+ */
49
+ export declare const linkSiwe: (options: LinkSiweOptions) => Promise<LinkSiweResult>;
@@ -0,0 +1,41 @@
1
+ import { SignBtcHashWithEndUserAccountBodyAddressType, SignBtcHashWithEndUserAccountBodyNetwork, SignBtcHashWithEndUserAccountBodyChange } from '@coinbase/cdp-api-client';
2
+ /**
3
+ * Options for signing a Bitcoin sighash.
4
+ */
5
+ export type SignBitcoinHashOptions = {
6
+ /** The Bitcoin network. Defaults to "bitcoin-testnet". */
7
+ network?: SignBtcHashWithEndUserAccountBodyNetwork;
8
+ /** The Bitcoin address type. Defaults to "segwit". */
9
+ addressType?: SignBtcHashWithEndUserAccountBodyAddressType;
10
+ /** BIP-32 change level: 0 for external (receive) addresses, 1 for internal (change) addresses. */
11
+ change: SignBtcHashWithEndUserAccountBodyChange;
12
+ /** BIP-32 address index — must match the index used to derive the address controlling the UTXO. */
13
+ addressIndex: number;
14
+ /**
15
+ * The 32-byte sighash to sign, as a 64-character hex string (no 0x prefix).
16
+ * Compute this using hashForWitnessV0 for native SegWit P2WPKH inputs.
17
+ */
18
+ hash: string;
19
+ /** Optional idempotency key for safe retries. */
20
+ idempotencyKey?: string;
21
+ };
22
+ /**
23
+ * The result of signing a Bitcoin sighash.
24
+ */
25
+ export type SignBitcoinHashResult = {
26
+ /**
27
+ * The DER-encoded ECDSA signature as a bare hex string (no 0x prefix), 70–72 bytes.
28
+ * To construct the SegWit witness: append 0x01 (SIGHASH_ALL) to get the full sig,
29
+ * then push [fullSig, compressedPubKey] onto the witness stack.
30
+ */
31
+ signature: string;
32
+ };
33
+ /**
34
+ * Signs a 32-byte Bitcoin sighash using the end user's HD wallet child key.
35
+ * One call is required per UTXO input in the transaction.
36
+ *
37
+ * @param options - The signing options including derivation path and sighash.
38
+ * @returns The DER-encoded ECDSA signature (hex, no 0x prefix).
39
+ * @throws Error if the user is not signed in or signing fails.
40
+ */
41
+ export declare const signBitcoinHash: (options: SignBitcoinHashOptions) => Promise<SignBitcoinHashResult>;
@@ -1,4 +1,4 @@
1
- import { EndUser, EndUserEvmAccount, EndUserEvmSmartAccount, EndUserSolanaAccount, MFAMethods } from '@coinbase/cdp-api-client';
1
+ import { EndUser, EndUserEvmAccount, EndUserEvmSmartAccount, EndUserSolanaAccount, EndUserBtcAccount, MFAMethods } from '@coinbase/cdp-api-client';
2
2
  import { AuthState } from './types.js';
3
3
  import { AuthenticationMethods } from '../types.js';
4
4
  /**
@@ -16,6 +16,7 @@ export declare const toAuthStateUser: (endUser: EndUser) => {
16
16
  evmAccountObjects: EndUserEvmAccount[];
17
17
  evmSmartAccountObjects: EndUserEvmSmartAccount[];
18
18
  solanaAccountObjects: EndUserSolanaAccount[];
19
+ btcAccountObjects: EndUserBtcAccount[] | undefined;
19
20
  authenticationMethods: AuthenticationMethods;
20
21
  mfaMethods: MFAMethods | undefined;
21
22
  lastAuthenticatedAt: string | undefined;
@@ -11,6 +11,7 @@ export { linkEmail } from './actions/linkEmail.js';
11
11
  export { linkOAuth } from './actions/linkOAuth.js';
12
12
  export { linkApple } from './actions/linkApple.js';
13
13
  export { linkTelegram } from './actions/linkTelegram.js';
14
+ export { linkSiwe, type LinkSiweOptions, type LinkSiweResult } from './actions/linkSiwe.js';
14
15
  export { createEvmEoaAccount, type CreateEvmEoaAccountOptions, } from './actions/createEvmEoaAccount.js';
15
16
  export { createEvmSmartAccount, type CreateEvmSmartAccountOptions, } from './actions/createEvmSmartAccount.js';
16
17
  export { createEvmEip7702Delegation, type CreateEvmEip7702DelegationOptions, type CreateEvmEip7702DelegationResult, } from './actions/createEvmEip7702Delegation.js';
@@ -25,6 +26,8 @@ export { createDelegationForAccount, type CreateDelegationForAccountOptions, typ
25
26
  export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
26
27
  export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
27
28
  export { createSolanaAccount, type CreateSolanaAccountOptions, } from './actions/createSolanaAccount.js';
29
+ export { createBitcoinAccount, type CreateBitcoinAccountOptions, type CreateBitcoinAccountResult, } from './actions/createBitcoinAccount.js';
30
+ export { signBitcoinHash, type SignBitcoinHashOptions, type SignBitcoinHashResult, } from './actions/signBitcoinHash.js';
28
31
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
29
32
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';
30
33
  export { sendSolanaUsdc, type SendSolanaUsdcOptions, type SendSolanaUsdcResult, type SendSolanaUsdcNetwork, } from './actions/sendSolanaUsdc.js';
@@ -15,6 +15,7 @@ export { linkSms } from './actions/linkSms.js';
15
15
  export { linkEmail } from './actions/linkEmail.js';
16
16
  export { linkOAuth } from './actions/linkOAuth.js';
17
17
  export { linkApple } from './actions/linkApple.js';
18
+ export { linkSiwe, type LinkSiweOptions, type LinkSiweResult } from './actions/linkSiwe.js';
18
19
  export { createEvmEoaAccount } from './actions/createEvmEoaAccount.js';
19
20
  export { createEvmSmartAccount, type CreateEvmSmartAccountOptions, } from './actions/createEvmSmartAccount.js';
20
21
  export { createEvmEip7702Delegation, type CreateEvmEip7702DelegationOptions, type CreateEvmEip7702DelegationResult, } from './actions/createEvmEip7702Delegation.js';
@@ -29,6 +30,8 @@ export { createDelegationForAccount, type CreateDelegationForAccountOptions, typ
29
30
  export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
30
31
  export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
31
32
  export { createSolanaAccount } from './actions/createSolanaAccount.js';
33
+ export { createBitcoinAccount, type CreateBitcoinAccountOptions, type CreateBitcoinAccountResult, } from './actions/createBitcoinAccount.js';
34
+ export { signBitcoinHash, type SignBitcoinHashOptions, type SignBitcoinHashResult, } from './actions/signBitcoinHash.js';
32
35
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
33
36
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';
34
37
  export { sendSolanaUsdc, type SendSolanaUsdcOptions, type SendSolanaUsdcResult, type SendSolanaUsdcNetwork, } from './actions/sendSolanaUsdc.js';
@@ -15,6 +15,7 @@ export { linkSms } from './actions/linkSms.js';
15
15
  export { linkEmail } from './actions/linkEmail.js';
16
16
  export { linkOAuth } from './actions/linkOAuth.js';
17
17
  export { linkApple } from './actions/linkApple.js';
18
+ export { linkSiwe, type LinkSiweOptions, type LinkSiweResult } from './actions/linkSiwe.js';
18
19
  export { createEvmEoaAccount } from './actions/createEvmEoaAccount.js';
19
20
  export { createEvmSmartAccount, type CreateEvmSmartAccountOptions, } from './actions/createEvmSmartAccount.js';
20
21
  export { createEvmEip7702Delegation, type CreateEvmEip7702DelegationOptions, type CreateEvmEip7702DelegationResult, } from './actions/createEvmEip7702Delegation.js';
@@ -29,6 +30,8 @@ export { createDelegationForAccount, type CreateDelegationForAccountOptions, typ
29
30
  export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
30
31
  export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
31
32
  export { createSolanaAccount } from './actions/createSolanaAccount.js';
33
+ export { createBitcoinAccount, type CreateBitcoinAccountOptions, type CreateBitcoinAccountResult, } from './actions/createBitcoinAccount.js';
34
+ export { signBitcoinHash, type SignBitcoinHashOptions, type SignBitcoinHashResult, } from './actions/signBitcoinHash.js';
32
35
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
33
36
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';
34
37
  export { sendSolanaUsdc, type SendSolanaUsdcOptions, type SendSolanaUsdcResult, type SendSolanaUsdcNetwork, } from './actions/sendSolanaUsdc.js';
@@ -1,5 +1,6 @@
1
1
  import { createEvmKeyExportIframe, createSolanaKeyExportIframe } from '../actions/createKeyExportIframe.js';
2
2
  import { SignEvmHashOptions, SignEvmHashResult, SignEvmTransactionOptions, SignEvmTransactionResult, SignSolanaTransactionOptions, SignSolanaTransactionResult, SendEvmTransactionOptions, SendEvmTransactionResult, SendSolanaTransactionOptions, SendSolanaTransactionResult, SignEvmMessageOptions, SignSolanaMessageOptions, SignSolanaMessageResult, SignEvmTypedDataOptions, SignEvmTypedDataResult, SendUserOperationOptions, SendUserOperationResult, ExportEvmAccountOptions, ExportEvmAccountResult, ExportSolanaAccountOptions, ExportSolanaAccountResult } from '../types.js';
3
+ import { SignBitcoinHashOptions, SignBitcoinHashResult } from '../actions/signBitcoinHash.js';
3
4
  /**
4
5
  * Map of MFA-protected functions to ensure type safety.
5
6
  * If a function is renamed, the import will fail and this file won't compile.
@@ -18,6 +19,7 @@ export declare const MFA_PROTECTED_FUNCTIONS: {
18
19
  readonly sendUserOperation: (options: SendUserOperationOptions) => Promise< SendUserOperationResult>;
19
20
  readonly exportEvmAccount: (options: ExportEvmAccountOptions) => Promise< ExportEvmAccountResult>;
20
21
  readonly exportSolanaAccount: (options: ExportSolanaAccountOptions) => Promise< ExportSolanaAccountResult>;
22
+ readonly signBitcoinHash: (options: SignBitcoinHashOptions) => Promise< SignBitcoinHashResult>;
21
23
  readonly createEvmKeyExportIframe: typeof createEvmKeyExportIframe;
22
24
  readonly createSolanaKeyExportIframe: typeof createSolanaKeyExportIframe;
23
25
  };