@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.
- package/dist/esm/index.web.js +139 -133
- package/dist/esm/index.web10.js +1 -1
- package/dist/esm/index.web100.js +14 -16
- package/dist/esm/index.web101.js +24 -28
- package/dist/esm/index.web102.js +21 -40
- package/dist/esm/index.web103.js +16 -48
- package/dist/esm/index.web104.js +24 -76
- package/dist/esm/index.web105.js +40 -25
- package/dist/esm/index.web106.js +47 -158
- package/dist/esm/index.web107.js +80 -46
- package/dist/esm/index.web108.js +26 -28
- package/dist/esm/index.web109.js +155 -68
- package/dist/esm/index.web11.js +1 -1
- package/dist/esm/index.web110.js +47 -8
- package/dist/esm/index.web111.js +23 -91
- package/dist/esm/index.web112.js +71 -135
- package/dist/esm/index.web113.js +6 -66
- package/dist/esm/index.web114.js +96 -27
- package/dist/esm/index.web115.js +137 -24
- package/dist/esm/index.web116.js +69 -24
- package/dist/esm/index.web117.js +27 -65
- package/dist/esm/index.web118.js +23 -50
- package/dist/esm/index.web119.js +23 -20
- package/dist/esm/index.web12.js +3 -3
- package/dist/esm/index.web120.js +62 -150
- package/dist/esm/index.web121.js +48 -374
- package/dist/esm/index.web122.js +21 -29
- package/dist/esm/index.web123.js +152 -28
- package/dist/esm/index.web124.js +379 -2
- package/dist/esm/index.web125.js +2 -68
- package/dist/esm/index.web126.js +37 -336
- package/dist/esm/index.web127.js +360 -12
- package/dist/esm/index.web128.js +15 -21
- package/dist/esm/index.web129.js +21 -49
- package/dist/esm/index.web13.js +1 -1
- package/dist/esm/index.web130.js +50 -944
- package/dist/esm/index.web131.js +29 -2
- package/dist/esm/index.web132.js +28 -49
- package/dist/esm/index.web133.js +944 -26
- package/dist/esm/index.web134.js +2 -5
- package/dist/esm/index.web135.js +48 -11
- package/dist/esm/index.web136.js +26 -11
- package/dist/esm/index.web137.js +5 -55
- package/dist/esm/index.web138.js +47 -10
- package/dist/esm/index.web139.js +5 -2
- package/dist/esm/index.web14.js +1 -1
- package/dist/esm/index.web140.js +12 -44
- package/dist/esm/index.web141.js +11 -13
- package/dist/esm/index.web142.js +55 -5
- package/dist/esm/index.web143.js +10 -47
- package/dist/esm/index.web144.js +2 -15
- package/dist/esm/index.web145.js +44 -28
- package/dist/esm/index.web146.js +13 -7
- package/dist/esm/index.web147.js +14 -3
- package/dist/esm/index.web148.js +19 -19
- package/dist/esm/index.web149.js +7 -8
- package/dist/esm/index.web15.js +1 -1
- package/dist/esm/index.web150.js +3 -7
- package/dist/esm/index.web151.js +20 -72
- package/dist/esm/index.web152.js +8 -28
- package/dist/esm/index.web153.js +7 -3
- package/dist/esm/index.web154.js +74 -9
- package/dist/esm/index.web155.js +28 -4
- package/dist/esm/index.web156.js +3 -14
- package/dist/esm/index.web157.js +15 -19
- package/dist/esm/index.web158.js +4 -61
- package/dist/esm/index.web159.js +13 -16
- package/dist/esm/index.web16.js +1 -1
- package/dist/esm/index.web160.js +15 -19
- package/dist/esm/index.web161.js +61 -8
- package/dist/esm/index.web162.js +16 -41
- package/dist/esm/index.web163.js +23 -7
- package/dist/esm/index.web164.js +8 -20
- package/dist/esm/index.web165.js +42 -13
- package/dist/esm/index.web166.js +7 -55
- package/dist/esm/index.web167.js +20 -6
- package/dist/esm/index.web168.js +13 -21
- package/dist/esm/index.web169.js +54 -16
- package/dist/esm/index.web17.js +3 -3
- package/dist/esm/index.web170.js +6 -45
- package/dist/esm/index.web171.js +21 -3
- package/dist/esm/index.web172.js +17 -3
- package/dist/esm/index.web173.js +41 -30
- package/dist/esm/index.web174.js +3 -12
- package/dist/esm/index.web175.js +3 -4
- package/dist/esm/index.web176.js +31 -25
- package/dist/esm/index.web177.js +12 -6
- package/dist/esm/index.web178.js +4 -32
- package/dist/esm/index.web179.js +27 -11
- package/dist/esm/index.web18.js +3 -3
- package/dist/esm/index.web180.js +6 -55
- package/dist/esm/index.web181.js +30 -40
- package/dist/esm/index.web182.js +11 -126
- package/dist/esm/index.web183.js +53 -102
- package/dist/esm/index.web184.js +42 -6
- package/dist/esm/index.web185.js +128 -3
- package/dist/esm/index.web186.js +100 -74
- package/dist/esm/index.web187.js +7 -2
- package/dist/esm/index.web188.js +3 -2
- package/dist/esm/index.web189.js +74 -33
- package/dist/esm/index.web19.js +7 -7
- package/dist/esm/index.web190.js +2 -7
- package/dist/esm/index.web191.js +2 -35
- package/dist/esm/index.web192.js +37 -14
- package/dist/esm/index.web193.js +5 -33
- package/dist/esm/index.web194.js +33 -17
- package/dist/esm/index.web195.js +14 -8
- package/dist/esm/index.web196.js +33 -9
- package/dist/esm/index.web197.js +18 -11
- package/dist/esm/index.web198.js +8 -13
- package/dist/esm/index.web199.js +10 -5
- package/dist/esm/index.web2.js +3 -3
- package/dist/esm/index.web20.js +1 -1
- package/dist/esm/index.web200.js +12 -5
- package/dist/esm/index.web201.js +13 -10
- package/dist/esm/index.web202.js +6 -2
- package/dist/esm/index.web203.js +5 -2
- package/dist/esm/index.web204.js +10 -108
- package/dist/esm/index.web205.js +2 -2
- package/dist/esm/index.web206.js +2 -2
- package/dist/esm/index.web207.js +2 -104
- package/dist/esm/index.web208.js +107 -77
- package/dist/esm/index.web209.js +2 -79
- package/dist/esm/index.web21.js +1 -1
- package/dist/esm/index.web210.js +102 -19
- package/dist/esm/index.web211.js +79 -10
- package/dist/esm/index.web212.js +79 -20
- package/dist/esm/index.web213.js +20 -93
- package/dist/esm/index.web214.js +9 -20
- package/dist/esm/index.web215.js +16 -114
- package/dist/esm/index.web216.js +94 -39
- package/dist/esm/index.web217.js +21 -2
- package/dist/esm/index.web218.js +117 -69
- package/dist/esm/index.web219.js +7 -34
- package/dist/esm/index.web22.js +1 -1
- package/dist/esm/index.web220.js +2 -15
- package/dist/esm/index.web221.js +368 -7
- package/dist/esm/index.web222.js +827 -2
- package/dist/esm/index.web223.js +35 -365
- package/dist/esm/index.web224.js +2 -827
- package/dist/esm/index.web225.js +69 -20
- package/dist/esm/index.web226.js +35 -2
- package/dist/esm/index.web227.js +13 -18
- package/dist/esm/index.web228.js +18 -30
- package/dist/esm/index.web229.js +2 -7
- package/dist/esm/index.web23.js +1 -1
- package/dist/esm/index.web230.js +17 -44
- package/dist/esm/index.web231.js +32 -3
- package/dist/esm/index.web232.js +6 -17
- package/dist/esm/index.web233.js +46 -27
- package/dist/esm/index.web234.js +2 -8
- package/dist/esm/index.web235.js +2 -11
- package/dist/esm/index.web236.js +2 -13
- package/dist/esm/index.web237.js +16 -8
- package/dist/esm/index.web238.js +28 -17
- package/dist/esm/index.web239.js +6 -79
- package/dist/esm/index.web24.js +1 -1
- package/dist/esm/index.web240.js +11 -2
- package/dist/esm/index.web241.js +13 -2
- package/dist/esm/index.web242.js +10 -2
- package/dist/esm/index.web243.js +17 -5
- package/dist/esm/index.web244.js +80 -14
- package/dist/esm/index.web245.js +3 -78
- package/dist/esm/index.web248.js +17 -0
- package/dist/esm/index.web25.js +1 -1
- package/dist/esm/index.web26.js +1 -1
- package/dist/esm/index.web27.js +6 -6
- package/dist/esm/index.web28.js +7 -7
- package/dist/esm/index.web29.js +6 -6
- package/dist/esm/index.web3.js +1 -1
- package/dist/esm/index.web30.js +6 -6
- package/dist/esm/index.web31.js +6 -6
- package/dist/esm/index.web32.js +6 -6
- package/dist/esm/index.web33.js +7 -7
- package/dist/esm/index.web34.js +6 -6
- package/dist/esm/index.web35.js +6 -6
- package/dist/esm/index.web36.js +2 -2
- package/dist/esm/index.web37.js +6 -6
- package/dist/esm/index.web38.js +6 -6
- package/dist/esm/index.web39.js +7 -7
- package/dist/esm/index.web40.js +2 -2
- package/dist/esm/index.web41.js +6 -6
- package/dist/esm/index.web42.js +1 -1
- package/dist/esm/index.web43.js +2 -2
- package/dist/esm/index.web44.js +1 -1
- package/dist/esm/index.web45.js +1 -1
- package/dist/esm/index.web46.js +1 -1
- package/dist/esm/index.web47.js +4 -4
- package/dist/esm/index.web48.js +1 -1
- package/dist/esm/index.web49.js +25 -29
- package/dist/esm/index.web5.js +1 -1
- package/dist/esm/index.web50.js +26 -53
- package/dist/esm/index.web51.js +53 -29
- package/dist/esm/index.web52.js +32 -12
- package/dist/esm/index.web53.js +14 -25
- package/dist/esm/index.web54.js +25 -22
- package/dist/esm/index.web55.js +21 -9
- package/dist/esm/index.web56.js +9 -15
- package/dist/esm/index.web57.js +12 -19
- package/dist/esm/index.web58.js +22 -10
- package/dist/esm/index.web59.js +10 -16
- package/dist/esm/index.web60.js +15 -31
- package/dist/esm/index.web61.js +32 -36
- package/dist/esm/index.web62.js +34 -38
- package/dist/esm/index.web63.js +30 -31
- package/dist/esm/index.web64.js +35 -114
- package/dist/esm/index.web65.js +38 -47
- package/dist/esm/index.web66.js +34 -79
- package/dist/esm/index.web67.js +116 -19
- package/dist/esm/index.web68.js +48 -10
- package/dist/esm/index.web69.js +85 -35
- package/dist/esm/index.web70.js +19 -30
- package/dist/esm/index.web71.js +10 -64
- package/dist/esm/index.web72.js +36 -25
- package/dist/esm/index.web73.js +29 -15
- package/dist/esm/index.web74.js +62 -32
- package/dist/esm/index.web75.js +23 -6
- package/dist/esm/index.web76.js +16 -47
- package/dist/esm/index.web77.js +34 -19
- package/dist/esm/index.web78.js +7 -48
- package/dist/esm/index.web79.js +47 -38
- package/dist/esm/index.web8.js +1 -1
- package/dist/esm/index.web80.js +15 -328
- package/dist/esm/index.web81.js +47 -17
- package/dist/esm/index.web82.js +36 -128
- package/dist/esm/index.web83.js +300 -54
- package/dist/esm/index.web84.js +18 -6
- package/dist/esm/index.web85.js +126 -49
- package/dist/esm/index.web86.js +68 -138
- package/dist/esm/index.web87.js +5 -66
- package/dist/esm/index.web88.js +56 -35
- package/dist/esm/index.web89.js +150 -83
- package/dist/esm/index.web9.js +5 -5
- package/dist/esm/index.web90.js +66 -41
- package/dist/esm/index.web91.js +35 -32
- package/dist/esm/index.web92.js +87 -15
- package/dist/esm/index.web93.js +43 -45
- package/dist/esm/index.web94.js +32 -3
- package/dist/esm/index.web95.js +17 -43
- package/dist/esm/index.web96.js +45 -24
- package/dist/esm/index.web97.js +3 -15
- package/dist/esm/index.web98.js +42 -23
- package/dist/esm/index.web99.js +25 -22
- package/dist/native/index.native.js +112 -106
- package/dist/native/index.native100.js +3 -15
- package/dist/native/index.native101.js +42 -23
- package/dist/native/index.native102.js +25 -22
- package/dist/native/index.native103.js +14 -16
- package/dist/native/index.native104.js +24 -28
- package/dist/native/index.native105.js +21 -40
- package/dist/native/index.native106.js +16 -48
- package/dist/native/index.native107.js +24 -75
- package/dist/native/index.native108.js +40 -25
- package/dist/native/index.native109.js +47 -158
- package/dist/native/index.native11.js +1 -1
- package/dist/native/index.native110.js +79 -46
- package/dist/native/index.native111.js +26 -22
- package/dist/native/index.native112.js +155 -68
- package/dist/native/index.native113.js +47 -8
- package/dist/native/index.native114.js +17 -90
- package/dist/native/index.native115.js +71 -135
- package/dist/native/index.native116.js +6 -65
- package/dist/native/index.native117.js +95 -27
- package/dist/native/index.native118.js +137 -24
- package/dist/native/index.native119.js +68 -24
- package/dist/native/index.native12.js +6 -6
- package/dist/native/index.native120.js +27 -65
- package/dist/native/index.native121.js +23 -50
- package/dist/native/index.native122.js +23 -20
- package/dist/native/index.native123.js +62 -150
- package/dist/native/index.native124.js +48 -374
- package/dist/native/index.native125.js +21 -29
- package/dist/native/index.native126.js +152 -28
- package/dist/native/index.native127.js +6 -6
- package/dist/native/index.native128.js +1 -1
- package/dist/native/index.native13.js +1 -1
- package/dist/native/index.native130.js +4 -4
- package/dist/native/index.native131.js +379 -2
- package/dist/native/index.native132.js +2 -68
- package/dist/native/index.native133.js +37 -336
- package/dist/native/index.native134.js +360 -940
- package/dist/native/index.native135.js +29 -2
- package/dist/native/index.native136.js +28 -49
- package/dist/native/index.native137.js +944 -26
- package/dist/native/index.native138.js +2 -5
- package/dist/native/index.native139.js +45 -43
- package/dist/native/index.native14.js +1 -1
- package/dist/native/index.native140.js +27 -35
- package/dist/native/index.native141.js +5 -68
- package/dist/native/index.native142.js +47 -13
- package/dist/native/index.native143.js +10 -25
- package/dist/native/index.native144.js +11 -7
- package/dist/native/index.native145.js +54 -3
- package/dist/native/index.native146.js +10 -27
- package/dist/native/index.native147.js +2 -9
- package/dist/native/index.native148.js +45 -8
- package/dist/native/index.native149.js +13 -79
- package/dist/native/index.native15.js +3 -3
- package/dist/native/index.native150.js +4 -27
- package/dist/native/index.native151.js +35 -4
- package/dist/native/index.native152.js +67 -14
- package/dist/native/index.native153.js +13 -4
- package/dist/native/index.native154.js +55 -13
- package/dist/native/index.native155.js +6 -19
- package/dist/native/index.native156.js +19 -58
- package/dist/native/index.native157.js +17 -17
- package/dist/native/index.native158.js +42 -20
- package/dist/native/index.native159.js +3 -8
- package/dist/native/index.native16.js +1 -1
- package/dist/native/index.native160.js +3 -41
- package/dist/native/index.native161.js +34 -7
- package/dist/native/index.native162.js +11 -19
- package/dist/native/index.native163.js +4 -54
- package/dist/native/index.native164.js +28 -10
- package/dist/native/index.native165.js +7 -2
- package/dist/native/index.native166.js +33 -45
- package/dist/native/index.native167.js +12 -13
- package/dist/native/index.native168.js +54 -11
- package/dist/native/index.native169.js +42 -11
- package/dist/native/index.native17.js +1 -1
- package/dist/native/index.native170.js +127 -4
- package/dist/native/index.native171.js +104 -13
- package/dist/native/index.native172.js +6 -55
- package/dist/native/index.native173.js +3 -7
- package/dist/native/index.native174.js +76 -19
- package/dist/native/index.native175.js +2 -18
- package/dist/native/index.native176.js +2 -46
- package/dist/native/index.native177.js +37 -3
- package/dist/native/index.native178.js +6 -3
- package/dist/native/index.native179.js +30 -30
- package/dist/native/index.native18.js +1 -1
- package/dist/native/index.native180.js +14 -12
- package/dist/native/index.native181.js +34 -4
- package/dist/native/index.native182.js +18 -28
- package/dist/native/index.native183.js +8 -6
- package/dist/native/index.native184.js +10 -32
- package/dist/native/index.native185.js +11 -12
- package/dist/native/index.native186.js +13 -55
- package/dist/native/index.native187.js +5 -42
- package/dist/native/index.native188.js +4 -127
- package/dist/native/index.native189.js +10 -104
- package/dist/native/index.native19.js +1 -1
- package/dist/native/index.native190.js +2 -7
- package/dist/native/index.native191.js +2 -3
- package/dist/native/index.native192.js +13 -78
- package/dist/native/index.native193.js +28 -2
- package/dist/native/index.native194.js +8 -2
- package/dist/native/index.native195.js +3 -37
- package/dist/native/index.native196.js +26 -5
- package/dist/native/index.native197.js +8 -34
- package/dist/native/index.native198.js +7 -14
- package/dist/native/index.native199.js +78 -33
- package/dist/native/index.native2.js +3 -3
- package/dist/native/index.native20.js +3 -3
- package/dist/native/index.native200.js +26 -17
- package/dist/native/index.native201.js +3 -8
- package/dist/native/index.native202.js +14 -10
- package/dist/native/index.native203.js +4 -11
- package/dist/native/index.native204.js +13 -13
- package/dist/native/index.native205.js +19 -5
- package/dist/native/index.native206.js +61 -5
- package/dist/native/index.native207.js +17 -10
- package/dist/native/index.native208.js +24 -2
- package/dist/native/index.native209.js +9 -2
- package/dist/native/index.native21.js +3 -3
- package/dist/native/index.native210.js +38 -17
- package/dist/native/index.native211.js +8 -10
- package/dist/native/index.native212.js +20 -19
- package/dist/native/index.native213.js +8 -94
- package/dist/native/index.native214.js +2 -21
- package/dist/native/index.native215.js +361 -110
- package/dist/native/index.native216.js +826 -103
- package/dist/native/index.native217.js +37 -77
- package/dist/native/index.native218.js +2 -79
- package/dist/native/index.native219.js +70 -2
- package/dist/native/index.native22.js +7 -7
- package/dist/native/index.native220.js +32 -106
- package/dist/native/index.native221.js +15 -2
- package/dist/native/index.native222.js +103 -38
- package/dist/native/index.native223.js +79 -2
- package/dist/native/index.native224.js +78 -69
- package/dist/native/index.native225.js +20 -34
- package/dist/native/index.native226.js +10 -15
- package/dist/native/index.native227.js +20 -8
- package/dist/native/index.native228.js +94 -2
- package/dist/native/index.native229.js +21 -369
- package/dist/native/index.native23.js +1 -1
- package/dist/native/index.native230.js +118 -827
- package/dist/native/index.native231.js +2 -21
- package/dist/native/index.native232.js +109 -2
- package/dist/native/index.native233.js +2 -20
- package/dist/native/index.native234.js +18 -30
- package/dist/native/index.native235.js +2 -7
- package/dist/native/index.native236.js +17 -44
- package/dist/native/index.native237.js +33 -2
- package/dist/native/index.native238.js +7 -2
- package/dist/native/index.native239.js +2 -2
- package/dist/native/index.native24.js +1 -1
- package/dist/native/index.native240.js +2 -4
- package/dist/native/index.native241.js +2 -18
- package/dist/native/index.native242.js +4 -28
- package/dist/native/index.native243.js +18 -8
- package/dist/native/index.native244.js +26 -9
- package/dist/native/index.native245.js +8 -13
- package/dist/native/index.native246.js +11 -10
- package/dist/native/index.native247.js +11 -15
- package/dist/native/index.native248.js +9 -80
- package/dist/native/index.native249.js +17 -5
- package/dist/native/index.native25.js +1 -1
- package/dist/native/index.native250.js +72 -70
- package/dist/native/index.native251.js +45 -13
- package/dist/native/index.native252.js +7 -0
- package/dist/native/index.native253.js +81 -0
- package/dist/{esm/index.native251.js → native/index.native254.js} +1 -1
- package/dist/native/index.native26.js +1 -1
- package/dist/native/index.native27.js +1 -1
- package/dist/native/index.native28.js +1 -1
- package/dist/native/index.native29.js +1 -1
- package/dist/native/index.native3.js +1 -1
- package/dist/native/index.native30.js +5 -5
- package/dist/native/index.native31.js +6 -6
- package/dist/native/index.native32.js +5 -5
- package/dist/native/index.native33.js +5 -5
- package/dist/native/index.native34.js +5 -5
- package/dist/native/index.native35.js +5 -5
- package/dist/native/index.native36.js +6 -6
- package/dist/native/index.native37.js +5 -5
- package/dist/native/index.native38.js +5 -5
- package/dist/native/index.native39.js +2 -2
- package/dist/native/index.native4.js +2 -2
- package/dist/native/index.native40.js +5 -5
- package/dist/native/index.native41.js +5 -5
- package/dist/native/index.native42.js +6 -6
- package/dist/native/index.native43.js +2 -2
- package/dist/native/index.native44.js +5 -5
- package/dist/native/index.native45.js +1 -1
- package/dist/native/index.native46.js +2 -2
- package/dist/native/index.native47.js +1 -1
- package/dist/native/index.native48.js +1 -1
- package/dist/native/index.native49.js +1 -1
- package/dist/native/index.native5.js +2 -2
- package/dist/native/index.native50.js +3 -3
- package/dist/native/index.native51.js +1 -1
- package/dist/native/index.native52.js +25 -29
- package/dist/native/index.native53.js +26 -53
- package/dist/native/index.native54.js +53 -29
- package/dist/native/index.native55.js +32 -12
- package/dist/native/index.native56.js +14 -25
- package/dist/native/index.native57.js +25 -22
- package/dist/native/index.native58.js +21 -9
- package/dist/native/index.native59.js +9 -15
- package/dist/native/index.native6.js +1 -1
- package/dist/native/index.native60.js +12 -19
- package/dist/native/index.native61.js +22 -10
- package/dist/native/index.native62.js +10 -16
- package/dist/native/index.native63.js +15 -31
- package/dist/native/index.native64.js +32 -35
- package/dist/native/index.native65.js +34 -37
- package/dist/native/index.native66.js +28 -29
- package/dist/native/index.native67.js +35 -115
- package/dist/native/index.native68.js +37 -47
- package/dist/native/index.native69.js +33 -78
- package/dist/native/index.native7.js +2 -2
- package/dist/native/index.native70.js +116 -19
- package/dist/native/index.native71.js +48 -10
- package/dist/native/index.native72.js +84 -35
- package/dist/native/index.native73.js +19 -30
- package/dist/native/index.native74.js +10 -64
- package/dist/native/index.native75.js +36 -25
- package/dist/native/index.native76.js +29 -15
- package/dist/native/index.native77.js +62 -32
- package/dist/native/index.native78.js +23 -6
- package/dist/native/index.native79.js +16 -47
- package/dist/native/index.native80.js +34 -19
- package/dist/native/index.native81.js +7 -48
- package/dist/native/index.native82.js +47 -38
- package/dist/native/index.native83.js +15 -328
- package/dist/native/index.native84.js +47 -17
- package/dist/native/index.native85.js +36 -127
- package/dist/native/index.native86.js +300 -54
- package/dist/native/index.native87.js +18 -6
- package/dist/native/index.native88.js +125 -48
- package/dist/native/index.native89.js +68 -137
- package/dist/native/index.native90.js +4 -39
- package/dist/native/index.native91.js +54 -8
- package/dist/native/index.native92.js +153 -6
- package/dist/native/index.native93.js +41 -8
- package/dist/native/index.native94.js +7 -30
- package/dist/native/index.native95.js +8 -17
- package/dist/native/index.native96.js +9 -45
- package/dist/native/index.native97.js +32 -3
- package/dist/native/index.native98.js +17 -43
- package/dist/native/index.native99.js +45 -24
- package/dist/native-types/actions/createBitcoinAccount.d.ts +26 -0
- package/dist/native-types/actions/linkSiwe.d.ts +49 -0
- package/dist/native-types/actions/signBitcoinHash.d.ts +41 -0
- package/dist/native-types/auth/toAuthState.d.ts +2 -1
- package/dist/native-types/index.d.ts +3 -0
- package/dist/native-types/index.native.d.ts +3 -0
- package/dist/native-types/index.web.d.ts +3 -0
- package/dist/native-types/mfa/protectedActions.d.ts +2 -0
- package/dist/native-types/types.d.ts +5 -1
- package/dist/native-types/version.d.ts +1 -1
- package/dist/types/actions/createBitcoinAccount.d.ts +26 -0
- package/dist/types/actions/linkSiwe.d.ts +49 -0
- package/dist/types/actions/signBitcoinHash.d.ts +41 -0
- package/dist/types/auth/toAuthState.d.ts +2 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.native.d.ts +3 -0
- package/dist/types/index.web.d.ts +3 -0
- package/dist/types/mfa/protectedActions.d.ts +2 -0
- package/dist/types/types.d.ts +5 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/web/index.web.js +139 -133
- package/dist/web/index.web10.js +1 -1
- package/dist/web/index.web100.js +14 -16
- package/dist/web/index.web101.js +24 -28
- package/dist/web/index.web102.js +21 -40
- package/dist/web/index.web103.js +16 -48
- package/dist/web/index.web104.js +24 -76
- package/dist/web/index.web105.js +40 -25
- package/dist/web/index.web106.js +47 -158
- package/dist/web/index.web107.js +80 -46
- package/dist/web/index.web108.js +26 -28
- package/dist/web/index.web109.js +155 -68
- package/dist/web/index.web11.js +1 -1
- package/dist/web/index.web110.js +47 -8
- package/dist/web/index.web111.js +23 -91
- package/dist/web/index.web112.js +71 -135
- package/dist/web/index.web113.js +6 -66
- package/dist/web/index.web114.js +96 -27
- package/dist/web/index.web115.js +137 -24
- package/dist/web/index.web116.js +69 -24
- package/dist/web/index.web117.js +27 -65
- package/dist/web/index.web118.js +23 -50
- package/dist/web/index.web119.js +23 -20
- package/dist/web/index.web12.js +3 -3
- package/dist/web/index.web120.js +62 -150
- package/dist/web/index.web121.js +48 -374
- package/dist/web/index.web122.js +21 -29
- package/dist/web/index.web123.js +152 -28
- package/dist/web/index.web124.js +379 -2
- package/dist/web/index.web125.js +2 -68
- package/dist/web/index.web126.js +37 -336
- package/dist/web/index.web127.js +360 -12
- package/dist/web/index.web128.js +15 -21
- package/dist/web/index.web129.js +21 -49
- package/dist/web/index.web13.js +1 -1
- package/dist/web/index.web130.js +50 -944
- package/dist/web/index.web131.js +29 -2
- package/dist/web/index.web132.js +28 -49
- package/dist/web/index.web133.js +944 -26
- package/dist/web/index.web134.js +2 -5
- package/dist/web/index.web135.js +48 -11
- package/dist/web/index.web136.js +26 -11
- package/dist/web/index.web137.js +5 -55
- package/dist/web/index.web138.js +47 -10
- package/dist/web/index.web139.js +5 -2
- package/dist/web/index.web14.js +1 -1
- package/dist/web/index.web140.js +12 -44
- package/dist/web/index.web141.js +11 -13
- package/dist/web/index.web142.js +55 -5
- package/dist/web/index.web143.js +10 -47
- package/dist/web/index.web144.js +2 -15
- package/dist/web/index.web145.js +44 -28
- package/dist/web/index.web146.js +13 -7
- package/dist/web/index.web147.js +14 -3
- package/dist/web/index.web148.js +19 -19
- package/dist/web/index.web149.js +7 -8
- package/dist/web/index.web15.js +1 -1
- package/dist/web/index.web150.js +3 -7
- package/dist/web/index.web151.js +20 -72
- package/dist/web/index.web152.js +8 -28
- package/dist/web/index.web153.js +7 -3
- package/dist/web/index.web154.js +74 -9
- package/dist/web/index.web155.js +28 -4
- package/dist/web/index.web156.js +3 -14
- package/dist/web/index.web157.js +15 -19
- package/dist/web/index.web158.js +4 -61
- package/dist/web/index.web159.js +13 -16
- package/dist/web/index.web16.js +1 -1
- package/dist/web/index.web160.js +15 -19
- package/dist/web/index.web161.js +61 -8
- package/dist/web/index.web162.js +16 -41
- package/dist/web/index.web163.js +23 -7
- package/dist/web/index.web164.js +8 -20
- package/dist/web/index.web165.js +42 -13
- package/dist/web/index.web166.js +7 -55
- package/dist/web/index.web167.js +20 -6
- package/dist/web/index.web168.js +13 -21
- package/dist/web/index.web169.js +54 -16
- package/dist/web/index.web17.js +3 -3
- package/dist/web/index.web170.js +6 -45
- package/dist/web/index.web171.js +21 -3
- package/dist/web/index.web172.js +17 -3
- package/dist/web/index.web173.js +41 -30
- package/dist/web/index.web174.js +3 -12
- package/dist/web/index.web175.js +3 -4
- package/dist/web/index.web176.js +31 -25
- package/dist/web/index.web177.js +12 -6
- package/dist/web/index.web178.js +4 -32
- package/dist/web/index.web179.js +27 -11
- package/dist/web/index.web18.js +3 -3
- package/dist/web/index.web180.js +6 -55
- package/dist/web/index.web181.js +30 -40
- package/dist/web/index.web182.js +11 -126
- package/dist/web/index.web183.js +53 -102
- package/dist/web/index.web184.js +42 -6
- package/dist/web/index.web185.js +128 -3
- package/dist/web/index.web186.js +100 -74
- package/dist/web/index.web187.js +7 -2
- package/dist/web/index.web188.js +3 -2
- package/dist/web/index.web189.js +74 -33
- package/dist/web/index.web19.js +7 -7
- package/dist/web/index.web190.js +2 -7
- package/dist/web/index.web191.js +2 -35
- package/dist/web/index.web192.js +37 -14
- package/dist/web/index.web193.js +5 -33
- package/dist/web/index.web194.js +33 -17
- package/dist/web/index.web195.js +14 -8
- package/dist/web/index.web196.js +33 -9
- package/dist/web/index.web197.js +18 -11
- package/dist/web/index.web198.js +8 -13
- package/dist/web/index.web199.js +10 -5
- package/dist/web/index.web2.js +3 -3
- package/dist/web/index.web20.js +1 -1
- package/dist/web/index.web200.js +12 -5
- package/dist/web/index.web201.js +13 -10
- package/dist/web/index.web202.js +6 -2
- package/dist/web/index.web203.js +5 -2
- package/dist/web/index.web204.js +10 -108
- package/dist/web/index.web205.js +2 -2
- package/dist/web/index.web206.js +2 -2
- package/dist/web/index.web207.js +2 -104
- package/dist/web/index.web208.js +107 -77
- package/dist/web/index.web209.js +2 -79
- package/dist/web/index.web21.js +1 -1
- package/dist/web/index.web210.js +102 -19
- package/dist/web/index.web211.js +79 -10
- package/dist/web/index.web212.js +79 -20
- package/dist/web/index.web213.js +20 -93
- package/dist/web/index.web214.js +9 -20
- package/dist/web/index.web215.js +16 -114
- package/dist/web/index.web216.js +94 -39
- package/dist/web/index.web217.js +21 -2
- package/dist/web/index.web218.js +117 -69
- package/dist/web/index.web219.js +7 -34
- package/dist/web/index.web22.js +1 -1
- package/dist/web/index.web220.js +2 -15
- package/dist/web/index.web221.js +368 -7
- package/dist/web/index.web222.js +827 -2
- package/dist/web/index.web223.js +35 -365
- package/dist/web/index.web224.js +2 -827
- package/dist/web/index.web225.js +69 -20
- package/dist/web/index.web226.js +35 -2
- package/dist/web/index.web227.js +13 -18
- package/dist/web/index.web228.js +18 -30
- package/dist/web/index.web229.js +2 -7
- package/dist/web/index.web23.js +1 -1
- package/dist/web/index.web230.js +17 -44
- package/dist/web/index.web231.js +32 -3
- package/dist/web/index.web232.js +6 -17
- package/dist/web/index.web233.js +46 -27
- package/dist/web/index.web234.js +2 -8
- package/dist/web/index.web235.js +2 -11
- package/dist/web/index.web236.js +2 -13
- package/dist/web/index.web237.js +16 -8
- package/dist/web/index.web238.js +28 -17
- package/dist/web/index.web239.js +6 -79
- package/dist/web/index.web24.js +1 -1
- package/dist/web/index.web240.js +11 -2
- package/dist/web/index.web241.js +13 -2
- package/dist/web/index.web242.js +10 -2
- package/dist/web/index.web243.js +17 -5
- package/dist/web/index.web244.js +80 -14
- package/dist/web/index.web245.js +3 -78
- package/dist/web/index.web246.js +7 -0
- package/dist/web/index.web247.js +81 -0
- package/dist/web/index.web248.js +17 -0
- package/dist/web/index.web25.js +1 -1
- package/dist/web/index.web26.js +1 -1
- package/dist/web/index.web27.js +6 -6
- package/dist/web/index.web28.js +7 -7
- package/dist/web/index.web29.js +6 -6
- package/dist/web/index.web3.js +1 -1
- package/dist/web/index.web30.js +6 -6
- package/dist/web/index.web31.js +6 -6
- package/dist/web/index.web32.js +6 -6
- package/dist/web/index.web33.js +7 -7
- package/dist/web/index.web34.js +6 -6
- package/dist/web/index.web35.js +6 -6
- package/dist/web/index.web36.js +2 -2
- package/dist/web/index.web37.js +6 -6
- package/dist/web/index.web38.js +6 -6
- package/dist/web/index.web39.js +7 -7
- package/dist/web/index.web40.js +2 -2
- package/dist/web/index.web41.js +6 -6
- package/dist/web/index.web42.js +1 -1
- package/dist/web/index.web43.js +2 -2
- package/dist/web/index.web44.js +1 -1
- package/dist/web/index.web45.js +1 -1
- package/dist/web/index.web46.js +1 -1
- package/dist/web/index.web47.js +4 -4
- package/dist/web/index.web48.js +1 -1
- package/dist/web/index.web49.js +25 -29
- package/dist/web/index.web5.js +1 -1
- package/dist/web/index.web50.js +26 -53
- package/dist/web/index.web51.js +53 -29
- package/dist/web/index.web52.js +32 -12
- package/dist/web/index.web53.js +14 -25
- package/dist/web/index.web54.js +25 -22
- package/dist/web/index.web55.js +21 -9
- package/dist/web/index.web56.js +9 -15
- package/dist/web/index.web57.js +12 -19
- package/dist/web/index.web58.js +22 -10
- package/dist/web/index.web59.js +10 -16
- package/dist/web/index.web60.js +15 -31
- package/dist/web/index.web61.js +32 -36
- package/dist/web/index.web62.js +34 -38
- package/dist/web/index.web63.js +30 -31
- package/dist/web/index.web64.js +35 -114
- package/dist/web/index.web65.js +38 -47
- package/dist/web/index.web66.js +34 -79
- package/dist/web/index.web67.js +116 -19
- package/dist/web/index.web68.js +48 -10
- package/dist/web/index.web69.js +85 -35
- package/dist/web/index.web70.js +19 -30
- package/dist/web/index.web71.js +10 -64
- package/dist/web/index.web72.js +36 -25
- package/dist/web/index.web73.js +29 -15
- package/dist/web/index.web74.js +62 -32
- package/dist/web/index.web75.js +23 -6
- package/dist/web/index.web76.js +16 -47
- package/dist/web/index.web77.js +34 -19
- package/dist/web/index.web78.js +7 -48
- package/dist/web/index.web79.js +47 -38
- package/dist/web/index.web8.js +1 -1
- package/dist/web/index.web80.js +15 -328
- package/dist/web/index.web81.js +47 -17
- package/dist/web/index.web82.js +36 -128
- package/dist/web/index.web83.js +300 -54
- package/dist/web/index.web84.js +18 -6
- package/dist/web/index.web85.js +126 -49
- package/dist/web/index.web86.js +68 -138
- package/dist/web/index.web87.js +5 -66
- package/dist/web/index.web88.js +56 -35
- package/dist/web/index.web89.js +150 -83
- package/dist/web/index.web9.js +5 -5
- package/dist/web/index.web90.js +66 -41
- package/dist/web/index.web91.js +35 -32
- package/dist/web/index.web92.js +87 -15
- package/dist/web/index.web93.js +43 -45
- package/dist/web/index.web94.js +32 -3
- package/dist/web/index.web95.js +17 -43
- package/dist/web/index.web96.js +45 -24
- package/dist/web/index.web97.js +3 -15
- package/dist/web/index.web98.js +42 -23
- package/dist/web/index.web99.js +25 -22
- package/dist/web-types/actions/createBitcoinAccount.d.ts +26 -0
- package/dist/web-types/actions/linkSiwe.d.ts +49 -0
- package/dist/web-types/actions/signBitcoinHash.d.ts +41 -0
- package/dist/web-types/auth/toAuthState.d.ts +2 -1
- package/dist/web-types/index.d.ts +3 -0
- package/dist/web-types/index.native.d.ts +3 -0
- package/dist/web-types/index.web.d.ts +3 -0
- package/dist/web-types/mfa/protectedActions.d.ts +2 -0
- package/dist/web-types/types.d.ts +5 -1
- package/dist/web-types/version.d.ts +1 -1
- package/package.json +11 -11
- package/dist/esm/index.native.js +0 -208
- package/dist/esm/index.native10.js +0 -29
- package/dist/esm/index.native100.js +0 -17
- package/dist/esm/index.native101.js +0 -27
- package/dist/esm/index.native102.js +0 -24
- package/dist/esm/index.native103.js +0 -19
- package/dist/esm/index.native104.js +0 -31
- package/dist/esm/index.native105.js +0 -43
- package/dist/esm/index.native106.js +0 -51
- package/dist/esm/index.native107.js +0 -83
- package/dist/esm/index.native108.js +0 -28
- package/dist/esm/index.native109.js +0 -162
- package/dist/esm/index.native11.js +0 -4
- package/dist/esm/index.native110.js +0 -50
- package/dist/esm/index.native111.js +0 -24
- package/dist/esm/index.native112.js +0 -75
- package/dist/esm/index.native113.js +0 -11
- package/dist/esm/index.native114.js +0 -97
- package/dist/esm/index.native115.js +0 -139
- package/dist/esm/index.native116.js +0 -70
- package/dist/esm/index.native117.js +0 -29
- package/dist/esm/index.native118.js +0 -26
- package/dist/esm/index.native119.js +0 -26
- package/dist/esm/index.native12.js +0 -121
- package/dist/esm/index.native120.js +0 -67
- package/dist/esm/index.native121.js +0 -53
- package/dist/esm/index.native122.js +0 -23
- package/dist/esm/index.native123.js +0 -155
- package/dist/esm/index.native124.js +0 -379
- package/dist/esm/index.native125.js +0 -31
- package/dist/esm/index.native126.js +0 -31
- package/dist/esm/index.native127.js +0 -92
- package/dist/esm/index.native128.js +0 -19
- package/dist/esm/index.native129.js +0 -25
- package/dist/esm/index.native13.js +0 -15
- package/dist/esm/index.native130.js +0 -53
- package/dist/esm/index.native131.js +0 -2
- package/dist/esm/index.native132.js +0 -68
- package/dist/esm/index.native133.js +0 -367
- package/dist/esm/index.native134.js +0 -947
- package/dist/esm/index.native135.js +0 -4
- package/dist/esm/index.native136.js +0 -52
- package/dist/esm/index.native137.js +0 -29
- package/dist/esm/index.native138.js +0 -7
- package/dist/esm/index.native139.js +0 -50
- package/dist/esm/index.native14.js +0 -15
- package/dist/esm/index.native140.js +0 -37
- package/dist/esm/index.native141.js +0 -70
- package/dist/esm/index.native142.js +0 -16
- package/dist/esm/index.native143.js +0 -30
- package/dist/esm/index.native144.js +0 -10
- package/dist/esm/index.native145.js +0 -6
- package/dist/esm/index.native146.js +0 -30
- package/dist/esm/index.native147.js +0 -11
- package/dist/esm/index.native148.js +0 -10
- package/dist/esm/index.native149.js +0 -82
- package/dist/esm/index.native15.js +0 -83
- package/dist/esm/index.native150.js +0 -30
- package/dist/esm/index.native151.js +0 -6
- package/dist/esm/index.native152.js +0 -17
- package/dist/esm/index.native153.js +0 -7
- package/dist/esm/index.native154.js +0 -16
- package/dist/esm/index.native155.js +0 -22
- package/dist/esm/index.native156.js +0 -63
- package/dist/esm/index.native157.js +0 -20
- package/dist/esm/index.native158.js +0 -26
- package/dist/esm/index.native159.js +0 -11
- package/dist/esm/index.native16.js +0 -37
- package/dist/esm/index.native160.js +0 -44
- package/dist/esm/index.native161.js +0 -10
- package/dist/esm/index.native162.js +0 -23
- package/dist/esm/index.native163.js +0 -57
- package/dist/esm/index.native164.js +0 -13
- package/dist/esm/index.native165.js +0 -4
- package/dist/esm/index.native166.js +0 -47
- package/dist/esm/index.native167.js +0 -16
- package/dist/esm/index.native168.js +0 -15
- package/dist/esm/index.native169.js +0 -14
- package/dist/esm/index.native17.js +0 -17
- package/dist/esm/index.native170.js +0 -7
- package/dist/esm/index.native171.js +0 -16
- package/dist/esm/index.native172.js +0 -58
- package/dist/esm/index.native173.js +0 -9
- package/dist/esm/index.native174.js +0 -24
- package/dist/esm/index.native175.js +0 -20
- package/dist/esm/index.native176.js +0 -48
- package/dist/esm/index.native177.js +0 -6
- package/dist/esm/index.native178.js +0 -6
- package/dist/esm/index.native179.js +0 -37
- package/dist/esm/index.native18.js +0 -13
- package/dist/esm/index.native180.js +0 -15
- package/dist/esm/index.native181.js +0 -7
- package/dist/esm/index.native182.js +0 -31
- package/dist/esm/index.native183.js +0 -9
- package/dist/esm/index.native184.js +0 -35
- package/dist/esm/index.native185.js +0 -15
- package/dist/esm/index.native186.js +0 -58
- package/dist/esm/index.native187.js +0 -45
- package/dist/esm/index.native188.js +0 -130
- package/dist/esm/index.native189.js +0 -107
- package/dist/esm/index.native19.js +0 -13
- package/dist/esm/index.native190.js +0 -9
- package/dist/esm/index.native191.js +0 -5
- package/dist/esm/index.native192.js +0 -81
- package/dist/esm/index.native193.js +0 -4
- package/dist/esm/index.native194.js +0 -4
- package/dist/esm/index.native195.js +0 -40
- package/dist/esm/index.native196.js +0 -9
- package/dist/esm/index.native197.js +0 -37
- package/dist/esm/index.native198.js +0 -17
- package/dist/esm/index.native199.js +0 -37
- package/dist/esm/index.native2.js +0 -65
- package/dist/esm/index.native20.js +0 -33
- package/dist/esm/index.native200.js +0 -21
- package/dist/esm/index.native201.js +0 -11
- package/dist/esm/index.native202.js +0 -13
- package/dist/esm/index.native203.js +0 -14
- package/dist/esm/index.native204.js +0 -16
- package/dist/esm/index.native205.js +0 -8
- package/dist/esm/index.native206.js +0 -7
- package/dist/esm/index.native207.js +0 -13
- package/dist/esm/index.native208.js +0 -4
- package/dist/esm/index.native209.js +0 -4
- package/dist/esm/index.native21.js +0 -38
- package/dist/esm/index.native210.js +0 -23
- package/dist/esm/index.native211.js +0 -12
- package/dist/esm/index.native212.js +0 -22
- package/dist/esm/index.native213.js +0 -96
- package/dist/esm/index.native214.js +0 -23
- package/dist/esm/index.native215.js +0 -120
- package/dist/esm/index.native216.js +0 -106
- package/dist/esm/index.native217.js +0 -81
- package/dist/esm/index.native218.js +0 -81
- package/dist/esm/index.native219.js +0 -4
- package/dist/esm/index.native22.js +0 -56
- package/dist/esm/index.native220.js +0 -111
- package/dist/esm/index.native221.js +0 -4
- package/dist/esm/index.native222.js +0 -41
- package/dist/esm/index.native223.js +0 -4
- package/dist/esm/index.native224.js +0 -72
- package/dist/esm/index.native225.js +0 -37
- package/dist/esm/index.native226.js +0 -17
- package/dist/esm/index.native227.js +0 -10
- package/dist/esm/index.native228.js +0 -4
- package/dist/esm/index.native229.js +0 -371
- package/dist/esm/index.native23.js +0 -9
- package/dist/esm/index.native230.js +0 -829
- package/dist/esm/index.native231.js +0 -23
- package/dist/esm/index.native232.js +0 -4
- package/dist/esm/index.native233.js +0 -22
- package/dist/esm/index.native234.js +0 -35
- package/dist/esm/index.native235.js +0 -9
- package/dist/esm/index.native236.js +0 -49
- package/dist/esm/index.native237.js +0 -4
- package/dist/esm/index.native238.js +0 -4
- package/dist/esm/index.native239.js +0 -4
- package/dist/esm/index.native24.js +0 -7
- package/dist/esm/index.native240.js +0 -6
- package/dist/esm/index.native241.js +0 -20
- package/dist/esm/index.native242.js +0 -30
- package/dist/esm/index.native243.js +0 -10
- package/dist/esm/index.native244.js +0 -13
- package/dist/esm/index.native245.js +0 -15
- package/dist/esm/index.native246.js +0 -12
- package/dist/esm/index.native247.js +0 -19
- package/dist/esm/index.native248.js +0 -83
- package/dist/esm/index.native25.js +0 -15
- package/dist/esm/index.native26.js +0 -7
- package/dist/esm/index.native27.js +0 -7
- package/dist/esm/index.native28.js +0 -9
- package/dist/esm/index.native29.js +0 -9
- package/dist/esm/index.native3.js +0 -2
- package/dist/esm/index.native30.js +0 -29
- package/dist/esm/index.native31.js +0 -33
- package/dist/esm/index.native32.js +0 -29
- package/dist/esm/index.native33.js +0 -29
- package/dist/esm/index.native34.js +0 -29
- package/dist/esm/index.native35.js +0 -29
- package/dist/esm/index.native36.js +0 -38
- package/dist/esm/index.native37.js +0 -31
- package/dist/esm/index.native38.js +0 -39
- package/dist/esm/index.native39.js +0 -28
- package/dist/esm/index.native4.js +0 -183
- package/dist/esm/index.native40.js +0 -43
- package/dist/esm/index.native41.js +0 -50
- package/dist/esm/index.native42.js +0 -49
- package/dist/esm/index.native43.js +0 -43
- package/dist/esm/index.native44.js +0 -34
- package/dist/esm/index.native45.js +0 -9
- package/dist/esm/index.native46.js +0 -46
- package/dist/esm/index.native47.js +0 -19
- package/dist/esm/index.native48.js +0 -23
- package/dist/esm/index.native49.js +0 -23
- package/dist/esm/index.native5.js +0 -110
- package/dist/esm/index.native50.js +0 -56
- package/dist/esm/index.native51.js +0 -23
- package/dist/esm/index.native52.js +0 -34
- package/dist/esm/index.native53.js +0 -61
- package/dist/esm/index.native54.js +0 -37
- package/dist/esm/index.native55.js +0 -17
- package/dist/esm/index.native56.js +0 -28
- package/dist/esm/index.native57.js +0 -25
- package/dist/esm/index.native58.js +0 -13
- package/dist/esm/index.native59.js +0 -19
- package/dist/esm/index.native6.js +0 -29
- package/dist/esm/index.native60.js +0 -26
- package/dist/esm/index.native61.js +0 -14
- package/dist/esm/index.native62.js +0 -20
- package/dist/esm/index.native63.js +0 -36
- package/dist/esm/index.native64.js +0 -39
- package/dist/esm/index.native65.js +0 -41
- package/dist/esm/index.native66.js +0 -42
- package/dist/esm/index.native67.js +0 -119
- package/dist/esm/index.native68.js +0 -51
- package/dist/esm/index.native69.js +0 -87
- package/dist/esm/index.native7.js +0 -68
- package/dist/esm/index.native70.js +0 -22
- package/dist/esm/index.native71.js +0 -13
- package/dist/esm/index.native72.js +0 -38
- package/dist/esm/index.native73.js +0 -33
- package/dist/esm/index.native74.js +0 -67
- package/dist/esm/index.native75.js +0 -27
- package/dist/esm/index.native76.js +0 -19
- package/dist/esm/index.native77.js +0 -37
- package/dist/esm/index.native78.js +0 -10
- package/dist/esm/index.native79.js +0 -50
- package/dist/esm/index.native8.js +0 -81
- package/dist/esm/index.native80.js +0 -22
- package/dist/esm/index.native81.js +0 -51
- package/dist/esm/index.native82.js +0 -41
- package/dist/esm/index.native83.js +0 -335
- package/dist/esm/index.native84.js +0 -21
- package/dist/esm/index.native85.js +0 -134
- package/dist/esm/index.native86.js +0 -89
- package/dist/esm/index.native87.js +0 -9
- package/dist/esm/index.native88.js +0 -57
- package/dist/esm/index.native89.js +0 -158
- package/dist/esm/index.native9.js +0 -71
- package/dist/esm/index.native90.js +0 -44
- package/dist/esm/index.native91.js +0 -11
- package/dist/esm/index.native92.js +0 -11
- package/dist/esm/index.native93.js +0 -11
- package/dist/esm/index.native94.js +0 -34
- package/dist/esm/index.native95.js +0 -20
- package/dist/esm/index.native96.js +0 -47
- package/dist/esm/index.native97.js +0 -5
- package/dist/esm/index.native98.js +0 -46
- package/dist/esm/index.native99.js +0 -26
- /package/dist/esm/{index.native249.js → index.web246.js} +0 -0
- /package/dist/esm/{index.native250.js → index.web247.js} +0 -0
|
@@ -1,5 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
32
|
+
g as decodeBase64,
|
|
33
|
+
a as encodeBase64
|
|
5
34
|
};
|
|
@@ -1,46 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
throw new
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
18
|
+
u as isSignedIn,
|
|
19
|
+
A as withAuth
|
|
46
20
|
};
|
|
@@ -1,26 +1,47 @@
|
|
|
1
|
-
import "@coinbase/cdp-api-client";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
25
|
-
|
|
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. */
|
|
@@ -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;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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
|
};
|