@coinbase/cdp-core 0.0.98 → 0.0.100
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.native.js +174 -164
- package/dist/esm/index.native100.js +28 -19
- package/dist/esm/index.native101.js +40 -72
- package/dist/esm/index.native102.js +49 -9
- package/dist/esm/index.native103.js +73 -87
- package/dist/esm/index.native104.js +25 -136
- package/dist/esm/index.native105.js +157 -65
- package/dist/esm/index.native106.js +48 -27
- package/dist/esm/index.native107.js +22 -24
- package/dist/esm/index.native108.js +73 -24
- package/dist/esm/index.native109.js +8 -64
- package/dist/esm/index.native11.js +1 -1
- package/dist/esm/index.native110.js +92 -44
- package/dist/esm/index.native111.js +137 -21
- package/dist/esm/index.native112.js +65 -150
- package/dist/esm/index.native113.js +26 -376
- package/dist/esm/index.native114.js +24 -29
- package/dist/esm/index.native115.js +22 -27
- package/dist/esm/index.native116.js +67 -2
- package/dist/esm/index.native117.js +46 -65
- package/dist/esm/index.native118.js +21 -365
- package/dist/esm/index.native119.js +149 -86
- package/dist/esm/index.native12.js +6 -6
- package/dist/esm/index.native120.js +373 -13
- package/dist/esm/index.native121.js +2 -25
- package/dist/esm/index.native122.js +63 -48
- package/dist/esm/index.native123.js +364 -4
- package/dist/esm/index.native124.js +28 -12
- package/dist/esm/index.native125.js +28 -11
- package/dist/esm/index.native126.js +84 -939
- package/dist/esm/index.native127.js +17 -2
- package/dist/esm/index.native128.js +21 -48
- package/dist/esm/index.native129.js +50 -26
- package/dist/esm/index.native13.js +1 -1
- package/dist/esm/index.native130.js +944 -13
- package/dist/esm/index.native131.js +2 -28
- package/dist/esm/index.native132.js +49 -7
- package/dist/esm/index.native133.js +26 -3
- package/dist/esm/index.native134.js +11 -26
- package/dist/esm/index.native135.js +11 -8
- package/dist/esm/index.native136.js +4 -7
- package/dist/esm/index.native137.js +5 -80
- package/dist/esm/index.native138.js +44 -24
- package/dist/esm/index.native139.js +13 -3
- package/dist/esm/index.native14.js +1 -1
- package/dist/esm/index.native140.js +20 -7
- package/dist/esm/index.native141.js +7 -4
- package/dist/esm/index.native142.js +3 -13
- package/dist/esm/index.native143.js +24 -16
- package/dist/esm/index.native144.js +8 -60
- package/dist/esm/index.native145.js +7 -17
- package/dist/esm/index.native146.js +77 -21
- package/dist/esm/index.native147.js +27 -8
- package/dist/esm/index.native148.js +3 -41
- package/dist/esm/index.native149.js +14 -7
- package/dist/esm/index.native15.js +4 -4
- package/dist/esm/index.native150.js +4 -20
- package/dist/esm/index.native151.js +14 -35
- package/dist/esm/index.native152.js +17 -65
- package/dist/esm/index.native153.js +58 -52
- package/dist/esm/index.native154.js +17 -10
- package/dist/esm/index.native155.js +24 -2
- package/dist/esm/index.native156.js +9 -45
- package/dist/esm/index.native157.js +41 -13
- package/dist/esm/index.native158.js +8 -5
- package/dist/esm/index.native159.js +17 -44
- package/dist/esm/index.native16.js +34 -14
- package/dist/esm/index.native160.js +35 -2
- package/dist/esm/index.native161.js +68 -2
- package/dist/esm/index.native162.js +54 -13
- package/dist/esm/index.native163.js +10 -55
- package/dist/esm/index.native164.js +2 -7
- package/dist/esm/index.native165.js +44 -21
- package/dist/esm/index.native166.js +13 -17
- package/dist/esm/index.native167.js +13 -45
- package/dist/esm/index.native168.js +55 -3
- package/dist/esm/index.native169.js +6 -3
- package/dist/esm/index.native17.js +11 -7
- package/dist/esm/index.native170.js +20 -33
- package/dist/esm/index.native171.js +16 -11
- package/dist/esm/index.native172.js +45 -4
- package/dist/esm/index.native173.js +3 -28
- package/dist/esm/index.native174.js +3 -6
- package/dist/esm/index.native175.js +31 -29
- package/dist/esm/index.native176.js +9 -9
- package/dist/esm/index.native177.js +4 -55
- package/dist/esm/index.native178.js +25 -39
- package/dist/esm/index.native179.js +6 -127
- package/dist/esm/index.native18.js +7 -7
- package/dist/esm/index.native180.js +30 -102
- package/dist/esm/index.native181.js +12 -6
- package/dist/esm/index.native182.js +56 -3
- package/dist/esm/index.native183.js +38 -74
- package/dist/esm/index.native184.js +128 -2
- package/dist/esm/index.native185.js +105 -2
- package/dist/esm/index.native186.js +6 -37
- package/dist/esm/index.native187.js +3 -7
- package/dist/esm/index.native188.js +76 -32
- package/dist/esm/index.native189.js +2 -15
- package/dist/esm/index.native19.js +10 -35
- package/dist/esm/index.native190.js +2 -35
- package/dist/esm/index.native191.js +36 -17
- package/dist/esm/index.native192.js +6 -8
- package/dist/esm/index.native193.js +33 -9
- package/dist/esm/index.native194.js +14 -11
- package/dist/esm/index.native195.js +33 -12
- package/dist/esm/index.native196.js +18 -5
- package/dist/esm/index.native197.js +9 -5
- package/dist/esm/index.native198.js +10 -10
- package/dist/esm/index.native199.js +12 -2
- package/dist/esm/index.native2.js +2 -2
- package/dist/esm/index.native20.js +24 -47
- package/dist/esm/index.native200.js +13 -108
- package/dist/esm/index.native201.js +6 -2
- package/dist/esm/index.native202.js +5 -104
- package/dist/esm/index.native203.js +10 -78
- package/dist/esm/index.native204.js +2 -79
- package/dist/esm/index.native205.js +2 -21
- package/dist/esm/index.native206.js +104 -10
- package/dist/esm/index.native207.js +77 -18
- package/dist/esm/index.native208.js +79 -94
- package/dist/esm/index.native209.js +2 -21
- package/dist/esm/index.native21.js +35 -6
- package/dist/esm/index.native210.js +106 -115
- package/dist/esm/index.native211.js +2 -47
- package/dist/esm/index.native212.js +20 -7
- package/dist/esm/index.native213.js +10 -2
- package/dist/esm/index.native214.js +20 -369
- package/dist/esm/index.native215.js +93 -826
- package/dist/esm/index.native216.js +21 -39
- package/dist/esm/index.native217.js +118 -2
- package/dist/esm/index.native218.js +20 -69
- package/dist/esm/index.native219.js +2 -35
- package/dist/esm/index.native22.js +53 -4
- package/dist/esm/index.native220.js +18 -13
- package/dist/esm/index.native221.js +30 -18
- package/dist/esm/index.native222.js +7 -2
- package/dist/esm/index.native223.js +38 -19
- package/dist/esm/index.native224.js +2 -33
- package/dist/esm/index.native225.js +69 -6
- package/dist/esm/index.native226.js +34 -17
- package/dist/esm/index.native227.js +14 -27
- package/dist/esm/index.native228.js +8 -8
- package/dist/esm/index.native229.js +2 -11
- package/dist/esm/index.native23.js +6 -12
- package/dist/esm/index.native230.js +368 -12
- package/dist/esm/index.native231.js +826 -9
- package/dist/esm/index.native232.js +43 -13
- package/dist/esm/index.native233.js +3 -80
- package/dist/esm/index.native234.js +17 -3
- package/dist/esm/index.native235.js +28 -2
- package/dist/esm/index.native236.js +8 -2
- package/dist/esm/index.native237.js +11 -2
- package/dist/esm/index.native238.js +12 -14
- package/dist/esm/index.native239.js +10 -5
- package/dist/esm/index.native24.js +4 -4
- package/dist/esm/index.native240.js +13 -75
- package/dist/esm/index.native241.js +83 -0
- package/dist/esm/index.native242.js +4 -0
- package/dist/esm/index.native243.js +4 -0
- package/dist/esm/index.native244.js +4 -0
- package/dist/esm/index.native245.js +7 -0
- package/dist/esm/index.native246.js +17 -0
- package/dist/esm/index.native247.js +81 -0
- package/dist/esm/index.native25.js +12 -4
- package/dist/esm/index.native26.js +5 -7
- package/dist/esm/index.native27.js +5 -7
- package/dist/esm/index.native28.js +6 -26
- package/dist/esm/index.native29.js +6 -30
- package/dist/esm/index.native3.js +1 -1
- package/dist/esm/index.native30.js +17 -17
- package/dist/esm/index.native31.js +25 -21
- package/dist/esm/index.native32.js +17 -17
- package/dist/esm/index.native33.js +16 -16
- package/dist/esm/index.native34.js +21 -30
- package/dist/esm/index.native35.js +18 -20
- package/dist/esm/index.native36.js +31 -32
- package/dist/esm/index.native37.js +27 -24
- package/dist/esm/index.native38.js +32 -36
- package/dist/esm/index.native39.js +24 -46
- package/dist/esm/index.native4.js +2 -2
- package/dist/esm/index.native40.js +33 -39
- package/dist/esm/index.native41.js +46 -40
- package/dist/esm/index.native42.js +40 -25
- package/dist/esm/index.native43.js +41 -6
- package/dist/esm/index.native44.js +32 -44
- package/dist/esm/index.native45.js +6 -16
- package/dist/esm/index.native46.js +43 -20
- package/dist/esm/index.native47.js +15 -19
- package/dist/esm/index.native48.js +16 -49
- package/dist/esm/index.native49.js +16 -16
- package/dist/esm/index.native5.js +2 -2
- package/dist/esm/index.native50.js +50 -28
- package/dist/esm/index.native51.js +16 -54
- package/dist/esm/index.native52.js +26 -29
- package/dist/esm/index.native53.js +56 -12
- package/dist/esm/index.native54.js +34 -25
- package/dist/esm/index.native55.js +12 -20
- package/dist/esm/index.native56.js +25 -16
- package/dist/esm/index.native57.js +20 -31
- package/dist/esm/index.native58.js +16 -36
- package/dist/esm/index.native59.js +32 -37
- package/dist/esm/index.native6.js +1 -1
- package/dist/esm/index.native60.js +32 -35
- package/dist/esm/index.native61.js +37 -115
- package/dist/esm/index.native62.js +39 -19
- package/dist/esm/index.native63.js +116 -10
- package/dist/esm/index.native64.js +48 -36
- package/dist/esm/index.native65.js +80 -26
- package/dist/esm/index.native66.js +19 -64
- package/dist/esm/index.native67.js +10 -24
- package/dist/esm/index.native68.js +36 -17
- package/dist/esm/index.native69.js +29 -22
- package/dist/esm/index.native7.js +2 -2
- package/dist/esm/index.native70.js +63 -6
- package/dist/esm/index.native71.js +24 -47
- package/dist/esm/index.native72.js +16 -19
- package/dist/esm/index.native73.js +23 -48
- package/dist/esm/index.native74.js +7 -38
- package/dist/esm/index.native75.js +46 -312
- package/dist/esm/index.native76.js +18 -17
- package/dist/esm/index.native77.js +47 -130
- package/dist/esm/index.native78.js +38 -70
- package/dist/esm/index.native79.js +329 -6
- package/dist/esm/index.native80.js +17 -53
- package/dist/esm/index.native81.js +124 -148
- package/dist/esm/index.native82.js +86 -41
- package/dist/esm/index.native83.js +5 -7
- package/dist/esm/index.native84.js +54 -8
- package/dist/esm/index.native85.js +153 -6
- package/dist/esm/index.native86.js +40 -30
- package/dist/esm/index.native87.js +8 -17
- package/dist/esm/index.native88.js +9 -42
- package/dist/esm/index.native89.js +9 -3
- package/dist/esm/index.native90.js +28 -40
- package/dist/esm/index.native91.js +17 -23
- package/dist/esm/index.native92.js +42 -9
- package/dist/esm/index.native93.js +3 -29
- package/dist/esm/index.native94.js +43 -40
- package/dist/esm/index.native95.js +24 -49
- package/dist/esm/index.native96.js +8 -80
- package/dist/esm/index.native97.js +23 -24
- package/dist/esm/index.native98.js +21 -159
- package/dist/esm/index.native99.js +15 -46
- package/dist/esm/index.web.js +188 -178
- package/dist/esm/index.web10.js +1 -1
- package/dist/esm/index.web100.js +74 -88
- package/dist/esm/index.web101.js +25 -136
- package/dist/esm/index.web102.js +157 -66
- package/dist/esm/index.web103.js +48 -27
- package/dist/esm/index.web104.js +28 -24
- package/dist/esm/index.web105.js +73 -24
- package/dist/esm/index.web106.js +8 -64
- package/dist/esm/index.web107.js +93 -44
- package/dist/esm/index.web108.js +137 -21
- package/dist/esm/index.web109.js +66 -150
- package/dist/esm/index.web11.js +1 -1
- package/dist/esm/index.web110.js +27 -17
- package/dist/esm/index.web111.js +24 -23
- package/dist/esm/index.web112.js +24 -51
- package/dist/esm/index.web113.js +61 -373
- package/dist/esm/index.web114.js +47 -29
- package/dist/esm/index.web115.js +21 -29
- package/dist/esm/index.web116.js +155 -2
- package/dist/esm/index.web117.js +14 -63
- package/dist/esm/index.web118.js +18 -360
- package/dist/esm/index.web119.js +50 -944
- package/dist/esm/index.web12.js +4 -4
- package/dist/esm/index.web120.js +377 -2
- package/dist/esm/index.web121.js +2 -52
- package/dist/esm/index.web122.js +65 -26
- package/dist/esm/index.web123.js +362 -52
- package/dist/esm/index.web124.js +28 -10
- package/dist/esm/index.web125.js +29 -2
- package/dist/esm/index.web126.js +945 -45
- package/dist/esm/index.web127.js +2 -14
- package/dist/esm/index.web128.js +48 -11
- package/dist/esm/index.web129.js +26 -11
- package/dist/esm/index.web13.js +34 -14
- package/dist/esm/index.web130.js +54 -4
- package/dist/esm/index.web131.js +11 -5
- package/dist/esm/index.web132.js +2 -48
- package/dist/esm/index.web133.js +45 -15
- package/dist/esm/index.web134.js +13 -28
- package/dist/esm/index.web135.js +12 -7
- package/dist/esm/index.web136.js +11 -3
- package/dist/esm/index.web137.js +4 -28
- package/dist/esm/index.web138.js +5 -9
- package/dist/esm/index.web139.js +47 -7
- package/dist/esm/index.web14.js +11 -7
- package/dist/esm/index.web140.js +8 -74
- package/dist/esm/index.web141.js +13 -13
- package/dist/esm/index.web142.js +7 -3
- package/dist/esm/index.web143.js +3 -15
- package/dist/esm/index.web144.js +28 -4
- package/dist/esm/index.web145.js +8 -14
- package/dist/esm/index.web146.js +7 -19
- package/dist/esm/index.web147.js +69 -50
- package/dist/esm/index.web148.js +27 -16
- package/dist/esm/index.web149.js +3 -23
- package/dist/esm/index.web15.js +7 -7
- package/dist/esm/index.web150.js +15 -8
- package/dist/esm/index.web151.js +4 -42
- package/dist/esm/index.web152.js +14 -7
- package/dist/esm/index.web153.js +10 -11
- package/dist/esm/index.web154.js +62 -2
- package/dist/esm/index.web155.js +18 -2
- package/dist/esm/index.web156.js +23 -13
- package/dist/esm/index.web157.js +8 -55
- package/dist/esm/index.web158.js +42 -6
- package/dist/esm/index.web159.js +7 -21
- package/dist/esm/index.web16.js +10 -35
- package/dist/esm/index.web160.js +19 -16
- package/dist/esm/index.web161.js +13 -45
- package/dist/esm/index.web162.js +55 -3
- package/dist/esm/index.web163.js +6 -3
- package/dist/esm/index.web164.js +20 -33
- package/dist/esm/index.web165.js +16 -11
- package/dist/esm/index.web166.js +45 -4
- package/dist/esm/index.web167.js +3 -28
- package/dist/esm/index.web168.js +3 -6
- package/dist/esm/index.web169.js +31 -29
- package/dist/esm/index.web17.js +24 -47
- package/dist/esm/index.web170.js +9 -9
- package/dist/esm/index.web171.js +4 -55
- package/dist/esm/index.web172.js +25 -39
- package/dist/esm/index.web173.js +6 -127
- package/dist/esm/index.web174.js +30 -102
- package/dist/esm/index.web175.js +12 -6
- package/dist/esm/index.web176.js +56 -3
- package/dist/esm/index.web177.js +38 -74
- package/dist/esm/index.web178.js +128 -2
- package/dist/esm/index.web179.js +105 -2
- package/dist/esm/index.web18.js +35 -6
- package/dist/esm/index.web180.js +6 -37
- package/dist/esm/index.web181.js +3 -7
- package/dist/esm/index.web182.js +76 -32
- package/dist/esm/index.web183.js +2 -15
- package/dist/esm/index.web184.js +2 -35
- package/dist/esm/index.web185.js +36 -17
- package/dist/esm/index.web186.js +6 -8
- package/dist/esm/index.web187.js +33 -9
- package/dist/esm/index.web188.js +14 -11
- package/dist/esm/index.web189.js +33 -12
- package/dist/esm/index.web19.js +53 -4
- package/dist/esm/index.web190.js +18 -5
- package/dist/esm/index.web191.js +9 -5
- package/dist/esm/index.web192.js +10 -10
- package/dist/esm/index.web193.js +11 -20
- package/dist/esm/index.web194.js +14 -10
- package/dist/esm/index.web195.js +6 -20
- package/dist/esm/index.web196.js +4 -93
- package/dist/esm/index.web197.js +11 -21
- package/dist/esm/index.web198.js +2 -118
- package/dist/esm/index.web199.js +2 -104
- package/dist/esm/index.web2.js +2 -2
- package/dist/esm/index.web20.js +6 -12
- package/dist/esm/index.web200.js +19 -77
- package/dist/esm/index.web201.js +10 -79
- package/dist/esm/index.web202.js +20 -2
- package/dist/esm/index.web203.js +89 -104
- package/dist/esm/index.web204.js +21 -2
- package/dist/esm/index.web205.js +118 -8
- package/dist/esm/index.web206.js +104 -2
- package/dist/esm/index.web207.js +71 -361
- package/dist/esm/index.web208.js +78 -826
- package/dist/esm/index.web209.js +2 -39
- package/dist/esm/index.web21.js +4 -4
- package/dist/esm/index.web210.js +109 -2
- package/dist/esm/index.web211.js +2 -70
- package/dist/esm/index.web212.js +7 -34
- package/dist/esm/index.web213.js +2 -15
- package/dist/esm/index.web214.js +364 -16
- package/dist/esm/index.web215.js +827 -2
- package/dist/esm/index.web216.js +38 -19
- package/dist/esm/index.web217.js +2 -33
- package/dist/esm/index.web218.js +69 -6
- package/dist/esm/index.web219.js +34 -17
- package/dist/esm/index.web22.js +12 -4
- package/dist/esm/index.web220.js +14 -27
- package/dist/esm/index.web221.js +20 -7
- package/dist/esm/index.web222.js +2 -11
- package/dist/esm/index.web223.js +18 -11
- package/dist/esm/index.web224.js +32 -9
- package/dist/esm/index.web225.js +6 -16
- package/dist/esm/index.web226.js +45 -79
- package/dist/esm/index.web227.js +16 -45
- package/dist/esm/index.web228.js +28 -4
- package/dist/esm/index.web229.js +8 -2
- package/dist/esm/index.web23.js +5 -7
- package/dist/esm/index.web230.js +11 -2
- package/dist/esm/index.web231.js +13 -2
- package/dist/esm/index.web232.js +10 -5
- package/dist/esm/index.web233.js +13 -75
- package/dist/esm/index.web234.js +80 -14
- package/dist/esm/index.web235.js +4 -0
- package/dist/esm/index.web236.js +4 -0
- package/dist/esm/index.web237.js +6 -0
- package/dist/esm/index.web238.js +4 -0
- package/dist/esm/index.web239.js +7 -0
- package/dist/esm/index.web24.js +5 -7
- package/dist/esm/index.web240.js +81 -0
- package/dist/esm/index.web241.js +17 -0
- package/dist/esm/index.web25.js +6 -27
- package/dist/esm/index.web26.js +6 -31
- package/dist/esm/index.web27.js +18 -18
- package/dist/esm/index.web28.js +26 -22
- package/dist/esm/index.web29.js +18 -18
- package/dist/esm/index.web3.js +1 -1
- package/dist/esm/index.web30.js +16 -16
- package/dist/esm/index.web31.js +22 -31
- package/dist/esm/index.web32.js +19 -21
- package/dist/esm/index.web33.js +32 -33
- package/dist/esm/index.web34.js +28 -24
- package/dist/esm/index.web35.js +33 -37
- package/dist/esm/index.web36.js +24 -47
- package/dist/esm/index.web37.js +34 -40
- package/dist/esm/index.web38.js +47 -40
- package/dist/esm/index.web39.js +41 -26
- package/dist/esm/index.web40.js +41 -6
- package/dist/esm/index.web41.js +33 -44
- package/dist/esm/index.web42.js +6 -16
- package/dist/esm/index.web43.js +43 -20
- package/dist/esm/index.web44.js +15 -19
- package/dist/esm/index.web45.js +16 -50
- package/dist/esm/index.web46.js +16 -16
- package/dist/esm/index.web47.js +51 -28
- package/dist/esm/index.web48.js +16 -54
- package/dist/esm/index.web49.js +26 -29
- package/dist/esm/index.web5.js +1 -1
- package/dist/esm/index.web50.js +56 -12
- package/dist/esm/index.web51.js +34 -25
- package/dist/esm/index.web52.js +12 -20
- package/dist/esm/index.web53.js +25 -16
- package/dist/esm/index.web54.js +20 -31
- package/dist/esm/index.web55.js +16 -37
- package/dist/esm/index.web56.js +32 -38
- package/dist/esm/index.web57.js +33 -36
- package/dist/esm/index.web58.js +38 -115
- package/dist/esm/index.web59.js +40 -19
- package/dist/esm/index.web60.js +116 -10
- package/dist/esm/index.web61.js +48 -36
- package/dist/esm/index.web62.js +81 -26
- package/dist/esm/index.web63.js +19 -64
- package/dist/esm/index.web64.js +10 -24
- package/dist/esm/index.web65.js +36 -17
- package/dist/esm/index.web66.js +29 -22
- package/dist/esm/index.web67.js +63 -6
- package/dist/esm/index.web68.js +24 -47
- package/dist/esm/index.web69.js +16 -19
- package/dist/esm/index.web70.js +23 -48
- package/dist/esm/index.web71.js +7 -38
- package/dist/esm/index.web72.js +46 -312
- package/dist/esm/index.web73.js +18 -17
- package/dist/esm/index.web74.js +47 -131
- package/dist/esm/index.web75.js +38 -70
- package/dist/esm/index.web76.js +329 -6
- package/dist/esm/index.web77.js +17 -54
- package/dist/esm/index.web78.js +125 -149
- package/dist/esm/index.web79.js +80 -61
- package/dist/esm/index.web8.js +1 -1
- package/dist/esm/index.web80.js +7 -35
- package/dist/esm/index.web81.js +49 -83
- package/dist/esm/index.web82.js +150 -36
- package/dist/esm/index.web83.js +65 -29
- package/dist/esm/index.web84.js +35 -18
- package/dist/esm/index.web85.js +90 -42
- package/dist/esm/index.web86.js +43 -3
- package/dist/esm/index.web87.js +28 -40
- package/dist/esm/index.web88.js +17 -23
- package/dist/esm/index.web89.js +42 -9
- package/dist/esm/index.web9.js +5 -5
- package/dist/esm/index.web90.js +3 -29
- package/dist/esm/index.web91.js +43 -40
- package/dist/esm/index.web92.js +24 -49
- package/dist/esm/index.web93.js +8 -81
- package/dist/esm/index.web94.js +23 -24
- package/dist/esm/index.web95.js +21 -159
- package/dist/esm/index.web96.js +15 -46
- package/dist/esm/index.web97.js +28 -25
- package/dist/esm/index.web98.js +40 -72
- package/dist/esm/index.web99.js +49 -9
- package/dist/native/index.native.js +174 -164
- package/dist/native/index.native100.js +28 -19
- package/dist/native/index.native101.js +40 -72
- package/dist/native/index.native102.js +49 -9
- package/dist/native/index.native103.js +73 -87
- package/dist/native/index.native104.js +25 -136
- package/dist/native/index.native105.js +157 -65
- package/dist/native/index.native106.js +48 -27
- package/dist/native/index.native107.js +22 -24
- package/dist/native/index.native108.js +73 -24
- package/dist/native/index.native109.js +8 -64
- package/dist/native/index.native11.js +1 -1
- package/dist/native/index.native110.js +92 -44
- package/dist/native/index.native111.js +137 -21
- package/dist/native/index.native112.js +65 -150
- package/dist/native/index.native113.js +26 -376
- package/dist/native/index.native114.js +24 -29
- package/dist/native/index.native115.js +22 -27
- package/dist/native/index.native116.js +67 -2
- package/dist/native/index.native117.js +46 -65
- package/dist/native/index.native118.js +21 -365
- package/dist/native/index.native119.js +149 -86
- package/dist/native/index.native12.js +6 -6
- package/dist/native/index.native120.js +373 -13
- package/dist/native/index.native121.js +2 -25
- package/dist/native/index.native122.js +63 -48
- package/dist/native/index.native123.js +364 -4
- package/dist/native/index.native124.js +28 -12
- package/dist/native/index.native125.js +28 -11
- package/dist/native/index.native126.js +84 -939
- package/dist/native/index.native127.js +17 -2
- package/dist/native/index.native128.js +21 -48
- package/dist/native/index.native129.js +50 -26
- package/dist/native/index.native13.js +1 -1
- package/dist/native/index.native130.js +944 -13
- package/dist/native/index.native131.js +2 -28
- package/dist/native/index.native132.js +49 -7
- package/dist/native/index.native133.js +26 -3
- package/dist/native/index.native134.js +11 -26
- package/dist/native/index.native135.js +11 -8
- package/dist/native/index.native136.js +4 -7
- package/dist/native/index.native137.js +5 -80
- package/dist/native/index.native138.js +44 -24
- package/dist/native/index.native139.js +13 -3
- package/dist/native/index.native14.js +1 -1
- package/dist/native/index.native140.js +20 -7
- package/dist/native/index.native141.js +7 -4
- package/dist/native/index.native142.js +3 -13
- package/dist/native/index.native143.js +24 -16
- package/dist/native/index.native144.js +8 -60
- package/dist/native/index.native145.js +7 -17
- package/dist/native/index.native146.js +77 -21
- package/dist/native/index.native147.js +27 -8
- package/dist/native/index.native148.js +3 -41
- package/dist/native/index.native149.js +14 -7
- package/dist/native/index.native15.js +4 -4
- package/dist/native/index.native150.js +4 -20
- package/dist/native/index.native151.js +14 -35
- package/dist/native/index.native152.js +17 -65
- package/dist/native/index.native153.js +58 -52
- package/dist/native/index.native154.js +17 -10
- package/dist/native/index.native155.js +24 -2
- package/dist/native/index.native156.js +9 -45
- package/dist/native/index.native157.js +41 -13
- package/dist/native/index.native158.js +8 -5
- package/dist/native/index.native159.js +17 -44
- package/dist/native/index.native16.js +34 -14
- package/dist/native/index.native160.js +35 -2
- package/dist/native/index.native161.js +68 -2
- package/dist/native/index.native162.js +54 -13
- package/dist/native/index.native163.js +10 -55
- package/dist/native/index.native164.js +2 -7
- package/dist/native/index.native165.js +44 -21
- package/dist/native/index.native166.js +13 -17
- package/dist/native/index.native167.js +13 -45
- package/dist/native/index.native168.js +55 -3
- package/dist/native/index.native169.js +6 -3
- package/dist/native/index.native17.js +11 -7
- package/dist/native/index.native170.js +20 -33
- package/dist/native/index.native171.js +16 -11
- package/dist/native/index.native172.js +45 -4
- package/dist/native/index.native173.js +3 -28
- package/dist/native/index.native174.js +3 -6
- package/dist/native/index.native175.js +31 -29
- package/dist/native/index.native176.js +9 -9
- package/dist/native/index.native177.js +4 -55
- package/dist/native/index.native178.js +25 -39
- package/dist/native/index.native179.js +6 -127
- package/dist/native/index.native18.js +7 -7
- package/dist/native/index.native180.js +30 -102
- package/dist/native/index.native181.js +12 -6
- package/dist/native/index.native182.js +56 -3
- package/dist/native/index.native183.js +38 -74
- package/dist/native/index.native184.js +128 -2
- package/dist/native/index.native185.js +105 -2
- package/dist/native/index.native186.js +6 -37
- package/dist/native/index.native187.js +3 -7
- package/dist/native/index.native188.js +76 -32
- package/dist/native/index.native189.js +2 -15
- package/dist/native/index.native19.js +10 -35
- package/dist/native/index.native190.js +2 -35
- package/dist/native/index.native191.js +36 -17
- package/dist/native/index.native192.js +6 -8
- package/dist/native/index.native193.js +33 -9
- package/dist/native/index.native194.js +14 -11
- package/dist/native/index.native195.js +33 -12
- package/dist/native/index.native196.js +18 -5
- package/dist/native/index.native197.js +9 -5
- package/dist/native/index.native198.js +10 -10
- package/dist/native/index.native199.js +12 -2
- package/dist/native/index.native2.js +2 -2
- package/dist/native/index.native20.js +24 -47
- package/dist/native/index.native200.js +13 -108
- package/dist/native/index.native201.js +6 -2
- package/dist/native/index.native202.js +5 -104
- package/dist/native/index.native203.js +10 -78
- package/dist/native/index.native204.js +2 -79
- package/dist/native/index.native205.js +2 -21
- package/dist/native/index.native206.js +104 -10
- package/dist/native/index.native207.js +77 -18
- package/dist/native/index.native208.js +79 -94
- package/dist/native/index.native209.js +2 -21
- package/dist/native/index.native21.js +35 -6
- package/dist/native/index.native210.js +106 -115
- package/dist/native/index.native211.js +2 -47
- package/dist/native/index.native212.js +20 -7
- package/dist/native/index.native213.js +10 -2
- package/dist/native/index.native214.js +20 -369
- package/dist/native/index.native215.js +93 -826
- package/dist/native/index.native216.js +21 -39
- package/dist/native/index.native217.js +118 -2
- package/dist/native/index.native218.js +20 -69
- package/dist/native/index.native219.js +2 -35
- package/dist/native/index.native22.js +53 -4
- package/dist/native/index.native220.js +18 -13
- package/dist/native/index.native221.js +30 -18
- package/dist/native/index.native222.js +7 -2
- package/dist/native/index.native223.js +38 -19
- package/dist/native/index.native224.js +2 -33
- package/dist/native/index.native225.js +69 -6
- package/dist/native/index.native226.js +34 -17
- package/dist/native/index.native227.js +14 -27
- package/dist/native/index.native228.js +8 -8
- package/dist/native/index.native229.js +2 -11
- package/dist/native/index.native23.js +6 -12
- package/dist/native/index.native230.js +368 -12
- package/dist/native/index.native231.js +826 -9
- package/dist/native/index.native232.js +43 -13
- package/dist/native/index.native233.js +3 -80
- package/dist/native/index.native234.js +17 -3
- package/dist/native/index.native235.js +28 -2
- package/dist/native/index.native236.js +8 -2
- package/dist/native/index.native237.js +11 -2
- package/dist/native/index.native238.js +12 -14
- package/dist/native/index.native239.js +10 -5
- package/dist/native/index.native24.js +4 -4
- package/dist/native/index.native240.js +13 -75
- package/dist/native/index.native241.js +83 -0
- package/dist/native/index.native242.js +4 -0
- package/dist/native/index.native243.js +4 -0
- package/dist/native/index.native244.js +4 -0
- package/dist/native/index.native245.js +7 -0
- package/dist/native/index.native246.js +17 -0
- package/dist/native/index.native247.js +81 -0
- package/dist/native/index.native25.js +12 -4
- package/dist/native/index.native26.js +5 -7
- package/dist/native/index.native27.js +5 -7
- package/dist/native/index.native28.js +6 -26
- package/dist/native/index.native29.js +6 -30
- package/dist/native/index.native3.js +1 -1
- package/dist/native/index.native30.js +17 -17
- package/dist/native/index.native31.js +25 -21
- package/dist/native/index.native32.js +17 -17
- package/dist/native/index.native33.js +16 -16
- package/dist/native/index.native34.js +21 -30
- package/dist/native/index.native35.js +18 -20
- package/dist/native/index.native36.js +31 -32
- package/dist/native/index.native37.js +27 -24
- package/dist/native/index.native38.js +32 -36
- package/dist/native/index.native39.js +24 -46
- package/dist/native/index.native4.js +2 -2
- package/dist/native/index.native40.js +33 -39
- package/dist/native/index.native41.js +46 -40
- package/dist/native/index.native42.js +40 -25
- package/dist/native/index.native43.js +41 -6
- package/dist/native/index.native44.js +32 -44
- package/dist/native/index.native45.js +6 -16
- package/dist/native/index.native46.js +43 -20
- package/dist/native/index.native47.js +15 -19
- package/dist/native/index.native48.js +16 -49
- package/dist/native/index.native49.js +16 -16
- package/dist/native/index.native5.js +2 -2
- package/dist/native/index.native50.js +50 -28
- package/dist/native/index.native51.js +16 -54
- package/dist/native/index.native52.js +26 -29
- package/dist/native/index.native53.js +56 -12
- package/dist/native/index.native54.js +34 -25
- package/dist/native/index.native55.js +12 -20
- package/dist/native/index.native56.js +25 -16
- package/dist/native/index.native57.js +20 -31
- package/dist/native/index.native58.js +16 -36
- package/dist/native/index.native59.js +32 -37
- package/dist/native/index.native6.js +1 -1
- package/dist/native/index.native60.js +32 -35
- package/dist/native/index.native61.js +37 -115
- package/dist/native/index.native62.js +39 -19
- package/dist/native/index.native63.js +116 -10
- package/dist/native/index.native64.js +48 -36
- package/dist/native/index.native65.js +80 -26
- package/dist/native/index.native66.js +19 -64
- package/dist/native/index.native67.js +10 -24
- package/dist/native/index.native68.js +36 -17
- package/dist/native/index.native69.js +29 -22
- package/dist/native/index.native7.js +2 -2
- package/dist/native/index.native70.js +63 -6
- package/dist/native/index.native71.js +24 -47
- package/dist/native/index.native72.js +16 -19
- package/dist/native/index.native73.js +23 -48
- package/dist/native/index.native74.js +7 -38
- package/dist/native/index.native75.js +46 -312
- package/dist/native/index.native76.js +18 -17
- package/dist/native/index.native77.js +47 -130
- package/dist/native/index.native78.js +38 -70
- package/dist/native/index.native79.js +329 -6
- package/dist/native/index.native80.js +17 -53
- package/dist/native/index.native81.js +124 -148
- package/dist/native/index.native82.js +86 -41
- package/dist/native/index.native83.js +5 -7
- package/dist/native/index.native84.js +54 -8
- package/dist/native/index.native85.js +153 -6
- package/dist/native/index.native86.js +40 -30
- package/dist/native/index.native87.js +8 -17
- package/dist/native/index.native88.js +9 -42
- package/dist/native/index.native89.js +9 -3
- package/dist/native/index.native90.js +28 -40
- package/dist/native/index.native91.js +17 -23
- package/dist/native/index.native92.js +42 -9
- package/dist/native/index.native93.js +3 -29
- package/dist/native/index.native94.js +43 -40
- package/dist/native/index.native95.js +24 -49
- package/dist/native/index.native96.js +8 -80
- package/dist/native/index.native97.js +23 -24
- package/dist/native/index.native98.js +21 -159
- package/dist/native/index.native99.js +15 -46
- package/dist/native-types/actions/authenticateWithJWT.d.ts +64 -0
- package/dist/native-types/actions/cancelMfaVerification.d.ts +19 -0
- package/dist/native-types/actions/createDelegation.d.ts +18 -0
- package/dist/native-types/actions/createEvmEip7702Delegation.d.ts +27 -0
- package/dist/native-types/actions/createEvmEoaAccount.d.ts +12 -0
- package/dist/native-types/actions/createEvmSmartAccount.d.ts +25 -0
- package/dist/native-types/actions/createKeyExportIframe.d.ts +148 -0
- package/dist/native-types/actions/createSolanaAccount.d.ts +12 -0
- package/dist/native-types/actions/createSpendPermission.d.ts +36 -0
- package/dist/native-types/actions/executeSwap.d.ts +105 -0
- package/dist/native-types/actions/exportEvmAccount.d.ts +18 -0
- package/dist/native-types/actions/exportSolanaAccount.d.ts +17 -0
- package/dist/native-types/actions/fetchWithX402.d.ts +27 -0
- package/dist/native-types/actions/getAccessToken.d.ts +11 -0
- package/dist/native-types/actions/getAccessTokenExpiration.d.ts +9 -0
- package/dist/native-types/actions/getCurrentUser.d.ts +9 -0
- package/dist/native-types/actions/getCurrentUserSync.d.ts +9 -0
- package/dist/native-types/actions/getEvmEip7702DelegationOperation.d.ts +12 -0
- package/dist/native-types/actions/getMfaConfig.d.ts +17 -0
- package/dist/native-types/actions/getProjectConfig.d.ts +13 -0
- package/dist/native-types/actions/getSwapPrice.d.ts +85 -0
- package/dist/native-types/actions/getUserOperation.d.ts +18 -0
- package/dist/native-types/actions/initialize.d.ts +11 -0
- package/dist/native-types/actions/initiateMfaEnrollment.d.ts +61 -0
- package/dist/native-types/actions/initiateMfaVerification.d.ts +27 -0
- package/dist/native-types/actions/isSignedIn.d.ts +12 -0
- package/dist/native-types/actions/linkApple.d.ts +7 -0
- package/dist/native-types/actions/linkEmail.d.ts +8 -0
- package/dist/native-types/actions/linkGoogle.d.ts +5 -0
- package/dist/native-types/actions/linkOAuth.d.ts +8 -0
- package/dist/native-types/actions/linkSms.d.ts +8 -0
- package/dist/native-types/actions/linkTelegram.d.ts +5 -0
- package/dist/native-types/actions/listSpendPermissions.d.ts +32 -0
- package/dist/native-types/actions/onAuthStateChange.d.ts +16 -0
- package/dist/native-types/actions/onOAuthStateChange.d.ts +6 -0
- package/dist/native-types/actions/recordMfaEnrollmentPrompted.d.ts +18 -0
- package/dist/native-types/actions/revokeDelegation.d.ts +12 -0
- package/dist/native-types/actions/revokeSpendPermission.d.ts +34 -0
- package/dist/native-types/actions/sendEvmEoaUsdc.d.ts +32 -0
- package/dist/native-types/actions/sendEvmSmartAccountUsdc.d.ts +37 -0
- package/dist/native-types/actions/sendEvmTransaction.d.ts +30 -0
- package/dist/native-types/actions/sendSolanaTransaction.d.ts +6 -0
- package/dist/native-types/actions/sendSolanaUsdc.d.ts +60 -0
- package/dist/native-types/actions/sendUsdc.d.ts +79 -0
- package/dist/native-types/actions/sendUserOperation.d.ts +29 -0
- package/dist/native-types/actions/signEvmHash.d.ts +15 -0
- package/dist/native-types/actions/signEvmMessage.d.ts +19 -0
- package/dist/native-types/actions/signEvmTransaction.d.ts +27 -0
- package/dist/native-types/actions/signEvmTypedData.d.ts +50 -0
- package/dist/native-types/actions/signInWithEmail.d.ts +12 -0
- package/dist/native-types/actions/signInWithOAuth.d.ts +40 -0
- package/dist/native-types/actions/signInWithSiwe.d.ts +48 -0
- package/dist/native-types/actions/signInWithSms.d.ts +12 -0
- package/dist/native-types/actions/signOut.d.ts +8 -0
- package/dist/native-types/actions/signSolanaMessage.d.ts +20 -0
- package/dist/native-types/actions/signSolanaTransaction.d.ts +18 -0
- package/dist/native-types/actions/submitMfaEnrollment.d.ts +37 -0
- package/dist/native-types/actions/submitMfaVerification.d.ts +30 -0
- package/dist/native-types/actions/verifyEmailOTP.d.ts +13 -0
- package/dist/native-types/actions/verifyOAuth.d.ts +36 -0
- package/dist/native-types/actions/verifySiweSignature.d.ts +34 -0
- package/dist/native-types/actions/verifySmsOTP.d.ts +13 -0
- package/dist/native-types/actions/verifyTelegramOAuth.d.ts +6 -0
- package/dist/native-types/actions/waitForEvmEip7702Delegation.d.ts +34 -0
- package/dist/native-types/auth/authManager.d.ts +115 -0
- package/dist/native-types/auth/createAuthManager.d.ts +9 -0
- package/dist/native-types/auth/customAuthManager.d.ts +46 -0
- package/dist/native-types/auth/oAuthManager.d.ts +28 -0
- package/dist/native-types/auth/toAuthState.d.ts +15 -0
- package/dist/native-types/auth/types.d.ts +81 -0
- package/dist/native-types/auth/withAuth.d.ts +14 -0
- package/dist/native-types/constants.d.ts +3 -0
- package/dist/native-types/core.d.ts +2 -0
- package/dist/native-types/eip1193/createCDPEmbeddedWallet.d.ts +75 -0
- package/dist/native-types/eip1193/createProvider.d.ts +39 -0
- package/dist/native-types/eip1193/errors.d.ts +105 -0
- package/dist/native-types/eip1193/eventEmitter.d.ts +29 -0
- package/dist/native-types/eip1193/handlers/createEOAHandlers.d.ts +6 -0
- package/dist/native-types/eip1193/handlers/createSmartAccountHandlers.d.ts +6 -0
- package/dist/native-types/eip1193/handlers/eoa/handleAccounts.d.ts +6 -0
- package/dist/native-types/eip1193/handlers/eoa/handleEthSign.d.ts +7 -0
- package/dist/native-types/eip1193/handlers/eoa/handleGetCallsStatus.d.ts +8 -0
- package/dist/native-types/eip1193/handlers/eoa/handleGetCapabilities.d.ts +6 -0
- package/dist/native-types/eip1193/handlers/eoa/handlePersonalSign.d.ts +7 -0
- package/dist/native-types/eip1193/handlers/eoa/handleRequestAccounts.d.ts +10 -0
- package/dist/native-types/eip1193/handlers/eoa/handleSendCalls.d.ts +7 -0
- package/dist/native-types/eip1193/handlers/eoa/handleSendTransaction.d.ts +9 -0
- package/dist/native-types/eip1193/handlers/eoa/handleSignTypedData.d.ts +7 -0
- package/dist/native-types/eip1193/handlers/shared/handleChainId.d.ts +7 -0
- package/dist/native-types/eip1193/handlers/shared/handleDisconnect.d.ts +6 -0
- package/dist/native-types/eip1193/handlers/shared/handleSwitchEthereumChain.d.ts +6 -0
- package/dist/native-types/eip1193/handlers/smart-account/handleAccounts.d.ts +6 -0
- package/dist/native-types/eip1193/handlers/smart-account/handleEthSign.d.ts +8 -0
- package/dist/native-types/eip1193/handlers/smart-account/handleGetCallsStatus.d.ts +8 -0
- package/dist/native-types/eip1193/handlers/smart-account/handleGetCapabilities.d.ts +6 -0
- package/dist/native-types/eip1193/handlers/smart-account/handlePersonalSign.d.ts +8 -0
- package/dist/native-types/eip1193/handlers/smart-account/handleRequestAccounts.d.ts +10 -0
- package/dist/native-types/eip1193/handlers/smart-account/handleSendCalls.d.ts +7 -0
- package/dist/native-types/eip1193/handlers/smart-account/handleSendTransaction.d.ts +9 -0
- package/dist/native-types/eip1193/handlers/smart-account/handleSignTypedData.d.ts +8 -0
- package/dist/native-types/eip1193/handlers/types.d.ts +3 -0
- package/dist/native-types/eip1193/types.d.ts +99 -0
- package/dist/native-types/errors.d.ts +90 -1
- package/dist/native-types/index.d.ts +3 -0
- package/dist/native-types/index.native.d.ts +8 -0
- package/dist/native-types/index.web.d.ts +8 -0
- package/dist/native-types/mfa/protectedActions.d.ts +41 -0
- package/dist/native-types/mfa/state.d.ts +95 -0
- package/dist/native-types/mfa/utils.d.ts +59 -0
- package/dist/native-types/mfa/withMfa.d.ts +45 -0
- package/dist/native-types/mocks/config.d.ts +11 -0
- package/dist/native-types/mocks/mockAuthManager.d.ts +86 -0
- package/dist/native-types/mocks/mockOAuthManager.d.ts +28 -0
- package/dist/native-types/mocks/user.d.ts +30 -0
- package/dist/native-types/platform/native/appleAuthRegistry.d.ts +23 -0
- package/dist/native-types/platform/native/attestation.d.ts +16 -0
- package/dist/native-types/platform/native/attestationRegistry.d.ts +28 -0
- package/dist/native-types/platform/native/crypto.d.ts +4 -0
- package/dist/native-types/platform/native/deviceInfo.d.ts +3 -0
- package/dist/native-types/platform/native/deviceInfoRegistry.d.ts +24 -0
- package/dist/native-types/platform/native/secureStorage.d.ts +6 -0
- package/dist/native-types/platform/native/storage.d.ts +7 -0
- package/dist/native-types/platform/registry.d.ts +61 -0
- package/dist/native-types/platform/types.d.ts +270 -0
- package/dist/native-types/platform/web/crypto.d.ts +4 -0
- package/dist/native-types/platform/web/storage.d.ts +4 -0
- package/dist/native-types/secureIframe/data.d.ts +15 -0
- package/dist/native-types/secureIframe/types.d.ts +69 -0
- package/dist/native-types/secureIframe/utils.d.ts +66 -0
- package/dist/native-types/shared/base64.d.ts +14 -0
- package/dist/native-types/shared/completeAuthFlow.d.ts +9 -0
- package/dist/native-types/shared/createEvmAccountIfNeeded.d.ts +9 -0
- package/dist/native-types/shared/createSolanaAccountIfNeeded.d.ts +8 -0
- package/dist/native-types/shared/initiateSignIn.d.ts +13 -0
- package/dist/native-types/shared/textEncoding.d.ts +14 -0
- package/dist/native-types/shared/types.d.ts +5 -0
- package/dist/native-types/shared/utils.d.ts +33 -0
- package/dist/native-types/shared/validators.d.ts +8 -0
- package/dist/native-types/shared/verifyOTP.d.ts +8 -0
- package/dist/native-types/solana-kit/toTransactionSigner.d.ts +7 -0
- package/dist/native-types/spend-permissions/toSpendPermission.d.ts +7 -0
- package/dist/native-types/spend-permissions/types.d.ts +27 -0
- package/dist/native-types/state.d.ts +66 -0
- package/dist/native-types/swap/errors.d.ts +8 -0
- package/dist/native-types/swap/resolveAccount.d.ts +11 -0
- package/dist/native-types/swap/validation.d.ts +20 -0
- package/dist/native-types/types.d.ts +376 -2
- package/dist/native-types/utils/validatePhoneNumber.d.ts +25 -0
- package/dist/native-types/version.d.ts +5 -1
- package/dist/native-types/viem/factory.d.ts +6 -0
- package/dist/native-types/viem/signAndWrapTypedData.d.ts +107 -0
- package/dist/native-types/viem/toViemAccount.d.ts +15 -0
- package/dist/types/actions/authenticateWithJWT.d.ts +64 -0
- package/dist/types/actions/cancelMfaVerification.d.ts +19 -0
- package/dist/types/actions/createDelegation.d.ts +18 -0
- package/dist/types/actions/createEvmEip7702Delegation.d.ts +27 -0
- package/dist/types/actions/createEvmEoaAccount.d.ts +12 -0
- package/dist/types/actions/createEvmSmartAccount.d.ts +25 -0
- package/dist/types/actions/createKeyExportIframe.d.ts +148 -0
- package/dist/types/actions/createSolanaAccount.d.ts +12 -0
- package/dist/types/actions/createSpendPermission.d.ts +36 -0
- package/dist/types/actions/executeSwap.d.ts +105 -0
- package/dist/types/actions/exportEvmAccount.d.ts +18 -0
- package/dist/types/actions/exportSolanaAccount.d.ts +17 -0
- package/dist/types/actions/fetchWithX402.d.ts +27 -0
- package/dist/types/actions/getAccessToken.d.ts +11 -0
- package/dist/types/actions/getAccessTokenExpiration.d.ts +9 -0
- package/dist/types/actions/getCurrentUser.d.ts +9 -0
- package/dist/types/actions/getCurrentUserSync.d.ts +9 -0
- package/dist/types/actions/getEvmEip7702DelegationOperation.d.ts +12 -0
- package/dist/types/actions/getMfaConfig.d.ts +17 -0
- package/dist/types/actions/getProjectConfig.d.ts +13 -0
- package/dist/types/actions/getSwapPrice.d.ts +85 -0
- package/dist/types/actions/getUserOperation.d.ts +18 -0
- package/dist/types/actions/initialize.d.ts +11 -0
- package/dist/types/actions/initiateMfaEnrollment.d.ts +61 -0
- package/dist/types/actions/initiateMfaVerification.d.ts +27 -0
- package/dist/types/actions/isSignedIn.d.ts +12 -0
- package/dist/types/actions/linkApple.d.ts +7 -0
- package/dist/types/actions/linkEmail.d.ts +8 -0
- package/dist/types/actions/linkGoogle.d.ts +5 -0
- package/dist/types/actions/linkOAuth.d.ts +8 -0
- package/dist/types/actions/linkSms.d.ts +8 -0
- package/dist/types/actions/linkTelegram.d.ts +5 -0
- package/dist/types/actions/listSpendPermissions.d.ts +32 -0
- package/dist/types/actions/onAuthStateChange.d.ts +16 -0
- package/dist/types/actions/onOAuthStateChange.d.ts +6 -0
- package/dist/types/actions/recordMfaEnrollmentPrompted.d.ts +18 -0
- package/dist/types/actions/revokeDelegation.d.ts +12 -0
- package/dist/types/actions/revokeSpendPermission.d.ts +34 -0
- package/dist/types/actions/sendEvmEoaUsdc.d.ts +32 -0
- package/dist/types/actions/sendEvmSmartAccountUsdc.d.ts +37 -0
- package/dist/types/actions/sendEvmTransaction.d.ts +30 -0
- package/dist/types/actions/sendSolanaTransaction.d.ts +6 -0
- package/dist/types/actions/sendSolanaUsdc.d.ts +60 -0
- package/dist/types/actions/sendUsdc.d.ts +79 -0
- package/dist/types/actions/sendUserOperation.d.ts +29 -0
- package/dist/types/actions/signEvmHash.d.ts +15 -0
- package/dist/types/actions/signEvmMessage.d.ts +19 -0
- package/dist/types/actions/signEvmTransaction.d.ts +27 -0
- package/dist/types/actions/signEvmTypedData.d.ts +50 -0
- package/dist/types/actions/signInWithEmail.d.ts +12 -0
- package/dist/types/actions/signInWithOAuth.d.ts +40 -0
- package/dist/types/actions/signInWithSiwe.d.ts +48 -0
- package/dist/types/actions/signInWithSms.d.ts +12 -0
- package/dist/types/actions/signOut.d.ts +8 -0
- package/dist/types/actions/signSolanaMessage.d.ts +20 -0
- package/dist/types/actions/signSolanaTransaction.d.ts +18 -0
- package/dist/types/actions/submitMfaEnrollment.d.ts +37 -0
- package/dist/types/actions/submitMfaVerification.d.ts +30 -0
- package/dist/types/actions/verifyEmailOTP.d.ts +13 -0
- package/dist/types/actions/verifyOAuth.d.ts +36 -0
- package/dist/types/actions/verifySiweSignature.d.ts +34 -0
- package/dist/types/actions/verifySmsOTP.d.ts +13 -0
- package/dist/types/actions/verifyTelegramOAuth.d.ts +6 -0
- package/dist/types/actions/waitForEvmEip7702Delegation.d.ts +34 -0
- package/dist/types/auth/authManager.d.ts +115 -0
- package/dist/types/auth/createAuthManager.d.ts +9 -0
- package/dist/types/auth/customAuthManager.d.ts +46 -0
- package/dist/types/auth/oAuthManager.d.ts +28 -0
- package/dist/types/auth/toAuthState.d.ts +15 -0
- package/dist/types/auth/types.d.ts +81 -0
- package/dist/types/auth/withAuth.d.ts +14 -0
- package/dist/types/constants.d.ts +3 -0
- package/dist/types/core.d.ts +2 -0
- package/dist/types/eip1193/createCDPEmbeddedWallet.d.ts +75 -0
- package/dist/types/eip1193/createProvider.d.ts +39 -0
- package/dist/types/eip1193/errors.d.ts +105 -0
- package/dist/types/eip1193/eventEmitter.d.ts +29 -0
- package/dist/types/eip1193/handlers/createEOAHandlers.d.ts +6 -0
- package/dist/types/eip1193/handlers/createSmartAccountHandlers.d.ts +6 -0
- package/dist/types/eip1193/handlers/eoa/handleAccounts.d.ts +6 -0
- package/dist/types/eip1193/handlers/eoa/handleEthSign.d.ts +7 -0
- package/dist/types/eip1193/handlers/eoa/handleGetCallsStatus.d.ts +8 -0
- package/dist/types/eip1193/handlers/eoa/handleGetCapabilities.d.ts +6 -0
- package/dist/types/eip1193/handlers/eoa/handlePersonalSign.d.ts +7 -0
- package/dist/types/eip1193/handlers/eoa/handleRequestAccounts.d.ts +10 -0
- package/dist/types/eip1193/handlers/eoa/handleSendCalls.d.ts +7 -0
- package/dist/types/eip1193/handlers/eoa/handleSendTransaction.d.ts +9 -0
- package/dist/types/eip1193/handlers/eoa/handleSignTypedData.d.ts +7 -0
- package/dist/types/eip1193/handlers/shared/handleChainId.d.ts +7 -0
- package/dist/types/eip1193/handlers/shared/handleDisconnect.d.ts +6 -0
- package/dist/types/eip1193/handlers/shared/handleSwitchEthereumChain.d.ts +6 -0
- package/dist/types/eip1193/handlers/smart-account/handleAccounts.d.ts +6 -0
- package/dist/types/eip1193/handlers/smart-account/handleEthSign.d.ts +8 -0
- package/dist/types/eip1193/handlers/smart-account/handleGetCallsStatus.d.ts +8 -0
- package/dist/types/eip1193/handlers/smart-account/handleGetCapabilities.d.ts +6 -0
- package/dist/types/eip1193/handlers/smart-account/handlePersonalSign.d.ts +8 -0
- package/dist/types/eip1193/handlers/smart-account/handleRequestAccounts.d.ts +10 -0
- package/dist/types/eip1193/handlers/smart-account/handleSendCalls.d.ts +7 -0
- package/dist/types/eip1193/handlers/smart-account/handleSendTransaction.d.ts +9 -0
- package/dist/types/eip1193/handlers/smart-account/handleSignTypedData.d.ts +8 -0
- package/dist/types/eip1193/handlers/types.d.ts +3 -0
- package/dist/types/eip1193/types.d.ts +99 -0
- package/dist/types/errors.d.ts +90 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.native.d.ts +8 -0
- package/dist/types/index.web.d.ts +8 -0
- package/dist/types/mfa/protectedActions.d.ts +41 -0
- package/dist/types/mfa/state.d.ts +95 -0
- package/dist/types/mfa/utils.d.ts +59 -0
- package/dist/types/mfa/withMfa.d.ts +45 -0
- package/dist/types/mocks/config.d.ts +11 -0
- package/dist/types/mocks/mockAuthManager.d.ts +86 -0
- package/dist/types/mocks/mockOAuthManager.d.ts +28 -0
- package/dist/types/mocks/user.d.ts +30 -0
- package/dist/types/platform/native/appleAuthRegistry.d.ts +23 -0
- package/dist/types/platform/native/attestation.d.ts +16 -0
- package/dist/types/platform/native/attestationRegistry.d.ts +28 -0
- package/dist/types/platform/native/crypto.d.ts +4 -0
- package/dist/types/platform/native/deviceInfo.d.ts +3 -0
- package/dist/types/platform/native/deviceInfoRegistry.d.ts +24 -0
- package/dist/types/platform/native/secureStorage.d.ts +6 -0
- package/dist/types/platform/native/storage.d.ts +7 -0
- package/dist/types/platform/registry.d.ts +61 -0
- package/dist/types/platform/types.d.ts +270 -0
- package/dist/types/platform/web/crypto.d.ts +4 -0
- package/dist/types/platform/web/storage.d.ts +4 -0
- package/dist/types/secureIframe/data.d.ts +15 -0
- package/dist/types/secureIframe/types.d.ts +69 -0
- package/dist/types/secureIframe/utils.d.ts +66 -0
- package/dist/types/shared/base64.d.ts +14 -0
- package/dist/types/shared/completeAuthFlow.d.ts +9 -0
- package/dist/types/shared/createEvmAccountIfNeeded.d.ts +9 -0
- package/dist/types/shared/createSolanaAccountIfNeeded.d.ts +8 -0
- package/dist/types/shared/initiateSignIn.d.ts +13 -0
- package/dist/types/shared/textEncoding.d.ts +14 -0
- package/dist/types/shared/types.d.ts +5 -0
- package/dist/types/shared/utils.d.ts +33 -0
- package/dist/types/shared/validators.d.ts +8 -0
- package/dist/types/shared/verifyOTP.d.ts +8 -0
- package/dist/types/solana-kit/toTransactionSigner.d.ts +7 -0
- package/dist/types/spend-permissions/toSpendPermission.d.ts +7 -0
- package/dist/types/spend-permissions/types.d.ts +27 -0
- package/dist/types/state.d.ts +66 -0
- package/dist/types/swap/errors.d.ts +8 -0
- package/dist/types/swap/resolveAccount.d.ts +11 -0
- package/dist/types/swap/validation.d.ts +20 -0
- package/dist/types/types.d.ts +376 -2
- package/dist/types/utils/validatePhoneNumber.d.ts +25 -0
- package/dist/types/version.d.ts +5 -1
- package/dist/types/viem/factory.d.ts +6 -0
- package/dist/types/viem/signAndWrapTypedData.d.ts +107 -0
- package/dist/types/viem/toViemAccount.d.ts +15 -0
- package/dist/web/index.web.js +188 -178
- package/dist/web/index.web10.js +1 -1
- package/dist/web/index.web100.js +74 -88
- package/dist/web/index.web101.js +25 -136
- package/dist/web/index.web102.js +157 -66
- package/dist/web/index.web103.js +48 -27
- package/dist/web/index.web104.js +28 -24
- package/dist/web/index.web105.js +73 -24
- package/dist/web/index.web106.js +8 -64
- package/dist/web/index.web107.js +93 -44
- package/dist/web/index.web108.js +137 -21
- package/dist/web/index.web109.js +66 -150
- package/dist/web/index.web11.js +1 -1
- package/dist/web/index.web110.js +27 -17
- package/dist/web/index.web111.js +24 -23
- package/dist/web/index.web112.js +24 -51
- package/dist/web/index.web113.js +61 -373
- package/dist/web/index.web114.js +47 -29
- package/dist/web/index.web115.js +21 -29
- package/dist/web/index.web116.js +155 -2
- package/dist/web/index.web117.js +14 -63
- package/dist/web/index.web118.js +18 -360
- package/dist/web/index.web119.js +50 -944
- package/dist/web/index.web12.js +4 -4
- package/dist/web/index.web120.js +377 -2
- package/dist/web/index.web121.js +2 -52
- package/dist/web/index.web122.js +65 -26
- package/dist/web/index.web123.js +362 -52
- package/dist/web/index.web124.js +28 -10
- package/dist/web/index.web125.js +29 -2
- package/dist/web/index.web126.js +945 -45
- package/dist/web/index.web127.js +2 -14
- package/dist/web/index.web128.js +48 -11
- package/dist/web/index.web129.js +26 -11
- package/dist/web/index.web13.js +34 -14
- package/dist/web/index.web130.js +54 -4
- package/dist/web/index.web131.js +11 -5
- package/dist/web/index.web132.js +2 -48
- package/dist/web/index.web133.js +45 -15
- package/dist/web/index.web134.js +13 -28
- package/dist/web/index.web135.js +12 -7
- package/dist/web/index.web136.js +11 -3
- package/dist/web/index.web137.js +4 -28
- package/dist/web/index.web138.js +5 -9
- package/dist/web/index.web139.js +47 -7
- package/dist/web/index.web14.js +11 -7
- package/dist/web/index.web140.js +8 -74
- package/dist/web/index.web141.js +13 -13
- package/dist/web/index.web142.js +7 -3
- package/dist/web/index.web143.js +3 -15
- package/dist/web/index.web144.js +28 -4
- package/dist/web/index.web145.js +8 -14
- package/dist/web/index.web146.js +7 -19
- package/dist/web/index.web147.js +69 -50
- package/dist/web/index.web148.js +27 -16
- package/dist/web/index.web149.js +3 -23
- package/dist/web/index.web15.js +7 -7
- package/dist/web/index.web150.js +15 -8
- package/dist/web/index.web151.js +4 -42
- package/dist/web/index.web152.js +14 -7
- package/dist/web/index.web153.js +10 -11
- package/dist/web/index.web154.js +62 -2
- package/dist/web/index.web155.js +18 -2
- package/dist/web/index.web156.js +23 -13
- package/dist/web/index.web157.js +8 -55
- package/dist/web/index.web158.js +42 -6
- package/dist/web/index.web159.js +7 -21
- package/dist/web/index.web16.js +10 -35
- package/dist/web/index.web160.js +19 -16
- package/dist/web/index.web161.js +13 -45
- package/dist/web/index.web162.js +55 -3
- package/dist/web/index.web163.js +6 -3
- package/dist/web/index.web164.js +20 -33
- package/dist/web/index.web165.js +16 -11
- package/dist/web/index.web166.js +45 -4
- package/dist/web/index.web167.js +3 -28
- package/dist/web/index.web168.js +3 -6
- package/dist/web/index.web169.js +31 -29
- package/dist/web/index.web17.js +24 -47
- package/dist/web/index.web170.js +9 -9
- package/dist/web/index.web171.js +4 -55
- package/dist/web/index.web172.js +25 -39
- package/dist/web/index.web173.js +6 -127
- package/dist/web/index.web174.js +30 -102
- package/dist/web/index.web175.js +12 -6
- package/dist/web/index.web176.js +56 -3
- package/dist/web/index.web177.js +38 -74
- package/dist/web/index.web178.js +128 -2
- package/dist/web/index.web179.js +105 -2
- package/dist/web/index.web18.js +35 -6
- package/dist/web/index.web180.js +6 -37
- package/dist/web/index.web181.js +3 -7
- package/dist/web/index.web182.js +76 -32
- package/dist/web/index.web183.js +2 -15
- package/dist/web/index.web184.js +2 -35
- package/dist/web/index.web185.js +36 -17
- package/dist/web/index.web186.js +6 -8
- package/dist/web/index.web187.js +33 -9
- package/dist/web/index.web188.js +14 -11
- package/dist/web/index.web189.js +33 -12
- package/dist/web/index.web19.js +53 -4
- package/dist/web/index.web190.js +18 -5
- package/dist/web/index.web191.js +9 -5
- package/dist/web/index.web192.js +10 -10
- package/dist/web/index.web193.js +11 -20
- package/dist/web/index.web194.js +14 -10
- package/dist/web/index.web195.js +6 -20
- package/dist/web/index.web196.js +4 -93
- package/dist/web/index.web197.js +11 -21
- package/dist/web/index.web198.js +2 -118
- package/dist/web/index.web199.js +2 -104
- package/dist/web/index.web2.js +2 -2
- package/dist/web/index.web20.js +6 -12
- package/dist/web/index.web200.js +19 -77
- package/dist/web/index.web201.js +10 -79
- package/dist/web/index.web202.js +20 -2
- package/dist/web/index.web203.js +89 -104
- package/dist/web/index.web204.js +21 -2
- package/dist/web/index.web205.js +118 -8
- package/dist/web/index.web206.js +104 -2
- package/dist/web/index.web207.js +71 -361
- package/dist/web/index.web208.js +78 -826
- package/dist/web/index.web209.js +2 -39
- package/dist/web/index.web21.js +4 -4
- package/dist/web/index.web210.js +109 -2
- package/dist/web/index.web211.js +2 -70
- package/dist/web/index.web212.js +7 -34
- package/dist/web/index.web213.js +2 -15
- package/dist/web/index.web214.js +364 -16
- package/dist/web/index.web215.js +827 -2
- package/dist/web/index.web216.js +38 -19
- package/dist/web/index.web217.js +2 -33
- package/dist/web/index.web218.js +69 -6
- package/dist/web/index.web219.js +34 -17
- package/dist/web/index.web22.js +12 -4
- package/dist/web/index.web220.js +14 -27
- package/dist/web/index.web221.js +20 -7
- package/dist/web/index.web222.js +2 -11
- package/dist/web/index.web223.js +18 -11
- package/dist/web/index.web224.js +32 -9
- package/dist/web/index.web225.js +6 -16
- package/dist/web/index.web226.js +45 -79
- package/dist/web/index.web227.js +16 -45
- package/dist/web/index.web228.js +28 -4
- package/dist/web/index.web229.js +8 -2
- package/dist/web/index.web23.js +5 -7
- package/dist/web/index.web230.js +11 -2
- package/dist/web/index.web231.js +13 -2
- package/dist/web/index.web232.js +10 -5
- package/dist/web/index.web233.js +13 -75
- package/dist/web/index.web234.js +80 -14
- package/dist/web/index.web235.js +4 -0
- package/dist/web/index.web236.js +4 -0
- package/dist/web/index.web237.js +6 -0
- package/dist/web/index.web238.js +4 -0
- package/dist/web/index.web239.js +7 -0
- package/dist/web/index.web24.js +5 -7
- package/dist/web/index.web240.js +81 -0
- package/dist/web/index.web241.js +17 -0
- package/dist/web/index.web25.js +6 -27
- package/dist/web/index.web26.js +6 -31
- package/dist/web/index.web27.js +18 -18
- package/dist/web/index.web28.js +26 -22
- package/dist/web/index.web29.js +18 -18
- package/dist/web/index.web3.js +1 -1
- package/dist/web/index.web30.js +16 -16
- package/dist/web/index.web31.js +22 -31
- package/dist/web/index.web32.js +19 -21
- package/dist/web/index.web33.js +32 -33
- package/dist/web/index.web34.js +28 -24
- package/dist/web/index.web35.js +33 -37
- package/dist/web/index.web36.js +24 -47
- package/dist/web/index.web37.js +34 -40
- package/dist/web/index.web38.js +47 -40
- package/dist/web/index.web39.js +41 -26
- package/dist/web/index.web40.js +41 -6
- package/dist/web/index.web41.js +33 -44
- package/dist/web/index.web42.js +6 -16
- package/dist/web/index.web43.js +43 -20
- package/dist/web/index.web44.js +15 -19
- package/dist/web/index.web45.js +16 -50
- package/dist/web/index.web46.js +16 -16
- package/dist/web/index.web47.js +51 -28
- package/dist/web/index.web48.js +16 -54
- package/dist/web/index.web49.js +26 -29
- package/dist/web/index.web5.js +1 -1
- package/dist/web/index.web50.js +56 -12
- package/dist/web/index.web51.js +34 -25
- package/dist/web/index.web52.js +12 -20
- package/dist/web/index.web53.js +25 -16
- package/dist/web/index.web54.js +20 -31
- package/dist/web/index.web55.js +16 -37
- package/dist/web/index.web56.js +32 -38
- package/dist/web/index.web57.js +33 -36
- package/dist/web/index.web58.js +38 -115
- package/dist/web/index.web59.js +40 -19
- package/dist/web/index.web60.js +116 -10
- package/dist/web/index.web61.js +48 -36
- package/dist/web/index.web62.js +81 -26
- package/dist/web/index.web63.js +19 -64
- package/dist/web/index.web64.js +10 -24
- package/dist/web/index.web65.js +36 -17
- package/dist/web/index.web66.js +29 -22
- package/dist/web/index.web67.js +63 -6
- package/dist/web/index.web68.js +24 -47
- package/dist/web/index.web69.js +16 -19
- package/dist/web/index.web70.js +23 -48
- package/dist/web/index.web71.js +7 -38
- package/dist/web/index.web72.js +46 -312
- package/dist/web/index.web73.js +18 -17
- package/dist/web/index.web74.js +47 -131
- package/dist/web/index.web75.js +38 -70
- package/dist/web/index.web76.js +329 -6
- package/dist/web/index.web77.js +17 -54
- package/dist/web/index.web78.js +125 -149
- package/dist/web/index.web79.js +80 -61
- package/dist/web/index.web8.js +1 -1
- package/dist/web/index.web80.js +7 -35
- package/dist/web/index.web81.js +49 -83
- package/dist/web/index.web82.js +150 -36
- package/dist/web/index.web83.js +65 -29
- package/dist/web/index.web84.js +35 -18
- package/dist/web/index.web85.js +90 -42
- package/dist/web/index.web86.js +43 -3
- package/dist/web/index.web87.js +28 -40
- package/dist/web/index.web88.js +17 -23
- package/dist/web/index.web89.js +42 -9
- package/dist/web/index.web9.js +5 -5
- package/dist/web/index.web90.js +3 -29
- package/dist/web/index.web91.js +43 -40
- package/dist/web/index.web92.js +24 -49
- package/dist/web/index.web93.js +8 -81
- package/dist/web/index.web94.js +23 -24
- package/dist/web/index.web95.js +21 -159
- package/dist/web/index.web96.js +15 -46
- package/dist/web/index.web97.js +28 -25
- package/dist/web/index.web98.js +40 -72
- package/dist/web/index.web99.js +49 -9
- package/dist/web-types/actions/authenticateWithJWT.d.ts +64 -0
- package/dist/web-types/actions/cancelMfaVerification.d.ts +19 -0
- package/dist/web-types/actions/createDelegation.d.ts +18 -0
- package/dist/web-types/actions/createEvmEip7702Delegation.d.ts +27 -0
- package/dist/web-types/actions/createEvmEoaAccount.d.ts +12 -0
- package/dist/web-types/actions/createEvmSmartAccount.d.ts +25 -0
- package/dist/web-types/actions/createKeyExportIframe.d.ts +148 -0
- package/dist/web-types/actions/createSolanaAccount.d.ts +12 -0
- package/dist/web-types/actions/createSpendPermission.d.ts +36 -0
- package/dist/web-types/actions/executeSwap.d.ts +105 -0
- package/dist/web-types/actions/exportEvmAccount.d.ts +18 -0
- package/dist/web-types/actions/exportSolanaAccount.d.ts +17 -0
- package/dist/web-types/actions/fetchWithX402.d.ts +27 -0
- package/dist/web-types/actions/getAccessToken.d.ts +11 -0
- package/dist/web-types/actions/getAccessTokenExpiration.d.ts +9 -0
- package/dist/web-types/actions/getCurrentUser.d.ts +9 -0
- package/dist/web-types/actions/getCurrentUserSync.d.ts +9 -0
- package/dist/web-types/actions/getEvmEip7702DelegationOperation.d.ts +12 -0
- package/dist/web-types/actions/getMfaConfig.d.ts +17 -0
- package/dist/web-types/actions/getProjectConfig.d.ts +13 -0
- package/dist/web-types/actions/getSwapPrice.d.ts +85 -0
- package/dist/web-types/actions/getUserOperation.d.ts +18 -0
- package/dist/web-types/actions/initialize.d.ts +11 -0
- package/dist/web-types/actions/initiateMfaEnrollment.d.ts +61 -0
- package/dist/web-types/actions/initiateMfaVerification.d.ts +27 -0
- package/dist/web-types/actions/isSignedIn.d.ts +12 -0
- package/dist/web-types/actions/linkApple.d.ts +7 -0
- package/dist/web-types/actions/linkEmail.d.ts +8 -0
- package/dist/web-types/actions/linkGoogle.d.ts +5 -0
- package/dist/web-types/actions/linkOAuth.d.ts +8 -0
- package/dist/web-types/actions/linkSms.d.ts +8 -0
- package/dist/web-types/actions/linkTelegram.d.ts +5 -0
- package/dist/web-types/actions/listSpendPermissions.d.ts +32 -0
- package/dist/web-types/actions/onAuthStateChange.d.ts +16 -0
- package/dist/web-types/actions/onOAuthStateChange.d.ts +6 -0
- package/dist/web-types/actions/recordMfaEnrollmentPrompted.d.ts +18 -0
- package/dist/web-types/actions/revokeDelegation.d.ts +12 -0
- package/dist/web-types/actions/revokeSpendPermission.d.ts +34 -0
- package/dist/web-types/actions/sendEvmEoaUsdc.d.ts +32 -0
- package/dist/web-types/actions/sendEvmSmartAccountUsdc.d.ts +37 -0
- package/dist/web-types/actions/sendEvmTransaction.d.ts +30 -0
- package/dist/web-types/actions/sendSolanaTransaction.d.ts +6 -0
- package/dist/web-types/actions/sendSolanaUsdc.d.ts +60 -0
- package/dist/web-types/actions/sendUsdc.d.ts +79 -0
- package/dist/web-types/actions/sendUserOperation.d.ts +29 -0
- package/dist/web-types/actions/signEvmHash.d.ts +15 -0
- package/dist/web-types/actions/signEvmMessage.d.ts +19 -0
- package/dist/web-types/actions/signEvmTransaction.d.ts +27 -0
- package/dist/web-types/actions/signEvmTypedData.d.ts +50 -0
- package/dist/web-types/actions/signInWithEmail.d.ts +12 -0
- package/dist/web-types/actions/signInWithOAuth.d.ts +40 -0
- package/dist/web-types/actions/signInWithSiwe.d.ts +48 -0
- package/dist/web-types/actions/signInWithSms.d.ts +12 -0
- package/dist/web-types/actions/signOut.d.ts +8 -0
- package/dist/web-types/actions/signSolanaMessage.d.ts +20 -0
- package/dist/web-types/actions/signSolanaTransaction.d.ts +18 -0
- package/dist/web-types/actions/submitMfaEnrollment.d.ts +37 -0
- package/dist/web-types/actions/submitMfaVerification.d.ts +30 -0
- package/dist/web-types/actions/verifyEmailOTP.d.ts +13 -0
- package/dist/web-types/actions/verifyOAuth.d.ts +36 -0
- package/dist/web-types/actions/verifySiweSignature.d.ts +34 -0
- package/dist/web-types/actions/verifySmsOTP.d.ts +13 -0
- package/dist/web-types/actions/verifyTelegramOAuth.d.ts +6 -0
- package/dist/web-types/actions/waitForEvmEip7702Delegation.d.ts +34 -0
- package/dist/web-types/auth/authManager.d.ts +115 -0
- package/dist/web-types/auth/createAuthManager.d.ts +9 -0
- package/dist/web-types/auth/customAuthManager.d.ts +46 -0
- package/dist/web-types/auth/oAuthManager.d.ts +28 -0
- package/dist/web-types/auth/toAuthState.d.ts +15 -0
- package/dist/web-types/auth/types.d.ts +81 -0
- package/dist/web-types/auth/withAuth.d.ts +14 -0
- package/dist/web-types/constants.d.ts +3 -0
- package/dist/web-types/core.d.ts +2 -0
- package/dist/web-types/eip1193/createCDPEmbeddedWallet.d.ts +75 -0
- package/dist/web-types/eip1193/createProvider.d.ts +39 -0
- package/dist/web-types/eip1193/errors.d.ts +105 -0
- package/dist/web-types/eip1193/eventEmitter.d.ts +29 -0
- package/dist/web-types/eip1193/handlers/createEOAHandlers.d.ts +6 -0
- package/dist/web-types/eip1193/handlers/createSmartAccountHandlers.d.ts +6 -0
- package/dist/web-types/eip1193/handlers/eoa/handleAccounts.d.ts +6 -0
- package/dist/web-types/eip1193/handlers/eoa/handleEthSign.d.ts +7 -0
- package/dist/web-types/eip1193/handlers/eoa/handleGetCallsStatus.d.ts +8 -0
- package/dist/web-types/eip1193/handlers/eoa/handleGetCapabilities.d.ts +6 -0
- package/dist/web-types/eip1193/handlers/eoa/handlePersonalSign.d.ts +7 -0
- package/dist/web-types/eip1193/handlers/eoa/handleRequestAccounts.d.ts +10 -0
- package/dist/web-types/eip1193/handlers/eoa/handleSendCalls.d.ts +7 -0
- package/dist/web-types/eip1193/handlers/eoa/handleSendTransaction.d.ts +9 -0
- package/dist/web-types/eip1193/handlers/eoa/handleSignTypedData.d.ts +7 -0
- package/dist/web-types/eip1193/handlers/shared/handleChainId.d.ts +7 -0
- package/dist/web-types/eip1193/handlers/shared/handleDisconnect.d.ts +6 -0
- package/dist/web-types/eip1193/handlers/shared/handleSwitchEthereumChain.d.ts +6 -0
- package/dist/web-types/eip1193/handlers/smart-account/handleAccounts.d.ts +6 -0
- package/dist/web-types/eip1193/handlers/smart-account/handleEthSign.d.ts +8 -0
- package/dist/web-types/eip1193/handlers/smart-account/handleGetCallsStatus.d.ts +8 -0
- package/dist/web-types/eip1193/handlers/smart-account/handleGetCapabilities.d.ts +6 -0
- package/dist/web-types/eip1193/handlers/smart-account/handlePersonalSign.d.ts +8 -0
- package/dist/web-types/eip1193/handlers/smart-account/handleRequestAccounts.d.ts +10 -0
- package/dist/web-types/eip1193/handlers/smart-account/handleSendCalls.d.ts +7 -0
- package/dist/web-types/eip1193/handlers/smart-account/handleSendTransaction.d.ts +9 -0
- package/dist/web-types/eip1193/handlers/smart-account/handleSignTypedData.d.ts +8 -0
- package/dist/web-types/eip1193/handlers/types.d.ts +3 -0
- package/dist/web-types/eip1193/types.d.ts +99 -0
- package/dist/web-types/errors.d.ts +90 -1
- package/dist/web-types/index.d.ts +3 -0
- package/dist/web-types/index.native.d.ts +8 -0
- package/dist/web-types/index.web.d.ts +8 -0
- package/dist/web-types/mfa/protectedActions.d.ts +41 -0
- package/dist/web-types/mfa/state.d.ts +95 -0
- package/dist/web-types/mfa/utils.d.ts +59 -0
- package/dist/web-types/mfa/withMfa.d.ts +45 -0
- package/dist/web-types/mocks/config.d.ts +11 -0
- package/dist/web-types/mocks/mockAuthManager.d.ts +86 -0
- package/dist/web-types/mocks/mockOAuthManager.d.ts +28 -0
- package/dist/web-types/mocks/user.d.ts +30 -0
- package/dist/web-types/platform/native/appleAuthRegistry.d.ts +23 -0
- package/dist/web-types/platform/native/attestation.d.ts +16 -0
- package/dist/web-types/platform/native/attestationRegistry.d.ts +28 -0
- package/dist/web-types/platform/native/crypto.d.ts +4 -0
- package/dist/web-types/platform/native/deviceInfo.d.ts +3 -0
- package/dist/web-types/platform/native/deviceInfoRegistry.d.ts +24 -0
- package/dist/web-types/platform/native/secureStorage.d.ts +6 -0
- package/dist/web-types/platform/native/storage.d.ts +7 -0
- package/dist/web-types/platform/registry.d.ts +61 -0
- package/dist/web-types/platform/types.d.ts +270 -0
- package/dist/web-types/platform/web/crypto.d.ts +4 -0
- package/dist/web-types/platform/web/storage.d.ts +4 -0
- package/dist/web-types/secureIframe/data.d.ts +15 -0
- package/dist/web-types/secureIframe/types.d.ts +69 -0
- package/dist/web-types/secureIframe/utils.d.ts +66 -0
- package/dist/web-types/shared/base64.d.ts +14 -0
- package/dist/web-types/shared/completeAuthFlow.d.ts +9 -0
- package/dist/web-types/shared/createEvmAccountIfNeeded.d.ts +9 -0
- package/dist/web-types/shared/createSolanaAccountIfNeeded.d.ts +8 -0
- package/dist/web-types/shared/initiateSignIn.d.ts +13 -0
- package/dist/web-types/shared/textEncoding.d.ts +14 -0
- package/dist/web-types/shared/types.d.ts +5 -0
- package/dist/web-types/shared/utils.d.ts +33 -0
- package/dist/web-types/shared/validators.d.ts +8 -0
- package/dist/web-types/shared/verifyOTP.d.ts +8 -0
- package/dist/web-types/solana-kit/toTransactionSigner.d.ts +7 -0
- package/dist/web-types/spend-permissions/toSpendPermission.d.ts +7 -0
- package/dist/web-types/spend-permissions/types.d.ts +27 -0
- package/dist/web-types/state.d.ts +66 -0
- package/dist/web-types/swap/errors.d.ts +8 -0
- package/dist/web-types/swap/resolveAccount.d.ts +11 -0
- package/dist/web-types/swap/validation.d.ts +20 -0
- package/dist/web-types/types.d.ts +376 -2
- package/dist/web-types/utils/validatePhoneNumber.d.ts +25 -0
- package/dist/web-types/version.d.ts +5 -1
- package/dist/web-types/viem/factory.d.ts +6 -0
- package/dist/web-types/viem/signAndWrapTypedData.d.ts +107 -0
- package/dist/web-types/viem/toViemAccount.d.ts +15 -0
- package/package.json +2 -2
package/dist/types/types.d.ts
CHANGED
|
@@ -1,41 +1,151 @@
|
|
|
1
|
-
import { SendEvmTransactionWithEndUserAccountBodyNetwork, SendSolanaTransactionWithEndUserAccountBodyNetwork, APIError, APIErrorType, ErrorType, HttpErrorType, EvmUserOperation, OAuth2ProviderType, OAuth2Authentication, TelegramAuthentication, MFAMethods, MfaMethod, EndUserEvmAccount, EndUserSolanaAccount, EndUserEvmSmartAccount, UserOperationReceipt } 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, UserOperationReceipt, TokenFee, GetEndUserEvmSwapPrice200IssuesAllowance, GetEndUserEvmSwapPrice200IssuesBalance } from '@coinbase/cdp-api-client';
|
|
2
2
|
import { TransactionSerializableEIP1559 } from 'viem';
|
|
3
|
-
export {
|
|
3
|
+
export {
|
|
4
|
+
/** The API error class */
|
|
5
|
+
APIError,
|
|
6
|
+
/** CDP api error types + HTTP error types */
|
|
7
|
+
type APIErrorType,
|
|
8
|
+
/** CDP api error types */
|
|
9
|
+
ErrorType,
|
|
10
|
+
/** HTTP error types */
|
|
11
|
+
HttpErrorType,
|
|
12
|
+
/** The network to send the EVM transaction on. */
|
|
13
|
+
SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
14
|
+
/** The network to send the Solana transaction on. */
|
|
15
|
+
SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
16
|
+
/** The type of OAuth provider to sign in with. */
|
|
17
|
+
OAuth2ProviderType,
|
|
18
|
+
/** MFA method type (totp or sms) */
|
|
19
|
+
type MfaMethod,
|
|
20
|
+
/** MFA methods enrolled for a user */
|
|
21
|
+
type MFAMethods,
|
|
22
|
+
/** EVM account object with address and createdAt */
|
|
23
|
+
type EndUserEvmAccount,
|
|
24
|
+
/** Solana account object with address and createdAt */
|
|
25
|
+
type EndUserSolanaAccount,
|
|
26
|
+
/** EVM smart account object with address, ownerAddresses, and createdAt */
|
|
27
|
+
type EndUserEvmSmartAccount,
|
|
28
|
+
/** User operation receipt from ERC-4337 */
|
|
29
|
+
type UserOperationReceipt, type TokenFee, type EvmUserOperation, type EvmUserOperationNetwork, type EvmUserOperationStatus, type EvmUserOperationCall, };
|
|
30
|
+
/**
|
|
31
|
+
* Error thrown when custom authentication fails.
|
|
32
|
+
*/
|
|
4
33
|
export declare class CustomAuthError extends Error {
|
|
34
|
+
/**
|
|
35
|
+
* Creates a new CustomAuthError.
|
|
36
|
+
*
|
|
37
|
+
* @param message - The error message.
|
|
38
|
+
*/
|
|
5
39
|
constructor(message: string);
|
|
6
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* Configuration for custom authentication with third-party identity providers.
|
|
43
|
+
*/
|
|
7
44
|
export type CustomAuth = {
|
|
45
|
+
/**
|
|
46
|
+
* Callback to retrieve a fresh JWT from your identity provider.
|
|
47
|
+
* Called automatically whenever CDP needs to authenticate requests.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```typescript lines
|
|
51
|
+
* // With Auth0 (React)
|
|
52
|
+
* const { getAccessTokenSilently } = useAuth0();
|
|
53
|
+
* customAuth: {
|
|
54
|
+
* getJwt: getAccessTokenSilently
|
|
55
|
+
* }
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```typescript lines
|
|
60
|
+
* // With Auth0 (React Native)
|
|
61
|
+
* const { getCredentials } = useAuth0();
|
|
62
|
+
* customAuth: {
|
|
63
|
+
* getJwt: async () => {
|
|
64
|
+
* const creds = await getCredentials();
|
|
65
|
+
* return creds?.accessToken;
|
|
66
|
+
* }
|
|
67
|
+
* }
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
8
70
|
getJwt: () => Promise<string | undefined>;
|
|
9
71
|
};
|
|
72
|
+
/** Base configuration for the core package. */
|
|
10
73
|
export type BaseConfig = {
|
|
74
|
+
/** The CDP Project ID. */
|
|
11
75
|
projectId: string;
|
|
76
|
+
/**
|
|
77
|
+
* Configuration for custom authentication with third-party identity providers.
|
|
78
|
+
* Use this when integrating with Auth0, Firebase, Cognito, or other IDPs.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```typescript lines
|
|
82
|
+
* import { useAuth0 } from '@auth0/auth0-react';
|
|
83
|
+
*
|
|
84
|
+
* const { getAccessTokenSilently } = useAuth0();
|
|
85
|
+
*
|
|
86
|
+
* await initialize({
|
|
87
|
+
* projectId: 'my-project',
|
|
88
|
+
* customAuth: {
|
|
89
|
+
* getJwt: getAccessTokenSilently
|
|
90
|
+
* }
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
12
94
|
customAuth?: CustomAuth;
|
|
95
|
+
/** Whether to use the mock implementation. */
|
|
13
96
|
useMock?: boolean;
|
|
97
|
+
/** Whether to enable debugging. */
|
|
14
98
|
debugging?: boolean;
|
|
99
|
+
/** The base path for the API. */
|
|
15
100
|
basePath?: string;
|
|
101
|
+
/** The base path for the secure iframe. */
|
|
16
102
|
secureIframeBasePath?: string;
|
|
103
|
+
/** Whether to disable analytics. */
|
|
17
104
|
disableAnalytics?: boolean;
|
|
105
|
+
/** The callback URL for the native OAuth flow. */
|
|
18
106
|
nativeOAuthCallback?: string;
|
|
19
107
|
};
|
|
108
|
+
/**
|
|
109
|
+
* The configuration for the Ethereum account.
|
|
110
|
+
*/
|
|
20
111
|
export type EthereumConfig = {
|
|
21
112
|
createOnLogin?: "smart";
|
|
113
|
+
/**
|
|
114
|
+
* Whether to enable spend permissions for the smart account.
|
|
115
|
+
* Setting this to true is necessary in order to create spend permissions.
|
|
116
|
+
* Only new accounts can be created with spend permissions enabled.
|
|
117
|
+
* Defaults to false.
|
|
118
|
+
*/
|
|
22
119
|
enableSpendPermissions?: boolean;
|
|
23
120
|
} | {
|
|
24
121
|
createOnLogin?: "eoa";
|
|
25
122
|
};
|
|
123
|
+
/** Network-specific configuration. */
|
|
26
124
|
export type NetworkConfig = {
|
|
125
|
+
/** Ethereum/EVM account configuration. */
|
|
27
126
|
ethereum?: EthereumConfig;
|
|
127
|
+
/** Solana account configuration. */
|
|
28
128
|
solana?: {
|
|
129
|
+
/** Whether to automatically create an account on login. */
|
|
29
130
|
createOnLogin?: boolean;
|
|
30
131
|
};
|
|
31
132
|
};
|
|
133
|
+
/** Configuration for the core package with at least one network specified. */
|
|
32
134
|
export type Config = BaseConfig & {
|
|
135
|
+
/** Ethereum/EVM account configuration. */
|
|
33
136
|
ethereum?: NetworkConfig["ethereum"];
|
|
137
|
+
/** Solana account configuration. */
|
|
34
138
|
solana?: NetworkConfig["solana"];
|
|
35
139
|
};
|
|
140
|
+
/** A hex string. */
|
|
36
141
|
export type Hex = `0x${string}`;
|
|
142
|
+
/** An EVM address. */
|
|
37
143
|
export type EvmAddress = `0x${string}`;
|
|
144
|
+
/** An Solana address. */
|
|
38
145
|
export type SolanaAddress = string;
|
|
146
|
+
/**
|
|
147
|
+
* The authentication methods used by the user.
|
|
148
|
+
*/
|
|
39
149
|
export type AuthenticationMethods = {
|
|
40
150
|
email?: EmailAuthentication;
|
|
41
151
|
sms?: SmsAuthentication;
|
|
@@ -46,205 +156,427 @@ export type AuthenticationMethods = {
|
|
|
46
156
|
};
|
|
47
157
|
telegram?: TelegramAuthentication;
|
|
48
158
|
};
|
|
159
|
+
/** The User object. */
|
|
49
160
|
export type User = {
|
|
161
|
+
/** The user ID. */
|
|
50
162
|
userId: string;
|
|
163
|
+
/** The authentication methods used by the user. */
|
|
51
164
|
authenticationMethods: AuthenticationMethods;
|
|
165
|
+
/**
|
|
166
|
+
* **DEPRECATED**: Use `evmAccountObjects` instead for richer account information.
|
|
167
|
+
* The EVM accounts associated with the user.
|
|
168
|
+
*
|
|
169
|
+
* @deprecated Use evmAccountObjects instead
|
|
170
|
+
*/
|
|
52
171
|
evmAccounts?: EvmAddress[];
|
|
172
|
+
/**
|
|
173
|
+
* **DEPRECATED**: Use `evmSmartAccountObjects` instead for richer account information.
|
|
174
|
+
* The EVM smart accounts associated with the user.
|
|
175
|
+
*
|
|
176
|
+
* @deprecated Use evmSmartAccountObjects instead
|
|
177
|
+
*/
|
|
53
178
|
evmSmartAccounts?: EvmAddress[];
|
|
179
|
+
/**
|
|
180
|
+
* **DEPRECATED**: Use `solanaAccountObjects` instead for richer account information.
|
|
181
|
+
* The Solana accounts associated with the user.
|
|
182
|
+
*
|
|
183
|
+
* @deprecated Use solanaAccountObjects instead
|
|
184
|
+
*/
|
|
54
185
|
solanaAccounts?: SolanaAddress[];
|
|
186
|
+
/** The EVM account objects associated with the user. Users can have up to 10 EVM accounts. */
|
|
55
187
|
evmAccountObjects?: EndUserEvmAccount[];
|
|
188
|
+
/** The EVM smart account objects associated with the user. Each EVM EOA can own one smart account. */
|
|
56
189
|
evmSmartAccountObjects?: EndUserEvmSmartAccount[];
|
|
190
|
+
/** The Solana account objects associated with the user. Users can have up to 10 Solana accounts. */
|
|
57
191
|
solanaAccountObjects?: EndUserSolanaAccount[];
|
|
192
|
+
/** The MFA methods enrolled for the user. */
|
|
58
193
|
mfaMethods?: MFAMethods;
|
|
194
|
+
/** The date and time when the user was last authenticated, in ISO 8601 format. */
|
|
59
195
|
lastAuthenticatedAt?: string;
|
|
60
196
|
};
|
|
197
|
+
/** The email authentication method. */
|
|
61
198
|
export type EmailAuthentication = {
|
|
199
|
+
/** The type of authentication method. */
|
|
62
200
|
type: "email";
|
|
201
|
+
/** The email address of the user. */
|
|
63
202
|
email: string;
|
|
64
203
|
};
|
|
204
|
+
/** The SMS authentication method. */
|
|
65
205
|
export type SmsAuthentication = {
|
|
206
|
+
/** The type of authentication method. */
|
|
66
207
|
type: "sms";
|
|
208
|
+
/** The phone number of the end user in E.164 format. */
|
|
67
209
|
phoneNumber: string;
|
|
68
210
|
};
|
|
211
|
+
/** Request parameters for signInWithEmail. */
|
|
69
212
|
export type SignInWithEmailOptions = {
|
|
70
213
|
email: string;
|
|
214
|
+
/** Optional idempotency key for safe retries. */
|
|
71
215
|
idempotencyKey?: string;
|
|
72
216
|
};
|
|
217
|
+
/** Result of signInWithEmail. */
|
|
73
218
|
export type SignInWithEmailResult = {
|
|
219
|
+
/** The message to display to the user. */
|
|
74
220
|
message: string;
|
|
221
|
+
/** The flow ID to use in verifyEmailOTP. */
|
|
75
222
|
flowId: string;
|
|
76
223
|
};
|
|
224
|
+
/** Request parameters for signInWithSms. */
|
|
77
225
|
export type SignInWithSmsOptions = {
|
|
226
|
+
/**
|
|
227
|
+
* The phone number of the end user in E.164 format.
|
|
228
|
+
* Example: "+14155552671"
|
|
229
|
+
*/
|
|
78
230
|
phoneNumber: string;
|
|
231
|
+
/** Optional idempotency key for safe retries. */
|
|
79
232
|
idempotencyKey?: string;
|
|
80
233
|
};
|
|
234
|
+
/** Result of signInWithSms. */
|
|
81
235
|
export type SignInWithSmsResult = {
|
|
236
|
+
/** The message to display to the user. */
|
|
82
237
|
message: string;
|
|
238
|
+
/** The flow ID to use in verifySmsOTP. */
|
|
83
239
|
flowId: string;
|
|
84
240
|
};
|
|
241
|
+
/** Request parameters for verifyEmailOTP. */
|
|
85
242
|
export type VerifyEmailOTPOptions = {
|
|
243
|
+
/** The flow ID to use in verifyEmailOTP. */
|
|
86
244
|
flowId: string;
|
|
245
|
+
/** The OTP to verify. */
|
|
87
246
|
otp: string;
|
|
247
|
+
/** Optional idempotency key for safe retries. */
|
|
88
248
|
idempotencyKey?: string;
|
|
89
249
|
};
|
|
250
|
+
/** Result of verifyEmailOTP. */
|
|
90
251
|
export type VerifyEmailOTPResult = {
|
|
252
|
+
/** The successfully logged-in user. */
|
|
91
253
|
user: User;
|
|
254
|
+
/** The message to display to the user. */
|
|
92
255
|
message: string;
|
|
256
|
+
/** Whether the user is newly signed up. */
|
|
93
257
|
isNewUser: boolean;
|
|
94
258
|
};
|
|
259
|
+
/** Request parameters for verifySmsOTP. */
|
|
95
260
|
export type VerifySmsOTPOptions = {
|
|
261
|
+
/** The flow ID to use in verifySmsOTP. */
|
|
96
262
|
flowId: string;
|
|
263
|
+
/** The OTP to verify. */
|
|
97
264
|
otp: string;
|
|
265
|
+
/** Optional idempotency key for safe retries. */
|
|
98
266
|
idempotencyKey?: string;
|
|
99
267
|
};
|
|
268
|
+
/** Result of verifySmsOTP. */
|
|
100
269
|
export type VerifySmsOTPResult = {
|
|
270
|
+
/** The successfully logged-in user. */
|
|
101
271
|
user: User;
|
|
272
|
+
/** The message to display to the user. */
|
|
102
273
|
message: string;
|
|
274
|
+
/** Whether the user is newly signed up. */
|
|
103
275
|
isNewUser: boolean;
|
|
104
276
|
};
|
|
277
|
+
/** Request parameters for verifyOAuth. */
|
|
105
278
|
export type VerifyOAuthOptions = {
|
|
279
|
+
/** The flow ID to use in verifyOAuth. */
|
|
106
280
|
flowId: string;
|
|
281
|
+
/** The OAuth code to verify. */
|
|
107
282
|
code: string;
|
|
283
|
+
/** The type of OAuth provider. */
|
|
108
284
|
providerType: OAuth2ProviderType;
|
|
285
|
+
/** Optional idempotency key for safe retries. */
|
|
109
286
|
idempotencyKey?: string;
|
|
110
287
|
};
|
|
288
|
+
/** Result of verifyOAuth. */
|
|
111
289
|
export type VerifyOAuthResult = {
|
|
290
|
+
/** The successfully logged-in user. */
|
|
112
291
|
user: User;
|
|
292
|
+
/** The message to display to the user. */
|
|
113
293
|
message: string;
|
|
294
|
+
/** Whether the user is newly signed up. */
|
|
114
295
|
isNewUser: boolean;
|
|
115
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Result from authenticating with a developer-issued JWT.
|
|
299
|
+
*/
|
|
116
300
|
export type AuthenticateWithJWTResult = {
|
|
301
|
+
/** The successfully logged-in user. */
|
|
117
302
|
user: User;
|
|
303
|
+
/** The message to display to the user. */
|
|
118
304
|
message: string;
|
|
305
|
+
/** Whether the user is newly signed up. */
|
|
119
306
|
isNewUser: boolean;
|
|
120
307
|
};
|
|
308
|
+
/** A callback function when authentication state changes. */
|
|
121
309
|
export type OnAuthStateChangeFn = (user: User | null) => void;
|
|
310
|
+
/** Request parameters for signing a hash with an EVM account. */
|
|
122
311
|
export type SignEvmHashOptions = {
|
|
312
|
+
/** The EVM account to sign the hash with. */
|
|
123
313
|
evmAccount: EvmAddress;
|
|
314
|
+
/** The hash to sign. */
|
|
124
315
|
hash: Hex;
|
|
316
|
+
/** Optional idempotency key for safe retries. */
|
|
125
317
|
idempotencyKey?: string;
|
|
126
318
|
};
|
|
319
|
+
/** Result of signEvmHash. */
|
|
127
320
|
export type SignEvmHashResult = {
|
|
321
|
+
/** The signature. */
|
|
128
322
|
signature: Hex;
|
|
129
323
|
};
|
|
324
|
+
/**
|
|
325
|
+
* Request parameters for signing an EVM message.
|
|
326
|
+
*/
|
|
130
327
|
export type AllowedEvmTransactionType = TransactionSerializableEIP1559;
|
|
328
|
+
/**
|
|
329
|
+
* Request parameters for signing an EVM transaction.
|
|
330
|
+
*/
|
|
131
331
|
export type SignEvmTransactionOptions = {
|
|
332
|
+
/** The EVM account to sign the message with. */
|
|
132
333
|
evmAccount: EvmAddress;
|
|
334
|
+
/** The transaction to sign. */
|
|
133
335
|
transaction: AllowedEvmTransactionType;
|
|
336
|
+
/** Optional idempotency key for safe retries. */
|
|
134
337
|
idempotencyKey?: string;
|
|
135
338
|
};
|
|
339
|
+
/** Result of signEvmTransaction. */
|
|
136
340
|
export type SignEvmTransactionResult = {
|
|
341
|
+
/** The signed transaction. */
|
|
137
342
|
signedTransaction: Hex;
|
|
138
343
|
};
|
|
344
|
+
/** Request parameters for signing a Solana transaction. */
|
|
139
345
|
export type SignSolanaTransactionOptions = {
|
|
346
|
+
/** The Solana account to sign the transaction with. */
|
|
140
347
|
solanaAccount: SolanaAddress;
|
|
348
|
+
/** The base64 encoded transaction to sign. */
|
|
141
349
|
transaction: string;
|
|
350
|
+
/** Optional idempotency key for safe retries. */
|
|
142
351
|
idempotencyKey?: string;
|
|
143
352
|
};
|
|
353
|
+
/** Result of signSolanaTransaction. */
|
|
144
354
|
export type SignSolanaTransactionResult = {
|
|
355
|
+
/** The base64 encoded signed transaction. */
|
|
145
356
|
signedTransaction: string;
|
|
146
357
|
};
|
|
358
|
+
/** Request parameters for signing a message with a Solana account. */
|
|
147
359
|
export type SignSolanaMessageOptions = {
|
|
360
|
+
/** The Solana account to sign the message with. */
|
|
148
361
|
solanaAccount: SolanaAddress;
|
|
362
|
+
/** The message to sign (base64 encoded). */
|
|
149
363
|
message: string;
|
|
364
|
+
/** Optional idempotency key for safe retries. */
|
|
150
365
|
idempotencyKey?: string;
|
|
151
366
|
};
|
|
367
|
+
/** Result of signSolanaMessage. */
|
|
152
368
|
export type SignSolanaMessageResult = {
|
|
369
|
+
/** The base58 encoded signature. */
|
|
153
370
|
signature: string;
|
|
154
371
|
};
|
|
372
|
+
/** Request parameters for sending an EVM transaction. */
|
|
155
373
|
export type SendEvmTransactionOptions = {
|
|
374
|
+
/** The EVM account to send the transaction with. */
|
|
156
375
|
evmAccount: EvmAddress;
|
|
376
|
+
/** The network to send the transaction to. */
|
|
157
377
|
network: SendEvmTransactionWithEndUserAccountBodyNetwork;
|
|
378
|
+
/** The transaction to send. */
|
|
158
379
|
transaction: AllowedEvmTransactionType;
|
|
380
|
+
/** Optional idempotency key for safe retries. */
|
|
159
381
|
idempotencyKey?: string;
|
|
160
382
|
};
|
|
383
|
+
/**
|
|
384
|
+
* Result of sendEvmTransaction.
|
|
385
|
+
*/
|
|
161
386
|
export type SendEvmTransactionResult = {
|
|
387
|
+
/** The transaction hash. */
|
|
162
388
|
transactionHash: Hex;
|
|
163
389
|
};
|
|
390
|
+
/** Request parameters for sending a Solana transaction. */
|
|
164
391
|
export type SendSolanaTransactionOptions = {
|
|
392
|
+
/** The Solana account to send the transaction with. */
|
|
165
393
|
solanaAccount: SolanaAddress;
|
|
394
|
+
/** The network to send the transaction to. */
|
|
166
395
|
network: SendSolanaTransactionWithEndUserAccountBodyNetwork;
|
|
396
|
+
/** The base64 encoded transaction to send. */
|
|
167
397
|
transaction: string;
|
|
398
|
+
/** Whether transaction fees should be sponsored by CDP. When true, CDP sponsors the transaction fee. */
|
|
168
399
|
useCdpSponsor?: boolean;
|
|
400
|
+
/** Optional idempotency key for safe retries. */
|
|
169
401
|
idempotencyKey?: string;
|
|
170
402
|
};
|
|
403
|
+
/** Result of sendSolanaTransaction. */
|
|
171
404
|
export type SendSolanaTransactionResult = {
|
|
405
|
+
/** The transaction signature. */
|
|
172
406
|
transactionSignature: string;
|
|
173
407
|
};
|
|
408
|
+
/**
|
|
409
|
+
* The EVM network to send USDC on.
|
|
410
|
+
*/
|
|
174
411
|
export type SendEvmUsdcNetwork = "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "avalanche" | "polygon" | "optimism" | "arbitrum";
|
|
412
|
+
/**
|
|
413
|
+
* Request parameters for signing an EVM message.
|
|
414
|
+
*/
|
|
175
415
|
export type SignEvmMessageOptions = {
|
|
416
|
+
/** The EVM account to sign the message with. */
|
|
176
417
|
evmAccount: EvmAddress;
|
|
418
|
+
/** The message to sign. */
|
|
177
419
|
message: string;
|
|
420
|
+
/** Optional idempotency key for safe retries. */
|
|
178
421
|
idempotencyKey?: string;
|
|
179
422
|
};
|
|
423
|
+
/**
|
|
424
|
+
* Result of signEvmMessage.
|
|
425
|
+
*/
|
|
180
426
|
export type SignEvmMessageResult = {
|
|
427
|
+
/** The signature. */
|
|
181
428
|
signature: Hex;
|
|
182
429
|
};
|
|
430
|
+
/**
|
|
431
|
+
* The domain of the EIP-712 typed data.
|
|
432
|
+
*/
|
|
183
433
|
export interface EIP712Domain {
|
|
434
|
+
/** The name of the DApp or protocol. */
|
|
184
435
|
name?: string;
|
|
436
|
+
/** The version of the DApp or protocol. */
|
|
185
437
|
version?: string;
|
|
438
|
+
/** The chain ID of the EVM network. */
|
|
186
439
|
chainId?: number;
|
|
440
|
+
/**
|
|
441
|
+
* The optional 32-byte 0x-prefixed hex salt for domain separation.
|
|
442
|
+
*/
|
|
187
443
|
salt?: Hex;
|
|
444
|
+
/** The verifying contract address. */
|
|
188
445
|
verifyingContract?: EvmAddress;
|
|
189
446
|
}
|
|
447
|
+
/**
|
|
448
|
+
* A mapping of struct names to an array of type objects (name + type).
|
|
449
|
+
* Each key corresponds to a type name (e.g., "`EIP712Domain`", "`PermitTransferFrom`").
|
|
450
|
+
*/
|
|
190
451
|
export interface EIP712Types {
|
|
191
452
|
[key: string]: unknown;
|
|
192
453
|
}
|
|
454
|
+
/**
|
|
455
|
+
* The message to sign. The structure of this message must match the `primaryType` struct in the `types` object.
|
|
456
|
+
*/
|
|
193
457
|
export type EIP712Message = {
|
|
194
458
|
[key: string]: unknown;
|
|
195
459
|
};
|
|
460
|
+
/**
|
|
461
|
+
* The message to sign using EIP-712.
|
|
462
|
+
*/
|
|
196
463
|
export interface EIP712TypedData {
|
|
197
464
|
domain: EIP712Domain;
|
|
198
465
|
types: EIP712Types;
|
|
466
|
+
/** The primary type of the message. This is the name of the struct in the `types` object that is the root of the message. */
|
|
199
467
|
primaryType: string;
|
|
468
|
+
/** The message to sign. The structure of this message must match the `primaryType` struct in the `types` object. */
|
|
200
469
|
message: EIP712Message;
|
|
201
470
|
}
|
|
471
|
+
/**
|
|
472
|
+
* Request parameters for signing EIP-712 typed data with an EVM account.
|
|
473
|
+
*/
|
|
202
474
|
export type SignEvmTypedDataOptions = {
|
|
475
|
+
/** The EVM account to sign the typed data with. */
|
|
203
476
|
evmAccount: EvmAddress;
|
|
477
|
+
/** The EIP-712 typed data to sign. */
|
|
204
478
|
typedData: EIP712TypedData;
|
|
479
|
+
/** Optional idempotency key for safe retries. */
|
|
205
480
|
idempotencyKey?: string;
|
|
206
481
|
};
|
|
482
|
+
/**
|
|
483
|
+
* Represents a call in an EVM user operation.
|
|
484
|
+
*/
|
|
207
485
|
export type EvmCall = {
|
|
486
|
+
/** The target address for the call. */
|
|
208
487
|
to: EvmAddress;
|
|
488
|
+
/** The value to send with the call (in wei). */
|
|
209
489
|
value?: bigint;
|
|
490
|
+
/** The data to send with the call. */
|
|
210
491
|
data?: Hex;
|
|
211
492
|
};
|
|
493
|
+
/**
|
|
494
|
+
* Request parameters for sending a user operation.
|
|
495
|
+
*/
|
|
212
496
|
export type SendUserOperationOptions = {
|
|
497
|
+
/** The EVM Smart Account to send the user operation with. */
|
|
213
498
|
evmSmartAccount: EvmAddress;
|
|
499
|
+
/** The network to send the user operation on. */
|
|
214
500
|
network: SendEvmTransactionWithEndUserAccountBodyNetwork;
|
|
501
|
+
/** The calls to make from the user operation. */
|
|
215
502
|
calls: EvmCall[];
|
|
503
|
+
/** Whether to use the CDP Paymaster for the user operation. */
|
|
216
504
|
useCdpPaymaster?: boolean;
|
|
505
|
+
/** The URL of the paymaster to use for the user operation. Get your free Base paymaster URL [from the CDP Portal](https://portal.cdp.coinbase.com/products/node). */
|
|
217
506
|
paymasterUrl?: string;
|
|
507
|
+
/** Optional hex-encoded data suffix to append to the user operation callData for attribution (ERC-8021). The suffix will be appended to the callData of the user operation. */
|
|
218
508
|
dataSuffix?: string;
|
|
509
|
+
/** Optional idempotency key for safe retries. */
|
|
219
510
|
idempotencyKey?: string;
|
|
220
511
|
};
|
|
512
|
+
/**
|
|
513
|
+
* Result of sendUserOperation.
|
|
514
|
+
*/
|
|
221
515
|
export type SendUserOperationResult = {
|
|
516
|
+
/** The user operation hash. */
|
|
222
517
|
userOperationHash: Hex;
|
|
223
518
|
};
|
|
519
|
+
/**
|
|
520
|
+
* Request parameters for getting a user operation.
|
|
521
|
+
*/
|
|
224
522
|
export type GetUserOperationOptions = {
|
|
523
|
+
/** The user operation hash. */
|
|
225
524
|
userOperationHash: Hex;
|
|
525
|
+
/** The EVM Smart Account that sent the user operation. */
|
|
226
526
|
evmSmartAccount: EvmAddress;
|
|
527
|
+
/** The network the user operation was sent on. */
|
|
227
528
|
network: SendEvmTransactionWithEndUserAccountBodyNetwork;
|
|
228
529
|
};
|
|
530
|
+
/**
|
|
531
|
+
* Result of getUserOperation.
|
|
532
|
+
*/
|
|
229
533
|
export type GetUserOperationResult = EvmUserOperation;
|
|
534
|
+
/**
|
|
535
|
+
* Result of signEvmTypedData.
|
|
536
|
+
*/
|
|
230
537
|
export type SignEvmTypedDataResult = {
|
|
538
|
+
/** The signature. */
|
|
231
539
|
signature: Hex;
|
|
232
540
|
};
|
|
541
|
+
/**
|
|
542
|
+
* Request parameters for exporting an EVM account's private key.
|
|
543
|
+
*/
|
|
233
544
|
export type ExportEvmAccountOptions = {
|
|
545
|
+
/** The EVM account to export. */
|
|
234
546
|
evmAccount: EvmAddress;
|
|
547
|
+
/** Optional idempotency key for safe retries. */
|
|
235
548
|
idempotencyKey?: string;
|
|
236
549
|
};
|
|
550
|
+
/**
|
|
551
|
+
* Result of exportEvmAccount.
|
|
552
|
+
*/
|
|
237
553
|
export type ExportEvmAccountResult = {
|
|
554
|
+
/** The 32 byte raw private key of the EVM account. */
|
|
238
555
|
privateKey: string;
|
|
239
556
|
};
|
|
557
|
+
/**
|
|
558
|
+
* Request parameters for exporting a Solana account's private key.
|
|
559
|
+
*/
|
|
240
560
|
export type ExportSolanaAccountOptions = {
|
|
561
|
+
/** The Solana account to export. */
|
|
241
562
|
solanaAccount: SolanaAddress;
|
|
563
|
+
/** Optional idempotency key for safe retries. */
|
|
242
564
|
idempotencyKey?: string;
|
|
243
565
|
};
|
|
566
|
+
/**
|
|
567
|
+
* Result of exportSolanaAccount.
|
|
568
|
+
*/
|
|
244
569
|
export type ExportSolanaAccountResult = {
|
|
570
|
+
/** The 32 byte raw private key of the Solana account. */
|
|
245
571
|
privateKey: string;
|
|
246
572
|
};
|
|
573
|
+
/**
|
|
574
|
+
* The status of an OAuth flow.
|
|
575
|
+
*/
|
|
247
576
|
export type OAuthFlowStatus = "pending" | "success" | "error";
|
|
577
|
+
/**
|
|
578
|
+
* The state of an OAuth flow.
|
|
579
|
+
*/
|
|
248
580
|
export interface OAuthFlowState {
|
|
249
581
|
status?: OAuthFlowStatus;
|
|
250
582
|
code?: string;
|
|
@@ -253,17 +585,59 @@ export interface OAuthFlowState {
|
|
|
253
585
|
error?: string;
|
|
254
586
|
errorDescription?: string;
|
|
255
587
|
}
|
|
588
|
+
/**
|
|
589
|
+
* Callback function type for OAuth state changes.
|
|
590
|
+
*/
|
|
256
591
|
export type OnOAuthStateChangeFn = (state: OAuthFlowState | null) => void;
|
|
592
|
+
/**
|
|
593
|
+
* Raw Telegram auth data received from the Telegram popup via postMessage.
|
|
594
|
+
* Uses snake_case field names matching Telegram's response format.
|
|
595
|
+
*/
|
|
257
596
|
export interface TelegramAuthData {
|
|
597
|
+
/** The Telegram user ID. */
|
|
258
598
|
id: number;
|
|
599
|
+
/** The Telegram user's first name. */
|
|
259
600
|
first_name?: string;
|
|
601
|
+
/** The Telegram user's last name. */
|
|
260
602
|
last_name?: string;
|
|
603
|
+
/** The Telegram user's username. */
|
|
261
604
|
username?: string;
|
|
605
|
+
/** The Telegram user's profile picture URL. */
|
|
262
606
|
photo_url?: string;
|
|
607
|
+
/** The Telegram user's last login as a Unix timestamp. */
|
|
263
608
|
auth_date: number;
|
|
609
|
+
/** The hash of the Telegram user data used for verifying data integrity. */
|
|
264
610
|
hash: string;
|
|
265
611
|
}
|
|
612
|
+
/** Request parameters for verifyTelegramOAuth. */
|
|
266
613
|
export type VerifyTelegramOAuthOptions = {
|
|
614
|
+
/** The flow ID from initiateAuthentication. */
|
|
267
615
|
flowId: string;
|
|
616
|
+
/** The Telegram auth data received from the popup. */
|
|
268
617
|
telegramData: TelegramAuthData;
|
|
269
618
|
};
|
|
619
|
+
/**
|
|
620
|
+
* The estimated fees for the swap.
|
|
621
|
+
*/
|
|
622
|
+
export type SwapFees = {
|
|
623
|
+
/**
|
|
624
|
+
* The estimated gas fee for the swap.
|
|
625
|
+
*/
|
|
626
|
+
gasFee?: TokenFee | null;
|
|
627
|
+
/**
|
|
628
|
+
* The estimated protocol fee for the swap.
|
|
629
|
+
*/
|
|
630
|
+
protocolFee?: TokenFee | null;
|
|
631
|
+
};
|
|
632
|
+
/**
|
|
633
|
+
* Details of the allowance that the `taker` must set in order to execute the swap successfully. Null if no allowance is required.
|
|
634
|
+
*
|
|
635
|
+
* @interface
|
|
636
|
+
*/
|
|
637
|
+
export type SwapIssuesAllowance = NonNullable<GetEndUserEvmSwapPrice200IssuesAllowance>;
|
|
638
|
+
/**
|
|
639
|
+
* Details of the `fromToken` balance that the `taker` must hold. Null if the `taker` has a sufficient balance.
|
|
640
|
+
*
|
|
641
|
+
* @interface
|
|
642
|
+
*/
|
|
643
|
+
export type SwapIssuesBalance = NonNullable<GetEndUserEvmSwapPrice200IssuesBalance>;
|
|
@@ -1 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validates a phone number is in E.164 format.
|
|
3
|
+
*
|
|
4
|
+
* E.164 format requirements:
|
|
5
|
+
* - Starts with +
|
|
6
|
+
* - Followed by country code (1-3 digits)
|
|
7
|
+
* - Followed by subscriber number
|
|
8
|
+
* - Total length: 1-15 digits (excluding the + prefix)
|
|
9
|
+
*
|
|
10
|
+
* @param phoneNumber - The phone number to validate.
|
|
11
|
+
* @throws Error if the phone number is not in valid E.164 format.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```typescript
|
|
15
|
+
* // Valid formats
|
|
16
|
+
* validatePhoneNumber("+14155552671"); // US
|
|
17
|
+
* validatePhoneNumber("+442071838750"); // UK
|
|
18
|
+
* validatePhoneNumber("+81312345678"); // Japan
|
|
19
|
+
*
|
|
20
|
+
* // Invalid formats (will throw)
|
|
21
|
+
* validatePhoneNumber("4155552671"); // Missing +
|
|
22
|
+
* validatePhoneNumber("+1-415-555-2671"); // Contains hyphens
|
|
23
|
+
* validatePhoneNumber("+0412345678"); // Starts with 0
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
1
26
|
export declare function validatePhoneNumber(phoneNumber: string): void;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* These are used to serialize smart account EIP-712 signatures.
|
|
3
|
+
*
|
|
4
|
+
* Address sourced from: https://github.com/wevm/viem/blob/56cfbef527222cd46d4eacb1ef2a578223e64678/src/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts#L58
|
|
5
|
+
* ABI sourced from: https://github.com/wevm/viem/blob/56cfbef527222cd46d4eacb1ef2a578223e64678/src/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts#L833-L879
|
|
6
|
+
*/
|
|
1
7
|
export declare const COINBASE_SMART_WALLET_FACTORY_ADDRESS = "0xba5ed110efdba3d005bfc882d75358acbbb85842";
|
|
2
8
|
export declare const COINBASE_SMART_WALLET_FACTORY_ABI: readonly [{
|
|
3
9
|
readonly inputs: readonly [{
|