@coinbase/cdp-core 0.0.113 → 0.0.115

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 (413) hide show
  1. package/dist/esm/index.web110.js +2 -2
  2. package/dist/esm/index.web114.js +2 -2
  3. package/dist/esm/index.web126.js +12 -12
  4. package/dist/esm/index.web127.js +3 -3
  5. package/dist/esm/index.web128.js +2 -31
  6. package/dist/esm/index.web129.js +65 -28
  7. package/dist/esm/index.web130.js +367 -2
  8. package/dist/esm/index.web131.js +28 -65
  9. package/dist/esm/index.web132.js +28 -364
  10. package/dist/esm/index.web133.js +1 -1
  11. package/dist/esm/index.web135.js +4 -4
  12. package/dist/esm/index.web138.js +1 -1
  13. package/dist/esm/index.web139.js +1 -1
  14. package/dist/esm/index.web140.js +2 -2
  15. package/dist/esm/index.web142.js +1 -1
  16. package/dist/esm/index.web143.js +12 -14
  17. package/dist/esm/index.web144.js +11 -28
  18. package/dist/esm/index.web145.js +54 -7
  19. package/dist/esm/index.web146.js +10 -3
  20. package/dist/esm/index.web147.js +2 -29
  21. package/dist/esm/index.web148.js +45 -9
  22. package/dist/esm/index.web149.js +13 -7
  23. package/dist/esm/index.web150.js +2 -81
  24. package/dist/esm/index.web151.js +2 -29
  25. package/dist/esm/index.web152.js +13 -3
  26. package/dist/esm/index.web153.js +55 -15
  27. package/dist/esm/index.web154.js +6 -4
  28. package/dist/esm/index.web155.js +21 -14
  29. package/dist/esm/index.web156.js +16 -18
  30. package/dist/esm/index.web157.js +42 -58
  31. package/dist/esm/index.web158.js +3 -17
  32. package/dist/esm/index.web159.js +3 -23
  33. package/dist/esm/index.web160.js +34 -8
  34. package/dist/esm/index.web161.js +10 -40
  35. package/dist/esm/index.web162.js +4 -7
  36. package/dist/esm/index.web163.js +27 -19
  37. package/dist/esm/index.web164.js +6 -54
  38. package/dist/esm/index.web165.js +32 -10
  39. package/dist/esm/index.web166.js +13 -2
  40. package/dist/esm/index.web167.js +55 -44
  41. package/dist/esm/index.web168.js +42 -13
  42. package/dist/esm/index.web169.js +126 -11
  43. package/dist/esm/index.web170.js +104 -11
  44. package/dist/esm/index.web171.js +7 -2
  45. package/dist/esm/index.web172.js +3 -2
  46. package/dist/esm/index.web173.js +78 -13
  47. package/dist/esm/index.web174.js +2 -56
  48. package/dist/esm/index.web175.js +2 -7
  49. package/dist/esm/index.web176.js +34 -18
  50. package/dist/esm/index.web177.js +5 -16
  51. package/dist/esm/index.web178.js +31 -42
  52. package/dist/esm/index.web179.js +14 -3
  53. package/dist/esm/index.web180.js +34 -3
  54. package/dist/esm/index.web181.js +17 -33
  55. package/dist/esm/index.web182.js +8 -12
  56. package/dist/esm/index.web183.js +10 -4
  57. package/dist/esm/index.web184.js +11 -28
  58. package/dist/esm/index.web185.js +13 -6
  59. package/dist/esm/index.web186.js +5 -32
  60. package/dist/esm/index.web187.js +5 -13
  61. package/dist/esm/index.web188.js +10 -55
  62. package/dist/esm/index.web189.js +14 -42
  63. package/dist/esm/index.web190.js +27 -126
  64. package/dist/esm/index.web191.js +7 -104
  65. package/dist/esm/index.web192.js +3 -6
  66. package/dist/esm/index.web193.js +29 -3
  67. package/dist/esm/index.web194.js +8 -78
  68. package/dist/esm/index.web195.js +8 -2
  69. package/dist/esm/index.web196.js +81 -2
  70. package/dist/esm/index.web197.js +26 -35
  71. package/dist/esm/index.web198.js +3 -6
  72. package/dist/esm/index.web199.js +15 -34
  73. package/dist/esm/index.web200.js +4 -14
  74. package/dist/esm/index.web201.js +14 -34
  75. package/dist/esm/index.web202.js +18 -17
  76. package/dist/esm/index.web203.js +61 -8
  77. package/dist/esm/index.web204.js +17 -10
  78. package/dist/esm/index.web205.js +23 -11
  79. package/dist/esm/index.web206.js +8 -13
  80. package/dist/esm/index.web207.js +42 -5
  81. package/dist/esm/index.web208.js +8 -5
  82. package/dist/esm/index.web209.js +20 -10
  83. package/dist/esm/index.web210.js +39 -2
  84. package/dist/esm/index.web211.js +2 -109
  85. package/dist/esm/index.web212.js +70 -2
  86. package/dist/esm/index.web213.js +34 -7
  87. package/dist/esm/index.web214.js +15 -2
  88. package/dist/esm/index.web215.js +7 -368
  89. package/dist/esm/index.web216.js +2 -827
  90. package/dist/esm/index.web217.js +357 -35
  91. package/dist/esm/index.web218.js +853 -2
  92. package/dist/esm/index.web219.js +107 -68
  93. package/dist/esm/index.web220.js +2 -35
  94. package/dist/esm/index.web221.js +2 -15
  95. package/dist/esm/index.web222.js +102 -19
  96. package/dist/esm/index.web223.js +79 -10
  97. package/dist/esm/index.web224.js +79 -20
  98. package/dist/esm/index.web225.js +20 -93
  99. package/dist/esm/index.web226.js +9 -20
  100. package/dist/esm/index.web227.js +16 -114
  101. package/dist/esm/index.web228.js +89 -99
  102. package/dist/esm/index.web229.js +20 -78
  103. package/dist/esm/index.web230.js +118 -79
  104. package/dist/esm/index.web231.js +2 -47
  105. package/dist/esm/index.web232.js +2 -4
  106. package/dist/esm/index.web233.js +2 -21
  107. package/dist/esm/index.web234.js +21 -2
  108. package/dist/esm/index.web235.js +2 -20
  109. package/dist/esm/index.web236.js +18 -31
  110. package/dist/esm/index.web237.js +2 -2
  111. package/dist/esm/index.web238.js +33 -2
  112. package/dist/esm/index.web239.js +4 -2
  113. package/dist/esm/index.web240.js +47 -2
  114. package/dist/esm/index.web244.js +1 -1
  115. package/dist/esm/index.web247.js +1 -1
  116. package/dist/esm/index.web250.js +78 -14
  117. package/dist/esm/index.web251.js +14 -78
  118. package/dist/esm/index.web3.js +1 -1
  119. package/dist/esm/index.web53.js +40 -35
  120. package/dist/esm/index.web69.js +52 -48
  121. package/dist/esm/index.web87.js +21 -21
  122. package/dist/esm/index.web9.js +1 -1
  123. package/dist/esm/index.web91.js +55 -49
  124. package/dist/esm/index.web92.js +22 -22
  125. package/dist/esm/index.web93.js +2 -1
  126. package/dist/esm/index.web94.js +62 -46
  127. package/dist/esm/index.web97.js +19 -11
  128. package/dist/native/index.native109.js +3 -3
  129. package/dist/native/index.native11.js +1 -1
  130. package/dist/native/index.native112.js +2 -2
  131. package/dist/native/index.native116.js +1 -1
  132. package/dist/native/index.native128.js +12 -12
  133. package/dist/native/index.native129.js +371 -84
  134. package/dist/native/index.native130.js +2 -19
  135. package/dist/native/index.native131.js +63 -20
  136. package/dist/native/index.native132.js +351 -37
  137. package/dist/native/index.native133.js +100 -371
  138. package/dist/native/index.native134.js +12 -12
  139. package/dist/native/index.native135.js +12 -12
  140. package/dist/native/index.native136.js +19 -2
  141. package/dist/native/index.native137.js +20 -63
  142. package/dist/native/index.native138.js +37 -351
  143. package/dist/native/index.native141.js +1 -1
  144. package/dist/native/index.native142.js +1 -1
  145. package/dist/native/index.native143.js +2 -2
  146. package/dist/native/index.native145.js +5 -35
  147. package/dist/native/index.native146.js +35 -67
  148. package/dist/native/index.native147.js +66 -53
  149. package/dist/native/index.native148.js +13 -10
  150. package/dist/native/index.native149.js +28 -2
  151. package/dist/native/index.native150.js +8 -45
  152. package/dist/native/index.native151.js +3 -13
  153. package/dist/native/index.native152.js +27 -4
  154. package/dist/native/index.native153.js +8 -12
  155. package/dist/native/index.native154.js +7 -11
  156. package/dist/native/index.native155.js +72 -6
  157. package/dist/native/index.native156.js +10 -10
  158. package/dist/native/index.native157.js +3 -7
  159. package/dist/native/index.native158.js +14 -3
  160. package/dist/native/index.native159.js +4 -27
  161. package/dist/native/index.native160.js +13 -8
  162. package/dist/native/index.native161.js +19 -7
  163. package/dist/native/index.native162.js +48 -67
  164. package/dist/native/index.native163.js +16 -26
  165. package/dist/native/index.native164.js +23 -3
  166. package/dist/native/index.native165.js +8 -14
  167. package/dist/native/index.native166.js +41 -4
  168. package/dist/native/index.native167.js +7 -13
  169. package/dist/native/index.native168.js +11 -10
  170. package/dist/native/index.native169.js +2 -61
  171. package/dist/native/index.native170.js +2 -18
  172. package/dist/native/index.native171.js +53 -22
  173. package/dist/native/index.native172.js +10 -8
  174. package/dist/native/index.native173.js +2 -42
  175. package/dist/native/index.native174.js +45 -8
  176. package/dist/native/index.native175.js +13 -20
  177. package/dist/native/index.native177.js +5 -5
  178. package/dist/native/index.native178.js +2 -2
  179. package/dist/native/index.native180.js +11 -17
  180. package/dist/native/index.native181.js +16 -44
  181. package/dist/native/index.native182.js +45 -3
  182. package/dist/native/index.native183.js +3 -3
  183. package/dist/native/index.native184.js +3 -34
  184. package/dist/native/index.native185.js +32 -10
  185. package/dist/native/index.native186.js +12 -4
  186. package/dist/native/index.native187.js +4 -28
  187. package/dist/native/index.native188.js +28 -6
  188. package/dist/native/index.native189.js +6 -32
  189. package/dist/native/index.native190.js +31 -11
  190. package/dist/native/index.native191.js +10 -53
  191. package/dist/native/index.native192.js +54 -41
  192. package/dist/native/index.native193.js +42 -127
  193. package/dist/native/index.native194.js +125 -102
  194. package/dist/native/index.native195.js +104 -6
  195. package/dist/native/index.native196.js +7 -3
  196. package/dist/native/index.native197.js +3 -79
  197. package/dist/native/index.native198.js +79 -2
  198. package/dist/native/index.native199.js +2 -2
  199. package/dist/native/index.native200.js +2 -38
  200. package/dist/native/index.native201.js +11 -5
  201. package/dist/native/index.native202.js +32 -29
  202. package/dist/native/index.native203.js +6 -14
  203. package/dist/native/index.native204.js +30 -30
  204. package/dist/native/index.native205.js +14 -18
  205. package/dist/native/index.native206.js +34 -8
  206. package/dist/native/index.native207.js +17 -9
  207. package/dist/native/index.native208.js +8 -11
  208. package/dist/native/index.native209.js +10 -13
  209. package/dist/native/index.native210.js +11 -5
  210. package/dist/native/index.native211.js +14 -5
  211. package/dist/native/index.native212.js +5 -10
  212. package/dist/native/index.native213.js +5 -2
  213. package/dist/native/index.native214.js +11 -2
  214. package/dist/native/index.native215.js +2 -21
  215. package/dist/native/index.native216.js +109 -10
  216. package/dist/native/index.native217.js +2 -20
  217. package/dist/native/index.native218.js +8 -94
  218. package/dist/native/index.native219.js +2 -21
  219. package/dist/native/index.native220.js +353 -110
  220. package/dist/native/index.native221.js +849 -105
  221. package/dist/native/index.native222.js +39 -2
  222. package/dist/native/index.native223.js +2 -2
  223. package/dist/native/index.native224.js +69 -103
  224. package/dist/native/index.native225.js +32 -76
  225. package/dist/native/index.native226.js +14 -78
  226. package/dist/native/index.native227.js +46 -38
  227. package/dist/native/index.native228.js +21 -2
  228. package/dist/native/index.native229.js +10 -70
  229. package/dist/native/index.native230.js +19 -34
  230. package/dist/native/index.native231.js +92 -13
  231. package/dist/native/index.native232.js +21 -8
  232. package/dist/native/index.native233.js +118 -2
  233. package/dist/native/index.native234.js +16 -364
  234. package/dist/native/index.native235.js +2 -827
  235. package/dist/native/index.native236.js +17 -18
  236. package/dist/native/index.native237.js +79 -2
  237. package/dist/native/index.native238.js +102 -18
  238. package/dist/native/index.native239.js +4 -4
  239. package/dist/native/index.native240.js +2 -2
  240. package/dist/native/index.native241.js +74 -42
  241. package/dist/native/index.native242.js +2 -18
  242. package/dist/native/index.native243.js +2 -28
  243. package/dist/native/index.native244.js +2 -8
  244. package/dist/native/index.native245.js +4 -11
  245. package/dist/native/index.native246.js +16 -11
  246. package/dist/native/index.native247.js +28 -10
  247. package/dist/native/index.native248.js +8 -17
  248. package/dist/native/index.native249.js +9 -79
  249. package/dist/native/index.native250.js +13 -2
  250. package/dist/native/index.native251.js +10 -2
  251. package/dist/native/index.native252.js +17 -2
  252. package/dist/native/index.native253.js +80 -3
  253. package/dist/native/index.native255.js +14 -78
  254. package/dist/native/index.native256.js +78 -14
  255. package/dist/native/index.native3.js +1 -1
  256. package/dist/native/index.native55.js +40 -35
  257. package/dist/native/index.native71.js +52 -48
  258. package/dist/native/index.native86.js +1 -1
  259. package/dist/native/index.native89.js +23 -23
  260. package/dist/native/index.native93.js +55 -49
  261. package/dist/native/index.native99.js +19 -11
  262. package/dist/native-types/actions/createKeyExportIframe.d.ts +60 -3
  263. package/dist/native-types/index.d.ts +1 -1
  264. package/dist/native-types/index.web.d.ts +1 -1
  265. package/dist/native-types/secureIframe/data.d.ts +1 -0
  266. package/dist/native-types/secureIframe/index.d.ts +1 -1
  267. package/dist/native-types/secureIframe/types.d.ts +64 -2
  268. package/dist/native-types/secureIframe/utils.d.ts +38 -0
  269. package/dist/native-types/version.d.ts +1 -1
  270. package/dist/types/actions/createKeyExportIframe.d.ts +60 -3
  271. package/dist/types/index.d.ts +1 -1
  272. package/dist/types/index.web.d.ts +1 -1
  273. package/dist/types/secureIframe/data.d.ts +1 -0
  274. package/dist/types/secureIframe/index.d.ts +1 -1
  275. package/dist/types/secureIframe/types.d.ts +64 -2
  276. package/dist/types/secureIframe/utils.d.ts +38 -0
  277. package/dist/types/version.d.ts +1 -1
  278. package/dist/web/index.web110.js +2 -2
  279. package/dist/web/index.web114.js +2 -2
  280. package/dist/web/index.web126.js +12 -12
  281. package/dist/web/index.web127.js +3 -3
  282. package/dist/web/index.web128.js +2 -31
  283. package/dist/web/index.web129.js +65 -28
  284. package/dist/web/index.web130.js +367 -2
  285. package/dist/web/index.web131.js +28 -65
  286. package/dist/web/index.web132.js +28 -364
  287. package/dist/web/index.web133.js +1 -1
  288. package/dist/web/index.web135.js +4 -4
  289. package/dist/web/index.web138.js +1 -1
  290. package/dist/web/index.web139.js +1 -1
  291. package/dist/web/index.web140.js +2 -2
  292. package/dist/web/index.web142.js +1 -1
  293. package/dist/web/index.web143.js +12 -14
  294. package/dist/web/index.web144.js +11 -28
  295. package/dist/web/index.web145.js +54 -7
  296. package/dist/web/index.web146.js +10 -3
  297. package/dist/web/index.web147.js +2 -29
  298. package/dist/web/index.web148.js +45 -9
  299. package/dist/web/index.web149.js +13 -7
  300. package/dist/web/index.web150.js +2 -81
  301. package/dist/web/index.web151.js +2 -29
  302. package/dist/web/index.web152.js +13 -3
  303. package/dist/web/index.web153.js +55 -15
  304. package/dist/web/index.web154.js +6 -4
  305. package/dist/web/index.web155.js +21 -14
  306. package/dist/web/index.web156.js +16 -18
  307. package/dist/web/index.web157.js +42 -58
  308. package/dist/web/index.web158.js +3 -17
  309. package/dist/web/index.web159.js +3 -23
  310. package/dist/web/index.web160.js +34 -8
  311. package/dist/web/index.web161.js +10 -40
  312. package/dist/web/index.web162.js +4 -7
  313. package/dist/web/index.web163.js +27 -19
  314. package/dist/web/index.web164.js +6 -54
  315. package/dist/web/index.web165.js +32 -10
  316. package/dist/web/index.web166.js +13 -2
  317. package/dist/web/index.web167.js +55 -44
  318. package/dist/web/index.web168.js +42 -13
  319. package/dist/web/index.web169.js +126 -11
  320. package/dist/web/index.web170.js +104 -11
  321. package/dist/web/index.web171.js +7 -2
  322. package/dist/web/index.web172.js +3 -2
  323. package/dist/web/index.web173.js +78 -13
  324. package/dist/web/index.web174.js +2 -56
  325. package/dist/web/index.web175.js +2 -7
  326. package/dist/web/index.web176.js +34 -18
  327. package/dist/web/index.web177.js +5 -16
  328. package/dist/web/index.web178.js +31 -42
  329. package/dist/web/index.web179.js +14 -3
  330. package/dist/web/index.web180.js +34 -3
  331. package/dist/web/index.web181.js +17 -33
  332. package/dist/web/index.web182.js +8 -12
  333. package/dist/web/index.web183.js +10 -4
  334. package/dist/web/index.web184.js +11 -28
  335. package/dist/web/index.web185.js +13 -6
  336. package/dist/web/index.web186.js +5 -32
  337. package/dist/web/index.web187.js +5 -13
  338. package/dist/web/index.web188.js +10 -55
  339. package/dist/web/index.web189.js +14 -42
  340. package/dist/web/index.web190.js +27 -126
  341. package/dist/web/index.web191.js +7 -104
  342. package/dist/web/index.web192.js +3 -6
  343. package/dist/web/index.web193.js +29 -3
  344. package/dist/web/index.web194.js +8 -78
  345. package/dist/web/index.web195.js +8 -2
  346. package/dist/web/index.web196.js +81 -2
  347. package/dist/web/index.web197.js +26 -35
  348. package/dist/web/index.web198.js +3 -6
  349. package/dist/web/index.web199.js +15 -34
  350. package/dist/web/index.web200.js +4 -14
  351. package/dist/web/index.web201.js +14 -34
  352. package/dist/web/index.web202.js +18 -17
  353. package/dist/web/index.web203.js +61 -8
  354. package/dist/web/index.web204.js +17 -10
  355. package/dist/web/index.web205.js +23 -11
  356. package/dist/web/index.web206.js +8 -13
  357. package/dist/web/index.web207.js +42 -5
  358. package/dist/web/index.web208.js +8 -5
  359. package/dist/web/index.web209.js +20 -10
  360. package/dist/web/index.web210.js +39 -2
  361. package/dist/web/index.web211.js +2 -109
  362. package/dist/web/index.web212.js +70 -2
  363. package/dist/web/index.web213.js +34 -7
  364. package/dist/web/index.web214.js +15 -2
  365. package/dist/web/index.web215.js +7 -368
  366. package/dist/web/index.web216.js +2 -827
  367. package/dist/web/index.web217.js +357 -35
  368. package/dist/web/index.web218.js +853 -2
  369. package/dist/web/index.web219.js +107 -68
  370. package/dist/web/index.web220.js +2 -35
  371. package/dist/web/index.web221.js +2 -15
  372. package/dist/web/index.web222.js +102 -19
  373. package/dist/web/index.web223.js +79 -10
  374. package/dist/web/index.web224.js +79 -20
  375. package/dist/web/index.web225.js +20 -93
  376. package/dist/web/index.web226.js +9 -20
  377. package/dist/web/index.web227.js +16 -114
  378. package/dist/web/index.web228.js +89 -99
  379. package/dist/web/index.web229.js +20 -78
  380. package/dist/web/index.web230.js +118 -79
  381. package/dist/web/index.web231.js +2 -47
  382. package/dist/web/index.web232.js +2 -4
  383. package/dist/web/index.web233.js +2 -21
  384. package/dist/web/index.web234.js +21 -2
  385. package/dist/web/index.web235.js +2 -20
  386. package/dist/web/index.web236.js +18 -31
  387. package/dist/web/index.web237.js +2 -2
  388. package/dist/web/index.web238.js +33 -2
  389. package/dist/web/index.web239.js +4 -2
  390. package/dist/web/index.web240.js +47 -2
  391. package/dist/web/index.web244.js +1 -1
  392. package/dist/web/index.web247.js +1 -1
  393. package/dist/web/index.web250.js +78 -14
  394. package/dist/web/index.web251.js +14 -78
  395. package/dist/web/index.web3.js +1 -1
  396. package/dist/web/index.web53.js +40 -35
  397. package/dist/web/index.web69.js +52 -48
  398. package/dist/web/index.web87.js +21 -21
  399. package/dist/web/index.web9.js +1 -1
  400. package/dist/web/index.web91.js +55 -49
  401. package/dist/web/index.web92.js +22 -22
  402. package/dist/web/index.web93.js +2 -1
  403. package/dist/web/index.web94.js +62 -46
  404. package/dist/web/index.web97.js +19 -11
  405. package/dist/web-types/actions/createKeyExportIframe.d.ts +60 -3
  406. package/dist/web-types/index.d.ts +1 -1
  407. package/dist/web-types/index.web.d.ts +1 -1
  408. package/dist/web-types/secureIframe/data.d.ts +1 -0
  409. package/dist/web-types/secureIframe/index.d.ts +1 -1
  410. package/dist/web-types/secureIframe/types.d.ts +64 -2
  411. package/dist/web-types/secureIframe/utils.d.ts +38 -0
  412. package/dist/web-types/version.d.ts +1 -1
  413. package/package.json +2 -2
@@ -2,50 +2,52 @@ import { Analytics as m } from "./index.native2.js";
2
2
  import "./index.native3.js";
3
3
  import { getCurrentUserSync as u } from "./index.native46.js";
4
4
  import { sendEvmEoaUsdc as l } from "./index.native68.js";
5
- import { sendEvmSmartAccountUsdc as f } from "./index.native69.js";
6
- import { sendSolanaUsdc as w } from "./index.native70.js";
7
- const C = async (t) => {
5
+ import { sendEvmSmartAccountUsdc as w } from "./index.native69.js";
6
+ import { sendSolanaUsdc as f } from "./index.native70.js";
7
+ const $ = async (t) => {
8
8
  m.sendActionCallEvent({ name: "send_usdc" });
9
- const { to: a, amount: o } = t, r = u();
9
+ const { to: o, amount: a } = t, r = u();
10
10
  if (!r)
11
11
  throw new Error("User must be authenticated to send USDC");
12
- const e = "from" in t && t.from ? t.from : v(r), n = t.network, { fromIsSolana: s } = E(e, a);
13
- return A(n, s), y(r, e, s), s ? {
12
+ const e = "from" in t && t.from ? t.from : v(r), s = t.network, { fromIsSolana: n } = E(e, o);
13
+ return A(s, n), y(r, e, n), n ? {
14
14
  type: "solana",
15
- transactionSignature: (await w({
15
+ transactionSignature: (await f({
16
16
  solanaAccount: e,
17
- to: a,
18
- amount: o,
19
- network: n,
17
+ to: o,
18
+ amount: a,
19
+ network: s,
20
20
  createRecipientAta: "createRecipientAta" in t ? t.createRecipientAta : void 0,
21
21
  idempotencyKey: t.idempotencyKey
22
22
  })).transactionSignature,
23
23
  from: e,
24
- network: n
25
- } : r.evmAccountObjects?.some((c) => c.address === e) ? {
24
+ network: s
25
+ } : r.evmAccountObjects?.some(
26
+ (c) => c.address.toLowerCase() === e.toLowerCase()
27
+ ) ? {
26
28
  type: "evm-eoa",
27
29
  transactionHash: (await l({
28
30
  evmAccount: e,
29
- to: a,
30
- amount: o,
31
- network: n,
31
+ to: o,
32
+ amount: a,
33
+ network: s,
32
34
  idempotencyKey: t.idempotencyKey
33
35
  })).transactionHash,
34
36
  from: e,
35
- network: n
37
+ network: s
36
38
  } : {
37
39
  type: "evm-smart",
38
- userOpHash: (await f({
40
+ userOpHash: (await w({
39
41
  evmSmartAccount: e,
40
- to: a,
41
- amount: o,
42
- network: n,
42
+ to: o,
43
+ amount: a,
44
+ network: s,
43
45
  useCdpPaymaster: "useCdpPaymaster" in t ? t.useCdpPaymaster : void 0,
44
46
  paymasterUrl: "paymasterUrl" in t ? t.paymasterUrl : void 0,
45
47
  idempotencyKey: t.idempotencyKey
46
48
  })).userOpHash,
47
49
  from: e,
48
- network: n
50
+ network: s
49
51
  };
50
52
  };
51
53
  function i(t) {
@@ -58,26 +60,26 @@ function h(t) {
58
60
  return t === "solana" || t === "solana-devnet";
59
61
  }
60
62
  function v(t) {
61
- const a = t.solanaAccountObjects?.length || 0, o = t.evmSmartAccountObjects?.length || 0, r = t.evmAccountObjects?.length || 0, e = o > 0 || r > 0, n = a > 0;
62
- if (!e && !n)
63
+ const o = t.solanaAccountObjects?.length || 0, a = t.evmSmartAccountObjects?.length || 0, r = t.evmAccountObjects?.length || 0, e = a > 0 || r > 0, s = o > 0;
64
+ if (!e && !s)
63
65
  throw new Error(
64
66
  "No accounts available. User must have at least one Solana, EVM Smart Account, or EVM Account."
65
67
  );
66
- if (e && n)
68
+ if (e && s)
67
69
  throw new Error(
68
70
  "Multiple account types detected (EVM and Solana). Please specify 'from' address to select which account to send from."
69
71
  );
70
72
  if (e) {
71
- if (o === 1 && r === 1)
73
+ if (a === 1 && r === 1)
72
74
  return t.evmSmartAccountObjects[0].address;
73
- if (r === 1 && o === 0)
75
+ if (r === 1 && a === 0)
74
76
  return t.evmAccountObjects[0].address;
75
77
  throw new Error(
76
78
  "Multiple EVM accounts available. Please specify 'from' address to select which account to send from."
77
79
  );
78
80
  }
79
- if (n) {
80
- if (a === 1)
81
+ if (s) {
82
+ if (o === 1)
81
83
  return t.solanaAccountObjects[0].address;
82
84
  throw new Error(
83
85
  "Multiple Solana accounts available. Please specify 'from' address to select which account to send from."
@@ -85,35 +87,37 @@ function v(t) {
85
87
  }
86
88
  throw new Error("Unable to auto-select account");
87
89
  }
88
- function E(t, a) {
89
- const o = i(t), r = d(t), e = i(a), n = d(a);
90
- if (!o && !r)
90
+ function E(t, o) {
91
+ const a = i(t), r = d(t), e = i(o), s = d(o);
92
+ if (!a && !r)
91
93
  throw new Error(`Invalid 'from' address format: ${t}`);
92
- if (!e && !n)
93
- throw new Error(`Invalid 'to' address format: ${a}`);
94
- if (o !== e)
94
+ if (!e && !s)
95
+ throw new Error(`Invalid 'to' address format: ${o}`);
96
+ if (a !== e)
95
97
  throw new Error(
96
- `Address type mismatch: 'from' is ${o ? "Solana" : "EVM"} but 'to' is ${e ? "Solana" : "EVM"}`
98
+ `Address type mismatch: 'from' is ${a ? "Solana" : "EVM"} but 'to' is ${e ? "Solana" : "EVM"}`
97
99
  );
98
- return { fromIsSolana: o, fromIsEvm: r };
100
+ return { fromIsSolana: a, fromIsEvm: r };
99
101
  }
100
- function A(t, a) {
101
- const o = h(t);
102
- if (a && !o)
102
+ function A(t, o) {
103
+ const a = h(t);
104
+ if (o && !a)
103
105
  throw new Error(`Network mismatch: Solana address provided but network is ${t}`);
104
- if (!a && o)
106
+ if (!o && a)
105
107
  throw new Error(`Network mismatch: EVM address provided but network is ${t}`);
106
108
  }
107
- function y(t, a, o) {
108
- if (o) {
109
- if (!t.solanaAccountObjects?.some((e) => e.address === a))
110
- throw new Error(`User does not own Solana account: ${a}`);
109
+ function y(t, o, a) {
110
+ if (a) {
111
+ if (!t.solanaAccountObjects?.some((e) => e.address === o))
112
+ throw new Error(`User does not own Solana account: ${o}`);
111
113
  } else {
112
- const r = t.evmAccountObjects?.some((n) => n.address === a), e = t.evmSmartAccountObjects?.some((n) => n.address === a);
113
- if (!r && !e)
114
- throw new Error(`User does not own EVM account: ${a}`);
114
+ const r = o.toLowerCase(), e = t.evmAccountObjects?.some((n) => n.address.toLowerCase() === r), s = t.evmSmartAccountObjects?.some(
115
+ (n) => n.address.toLowerCase() === r
116
+ );
117
+ if (!e && !s)
118
+ throw new Error(`User does not own EVM account: ${o}`);
115
119
  }
116
120
  }
117
121
  export {
118
- C as sendUsdc
122
+ $ as sendUsdc
119
123
  };
@@ -1,4 +1,4 @@
1
- import { createSolanaKeyExportIframe as t, createEvmKeyExportIframe as m } from "./index.native129.js";
1
+ import { createSolanaKeyExportIframe as t, createEvmKeyExportIframe as m } from "./index.native133.js";
2
2
  import { signBitcoinHash as i } from "./index.native67.js";
3
3
  import "@coinbase/cdp-api-client";
4
4
  import "./index.native2.js";
@@ -1,28 +1,28 @@
1
- import { hashTypedData as c, serializeErc6492Signature as m, encodeFunctionData as u, pad as g, getTypesForEIP712Domain as p, hashMessage as A } from "viem";
2
- import { getCurrentUserSync as d } from "./index.native46.js";
1
+ import { hashTypedData as m, serializeErc6492Signature as u, encodeFunctionData as g, pad as d, getTypesForEIP712Domain as A, hashMessage as p } from "viem";
2
+ import { getCurrentUserSync as l } from "./index.native46.js";
3
3
  import "@coinbase/cdp-api-client";
4
4
  import "./index.native2.js";
5
5
  import "./index.native3.js";
6
6
  import "jose";
7
7
  import "./index.native100.js";
8
- import { signEvmHash as s } from "./index.native30.js";
8
+ import { signEvmHash as i } from "./index.native30.js";
9
9
  import { signEvmTransaction as h } from "./index.native31.js";
10
- import { signEvmMessage as l } from "./index.native32.js";
11
- import { signEvmTypedData as f } from "./index.native33.js";
10
+ import { signEvmMessage as f } from "./index.native32.js";
11
+ import { signEvmTypedData as y } from "./index.native33.js";
12
12
  import "./index.native101.js";
13
13
  import "@solana/web3.js";
14
14
  import "bs58";
15
- import { COINBASE_SMART_WALLET_FACTORY_ADDRESS as y, COINBASE_SMART_WALLET_FACTORY_ABI as v } from "./index.native110.js";
15
+ import { COINBASE_SMART_WALLET_FACTORY_ADDRESS as v, COINBASE_SMART_WALLET_FACTORY_ABI as w } from "./index.native110.js";
16
16
  import { signAndWrapTypedDataForSmartAccount as E } from "./index.native111.js";
17
17
  import { toAccount as T } from "./index.native112.js";
18
- function B(r) {
19
- const o = d();
18
+ function W(r) {
19
+ const o = l();
20
20
  if (!o || !o.evmAccountObjects?.length && !o.evmSmartAccountObjects?.length)
21
21
  throw new Error(
22
22
  "No accounts found - user must be authenticated and have at least one EVM account or smart account"
23
23
  );
24
- const i = o.evmAccountObjects?.some((e) => e.address === r) ?? !1, a = o.evmSmartAccountObjects?.some((e) => e.address === r) ?? !1;
25
- if (!i && !a)
24
+ const s = r.toLowerCase(), c = o.evmAccountObjects?.some((e) => e.address.toLowerCase() === s) ?? !1, a = o.evmSmartAccountObjects?.some((e) => e.address.toLowerCase() === s) ?? !1;
25
+ if (!c && !a)
26
26
  throw new Error(`Cannot sign for address ${r} - not authorized for this account`);
27
27
  return T({
28
28
  address: r,
@@ -37,13 +37,13 @@ function B(r) {
37
37
  async signMessage({ message: e }) {
38
38
  let t;
39
39
  if (typeof e == "string")
40
- t = (await l({
40
+ t = (await f({
41
41
  evmAccount: r,
42
42
  message: e
43
43
  })).signature;
44
44
  else if ("raw" in e) {
45
- const n = A(e);
46
- t = (await s({
45
+ const n = p(e);
46
+ t = (await i({
47
47
  evmAccount: r,
48
48
  hash: n
49
49
  })).signature;
@@ -85,15 +85,15 @@ function B(r) {
85
85
  const t = await E({
86
86
  smartAccount: r,
87
87
  ownerAddress: o.evmAccountObjects?.[0]?.address,
88
- hash: c(e),
88
+ hash: m(e),
89
89
  chainId: Number(e.domain.chainId)
90
90
  });
91
- return m({
92
- address: y,
93
- data: u({
94
- abi: v,
91
+ return u({
92
+ address: v,
93
+ data: g({
94
+ abi: w,
95
95
  functionName: "createAccount",
96
- args: [[g(o.evmAccountObjects?.[0]?.address)], 0n]
96
+ args: [[d(o.evmAccountObjects?.[0]?.address)], 0n]
97
97
  }),
98
98
  signature: t.signature
99
99
  });
@@ -101,7 +101,7 @@ function B(r) {
101
101
  const t = {
102
102
  domain: e.domain,
103
103
  types: {
104
- EIP712Domain: p({
104
+ EIP712Domain: A({
105
105
  domain: e.domain
106
106
  }),
107
107
  ...e.types
@@ -109,7 +109,7 @@ function B(r) {
109
109
  primaryType: e.primaryType,
110
110
  message: e.message
111
111
  };
112
- return (await f({
112
+ return (await y({
113
113
  evmAccount: r,
114
114
  typedData: t
115
115
  })).signature;
@@ -122,7 +122,7 @@ function B(r) {
122
122
  * @returns The signature as a hex string
123
123
  */
124
124
  async sign(e) {
125
- return (await s({
125
+ return (await i({
126
126
  evmAccount: r,
127
127
  hash: e.hash
128
128
  })).signature;
@@ -130,5 +130,5 @@ function B(r) {
130
130
  });
131
131
  }
132
132
  export {
133
- B as toViemAccount
133
+ W as toViemAccount
134
134
  };
@@ -9,7 +9,7 @@ import { getCurrentUser as u } from "./index.native23.js";
9
9
  import "./index.native101.js";
10
10
  import "@solana/web3.js";
11
11
  import "bs58";
12
- const r = {
12
+ const n = {
13
13
  rpc: {
14
14
  invalidInput: -32e3,
15
15
  resourceNotFound: -32001,
@@ -32,7 +32,7 @@ const r = {
32
32
  unsupportedChain: 4902
33
33
  }
34
34
  };
35
- class o extends Error {
35
+ class s extends Error {
36
36
  /**
37
37
  * The error code from EIP1193ErrorCode enum.
38
38
  */
@@ -43,8 +43,8 @@ class o extends Error {
43
43
  * @param code - The error code from EIP1193ErrorCode enum.
44
44
  * @param message - The error message.
45
45
  */
46
- constructor(t, n) {
47
- super(n), this.code = t;
46
+ constructor(t, r) {
47
+ super(r), this.code = t;
48
48
  }
49
49
  }
50
50
  class c extends Error {
@@ -58,8 +58,8 @@ class c extends Error {
58
58
  * @param code - The error code from RPCErrorCode type.
59
59
  * @param message - The error message.
60
60
  */
61
- constructor(t, n) {
62
- super(n), this.code = t;
61
+ constructor(t, r) {
62
+ super(r), this.code = t;
63
63
  }
64
64
  }
65
65
  const p = /* @__PURE__ */ new Set([
@@ -76,83 +76,89 @@ const p = /* @__PURE__ */ new Set([
76
76
  "wallet_getCallsStatus",
77
77
  "wallet_getCapabilities"
78
78
  ]);
79
- function R(e, { chains: t }) {
80
- const { method: n, params: i } = e;
81
- if (typeof n != "string" || n.length === 0)
79
+ function b(e, { chains: t }) {
80
+ const { method: r, params: o } = e;
81
+ if (typeof r != "string" || r.length === 0)
82
82
  throw new c(
83
- r.rpc.invalidParams,
83
+ n.rpc.invalidParams,
84
84
  "'method' must be a non-empty string."
85
85
  );
86
- const a = (i ?? [])[0]?.chainId;
87
- if (typeof a == "string" && !t.some((d) => d.id === Number.parseInt(a, 16)))
88
- throw new o(
89
- r.provider.unsupportedChain,
86
+ const a = (o ?? [])[0]?.chainId;
87
+ if (typeof a == "string" && !t.some((i) => i.id === Number.parseInt(a, 16)))
88
+ throw new s(
89
+ n.provider.unsupportedChain,
90
90
  `Chain ${a} not supported - make sure the provider is configured with the correct chains.`
91
91
  );
92
- if (i !== void 0 && !Array.isArray(i))
92
+ if (o !== void 0 && !Array.isArray(o))
93
93
  throw new c(
94
- r.rpc.invalidParams,
94
+ n.rpc.invalidParams,
95
95
  "'params' must be an array if provided."
96
96
  );
97
- if (!p.has(n))
98
- throw new o(
99
- r.provider.unsupportedMethod,
97
+ if (!p.has(r))
98
+ throw new s(
99
+ n.provider.unsupportedMethod,
100
100
  `Method ${e.method} not supported`
101
101
  );
102
102
  }
103
- async function s() {
103
+ async function d() {
104
104
  const e = await u();
105
105
  if (!e)
106
- throw new o(
107
- r.provider.unauthorized,
106
+ throw new s(
107
+ n.provider.unauthorized,
108
108
  "User not connected"
109
109
  );
110
110
  return e;
111
111
  }
112
- async function g(e) {
113
- const t = await s();
114
- if (!t.evmAccounts?.includes(e) && !t.evmSmartAccounts?.includes(e))
115
- throw new o(
116
- r.provider.unauthorized,
112
+ async function O(e) {
113
+ const t = await d(), r = e.toLowerCase(), o = t.evmAccountObjects?.some(
114
+ (i) => i.address.toLowerCase() === r
115
+ ), a = t.evmSmartAccountObjects?.some(
116
+ (i) => i.address.toLowerCase() === r
117
+ );
118
+ if (!o && !a)
119
+ throw new s(
120
+ n.provider.unauthorized,
117
121
  "Address not owned by user"
118
122
  );
119
123
  return t;
120
124
  }
121
- async function C(e) {
122
- const t = await s();
123
- if (!t.evmAccounts?.includes(e))
124
- throw new o(
125
- r.provider.unauthorized,
125
+ async function S(e) {
126
+ const t = await d(), r = e.toLowerCase();
127
+ if (!t.evmAccountObjects?.some((o) => o.address.toLowerCase() === r))
128
+ throw new s(
129
+ n.provider.unauthorized,
126
130
  "EOA not owned by user"
127
131
  );
128
132
  return t;
129
133
  }
130
- async function b(e) {
131
- const t = await s();
132
- if (!t.evmSmartAccounts?.includes(e))
133
- throw new o(
134
- r.provider.unauthorized,
134
+ async function R(e) {
135
+ const t = await d(), r = e.toLowerCase();
136
+ if (!t.evmSmartAccountObjects?.some(
137
+ (o) => o.address.toLowerCase() === r
138
+ ))
139
+ throw new s(
140
+ n.provider.unauthorized,
135
141
  "Smart account not owned by user"
136
142
  );
137
143
  return t;
138
144
  }
139
- async function O() {
140
- const e = await s();
145
+ async function g() {
146
+ const e = await d();
141
147
  if (!e.evmSmartAccountObjects?.[0])
142
- throw new o(
143
- r.provider.unauthorized,
148
+ throw new s(
149
+ n.provider.unauthorized,
144
150
  "No EVM smart accounts available"
145
151
  );
146
152
  return e;
147
153
  }
148
154
  export {
149
- o as EIP1193ProviderError,
155
+ s as EIP1193ProviderError,
150
156
  c as RPCRequestError,
151
- r as STANDARD_ERROR_CODES,
152
- R as validateRequest,
153
- s as validateUserConnected,
154
- O as validateUserHasEvmSmartAccount,
155
- g as validateUserOwnsAddress,
156
- C as validateUserOwnsEOA,
157
- b as validateUserOwnsSmartAccount
157
+ n as STANDARD_ERROR_CODES,
158
+ b as validateRequest,
159
+ d as validateUserConnected,
160
+ g as validateUserHasEvmSmartAccount,
161
+ O as validateUserOwnsAddress,
162
+ S as validateUserOwnsEOA,
163
+ R as validateUserOwnsSmartAccount
158
164
  };
@@ -1,20 +1,28 @@
1
1
  import "@coinbase/cdp-api-client";
2
2
  import "viem";
3
- const u = async (c) => await c.isSignedIn();
4
- async function A(c, a, r) {
3
+ const u = async (t) => await t.isSignedIn();
4
+ async function i(t, a, r) {
5
5
  if (!await u(a))
6
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)))
7
+ const c = a.getUser();
8
+ if ("evmAccount" in t) {
9
+ const o = t.evmAccount.toLowerCase();
10
+ if (!(c.evmAccounts?.find((n) => n.toLowerCase() === o) || c.evmAccountObjects?.find((n) => n.address.toLowerCase() === o)))
11
+ throw new Error("EVM account not found");
12
+ }
13
+ if ("evmSmartAccount" in t) {
14
+ const o = t.evmSmartAccount.toLowerCase();
15
+ if (!(c.evmSmartAccounts?.find((n) => n.toLowerCase() === o) || c.evmSmartAccountObjects?.find(
16
+ (n) => n.address.toLowerCase() === o
17
+ )))
18
+ throw new Error("EVM Smart Account not found");
19
+ }
20
+ if ("solanaAccount" in t && !(c.solanaAccounts?.find((e) => e === t.solanaAccount) || c.solanaAccountObjects?.find((e) => e.address === t.solanaAccount)))
13
21
  throw new Error("Solana account not found");
14
- const e = await a.getWalletSecretId();
15
- return r({ ...c, user: t, walletSecretId: e });
22
+ const s = await a.getWalletSecretId();
23
+ return r({ ...t, user: c, walletSecretId: s });
16
24
  }
17
25
  export {
18
26
  u as isSignedIn,
19
- A as withAuth
27
+ i as withAuth
20
28
  };
@@ -1,4 +1,15 @@
1
- import { SecureIframeStatus, SecureIframeTheme } from '../secureIframe/types.js';
1
+ import { SecureIframeAction, SecureIframeOperation, SecureIframeStatus, SecureIframeTheme } from '../secureIframe/types.js';
2
+ /**
3
+ * Extra details that accompany a status update.
4
+ */
5
+ export interface SecureIframeStatusDetails {
6
+ /** Which action the status refers to (copy or eject). */
7
+ operation?: SecureIframeOperation;
8
+ /** The backend error type, set only for API-backed error statuses. */
9
+ errorType?: string;
10
+ /** The backend correlation ID, useful for support. */
11
+ correlationId?: string;
12
+ }
2
13
  /**
3
14
  * Options for setting up a key export iframe.
4
15
  */
@@ -17,27 +28,67 @@ export interface CreateKeyExportIframeOptions {
17
28
  */
18
29
  projectId: string;
19
30
  /**
20
- * The label for the button displayed in the iframe.
31
+ * Which button to render initially: "copy" (default) or "eject". When
32
+ * "eject", the iframe renders the eject button immediately (after validating
33
+ * the account is exportable) instead of the copy button.
34
+ *
35
+ * @default "copy"
36
+ */
37
+ action?: SecureIframeAction;
38
+ /**
39
+ * The label for the copy button displayed in the iframe.
21
40
  */
22
41
  label?: string;
23
42
  /**
24
43
  * The label to display when the key is copied successfully.
25
44
  */
26
45
  copiedLabel?: string;
46
+ /**
47
+ * The label for the eject button. Defaults to "Eject wallet"; pass an empty
48
+ * string for an icon-only button.
49
+ */
50
+ ejectLabel?: string;
51
+ /**
52
+ * The label for the eject button while ejection is in progress. Defaults to
53
+ * "Ejecting…".
54
+ */
55
+ ejectingLabel?: string;
56
+ /**
57
+ * The label for the eject button once the account has been ejected. Defaults
58
+ * to "Ejected".
59
+ */
60
+ ejectedLabel?: string;
27
61
  /**
28
62
  * Whether to show an icon in the button.
29
63
  *
30
64
  * @default true
31
65
  */
32
66
  icon?: boolean;
67
+ /**
68
+ * Whether to show an icon on the eject button specifically. Falls back to
69
+ * `icon` when unset, so `icon: true, ejectIcon: false` shows an icon on copy
70
+ * but not on eject (useful since the eject glyph is less widely recognized).
71
+ */
72
+ ejectIcon?: boolean;
73
+ /**
74
+ * Whether the button should be full width.
75
+ *
76
+ * @default true
77
+ */
78
+ fullWidth?: boolean;
33
79
  /**
34
80
  * Theme overrides for the iframe button.
35
81
  */
36
82
  theme?: Partial<SecureIframeTheme>;
37
83
  /**
38
84
  * Callback invoked when the iframe status changes.
85
+ *
86
+ * @param status - The new status.
87
+ * @param message - Human-readable error message, set only for error statuses.
88
+ * @param details - Extra details: the operation (copy/eject) and, for API
89
+ * errors, the errorType and correlationId.
39
90
  */
40
- onStatusUpdate?: (status: SecureIframeStatus, message?: string) => void;
91
+ onStatusUpdate?: (status: SecureIframeStatus, message?: string, details?: SecureIframeStatusDetails) => void;
41
92
  }
42
93
  /**
43
94
  * Result of setting up a key export iframe.
@@ -55,6 +106,12 @@ export interface CreateKeyExportIframeResult {
55
106
  * Function to update the theme of the iframe.
56
107
  */
57
108
  updateTheme: (theme: Partial<SecureIframeTheme>) => void;
109
+ /**
110
+ * Function to reveal the eject button at runtime — e.g. after the consumer's
111
+ * own UI confirms the user has stored their copied key in the copy -> eject
112
+ * flow. Not needed when the iframe was created with `action: "eject"`.
113
+ */
114
+ showEject: () => void;
58
115
  }
59
116
  /**
60
117
  * Sets up a secure iframe for exporting EVM private keys.
@@ -59,6 +59,6 @@ export { createCDPEmbeddedWallet } from './eip1193/createCDPEmbeddedWallet.js';
59
59
  export { EIP1193ProviderError, type EIP1193ErrorCode, type RPCErrorCode, STANDARD_ERROR_CODES, } from './eip1193/errors.js';
60
60
  export * from './eip1193/types.js';
61
61
  export * from './secureIframe/index.js';
62
- export { createEvmKeyExportIframe, createSolanaKeyExportIframe, type CreateKeyExportIframeOptions, type CreateKeyExportIframeResult, } from './actions/createKeyExportIframe.js';
62
+ export { createEvmKeyExportIframe, createSolanaKeyExportIframe, type CreateKeyExportIframeOptions, type CreateKeyExportIframeResult, type SecureIframeStatusDetails, } from './actions/createKeyExportIframe.js';
63
63
  export { getConfig } from './state.js';
64
64
  export { toTransactionSigner } from './solana-kit/toTransactionSigner.js';
@@ -63,6 +63,6 @@ export { createCDPEmbeddedWallet } from './eip1193/createCDPEmbeddedWallet.js';
63
63
  export { EIP1193ProviderError, type EIP1193ErrorCode, type RPCErrorCode, STANDARD_ERROR_CODES, } from './eip1193/errors.js';
64
64
  export * from './eip1193/types.js';
65
65
  export * from './secureIframe/index.js';
66
- export { createEvmKeyExportIframe, createSolanaKeyExportIframe, type CreateKeyExportIframeOptions, type CreateKeyExportIframeResult, } from './actions/createKeyExportIframe.js';
66
+ export { createEvmKeyExportIframe, createSolanaKeyExportIframe, type CreateKeyExportIframeOptions, type CreateKeyExportIframeResult, type SecureIframeStatusDetails, } from './actions/createKeyExportIframe.js';
67
67
  export { getConfig } from './state.js';
68
68
  export { toTransactionSigner } from './solana-kit/toTransactionSigner.js';
@@ -17,6 +17,7 @@ export declare const SECURE_IFRAME_EVENT_TYPE: {
17
17
  */
18
18
  export declare const SECURE_IFRAME_KEY_EXPORT_EVENT_TYPE: {
19
19
  readonly GET_PRIVATE_KEY: "CDP_WEB_SECURE_IFRAME_GET_PRIVATE_KEY";
20
+ readonly SHOW_EJECT: "CDP_WEB_SECURE_IFRAME_SHOW_EJECT";
20
21
  readonly INIT: "CDP_WEB_SECURE_IFRAME_INIT";
21
22
  readonly LISTENING: "CDP_WEB_SECURE_IFRAME_LISTENING";
22
23
  readonly STATUS: "CDP_WEB_SECURE_IFRAME_STATUS";
@@ -1,3 +1,3 @@
1
1
  export { buildKeyExportIframeUrl, sendSecureIframeMessage, getSecureIframeOrigin, createIframe, calculateSecureIframeHeight, isSecureIframeKeyExportMessage, validateSecureIframeEnvironment, type BuildKeyExportIframeUrlOptions, } from './utils.js';
2
2
  export { DEFAULT_SECURE_IFRAME_BASE_PATH, DEFAULT_SECURE_IFRAME_THEME, SECURE_IFRAME_EVENT_TYPE, SECURE_IFRAME_EVENT_TYPE_PREFIX, SECURE_IFRAME_KEY_EXPORT_EVENT_TYPE, } from './data.js';
3
- export type { SecureIframeTheme, SecureIframeAuthState, SecureIframeChainType, SecureIframeContext, SecureIframeStatus, SecureIframeEventType, SecureIframeInitMessage, SecureIframeThemeMessage, SecureIframeIncomingMessage, SecureIframeListeningMessage, SecureIframeStatusMessage, SecureIframeOutgoingMessage, SecureIframeKeyExportEventType, SecureIframeGetPrivateKeyMessage, SecureIframeKeyExportIncomingMessage, SecureIframeKeyExportOutgoingMessage, } from './types.js';
3
+ export type { SecureIframeTheme, SecureIframeAuthState, SecureIframeChainType, SecureIframeContext, SecureIframeStatus, SecureIframeOperation, SecureIframeAction, SecureIframeButtonConfig, SecureIframeEventType, SecureIframeInitMessage, SecureIframeThemeMessage, SecureIframeIncomingMessage, SecureIframeListeningMessage, SecureIframeStatusMessage, SecureIframeOutgoingMessage, SecureIframeKeyExportEventType, SecureIframeGetPrivateKeyMessage, SecureIframeShowEjectMessage, SecureIframeKeyExportIncomingMessage, SecureIframeKeyExportOutgoingMessage, } from './types.js';