@coinbase/cdp-core 0.0.121 → 0.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.web.js +110 -100
- package/dist/esm/index.web10.js +4 -4
- package/dist/esm/index.web100.js +86 -41
- package/dist/esm/index.web101.js +31 -13
- package/dist/esm/index.web102.js +25 -24
- package/dist/esm/index.web103.js +45 -15
- package/dist/esm/index.web104.js +3 -25
- package/dist/esm/index.web105.js +42 -20
- package/dist/esm/index.web106.js +13 -16
- package/dist/esm/index.web107.js +23 -28
- package/dist/esm/index.web108.js +14 -40
- package/dist/esm/index.web109.js +24 -48
- package/dist/esm/index.web11.js +1 -1
- package/dist/esm/index.web110.js +21 -81
- package/dist/esm/index.web111.js +15 -24
- package/dist/esm/index.web112.js +28 -158
- package/dist/esm/index.web113.js +39 -46
- package/dist/esm/index.web114.js +49 -28
- package/dist/esm/index.web115.js +77 -68
- package/dist/esm/index.web116.js +25 -8
- package/dist/esm/index.web117.js +156 -114
- package/dist/esm/index.web118.js +30 -119
- package/dist/esm/index.web119.js +24 -65
- package/dist/esm/index.web12.js +1 -1
- package/dist/esm/index.web120.js +72 -26
- package/dist/esm/index.web121.js +11 -33
- package/dist/esm/index.web122.js +9 -24
- package/dist/esm/index.web123.js +100 -47
- package/dist/esm/index.web124.js +137 -24
- package/dist/esm/index.web125.js +69 -51
- package/dist/esm/index.web126.js +26 -20
- package/dist/esm/index.web127.js +32 -152
- package/dist/esm/index.web128.js +24 -17
- package/dist/esm/index.web129.js +63 -21
- package/dist/esm/index.web13.js +3 -3
- package/dist/esm/index.web130.js +24 -51
- package/dist/esm/index.web131.js +48 -374
- package/dist/esm/index.web132.js +21 -29
- package/dist/esm/index.web133.js +152 -28
- package/dist/esm/index.web134.js +379 -2
- package/dist/esm/index.web135.js +28 -65
- package/dist/esm/index.web136.js +28 -364
- package/dist/esm/index.web137.js +2 -947
- package/dist/esm/index.web138.js +66 -2
- package/dist/esm/index.web139.js +364 -49
- package/dist/esm/index.web140.js +16 -26
- package/dist/esm/index.web141.js +21 -53
- package/dist/esm/index.web142.js +49 -9
- package/dist/esm/index.web143.js +5 -2
- package/dist/esm/index.web144.js +945 -45
- package/dist/esm/index.web145.js +2 -14
- package/dist/esm/index.web146.js +48 -11
- package/dist/esm/index.web147.js +26 -11
- package/dist/esm/index.web148.js +5 -5
- package/dist/esm/index.web149.js +48 -5
- package/dist/esm/index.web15.js +1 -1
- package/dist/esm/index.web150.js +50 -43
- package/dist/esm/index.web151.js +10 -14
- package/dist/esm/index.web152.js +2 -29
- package/dist/esm/index.web153.js +45 -8
- package/dist/esm/index.web154.js +13 -3
- package/dist/esm/index.web155.js +8 -22
- package/dist/esm/index.web156.js +28 -8
- package/dist/esm/index.web157.js +6 -6
- package/dist/esm/index.web158.js +3 -80
- package/dist/esm/index.web159.js +18 -18
- package/dist/esm/index.web16.js +1 -1
- package/dist/esm/index.web160.js +8 -3
- package/dist/esm/index.web161.js +7 -15
- package/dist/esm/index.web162.js +80 -4
- package/dist/esm/index.web163.js +21 -7
- package/dist/esm/index.web164.js +3 -19
- package/dist/esm/index.web165.js +8 -54
- package/dist/esm/index.web166.js +4 -17
- package/dist/esm/index.web167.js +14 -23
- package/dist/esm/index.web168.js +19 -8
- package/dist/esm/index.web169.js +47 -28
- package/dist/esm/index.web17.js +1 -1
- package/dist/esm/index.web170.js +17 -7
- package/dist/esm/index.web171.js +18 -15
- package/dist/esm/index.web172.js +8 -13
- package/dist/esm/index.web173.js +40 -53
- package/dist/esm/index.web174.js +7 -6
- package/dist/esm/index.web175.js +19 -20
- package/dist/esm/index.web176.js +11 -16
- package/dist/esm/index.web177.js +11 -45
- package/dist/esm/index.web178.js +2 -4
- package/dist/esm/index.web179.js +2 -4
- package/dist/esm/index.web18.js +2 -2
- package/dist/esm/index.web180.js +13 -34
- package/dist/esm/index.web181.js +53 -10
- package/dist/esm/index.web182.js +6 -4
- package/dist/esm/index.web183.js +21 -28
- package/dist/esm/index.web184.js +17 -6
- package/dist/esm/index.web185.js +42 -29
- package/dist/esm/index.web186.js +3 -12
- package/dist/esm/index.web187.js +3 -55
- package/dist/esm/index.web188.js +32 -40
- package/dist/esm/index.web189.js +11 -126
- package/dist/esm/index.web19.js +2 -2
- package/dist/esm/index.web190.js +4 -104
- package/dist/esm/index.web191.js +28 -6
- package/dist/esm/index.web192.js +7 -3
- package/dist/esm/index.web193.js +30 -76
- package/dist/esm/index.web194.js +13 -2
- package/dist/esm/index.web195.js +56 -2
- package/dist/esm/index.web196.js +39 -34
- package/dist/esm/index.web197.js +126 -5
- package/dist/esm/index.web198.js +101 -31
- package/dist/esm/index.web199.js +6 -14
- package/dist/esm/index.web2.js +2 -2
- package/dist/esm/index.web20.js +7 -7
- package/dist/esm/index.web200.js +3 -35
- package/dist/esm/index.web201.js +77 -17
- package/dist/esm/index.web202.js +2 -9
- package/dist/esm/index.web203.js +2 -11
- package/dist/esm/index.web204.js +37 -11
- package/dist/esm/index.web205.js +6 -13
- package/dist/esm/index.web206.js +34 -5
- package/dist/esm/index.web207.js +15 -5
- package/dist/esm/index.web208.js +34 -10
- package/dist/esm/index.web209.js +19 -2
- package/dist/esm/index.web21.js +1 -1
- package/dist/esm/index.web210.js +9 -2
- package/dist/esm/index.web211.js +9 -19
- package/dist/esm/index.web212.js +12 -10
- package/dist/esm/index.web213.js +14 -20
- package/dist/esm/index.web214.js +6 -94
- package/dist/esm/index.web215.js +4 -20
- package/dist/esm/index.web216.js +11 -118
- package/dist/esm/index.web217.js +106 -101
- package/dist/esm/index.web218.js +2 -79
- package/dist/esm/index.web219.js +2 -79
- package/dist/esm/index.web220.js +21 -2
- package/dist/esm/index.web221.js +10 -109
- package/dist/esm/index.web222.js +20 -2
- package/dist/esm/index.web223.js +94 -8
- package/dist/esm/index.web224.js +21 -2
- package/dist/esm/index.web225.js +110 -353
- package/dist/esm/index.web226.js +103 -852
- package/dist/esm/index.web227.js +77 -37
- package/dist/esm/index.web228.js +79 -2
- package/dist/esm/index.web229.js +36 -67
- package/dist/esm/index.web230.js +2 -35
- package/dist/esm/index.web231.js +69 -14
- package/dist/esm/index.web232.js +34 -46
- package/dist/esm/index.web233.js +12 -18
- package/dist/esm/index.web234.js +8 -2
- package/dist/esm/index.web235.js +2 -20
- package/dist/esm/index.web236.js +356 -28
- package/dist/esm/index.web237.js +852 -6
- package/dist/esm/index.web238.js +45 -16
- package/dist/esm/index.web239.js +20 -27
- package/dist/esm/index.web240.js +2 -8
- package/dist/esm/index.web241.js +19 -10
- package/dist/esm/index.web242.js +32 -12
- package/dist/esm/index.web243.js +6 -9
- package/dist/esm/index.web244.js +15 -14
- package/dist/esm/index.web245.js +25 -78
- package/dist/esm/index.web246.js +8 -2
- package/dist/esm/index.web247.js +11 -2
- package/dist/esm/index.web248.js +13 -2
- package/dist/esm/index.web249.js +8 -2
- package/dist/esm/index.web250.js +17 -5
- package/dist/esm/index.web251.js +80 -14
- package/dist/esm/index.web252.js +2 -79
- package/dist/esm/index.web253.js +6 -0
- package/dist/esm/index.web254.js +4 -0
- package/dist/esm/index.web255.js +4 -0
- package/dist/esm/index.web256.js +7 -0
- package/dist/esm/index.web257.js +81 -0
- package/dist/esm/index.web258.js +17 -0
- package/dist/esm/index.web28.js +5 -5
- package/dist/esm/index.web29.js +6 -6
- package/dist/esm/index.web3.js +1 -1
- package/dist/esm/index.web30.js +5 -5
- package/dist/esm/index.web31.js +5 -5
- package/dist/esm/index.web32.js +5 -5
- package/dist/esm/index.web33.js +5 -5
- package/dist/esm/index.web34.js +6 -6
- package/dist/esm/index.web35.js +5 -5
- package/dist/esm/index.web36.js +5 -5
- package/dist/esm/index.web37.js +1 -1
- package/dist/esm/index.web38.js +5 -5
- package/dist/esm/index.web39.js +5 -5
- package/dist/esm/index.web4.js +1 -1
- package/dist/esm/index.web40.js +6 -6
- package/dist/esm/index.web41.js +1 -1
- package/dist/esm/index.web42.js +5 -5
- package/dist/esm/index.web43.js +5 -5
- package/dist/esm/index.web45.js +2 -2
- package/dist/esm/index.web46.js +1 -1
- package/dist/esm/index.web49.js +4 -4
- package/dist/esm/index.web50.js +1 -1
- package/dist/esm/index.web52.js +3 -3
- package/dist/esm/index.web53.js +3 -3
- package/dist/esm/index.web54.js +2 -2
- package/dist/esm/index.web55.js +1 -1
- package/dist/esm/index.web57.js +3 -3
- package/dist/esm/index.web58.js +1 -1
- package/dist/esm/index.web59.js +2 -2
- package/dist/esm/index.web6.js +1 -1
- package/dist/esm/index.web60.js +4 -4
- package/dist/esm/index.web61.js +2 -2
- package/dist/esm/index.web62.js +3 -3
- package/dist/esm/index.web63.js +3 -3
- package/dist/esm/index.web64.js +3 -3
- package/dist/esm/index.web65.js +5 -5
- package/dist/esm/index.web66.js +5 -5
- package/dist/esm/index.web67.js +5 -5
- package/dist/esm/index.web68.js +5 -5
- package/dist/esm/index.web70.js +3 -3
- package/dist/esm/index.web71.js +9 -9
- package/dist/esm/index.web75.js +2 -2
- package/dist/esm/index.web76.js +3 -3
- package/dist/esm/index.web77.js +12 -12
- package/dist/esm/index.web78.js +1 -1
- package/dist/esm/index.web79.js +1 -1
- package/dist/esm/index.web80.js +1 -1
- package/dist/esm/index.web81.js +55 -19
- package/dist/esm/index.web82.js +62 -47
- package/dist/esm/index.web83.js +6 -40
- package/dist/esm/index.web84.js +17 -17
- package/dist/esm/index.web85.js +18 -349
- package/dist/esm/index.web86.js +47 -17
- package/dist/esm/index.web87.js +35 -127
- package/dist/esm/index.web88.js +18 -87
- package/dist/esm/index.web89.js +353 -6
- package/dist/esm/index.web9.js +1 -1
- package/dist/esm/index.web90.js +17 -54
- package/dist/esm/index.web91.js +125 -155
- package/dist/esm/index.web92.js +82 -61
- package/dist/esm/index.web93.js +7 -36
- package/dist/esm/index.web94.js +49 -99
- package/dist/esm/index.web95.js +156 -36
- package/dist/esm/index.web96.js +65 -29
- package/dist/esm/index.web97.js +36 -26
- package/dist/esm/index.web98.js +106 -45
- package/dist/esm/index.web99.js +43 -3
- package/dist/native/index.native11.js +1 -1
- package/dist/native/index.native110.js +3 -3
- package/dist/native/index.native113.js +2 -2
- package/dist/native/index.native117.js +3 -3
- package/dist/native/index.native129.js +12 -12
- package/dist/native/index.native130.js +2 -2
- package/dist/native/index.native131.js +13 -373
- package/dist/native/index.native132.js +25 -2
- package/dist/native/index.native133.js +48 -63
- package/dist/native/index.native134.js +189 -177
- package/dist/native/index.native135.js +2 -31
- package/dist/native/index.native136.js +65 -28
- package/dist/native/index.native137.js +360 -12
- package/dist/native/index.native138.js +28 -22
- package/dist/native/index.native139.js +28 -50
- package/dist/native/index.native144.js +2 -2
- package/dist/native/index.native146.js +13 -36
- package/dist/native/index.native147.js +11 -67
- package/dist/native/index.native148.js +36 -5
- package/dist/native/index.native149.js +66 -11
- package/dist/native/index.native150.js +4 -11
- package/dist/native/index.native151.js +7 -7
- package/dist/native/index.native158.js +13 -13
- package/dist/native/index.native159.js +54 -26
- package/dist/native/index.native160.js +6 -7
- package/dist/native/index.native161.js +21 -3
- package/dist/native/index.native162.js +16 -26
- package/dist/native/index.native163.js +45 -8
- package/dist/native/index.native164.js +3 -7
- package/dist/native/index.native165.js +3 -79
- package/dist/native/index.native166.js +32 -25
- package/dist/native/index.native167.js +12 -3
- package/dist/native/index.native168.js +4 -14
- package/dist/native/index.native169.js +28 -4
- package/dist/native/index.native170.js +6 -13
- package/dist/native/index.native171.js +31 -18
- package/dist/native/index.native172.js +9 -57
- package/dist/native/index.native173.js +55 -17
- package/dist/native/index.native174.js +41 -22
- package/dist/native/index.native175.js +127 -8
- package/dist/native/index.native176.js +102 -39
- package/dist/native/index.native177.js +6 -7
- package/dist/native/index.native178.js +3 -21
- package/dist/native/index.native179.js +78 -13
- package/dist/native/index.native180.js +2 -56
- package/dist/native/index.native181.js +2 -7
- package/dist/native/index.native182.js +34 -18
- package/dist/native/index.native183.js +5 -16
- package/dist/native/index.native184.js +31 -42
- package/dist/native/index.native185.js +14 -3
- package/dist/native/index.native186.js +34 -3
- package/dist/native/index.native187.js +17 -33
- package/dist/native/index.native188.js +8 -12
- package/dist/native/index.native189.js +10 -4
- package/dist/native/index.native190.js +11 -28
- package/dist/native/index.native191.js +13 -6
- package/dist/native/index.native192.js +5 -32
- package/dist/native/index.native193.js +5 -13
- package/dist/native/index.native194.js +10 -55
- package/dist/native/index.native195.js +13 -42
- package/dist/native/index.native196.js +26 -126
- package/dist/native/index.native197.js +7 -104
- package/dist/native/index.native198.js +3 -6
- package/dist/native/index.native199.js +28 -3
- package/dist/native/index.native200.js +8 -78
- package/dist/native/index.native201.js +8 -2
- package/dist/native/index.native202.js +80 -2
- package/dist/native/index.native203.js +25 -35
- package/dist/native/index.native204.js +3 -6
- package/dist/native/index.native205.js +14 -34
- package/dist/native/index.native206.js +4 -14
- package/dist/native/index.native207.js +13 -34
- package/dist/native/index.native208.js +18 -17
- package/dist/native/index.native209.js +60 -8
- package/dist/native/index.native210.js +17 -10
- package/dist/native/index.native211.js +23 -11
- package/dist/native/index.native212.js +8 -13
- package/dist/native/index.native213.js +41 -5
- package/dist/native/index.native214.js +8 -5
- package/dist/native/index.native215.js +20 -10
- package/dist/native/index.native216.js +104 -2
- package/dist/native/index.native217.js +77 -107
- package/dist/native/index.native218.js +79 -2
- package/dist/native/index.native219.js +2 -39
- package/dist/native/index.native220.js +109 -2
- package/dist/native/index.native221.js +2 -70
- package/dist/native/index.native222.js +20 -34
- package/dist/native/index.native223.js +10 -15
- package/dist/native/index.native224.js +20 -8
- package/dist/native/index.native225.js +94 -2
- package/dist/native/index.native226.js +21 -361
- package/dist/native/index.native227.js +118 -853
- package/dist/native/index.native228.js +38 -103
- package/dist/native/index.native229.js +2 -79
- package/dist/native/index.native230.js +69 -78
- package/dist/native/index.native231.js +34 -20
- package/dist/native/index.native232.js +15 -10
- package/dist/native/index.native233.js +8 -20
- package/dist/native/index.native234.js +2 -94
- package/dist/native/index.native235.js +361 -21
- package/dist/native/index.native236.js +853 -118
- package/dist/native/index.native237.js +1 -1
- package/dist/native/index.native240.js +5 -5
- package/dist/native/index.native241.js +2 -2
- package/dist/native/index.native242.js +3 -46
- package/dist/native/index.native243.js +46 -3
- package/dist/native/index.native244.js +2 -2
- package/dist/native/index.native245.js +2 -2
- package/dist/native/index.native246.js +2 -2
- package/dist/native/index.native248.js +1 -1
- package/dist/native/index.native250.js +1 -1
- package/dist/native/index.native254.js +1 -1
- package/dist/native/index.native256.js +78 -14
- package/dist/native/index.native257.js +14 -78
- package/dist/native/index.native3.js +1 -1
- package/dist/native/index.native79.js +12 -12
- package/dist/native/index.native84.js +12 -9
- package/dist/native/index.native90.js +4 -2
- package/dist/native-types/actions/deletePasskey.d.ts +21 -0
- package/dist/native-types/actions/enrollPasskey.d.ts +44 -0
- package/dist/native-types/actions/listPasskeys.d.ts +16 -0
- package/dist/native-types/actions/verifyPasskey.d.ts +30 -0
- package/dist/native-types/errors.d.ts +10 -2
- package/dist/native-types/index.web.d.ts +5 -0
- package/dist/native-types/mfa/utils.d.ts +3 -3
- package/dist/native-types/shared/base64url.d.ts +21 -0
- package/dist/native-types/shared/webauthn.d.ts +121 -0
- package/dist/native-types/types.d.ts +4 -2
- package/dist/native-types/version.d.ts +1 -1
- package/dist/types/actions/deletePasskey.d.ts +21 -0
- package/dist/types/actions/enrollPasskey.d.ts +44 -0
- package/dist/types/actions/listPasskeys.d.ts +16 -0
- package/dist/types/actions/verifyPasskey.d.ts +30 -0
- package/dist/types/errors.d.ts +10 -2
- package/dist/types/index.web.d.ts +5 -0
- package/dist/types/mfa/utils.d.ts +3 -3
- package/dist/types/shared/base64url.d.ts +21 -0
- package/dist/types/shared/webauthn.d.ts +121 -0
- package/dist/types/types.d.ts +4 -2
- package/dist/types/version.d.ts +1 -1
- package/dist/web/index.web.js +110 -100
- package/dist/web/index.web10.js +4 -4
- package/dist/web/index.web100.js +86 -41
- package/dist/web/index.web101.js +31 -13
- package/dist/web/index.web102.js +25 -24
- package/dist/web/index.web103.js +45 -15
- package/dist/web/index.web104.js +3 -25
- package/dist/web/index.web105.js +42 -20
- package/dist/web/index.web106.js +13 -16
- package/dist/web/index.web107.js +23 -28
- package/dist/web/index.web108.js +14 -40
- package/dist/web/index.web109.js +24 -48
- package/dist/web/index.web11.js +1 -1
- package/dist/web/index.web110.js +21 -81
- package/dist/web/index.web111.js +15 -24
- package/dist/web/index.web112.js +28 -158
- package/dist/web/index.web113.js +39 -46
- package/dist/web/index.web114.js +49 -28
- package/dist/web/index.web115.js +77 -68
- package/dist/web/index.web116.js +25 -8
- package/dist/web/index.web117.js +156 -114
- package/dist/web/index.web118.js +30 -119
- package/dist/web/index.web119.js +24 -65
- package/dist/web/index.web12.js +1 -1
- package/dist/web/index.web120.js +72 -26
- package/dist/web/index.web121.js +11 -33
- package/dist/web/index.web122.js +9 -24
- package/dist/web/index.web123.js +100 -47
- package/dist/web/index.web124.js +137 -24
- package/dist/web/index.web125.js +69 -51
- package/dist/web/index.web126.js +26 -20
- package/dist/web/index.web127.js +32 -152
- package/dist/web/index.web128.js +24 -17
- package/dist/web/index.web129.js +63 -21
- package/dist/web/index.web13.js +3 -3
- package/dist/web/index.web130.js +24 -51
- package/dist/web/index.web131.js +48 -374
- package/dist/web/index.web132.js +21 -29
- package/dist/web/index.web133.js +152 -28
- package/dist/web/index.web134.js +379 -2
- package/dist/web/index.web135.js +28 -65
- package/dist/web/index.web136.js +28 -364
- package/dist/web/index.web137.js +2 -947
- package/dist/web/index.web138.js +66 -2
- package/dist/web/index.web139.js +364 -49
- package/dist/web/index.web140.js +16 -26
- package/dist/web/index.web141.js +21 -53
- package/dist/web/index.web142.js +49 -9
- package/dist/web/index.web143.js +5 -2
- package/dist/web/index.web144.js +945 -45
- package/dist/web/index.web145.js +2 -14
- package/dist/web/index.web146.js +48 -11
- package/dist/web/index.web147.js +26 -11
- package/dist/web/index.web148.js +5 -5
- package/dist/web/index.web149.js +48 -5
- package/dist/web/index.web15.js +1 -1
- package/dist/web/index.web150.js +50 -43
- package/dist/web/index.web151.js +10 -14
- package/dist/web/index.web152.js +2 -29
- package/dist/web/index.web153.js +45 -8
- package/dist/web/index.web154.js +13 -3
- package/dist/web/index.web155.js +8 -22
- package/dist/web/index.web156.js +28 -8
- package/dist/web/index.web157.js +6 -6
- package/dist/web/index.web158.js +3 -80
- package/dist/web/index.web159.js +18 -18
- package/dist/web/index.web16.js +1 -1
- package/dist/web/index.web160.js +8 -3
- package/dist/web/index.web161.js +7 -15
- package/dist/web/index.web162.js +80 -4
- package/dist/web/index.web163.js +21 -7
- package/dist/web/index.web164.js +3 -19
- package/dist/web/index.web165.js +8 -54
- package/dist/web/index.web166.js +4 -17
- package/dist/web/index.web167.js +14 -23
- package/dist/web/index.web168.js +19 -8
- package/dist/web/index.web169.js +47 -28
- package/dist/web/index.web17.js +1 -1
- package/dist/web/index.web170.js +17 -7
- package/dist/web/index.web171.js +18 -15
- package/dist/web/index.web172.js +8 -13
- package/dist/web/index.web173.js +40 -53
- package/dist/web/index.web174.js +7 -6
- package/dist/web/index.web175.js +19 -20
- package/dist/web/index.web176.js +11 -16
- package/dist/web/index.web177.js +11 -45
- package/dist/web/index.web178.js +2 -4
- package/dist/web/index.web179.js +2 -4
- package/dist/web/index.web18.js +2 -2
- package/dist/web/index.web180.js +13 -34
- package/dist/web/index.web181.js +53 -10
- package/dist/web/index.web182.js +6 -4
- package/dist/web/index.web183.js +21 -28
- package/dist/web/index.web184.js +17 -6
- package/dist/web/index.web185.js +42 -29
- package/dist/web/index.web186.js +3 -12
- package/dist/web/index.web187.js +3 -55
- package/dist/web/index.web188.js +32 -40
- package/dist/web/index.web189.js +11 -126
- package/dist/web/index.web19.js +2 -2
- package/dist/web/index.web190.js +4 -104
- package/dist/web/index.web191.js +28 -6
- package/dist/web/index.web192.js +7 -3
- package/dist/web/index.web193.js +30 -76
- package/dist/web/index.web194.js +13 -2
- package/dist/web/index.web195.js +56 -2
- package/dist/web/index.web196.js +39 -34
- package/dist/web/index.web197.js +126 -5
- package/dist/web/index.web198.js +101 -31
- package/dist/web/index.web199.js +6 -14
- package/dist/web/index.web2.js +2 -2
- package/dist/web/index.web20.js +7 -7
- package/dist/web/index.web200.js +3 -35
- package/dist/web/index.web201.js +77 -17
- package/dist/web/index.web202.js +2 -9
- package/dist/web/index.web203.js +2 -11
- package/dist/web/index.web204.js +37 -11
- package/dist/web/index.web205.js +6 -13
- package/dist/web/index.web206.js +34 -5
- package/dist/web/index.web207.js +15 -5
- package/dist/web/index.web208.js +34 -10
- package/dist/web/index.web209.js +19 -2
- package/dist/web/index.web21.js +1 -1
- package/dist/web/index.web210.js +9 -2
- package/dist/web/index.web211.js +9 -19
- package/dist/web/index.web212.js +12 -10
- package/dist/web/index.web213.js +14 -20
- package/dist/web/index.web214.js +6 -94
- package/dist/web/index.web215.js +4 -20
- package/dist/web/index.web216.js +11 -118
- package/dist/web/index.web217.js +106 -101
- package/dist/web/index.web218.js +2 -79
- package/dist/web/index.web219.js +2 -79
- package/dist/web/index.web220.js +21 -2
- package/dist/web/index.web221.js +10 -109
- package/dist/web/index.web222.js +20 -2
- package/dist/web/index.web223.js +94 -8
- package/dist/web/index.web224.js +21 -2
- package/dist/web/index.web225.js +110 -353
- package/dist/web/index.web226.js +103 -852
- package/dist/web/index.web227.js +77 -37
- package/dist/web/index.web228.js +79 -2
- package/dist/web/index.web229.js +36 -67
- package/dist/web/index.web230.js +2 -35
- package/dist/web/index.web231.js +69 -14
- package/dist/web/index.web232.js +34 -46
- package/dist/web/index.web233.js +12 -18
- package/dist/web/index.web234.js +8 -2
- package/dist/web/index.web235.js +2 -20
- package/dist/web/index.web236.js +356 -28
- package/dist/web/index.web237.js +852 -6
- package/dist/web/index.web238.js +45 -16
- package/dist/web/index.web239.js +20 -27
- package/dist/web/index.web240.js +2 -8
- package/dist/web/index.web241.js +19 -10
- package/dist/web/index.web242.js +32 -12
- package/dist/web/index.web243.js +6 -9
- package/dist/web/index.web244.js +15 -14
- package/dist/web/index.web245.js +25 -78
- package/dist/web/index.web246.js +8 -2
- package/dist/web/index.web247.js +11 -2
- package/dist/web/index.web248.js +13 -2
- package/dist/web/index.web249.js +8 -2
- package/dist/web/index.web250.js +17 -5
- package/dist/web/index.web251.js +80 -14
- package/dist/web/index.web252.js +2 -79
- package/dist/web/index.web253.js +6 -0
- package/dist/web/index.web254.js +4 -0
- package/dist/web/index.web255.js +4 -0
- package/dist/web/index.web256.js +7 -0
- package/dist/web/index.web257.js +81 -0
- package/dist/web/index.web258.js +17 -0
- package/dist/web/index.web28.js +5 -5
- package/dist/web/index.web29.js +6 -6
- package/dist/web/index.web3.js +1 -1
- package/dist/web/index.web30.js +5 -5
- package/dist/web/index.web31.js +5 -5
- package/dist/web/index.web32.js +5 -5
- package/dist/web/index.web33.js +5 -5
- package/dist/web/index.web34.js +6 -6
- package/dist/web/index.web35.js +5 -5
- package/dist/web/index.web36.js +5 -5
- package/dist/web/index.web37.js +1 -1
- package/dist/web/index.web38.js +5 -5
- package/dist/web/index.web39.js +5 -5
- package/dist/web/index.web4.js +1 -1
- package/dist/web/index.web40.js +6 -6
- package/dist/web/index.web41.js +1 -1
- package/dist/web/index.web42.js +5 -5
- package/dist/web/index.web43.js +5 -5
- package/dist/web/index.web45.js +2 -2
- package/dist/web/index.web46.js +1 -1
- package/dist/web/index.web49.js +4 -4
- package/dist/web/index.web50.js +1 -1
- package/dist/web/index.web52.js +3 -3
- package/dist/web/index.web53.js +3 -3
- package/dist/web/index.web54.js +2 -2
- package/dist/web/index.web55.js +1 -1
- package/dist/web/index.web57.js +3 -3
- package/dist/web/index.web58.js +1 -1
- package/dist/web/index.web59.js +2 -2
- package/dist/web/index.web6.js +1 -1
- package/dist/web/index.web60.js +4 -4
- package/dist/web/index.web61.js +2 -2
- package/dist/web/index.web62.js +3 -3
- package/dist/web/index.web63.js +3 -3
- package/dist/web/index.web64.js +3 -3
- package/dist/web/index.web65.js +5 -5
- package/dist/web/index.web66.js +5 -5
- package/dist/web/index.web67.js +5 -5
- package/dist/web/index.web68.js +5 -5
- package/dist/web/index.web70.js +3 -3
- package/dist/web/index.web71.js +9 -9
- package/dist/web/index.web75.js +2 -2
- package/dist/web/index.web76.js +3 -3
- package/dist/web/index.web77.js +12 -12
- package/dist/web/index.web78.js +1 -1
- package/dist/web/index.web79.js +1 -1
- package/dist/web/index.web80.js +1 -1
- package/dist/web/index.web81.js +55 -19
- package/dist/web/index.web82.js +62 -47
- package/dist/web/index.web83.js +6 -40
- package/dist/web/index.web84.js +17 -17
- package/dist/web/index.web85.js +18 -349
- package/dist/web/index.web86.js +47 -17
- package/dist/web/index.web87.js +35 -127
- package/dist/web/index.web88.js +18 -87
- package/dist/web/index.web89.js +353 -6
- package/dist/web/index.web9.js +1 -1
- package/dist/web/index.web90.js +17 -54
- package/dist/web/index.web91.js +125 -155
- package/dist/web/index.web92.js +82 -61
- package/dist/web/index.web93.js +7 -36
- package/dist/web/index.web94.js +49 -99
- package/dist/web/index.web95.js +156 -36
- package/dist/web/index.web96.js +65 -29
- package/dist/web/index.web97.js +36 -26
- package/dist/web/index.web98.js +106 -45
- package/dist/web/index.web99.js +43 -3
- package/dist/web-types/actions/deletePasskey.d.ts +21 -0
- package/dist/web-types/actions/enrollPasskey.d.ts +44 -0
- package/dist/web-types/actions/listPasskeys.d.ts +16 -0
- package/dist/web-types/actions/verifyPasskey.d.ts +30 -0
- package/dist/web-types/errors.d.ts +10 -2
- package/dist/web-types/index.web.d.ts +5 -0
- package/dist/web-types/mfa/utils.d.ts +3 -3
- package/dist/web-types/shared/base64url.d.ts +21 -0
- package/dist/web-types/shared/webauthn.d.ts +121 -0
- package/dist/web-types/types.d.ts +4 -2
- package/dist/web-types/version.d.ts +1 -1
- package/package.json +3 -3
package/dist/esm/index.web.js
CHANGED
|
@@ -6,13 +6,13 @@ import { webCrypto as m } from "./index.web6.js";
|
|
|
6
6
|
import { webOAuth as n } from "./index.web7.js";
|
|
7
7
|
import { webStorage as i } from "./index.web8.js";
|
|
8
8
|
import { VERSION as a } from "./index.web9.js";
|
|
9
|
-
import { initialize as
|
|
10
|
-
import { signInWithEmail as
|
|
11
|
-
import { signInWithSms as
|
|
12
|
-
import { signInWithOAuth as
|
|
9
|
+
import { initialize as v } from "./index.web10.js";
|
|
10
|
+
import { signInWithEmail as P } from "./index.web11.js";
|
|
11
|
+
import { signInWithSms as h } from "./index.web12.js";
|
|
12
|
+
import { signInWithOAuth as I } from "./index.web13.js";
|
|
13
13
|
import { signInWithSiwe as C } from "./index.web14.js";
|
|
14
|
-
import { verifyEmailOTP as
|
|
15
|
-
import { verifySmsOTP as
|
|
14
|
+
import { verifyEmailOTP as k } from "./index.web15.js";
|
|
15
|
+
import { verifySmsOTP as D } from "./index.web16.js";
|
|
16
16
|
import { verifyOAuth as w } from "./index.web17.js";
|
|
17
17
|
import { verifySiweSignature as N } from "./index.web18.js";
|
|
18
18
|
import { verifyTelegramOAuth as V } from "./index.web19.js";
|
|
@@ -28,17 +28,17 @@ import { signEvmHash as or } from "./index.web28.js";
|
|
|
28
28
|
import { signEvmTransaction as mr } from "./index.web29.js";
|
|
29
29
|
import { signEvmMessage as ir } from "./index.web30.js";
|
|
30
30
|
import { signEvmTypedData as fr } from "./index.web31.js";
|
|
31
|
-
import { signSolanaTransaction as
|
|
32
|
-
import { signSolanaMessage as
|
|
33
|
-
import { sendEvmTransaction as
|
|
31
|
+
import { signSolanaTransaction as sr } from "./index.web32.js";
|
|
32
|
+
import { signSolanaMessage as Er } from "./index.web33.js";
|
|
33
|
+
import { sendEvmTransaction as lr } from "./index.web34.js";
|
|
34
34
|
import { sendSolanaTransaction as dr } from "./index.web35.js";
|
|
35
35
|
import { sendUserOperation as Sr } from "./index.web36.js";
|
|
36
|
-
import { getUserOperation as
|
|
37
|
-
import { exportEvmAccount as
|
|
38
|
-
import { exportSolanaAccount as
|
|
39
|
-
import { createSpendPermission as
|
|
36
|
+
import { getUserOperation as vr } from "./index.web37.js";
|
|
37
|
+
import { exportEvmAccount as Pr } from "./index.web38.js";
|
|
38
|
+
import { exportSolanaAccount as hr } from "./index.web39.js";
|
|
39
|
+
import { createSpendPermission as Ir } from "./index.web40.js";
|
|
40
40
|
import { listSpendPermissions as Cr } from "./index.web41.js";
|
|
41
|
-
import { APIError as
|
|
41
|
+
import { APIError as kr, ErrorType as Rr, EvmEip7702DelegationNetwork as Dr, EvmSwapsNetwork as Ur, HttpErrorType as wr, OAuth2ProviderType as Fr, SendEvmTransactionWithEndUserAccountBodyNetwork as Nr, SendSolanaTransactionWithEndUserAccountBodyNetwork as br } from "@coinbase/cdp-api-client";
|
|
42
42
|
import { revokeSpendPermission as Wr } from "./index.web42.js";
|
|
43
43
|
import { enableSpendPermissions as Br } from "./index.web43.js";
|
|
44
44
|
import { getCurrentUserSync as Yr } from "./index.web44.js";
|
|
@@ -52,18 +52,18 @@ import { linkSiwe as te } from "./index.web51.js";
|
|
|
52
52
|
import { createEvmEoaAccount as ne } from "./index.web52.js";
|
|
53
53
|
import { createEvmSmartAccount as ae } from "./index.web53.js";
|
|
54
54
|
import { createEvmEip7702Delegation as pe } from "./index.web54.js";
|
|
55
|
-
import { getEvmEip7702DelegationOperation as
|
|
56
|
-
import { waitForEvmEip7702Delegation as
|
|
57
|
-
import { createDelegation as
|
|
55
|
+
import { getEvmEip7702DelegationOperation as xe } from "./index.web55.js";
|
|
56
|
+
import { waitForEvmEip7702Delegation as ce } from "./index.web56.js";
|
|
57
|
+
import { createDelegation as ge } from "./index.web57.js";
|
|
58
58
|
import { getDelegation as ue } from "./index.web58.js";
|
|
59
59
|
import { revokeDelegation as Ae } from "./index.web59.js";
|
|
60
|
-
import { createDelegationForAccount as
|
|
61
|
-
import { getDelegationForAccount as
|
|
62
|
-
import { revokeDelegationForAccount as
|
|
63
|
-
import { createSolanaAccount as
|
|
60
|
+
import { createDelegationForAccount as Te } from "./index.web60.js";
|
|
61
|
+
import { getDelegationForAccount as Me } from "./index.web61.js";
|
|
62
|
+
import { revokeDelegationForAccount as ye } from "./index.web62.js";
|
|
63
|
+
import { createSolanaAccount as _e } from "./index.web63.js";
|
|
64
64
|
import { createBitcoinAccount as Oe } from "./index.web64.js";
|
|
65
|
-
import { signBitcoinHash as
|
|
66
|
-
import { sendEvmEoaUsdc as
|
|
65
|
+
import { signBitcoinHash as Re } from "./index.web65.js";
|
|
66
|
+
import { sendEvmEoaUsdc as Ue } from "./index.web66.js";
|
|
67
67
|
import { sendEvmSmartAccountUsdc as Fe } from "./index.web67.js";
|
|
68
68
|
import { sendSolanaUsdc as be } from "./index.web68.js";
|
|
69
69
|
import { sendUsdc as We } from "./index.web69.js";
|
|
@@ -78,23 +78,28 @@ import { submitMfaEnrollment as to } from "./index.web77.js";
|
|
|
78
78
|
import { initiateMfaVerification as no } from "./index.web78.js";
|
|
79
79
|
import { submitMfaVerification as ao } from "./index.web79.js";
|
|
80
80
|
import { cancelMfaVerification as po } from "./index.web80.js";
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
81
|
+
import { enrollPasskey as xo } from "./index.web81.js";
|
|
82
|
+
import { verifyPasskey as co } from "./index.web82.js";
|
|
83
|
+
import { listPasskeys as go } from "./index.web83.js";
|
|
84
|
+
import { deletePasskey as So } from "./index.web84.js";
|
|
85
|
+
import { getEnabledMfaMethods as vo, getEnrolledMfaMethods as To, isEnrolledInMfa as Po } from "./index.web85.js";
|
|
86
|
+
import { isMfaRequired as ho } from "./index.web86.js";
|
|
87
|
+
import { MFA_PROTECTED_ACTIONS as Io, MFA_PROTECTED_FUNCTIONS as _o, isMfaProtectedAction as Co } from "./index.web87.js";
|
|
88
|
+
import { registerMfaListener as ko } from "./index.web88.js";
|
|
89
|
+
import { AuthManager as Do } from "./index.web89.js";
|
|
90
|
+
import { CustomAuthError as wo } from "./index.web90.js";
|
|
91
|
+
import { toViemAccount as No } from "./index.web91.js";
|
|
92
|
+
import { InputValidationError as Vo, InternalError as Wo, MfaError as Ho, ModuleResolutionError as Bo, SwapError as Ko, ValidationError as Yo } from "./index.web92.js";
|
|
93
|
+
import { validatePhoneNumber as Xo } from "./index.web93.js";
|
|
94
|
+
import { createCDPEmbeddedWallet as qo } from "./index.web94.js";
|
|
95
|
+
import { EIP1193ProviderError as Go, STANDARD_ERROR_CODES as Jo } from "./index.web95.js";
|
|
92
96
|
import "viem";
|
|
93
97
|
import "zustand";
|
|
94
|
-
import { buildKeyExportIframeUrl as
|
|
95
|
-
import { DEFAULT_SECURE_IFRAME_BASE_PATH as
|
|
96
|
-
import { createEvmKeyExportIframe as
|
|
97
|
-
import { toTransactionSigner as
|
|
98
|
+
import { buildKeyExportIframeUrl as Zo, calculateSecureIframeHeight as $o, createIframe as rt, getSecureIframeOrigin as et, isSecureIframeKeyExportMessage as ot, sendSecureIframeMessage as tt, validateSecureIframeEnvironment as mt } from "./index.web96.js";
|
|
99
|
+
import { DEFAULT_SECURE_IFRAME_BASE_PATH as it, DEFAULT_SECURE_IFRAME_THEME as at, SECURE_IFRAME_EVENT_TYPE as ft, SECURE_IFRAME_EVENT_TYPE_PREFIX as pt, SECURE_IFRAME_KEY_EXPORT_EVENT_TYPE as st } from "./index.web97.js";
|
|
100
|
+
import { createEvmKeyExportIframe as Et, createSolanaKeyExportIframe as ct } from "./index.web98.js";
|
|
101
|
+
import { toTransactionSigner as gt } from "./index.web99.js";
|
|
102
|
+
import { isPasskeySupported as ut } from "./index.web100.js";
|
|
98
103
|
e.registerPackageVersion("core", a);
|
|
99
104
|
t({
|
|
100
105
|
crypto: m,
|
|
@@ -107,51 +112,53 @@ o(() => {
|
|
|
107
112
|
return r && r !== document.body ? r : document.body;
|
|
108
113
|
});
|
|
109
114
|
export {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
kr as APIError,
|
|
116
|
+
Do as AuthManager,
|
|
117
|
+
wo as CustomAuthError,
|
|
118
|
+
it as DEFAULT_SECURE_IFRAME_BASE_PATH,
|
|
119
|
+
at as DEFAULT_SECURE_IFRAME_THEME,
|
|
120
|
+
Go as EIP1193ProviderError,
|
|
121
|
+
Rr as ErrorType,
|
|
122
|
+
Dr as EvmEip7702DelegationNetwork,
|
|
123
|
+
Ur as EvmSwapsNetwork,
|
|
119
124
|
wr as HttpErrorType,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
125
|
+
Vo as InputValidationError,
|
|
126
|
+
Wo as InternalError,
|
|
127
|
+
Io as MFA_PROTECTED_ACTIONS,
|
|
128
|
+
_o as MFA_PROTECTED_FUNCTIONS,
|
|
129
|
+
Ho as MfaError,
|
|
130
|
+
Bo as ModuleResolutionError,
|
|
126
131
|
Fr as OAuth2ProviderType,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
ft as SECURE_IFRAME_EVENT_TYPE,
|
|
133
|
+
pt as SECURE_IFRAME_EVENT_TYPE_PREFIX,
|
|
134
|
+
st as SECURE_IFRAME_KEY_EXPORT_EVENT_TYPE,
|
|
135
|
+
Jo as STANDARD_ERROR_CODES,
|
|
131
136
|
Nr as SendEvmTransactionWithEndUserAccountBodyNetwork,
|
|
132
137
|
br as SendSolanaTransactionWithEndUserAccountBodyNetwork,
|
|
133
|
-
|
|
134
|
-
|
|
138
|
+
Ko as SwapError,
|
|
139
|
+
Yo as ValidationError,
|
|
135
140
|
H as authenticateWithJWT,
|
|
136
|
-
|
|
137
|
-
|
|
141
|
+
Zo as buildKeyExportIframeUrl,
|
|
142
|
+
$o as calculateSecureIframeHeight,
|
|
138
143
|
po as cancelMfaVerification,
|
|
139
144
|
Oe as createBitcoinAccount,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
145
|
+
qo as createCDPEmbeddedWallet,
|
|
146
|
+
ge as createDelegation,
|
|
147
|
+
Te as createDelegationForAccount,
|
|
143
148
|
pe as createEvmEip7702Delegation,
|
|
144
149
|
ne as createEvmEoaAccount,
|
|
145
|
-
|
|
150
|
+
Et as createEvmKeyExportIframe,
|
|
146
151
|
ae as createEvmSmartAccount,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
152
|
+
rt as createIframe,
|
|
153
|
+
_e as createSolanaAccount,
|
|
154
|
+
ct as createSolanaKeyExportIframe,
|
|
155
|
+
Ir as createSpendPermission,
|
|
156
|
+
So as deletePasskey,
|
|
151
157
|
Br as enableSpendPermissions,
|
|
158
|
+
xo as enrollPasskey,
|
|
152
159
|
Ye as executeSwap,
|
|
153
|
-
|
|
154
|
-
|
|
160
|
+
Pr as exportEvmAccount,
|
|
161
|
+
hr as exportSolanaAccount,
|
|
155
162
|
Xr as fetchWithX402,
|
|
156
163
|
z as getAccessToken,
|
|
157
164
|
J as getAccessTokenExpiration,
|
|
@@ -159,24 +166,25 @@ export {
|
|
|
159
166
|
K as getCurrentUser,
|
|
160
167
|
Yr as getCurrentUserSync,
|
|
161
168
|
ue as getDelegation,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
169
|
+
Me as getDelegationForAccount,
|
|
170
|
+
vo as getEnabledMfaMethods,
|
|
171
|
+
To as getEnrolledMfaMethods,
|
|
172
|
+
xe as getEvmEip7702DelegationOperation,
|
|
166
173
|
Xe as getMfaConfig,
|
|
167
174
|
Je as getMfaConfigState,
|
|
168
175
|
qe as getProjectConfig,
|
|
169
176
|
Qe as getProjectConfigState,
|
|
170
|
-
|
|
177
|
+
et as getSecureIframeOrigin,
|
|
171
178
|
Be as getSwapPrice,
|
|
172
|
-
|
|
173
|
-
|
|
179
|
+
vr as getUserOperation,
|
|
180
|
+
v as initialize,
|
|
174
181
|
eo as initiateMfaEnrollment,
|
|
175
182
|
no as initiateMfaVerification,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
Po as isEnrolledInMfa,
|
|
184
|
+
Co as isMfaProtectedAction,
|
|
185
|
+
ho as isMfaRequired,
|
|
186
|
+
ut as isPasskeySupported,
|
|
187
|
+
ot as isSecureIframeKeyExportMessage,
|
|
180
188
|
L as isSignedIn,
|
|
181
189
|
ee as linkApple,
|
|
182
190
|
Qr as linkEmail,
|
|
@@ -184,44 +192,46 @@ export {
|
|
|
184
192
|
$r as linkOAuth,
|
|
185
193
|
te as linkSiwe,
|
|
186
194
|
Gr as linkSms,
|
|
195
|
+
go as listPasskeys,
|
|
187
196
|
Cr as listSpendPermissions,
|
|
188
197
|
Z as onAuthStateChange,
|
|
189
198
|
rr as onOAuthStateChange,
|
|
190
199
|
$e as recordMfaEnrollmentPrompted,
|
|
191
|
-
|
|
200
|
+
ko as registerMfaListener,
|
|
192
201
|
Ae as revokeDelegation,
|
|
193
|
-
|
|
202
|
+
ye as revokeDelegationForAccount,
|
|
194
203
|
Wr as revokeSpendPermission,
|
|
195
|
-
|
|
204
|
+
Ue as sendEvmEoaUsdc,
|
|
196
205
|
Fe as sendEvmSmartAccountUsdc,
|
|
197
|
-
|
|
198
|
-
|
|
206
|
+
lr as sendEvmTransaction,
|
|
207
|
+
tt as sendSecureIframeMessage,
|
|
199
208
|
dr as sendSolanaTransaction,
|
|
200
209
|
be as sendSolanaUsdc,
|
|
201
210
|
We as sendUsdc,
|
|
202
211
|
Sr as sendUserOperation,
|
|
203
|
-
|
|
212
|
+
Re as signBitcoinHash,
|
|
204
213
|
or as signEvmHash,
|
|
205
214
|
ir as signEvmMessage,
|
|
206
215
|
mr as signEvmTransaction,
|
|
207
216
|
fr as signEvmTypedData,
|
|
208
|
-
|
|
209
|
-
|
|
217
|
+
P as signInWithEmail,
|
|
218
|
+
I as signInWithOAuth,
|
|
210
219
|
C as signInWithSiwe,
|
|
211
|
-
|
|
220
|
+
h as signInWithSms,
|
|
212
221
|
j as signOut,
|
|
213
|
-
|
|
214
|
-
|
|
222
|
+
Er as signSolanaMessage,
|
|
223
|
+
sr as signSolanaTransaction,
|
|
215
224
|
to as submitMfaEnrollment,
|
|
216
225
|
ao as submitMfaVerification,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
226
|
+
gt as toTransactionSigner,
|
|
227
|
+
No as toViemAccount,
|
|
228
|
+
Xo as validatePhoneNumber,
|
|
229
|
+
mt as validateSecureIframeEnvironment,
|
|
230
|
+
k as verifyEmailOTP,
|
|
222
231
|
w as verifyOAuth,
|
|
232
|
+
co as verifyPasskey,
|
|
223
233
|
N as verifySiweSignature,
|
|
224
|
-
|
|
234
|
+
D as verifySmsOTP,
|
|
225
235
|
V as verifyTelegramOAuth,
|
|
226
|
-
|
|
236
|
+
ce as waitForEvmEip7702Delegation
|
|
227
237
|
};
|
package/dist/esm/index.web10.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { configureCdpApiClient as C, setAuthManager as v, getMfaConfig as M, APIError as m, getProjectConfig as S } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as d } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { createAuthManager as y } from "./index.
|
|
5
|
-
import { OAuthManager as w } from "./index.
|
|
6
|
-
import { MockAuthManager as P } from "./index.
|
|
7
|
-
import { MockOAuthManager as _ } from "./index.
|
|
4
|
+
import { createAuthManager as y } from "./index.web122.js";
|
|
5
|
+
import { OAuthManager as w } from "./index.web123.js";
|
|
6
|
+
import { MockAuthManager as P } from "./index.web124.js";
|
|
7
|
+
import { MockOAuthManager as _ } from "./index.web125.js";
|
|
8
8
|
import { getPlatformServices as h } from "./index.web5.js";
|
|
9
9
|
import { getConfig as s, setCoreAuthManager as I, setCoreOAuthManager as A, setMfaConfig as k, setProjectConfig as b, getCoreAuthManager as O, setConfig as R } from "./index.web74.js";
|
|
10
10
|
import "viem";
|
package/dist/esm/index.web100.js
CHANGED
|
@@ -1,46 +1,91 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { MfaError as i, InternalError as o } from "./index.web92.js";
|
|
2
|
+
import { encodeBase64url as s, decodeBase64url as l } from "./index.web121.js";
|
|
3
|
+
const u = "The passkey prompt was dismissed or timed out.";
|
|
4
|
+
async function f() {
|
|
5
|
+
if (typeof window > "u" || typeof window.PublicKeyCredential > "u" || typeof window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable != "function")
|
|
6
|
+
return !1;
|
|
7
|
+
try {
|
|
8
|
+
return await window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable();
|
|
9
|
+
} catch {
|
|
10
|
+
return !1;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
function p(e) {
|
|
14
|
+
return e instanceof DOMException ? e.name === "NotAllowedError" ? new i("CANCELLED", u, { cause: e }) : e.name === "InvalidStateError" ? new i(
|
|
15
|
+
"PASSKEY_ALREADY_ENROLLED",
|
|
16
|
+
"This device already has a passkey for this account.",
|
|
17
|
+
{ cause: e }
|
|
18
|
+
) : e : e;
|
|
19
|
+
}
|
|
20
|
+
function y(e) {
|
|
21
|
+
const t = e.response, n = typeof t.getTransports == "function" ? t.getTransports() : void 0;
|
|
11
22
|
return {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
id: e.id,
|
|
24
|
+
rawId: s(e.rawId),
|
|
25
|
+
type: e.type,
|
|
26
|
+
clientExtensionResults: e.getClientExtensionResults(),
|
|
27
|
+
response: {
|
|
28
|
+
clientDataJSON: s(t.clientDataJSON),
|
|
29
|
+
attestationObject: s(t.attestationObject),
|
|
30
|
+
...n && n.length > 0 ? { transports: n } : {}
|
|
31
|
+
}
|
|
21
32
|
};
|
|
22
33
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
function w(e) {
|
|
35
|
+
const t = e.response;
|
|
36
|
+
return {
|
|
37
|
+
id: e.id,
|
|
38
|
+
rawId: s(e.rawId),
|
|
39
|
+
type: e.type,
|
|
40
|
+
clientExtensionResults: e.getClientExtensionResults(),
|
|
41
|
+
response: {
|
|
42
|
+
clientDataJSON: s(t.clientDataJSON),
|
|
43
|
+
authenticatorData: s(t.authenticatorData),
|
|
44
|
+
signature: s(t.signature),
|
|
45
|
+
...t.userHandle ? { userHandle: s(t.userHandle) } : {}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function g(e) {
|
|
50
|
+
const t = e.user ?? {}, n = e.excludeCredentials;
|
|
51
|
+
return {
|
|
52
|
+
...e,
|
|
53
|
+
challenge: r(e.challenge, "challenge"),
|
|
54
|
+
user: {
|
|
55
|
+
...t,
|
|
56
|
+
id: r(t.id, "user.id")
|
|
57
|
+
},
|
|
58
|
+
...Array.isArray(n) ? { excludeCredentials: n.map(a) } : {}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function h(e) {
|
|
62
|
+
const t = e.allowCredentials;
|
|
63
|
+
return {
|
|
64
|
+
...e,
|
|
65
|
+
challenge: r(e.challenge, "challenge"),
|
|
66
|
+
...Array.isArray(t) ? { allowCredentials: t.map(a) } : {}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function a(e) {
|
|
70
|
+
return {
|
|
71
|
+
...e,
|
|
72
|
+
id: r(e.id, "credential descriptor id")
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function r(e, t) {
|
|
76
|
+
if (typeof e != "string")
|
|
77
|
+
throw new o(
|
|
78
|
+
`Passkey ceremony option "${t}" is missing or not a base64url string.`
|
|
79
|
+
);
|
|
80
|
+
const n = l(e);
|
|
81
|
+
return n.buffer.slice(n.byteOffset, n.byteOffset + n.byteLength);
|
|
82
|
+
}
|
|
44
83
|
export {
|
|
45
|
-
|
|
84
|
+
u as PASSKEY_PROMPT_DISMISSED,
|
|
85
|
+
g as deserializeCreationOptions,
|
|
86
|
+
h as deserializeRequestOptions,
|
|
87
|
+
f as isPasskeySupported,
|
|
88
|
+
p as mapCeremonyError,
|
|
89
|
+
w as serializeAssertionResponse,
|
|
90
|
+
y as serializeAttestationResponse
|
|
46
91
|
};
|
package/dist/esm/index.web101.js
CHANGED
|
@@ -1,16 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
function a(e) {
|
|
2
|
+
if (typeof btoa < "u")
|
|
3
|
+
return btoa(
|
|
4
|
+
Array.from(e).map((t) => String.fromCharCode(t)).join("")
|
|
5
|
+
);
|
|
6
|
+
const c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
7
|
+
let r = "";
|
|
8
|
+
for (let t = 0; t < e.length; t += 3) {
|
|
9
|
+
const h = e[t], n = t + 1 < e.length ? e[t + 1] : 0, s = t + 2 < e.length ? e[t + 2] : 0, o = h << 16 | n << 8 | s;
|
|
10
|
+
r += c.charAt(o >> 18 & 63), r += c.charAt(o >> 12 & 63), r += t + 1 < e.length ? c.charAt(o >> 6 & 63) : "=", r += t + 2 < e.length ? c.charAt(o & 63) : "=";
|
|
10
11
|
}
|
|
11
|
-
return
|
|
12
|
-
}
|
|
12
|
+
return r;
|
|
13
|
+
}
|
|
14
|
+
function g(e) {
|
|
15
|
+
if (typeof atob < "u") {
|
|
16
|
+
const n = atob(e), s = new Uint8Array(n.length);
|
|
17
|
+
for (let o = 0; o < n.length; o++)
|
|
18
|
+
s[o] = n.charCodeAt(o);
|
|
19
|
+
return s;
|
|
20
|
+
}
|
|
21
|
+
const c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", r = {};
|
|
22
|
+
for (let n = 0; n < c.length; n++)
|
|
23
|
+
r[c[n]] = n;
|
|
24
|
+
const t = e.replace(/[^A-Za-z0-9+/]/g, ""), h = [];
|
|
25
|
+
for (let n = 0; n < t.length; n += 4) {
|
|
26
|
+
const s = r[t[n]] || 0, o = r[t[n + 1]] || 0, l = r[t[n + 2]] || 0, f = r[t[n + 3]] || 0, i = s << 18 | o << 12 | l << 6 | f;
|
|
27
|
+
h.push(i >> 16 & 255), n + 2 < t.length && h.push(i >> 8 & 255), n + 3 < t.length && h.push(i & 255);
|
|
28
|
+
}
|
|
29
|
+
return new Uint8Array(h);
|
|
30
|
+
}
|
|
13
31
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
32
|
+
g as decodeBase64,
|
|
33
|
+
a as encodeBase64
|
|
16
34
|
};
|
package/dist/esm/index.web102.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import "@coinbase/cdp-api-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
2
|
+
import "viem";
|
|
3
|
+
const u = async (t) => await t.isSignedIn();
|
|
4
|
+
async function i(t, a, r) {
|
|
5
|
+
if (!await u(a))
|
|
6
|
+
throw new Error("User not signed in");
|
|
7
|
+
const c = a.getUser();
|
|
8
|
+
if ("evmAccount" in t) {
|
|
9
|
+
const o = t.evmAccount.toLowerCase();
|
|
10
|
+
if (!(c.evmAccounts?.find((n) => n.toLowerCase() === o) || c.evmAccountObjects?.find((n) => n.address.toLowerCase() === o)))
|
|
11
|
+
throw new Error("EVM account not found");
|
|
12
|
+
}
|
|
13
|
+
if ("evmSmartAccount" in t) {
|
|
14
|
+
const o = t.evmSmartAccount.toLowerCase();
|
|
15
|
+
if (!(c.evmSmartAccounts?.find((n) => n.toLowerCase() === o) || c.evmSmartAccountObjects?.find(
|
|
16
|
+
(n) => n.address.toLowerCase() === o
|
|
17
|
+
)))
|
|
18
|
+
throw new Error("EVM Smart Account not found");
|
|
19
|
+
}
|
|
20
|
+
if ("solanaAccount" in t && !(c.solanaAccounts?.find((e) => e === t.solanaAccount) || c.solanaAccountObjects?.find((e) => e.address === t.solanaAccount)))
|
|
21
|
+
throw new Error("Solana account not found");
|
|
22
|
+
const s = await a.getWalletSecretId();
|
|
23
|
+
return r({ ...t, user: c, walletSecretId: s });
|
|
24
|
+
}
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
u as isSignedIn,
|
|
27
|
+
i as withAuth
|
|
27
28
|
};
|
package/dist/esm/index.web103.js
CHANGED
|
@@ -1,17 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SendEvmTransactionWithEndUserAccountBodyNetwork as i } from "@coinbase/cdp-api-client";
|
|
2
|
+
const t = (e) => !e || typeof e != "object" ? e : Array.isArray(e) ? e.map(t) : Object.keys(e).sort().reduce(
|
|
3
|
+
(r, n) => (r[n] = t(e[n]), r),
|
|
4
|
+
{}
|
|
5
|
+
), p = (e) => Object.values(i).includes(
|
|
6
|
+
e
|
|
7
|
+
), a = {
|
|
8
|
+
"base-sepolia": 84532,
|
|
9
|
+
base: 8453,
|
|
10
|
+
ethereum: 1,
|
|
11
|
+
"ethereum-sepolia": 11155111,
|
|
12
|
+
avalanche: 43114,
|
|
13
|
+
polygon: 137,
|
|
14
|
+
optimism: 10,
|
|
15
|
+
arbitrum: 42161,
|
|
16
|
+
"arbitrum-sepolia": 421614,
|
|
17
|
+
world: 480,
|
|
18
|
+
"world-sepolia": 4801
|
|
19
|
+
}, u = Object.fromEntries(
|
|
20
|
+
Object.entries(a).map(([e, r]) => [r, e])
|
|
21
|
+
), c = (e) => Object.values(a).includes(
|
|
22
|
+
e
|
|
23
|
+
), s = {
|
|
24
|
+
"base-sepolia": 84532,
|
|
25
|
+
base: 8453,
|
|
26
|
+
ethereum: 1,
|
|
27
|
+
"ethereum-sepolia": 11155111,
|
|
28
|
+
avalanche: 43114,
|
|
29
|
+
polygon: 137,
|
|
30
|
+
optimism: 10,
|
|
31
|
+
arbitrum: 42161,
|
|
32
|
+
zora: 7777777,
|
|
33
|
+
bnb: 56
|
|
34
|
+
}, m = Object.fromEntries(
|
|
35
|
+
Object.entries(s).map(([e, r]) => [r, e])
|
|
36
|
+
), d = (e) => Object.values(s).includes(
|
|
37
|
+
e
|
|
38
|
+
);
|
|
14
39
|
export {
|
|
15
|
-
|
|
16
|
-
d as
|
|
40
|
+
c as isChainIdSupportedForCDPSends,
|
|
41
|
+
d as isChainIdSupportedForCDPUserOps,
|
|
42
|
+
p as isChainSupportedForCDPSends,
|
|
43
|
+
u as sendTransactionChainIdToNameMapping,
|
|
44
|
+
t as sortKeys,
|
|
45
|
+
m as userOperationChainIdToNameMapping,
|
|
46
|
+
s as userOperationNameToChainIdMapping
|
|
17
47
|
};
|