@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
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
function r(t, e = "algorithm.name") {
|
|
2
|
+
return new TypeError(`CryptoKey does not support this operation, its ${e} must be ${t}`);
|
|
3
|
+
}
|
|
4
|
+
function o(t, e) {
|
|
5
|
+
return t.name === e;
|
|
6
|
+
}
|
|
7
|
+
function c(t) {
|
|
8
|
+
return parseInt(t.name.slice(4), 10);
|
|
9
|
+
}
|
|
10
|
+
function h(t) {
|
|
11
|
+
switch (t) {
|
|
12
|
+
case "ES256":
|
|
13
|
+
return "P-256";
|
|
14
|
+
case "ES384":
|
|
15
|
+
return "P-384";
|
|
16
|
+
case "ES512":
|
|
17
|
+
return "P-521";
|
|
18
|
+
default:
|
|
19
|
+
throw new Error("unreachable");
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function i(t, e) {
|
|
23
|
+
if (!t.usages.includes(e))
|
|
24
|
+
throw new TypeError(`CryptoKey does not support this operation, its usages must include ${e}.`);
|
|
25
|
+
}
|
|
26
|
+
function u(t, e, n) {
|
|
27
|
+
switch (e) {
|
|
28
|
+
case "HS256":
|
|
29
|
+
case "HS384":
|
|
30
|
+
case "HS512": {
|
|
31
|
+
if (!o(t.algorithm, "HMAC"))
|
|
32
|
+
throw r("HMAC");
|
|
33
|
+
const a = parseInt(e.slice(2), 10);
|
|
34
|
+
if (c(t.algorithm.hash) !== a)
|
|
35
|
+
throw r(`SHA-${a}`, "algorithm.hash");
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
case "RS256":
|
|
39
|
+
case "RS384":
|
|
40
|
+
case "RS512": {
|
|
41
|
+
if (!o(t.algorithm, "RSASSA-PKCS1-v1_5"))
|
|
42
|
+
throw r("RSASSA-PKCS1-v1_5");
|
|
43
|
+
const a = parseInt(e.slice(2), 10);
|
|
44
|
+
if (c(t.algorithm.hash) !== a)
|
|
45
|
+
throw r(`SHA-${a}`, "algorithm.hash");
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
case "PS256":
|
|
49
|
+
case "PS384":
|
|
50
|
+
case "PS512": {
|
|
51
|
+
if (!o(t.algorithm, "RSA-PSS"))
|
|
52
|
+
throw r("RSA-PSS");
|
|
53
|
+
const a = parseInt(e.slice(2), 10);
|
|
54
|
+
if (c(t.algorithm.hash) !== a)
|
|
55
|
+
throw r(`SHA-${a}`, "algorithm.hash");
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
case "Ed25519":
|
|
59
|
+
case "EdDSA": {
|
|
60
|
+
if (!o(t.algorithm, "Ed25519"))
|
|
61
|
+
throw r("Ed25519");
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
case "ES256":
|
|
65
|
+
case "ES384":
|
|
66
|
+
case "ES512": {
|
|
67
|
+
if (!o(t.algorithm, "ECDSA"))
|
|
68
|
+
throw r("ECDSA");
|
|
69
|
+
const a = h(e);
|
|
70
|
+
if (t.algorithm.namedCurve !== a)
|
|
71
|
+
throw r(a, "algorithm.namedCurve");
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
default:
|
|
75
|
+
throw new TypeError("CryptoKey does not support this operation");
|
|
76
|
+
}
|
|
77
|
+
i(t, n);
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
u as checkSigCryptoKey
|
|
81
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SizeExceedsPaddingSizeError as a } from "./index.web238.js";
|
|
2
|
+
function o(r, i = {}) {
|
|
3
|
+
const { dir: n, size: e = 32 } = i;
|
|
4
|
+
if (e === 0)
|
|
5
|
+
return r;
|
|
6
|
+
const t = r.replace("0x", "");
|
|
7
|
+
if (t.length > e * 2)
|
|
8
|
+
throw new a({
|
|
9
|
+
size: Math.ceil(t.length / 2),
|
|
10
|
+
targetSize: e,
|
|
11
|
+
type: "Hex"
|
|
12
|
+
});
|
|
13
|
+
return `0x${t[n === "right" ? "padEnd" : "padStart"](e * 2, "0")}`;
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
o as pad
|
|
17
|
+
};
|
package/dist/esm/index.web28.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { signEvmHashWithEndUserAccount as i } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as m } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as n } from "./index.
|
|
4
|
+
import { withAuth as n } from "./index.web102.js";
|
|
5
5
|
import { getConfig as t, getCoreAuthManager as s } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as a } from "./index.
|
|
7
|
+
import { withMfa as a } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const I = async (r) => (m.sendActionCallEvent({ name: "sign_evm_hash" }), t().useMock ? { signature: "0x0" } : a(
|
|
15
15
|
() => n(r, s(), async ({ user: e, walletSecretId: o }) => ({
|
|
16
16
|
signature: (await i(
|
package/dist/esm/index.web29.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { signEvmTransactionWithEndUserAccount as a } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as e } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as s } from "./index.
|
|
4
|
+
import { withAuth as s } from "./index.web102.js";
|
|
5
5
|
import { getConfig as t, getCoreAuthManager as m } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as c } from "./index.
|
|
7
|
+
import { withMfa as c } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
14
|
-
import { serializeTransaction as p } from "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
|
+
import { serializeTransaction as p } from "./index.web133.js";
|
|
15
15
|
const j = async (r) => (e.sendActionCallEvent({ name: "sign_evm_transaction" }), t().useMock ? { signedTransaction: "0x0" } : c(
|
|
16
16
|
() => s(r, m(), async ({ user: n, walletSecretId: i }) => {
|
|
17
17
|
const o = p(r.transaction);
|
package/dist/esm/index.web3.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { __require as r } from "./index.
|
|
1
|
+
import { __require as r } from "./index.web234.js";
|
|
2
2
|
r();
|
package/dist/esm/index.web30.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { signEvmMessageWithEndUserAccount as m } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as o } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as i } from "./index.
|
|
4
|
+
import { withAuth as i } from "./index.web102.js";
|
|
5
5
|
import { getConfig as r, getCoreAuthManager as n } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as a } from "./index.
|
|
7
|
+
import { withMfa as a } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const C = async (e) => (o.sendActionCallEvent({ name: "sign_evm_message" }), r().useMock ? { signature: "0x0" } : a(
|
|
15
15
|
() => i(e, n(), async ({ user: t, walletSecretId: s }) => ({
|
|
16
16
|
signature: (await m(
|
package/dist/esm/index.web31.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { signEvmTypedDataWithEndUserAccount as i } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as a } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as m } from "./index.
|
|
4
|
+
import { withAuth as m } from "./index.web102.js";
|
|
5
5
|
import { getConfig as r, getCoreAuthManager as n } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as p } from "./index.
|
|
7
|
+
import { withMfa as p } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const C = async (t) => (a.sendActionCallEvent({ name: "sign_evm_typed_data" }), r().useMock ? { signature: "0x0" } : p(
|
|
15
15
|
() => m(t, n(), async ({ user: e, walletSecretId: o }) => ({
|
|
16
16
|
signature: (await i(
|
package/dist/esm/index.web32.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { signSolanaTransactionWithEndUserAccount as a } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as i } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as s } from "./index.
|
|
4
|
+
import { withAuth as s } from "./index.web102.js";
|
|
5
5
|
import { getConfig as t, getCoreAuthManager as e } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as c } from "./index.
|
|
7
|
+
import { withMfa as c } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const M = async (n) => (i.sendActionCallEvent({ name: "sign_solana_transaction" }), t().useMock ? { signedTransaction: "mock-signed-transaction" } : c(
|
|
15
15
|
() => s(n, e(), async ({ user: r, walletSecretId: o }) => ({
|
|
16
16
|
signedTransaction: (await a(
|
package/dist/esm/index.web33.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { signSolanaMessageWithEndUserAccount as s } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as a } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as n } from "./index.
|
|
4
|
+
import { withAuth as n } from "./index.web102.js";
|
|
5
5
|
import { getConfig as r, getCoreAuthManager as i } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as m } from "./index.
|
|
7
|
+
import { withMfa as m } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const S = async (e) => (a.sendActionCallEvent({ name: "sign_solana_message" }), r().useMock ? { signature: "mockSignature" } : m(
|
|
15
15
|
() => n(e, i(), async ({ user: t, walletSecretId: o }) => ({
|
|
16
16
|
signature: (await s(
|
package/dist/esm/index.web34.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { sendEvmTransactionWithEndUserAccount as a } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as i } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as s } from "./index.
|
|
4
|
+
import { withAuth as s } from "./index.web102.js";
|
|
5
5
|
import { getConfig as t, getCoreAuthManager as m } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as c } from "./index.
|
|
7
|
+
import { withMfa as c } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import { isChainSupportedForCDPSends as p } from "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import { isChainSupportedForCDPSends as p } from "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
14
|
-
import { serializeTransaction as d } from "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
|
+
import { serializeTransaction as d } from "./index.web133.js";
|
|
15
15
|
const I = async (r) => {
|
|
16
16
|
if (i.sendActionCallEvent({ name: "send_evm_transaction" }), !p(r.network))
|
|
17
17
|
throw new Error(`Chain ${r.network} is not supported by the CDP Apis`);
|
package/dist/esm/index.web35.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { sendSolanaTransactionWithEndUserAccount as a } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as e } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as i } from "./index.
|
|
4
|
+
import { withAuth as i } from "./index.web102.js";
|
|
5
5
|
import { getConfig as t, getCoreAuthManager as s } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as c } from "./index.
|
|
7
|
+
import { withMfa as c } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const I = async (r) => (e.sendActionCallEvent({ name: "send_solana_transaction" }), t().useMock ? { transactionSignature: "mock-signature" } : c(
|
|
15
15
|
() => i(r, s(), async ({ user: n, walletSecretId: o }) => ({
|
|
16
16
|
transactionSignature: (await a(
|
package/dist/esm/index.web36.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { sendUserOperationWithEndUserAccount as o } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as s } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as n } from "./index.
|
|
4
|
+
import { withAuth as n } from "./index.web102.js";
|
|
5
5
|
import { getConfig as t, getCoreAuthManager as p } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as i } from "./index.
|
|
7
|
+
import { withMfa as i } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const v = async (r) => (s.sendActionCallEvent({ name: "send_user_operation" }), t().useMock ? {
|
|
15
15
|
userOperationHash: "0x1234567890123456789012345678901234567890123456789012345678901234"
|
|
16
16
|
} : i(
|
package/dist/esm/index.web37.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getUserOperationWithEndUserAccount as a } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as o } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as n } from "./index.
|
|
4
|
+
import { withAuth as n } from "./index.web102.js";
|
|
5
5
|
import { getConfig as r, getCoreAuthManager as s } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
7
|
const l = async (e) => (o.sendActionCallEvent({ name: "get_user_operation" }), r().useMock ? {
|
package/dist/esm/index.web38.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b as o } from "./index.
|
|
1
|
+
import { b as o } from "./index.web104.js";
|
|
2
2
|
import { exportEndUserEvmAccount as n } from "@coinbase/cdp-api-client";
|
|
3
3
|
import { Analytics as y } from "./index.web2.js";
|
|
4
4
|
import "./index.web3.js";
|
|
5
|
-
import { withAuth as f } from "./index.
|
|
5
|
+
import { withAuth as f } from "./index.web102.js";
|
|
6
6
|
import { getConfig as i, getCoreAuthManager as s } from "./index.web74.js";
|
|
7
7
|
import "viem";
|
|
8
|
-
import { withMfa as u } from "./index.
|
|
8
|
+
import { withMfa as u } from "./index.web86.js";
|
|
9
9
|
import "jose";
|
|
10
10
|
import { getPlatformCrypto as v } from "./index.web5.js";
|
|
11
|
-
import "./index.
|
|
11
|
+
import "./index.web103.js";
|
|
12
12
|
import "@solana/web3.js";
|
|
13
13
|
import "bs58";
|
|
14
|
-
import "./index.
|
|
14
|
+
import "./index.web97.js";
|
|
15
15
|
const I = async (t) => {
|
|
16
16
|
if (y.sendActionCallEvent({ name: "export_evm_account" }), i().useMock)
|
|
17
17
|
return {
|
package/dist/esm/index.web39.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b as t } from "./index.
|
|
1
|
+
import { b as t } from "./index.web104.js";
|
|
2
2
|
import { exportEndUserSolanaAccount as u } from "@coinbase/cdp-api-client";
|
|
3
3
|
import { Analytics as d } from "./index.web2.js";
|
|
4
4
|
import "./index.web3.js";
|
|
5
5
|
import { Keypair as y } from "@solana/web3.js";
|
|
6
6
|
import s from "bs58";
|
|
7
|
-
import { withAuth as l } from "./index.
|
|
7
|
+
import { withAuth as l } from "./index.web102.js";
|
|
8
8
|
import { getConfig as m, getCoreAuthManager as K } from "./index.web74.js";
|
|
9
9
|
import "viem";
|
|
10
|
-
import { withMfa as b } from "./index.
|
|
10
|
+
import { withMfa as b } from "./index.web86.js";
|
|
11
11
|
import "jose";
|
|
12
12
|
import { getPlatformCrypto as v } from "./index.web5.js";
|
|
13
|
-
import "./index.
|
|
14
|
-
import "./index.
|
|
13
|
+
import "./index.web103.js";
|
|
14
|
+
import "./index.web97.js";
|
|
15
15
|
const U = async (o) => {
|
|
16
16
|
if (d.sendActionCallEvent({ name: "export_solana_account" }), m().useMock) {
|
|
17
17
|
const a = t.Buffer.from("mock-private-key").subarray(0, 32), e = t.Buffer.alloc(32);
|
package/dist/esm/index.web4.js
CHANGED
package/dist/esm/index.web40.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { createSpendPermissionWithEndUserAccount as a } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as s } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as m } from "./index.
|
|
4
|
+
import { withAuth as m } from "./index.web102.js";
|
|
5
5
|
import { getConfig as t, getCoreAuthManager as i } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as p } from "./index.
|
|
7
|
+
import { withMfa as p } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
14
|
-
import { toSpendPermission as c } from "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
|
+
import { toSpendPermission as c } from "./index.web105.js";
|
|
15
15
|
const I = async (r) => (s.sendActionCallEvent({ name: "create_spend_permission" }), t().useMock ? {
|
|
16
16
|
userOperationHash: "0x1234567890123456789012345678901234567890123456789012345678901234"
|
|
17
17
|
} : p(
|
package/dist/esm/index.web41.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { listSpendPermissionsWithEndUserAccount as a } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as i } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as o } from "./index.
|
|
4
|
+
import { withAuth as o } from "./index.web102.js";
|
|
5
5
|
import { getConfig as r, getCoreAuthManager as m } from "./index.web74.js";
|
|
6
6
|
const k = async (e) => (i.sendActionCallEvent({ name: "list_spend_permissions" }), r().useMock ? {
|
|
7
7
|
spendPermissions: [
|
package/dist/esm/index.web42.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { revokeSpendPermissionWithEndUserAccount as o } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as m } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as i } from "./index.
|
|
4
|
+
import { withAuth as i } from "./index.web102.js";
|
|
5
5
|
import { getConfig as e, getCoreAuthManager as a } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as n } from "./index.
|
|
7
|
+
import { withMfa as n } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const g = async (r) => (m.sendActionCallEvent({ name: "revoke_spend_permission" }), e().useMock ? {
|
|
15
15
|
userOperationHash: "0x1234567890123456789012345678901234567890123456789012345678901234"
|
|
16
16
|
} : n(
|
package/dist/esm/index.web43.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { enableSpendPermissionWithEndUserAccount as o } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as n } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as i } from "./index.
|
|
4
|
+
import { withAuth as i } from "./index.web102.js";
|
|
5
5
|
import { getCoreAuthManager as m, getConfig as p } from "./index.web74.js";
|
|
6
6
|
import "viem";
|
|
7
|
-
import { withMfa as s } from "./index.
|
|
7
|
+
import { withMfa as s } from "./index.web86.js";
|
|
8
8
|
import "jose";
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
9
|
+
import "./index.web103.js";
|
|
10
|
+
import "./index.web104.js";
|
|
11
11
|
import "@solana/web3.js";
|
|
12
12
|
import "bs58";
|
|
13
|
-
import "./index.
|
|
13
|
+
import "./index.web97.js";
|
|
14
14
|
const S = async (r) => (n.sendActionCallEvent({ name: "enable_spend_permissions" }), s(
|
|
15
15
|
() => i(r, m(), async ({ user: e, walletSecretId: t }) => ({
|
|
16
16
|
userOperationHash: (await o(
|
package/dist/esm/index.web45.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isAddress as n } from "viem";
|
|
2
2
|
import { getCurrentUserSync as h } from "./index.web44.js";
|
|
3
|
-
import { toTransactionSigner as s } from "./index.
|
|
4
|
-
import { toViemAccount as c } from "./index.
|
|
3
|
+
import { toTransactionSigner as s } from "./index.web99.js";
|
|
4
|
+
import { toViemAccount as c } from "./index.web91.js";
|
|
5
5
|
function g(e = {}) {
|
|
6
6
|
const a = e.fetch ?? globalThis.fetch;
|
|
7
7
|
let r = null;
|
package/dist/esm/index.web46.js
CHANGED
|
@@ -2,7 +2,7 @@ import { initiateAuthentication as o } from "@coinbase/cdp-api-client";
|
|
|
2
2
|
import { Analytics as e } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
4
|
import { getPlatformOAuth as i } from "./index.web5.js";
|
|
5
|
-
import { setPendingOAuthFlowId as n } from "./index.
|
|
5
|
+
import { setPendingOAuthFlowId as n } from "./index.web106.js";
|
|
6
6
|
import { getCoreAuthManager as r, getConfig as a } from "./index.web74.js";
|
|
7
7
|
async function u() {
|
|
8
8
|
if (e.sendActionCallEvent({ name: "link_google" }), !await r().isSignedIn())
|
package/dist/esm/index.web49.js
CHANGED
|
@@ -4,12 +4,12 @@ import "./index.web3.js";
|
|
|
4
4
|
import "jose";
|
|
5
5
|
import "viem";
|
|
6
6
|
import { getPlatformOAuth as n, getPlatformServices as l } from "./index.web5.js";
|
|
7
|
-
import "./index.
|
|
7
|
+
import "./index.web103.js";
|
|
8
8
|
import { getCoreAuthManager as h, getConfig as c, getCoreOAuthManager as o } from "./index.web74.js";
|
|
9
|
-
import { setPendingOAuthFlowId as w } from "./index.
|
|
9
|
+
import { setPendingOAuthFlowId as w } from "./index.web106.js";
|
|
10
10
|
import { verifyTelegramOAuth as g } from "./index.web19.js";
|
|
11
|
-
import "./index.
|
|
12
|
-
import "./index.
|
|
11
|
+
import "./index.web97.js";
|
|
12
|
+
import "./index.web104.js";
|
|
13
13
|
import "@solana/web3.js";
|
|
14
14
|
import "bs58";
|
|
15
15
|
async function b(t, a) {
|
package/dist/esm/index.web50.js
CHANGED
|
@@ -2,7 +2,7 @@ import { initiateAuthentication as n } from "@coinbase/cdp-api-client";
|
|
|
2
2
|
import { Analytics as o } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
4
|
import { getPlatformOAuth as i } from "./index.web5.js";
|
|
5
|
-
import { setPendingOAuthFlowId as r } from "./index.
|
|
5
|
+
import { setPendingOAuthFlowId as r } from "./index.web106.js";
|
|
6
6
|
import { getCoreAuthManager as a, getConfig as p } from "./index.web74.js";
|
|
7
7
|
async function u(e) {
|
|
8
8
|
if (o.sendActionCallEvent({ name: "link_apple" }), !await a().isSignedIn())
|
package/dist/esm/index.web52.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createEndUserEvmAccount as m } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as u } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { toAuthStateUser as A } from "./index.
|
|
5
|
-
import { InternalError as d } from "./index.
|
|
6
|
-
import { validateUserAuthState as h } from "./index.
|
|
4
|
+
import { toAuthStateUser as A } from "./index.web107.js";
|
|
5
|
+
import { InternalError as d } from "./index.web92.js";
|
|
6
|
+
import { validateUserAuthState as h } from "./index.web108.js";
|
|
7
7
|
import { getCoreAuthManager as f, getConfig as l } from "./index.web74.js";
|
|
8
8
|
async function U(a) {
|
|
9
9
|
u.sendActionCallEvent({ name: "create_evm_eoa_account" });
|
package/dist/esm/index.web53.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIError as A, createEndUserEvmSmartAccount as h } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as f } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { toAuthStateUser as l } from "./index.
|
|
5
|
-
import { InternalError as S } from "./index.
|
|
4
|
+
import { toAuthStateUser as l } from "./index.web107.js";
|
|
5
|
+
import { InternalError as S } from "./index.web92.js";
|
|
6
6
|
import { createEvmEoaAccount as E } from "./index.web52.js";
|
|
7
|
-
import { validateUserAuthState as g } from "./index.
|
|
7
|
+
import { validateUserAuthState as g } from "./index.web108.js";
|
|
8
8
|
import { getCoreAuthManager as p, getConfig as v } from "./index.web74.js";
|
|
9
9
|
async function M(r) {
|
|
10
10
|
f.sendActionCallEvent({ name: "create_evm_smart_account" });
|
package/dist/esm/index.web54.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createEvmEip7702DelegationWithEndUserAccount as u, getAuthenticatedEndUser as m } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as l } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { toAuthStateUser as g } from "./index.
|
|
5
|
-
import { validateUserAuthState as A } from "./index.
|
|
4
|
+
import { toAuthStateUser as g } from "./index.web107.js";
|
|
5
|
+
import { validateUserAuthState as A } from "./index.web108.js";
|
|
6
6
|
import { getCoreAuthManager as h, getConfig as s } from "./index.web74.js";
|
|
7
7
|
async function v(e) {
|
|
8
8
|
l.sendActionCallEvent({ name: "create_evm_eip7702_delegation" });
|
package/dist/esm/index.web55.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEvmEip7702DelegationOperationByIdWithEndUserAccount as r } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as n } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { validateUserAuthState as i } from "./index.
|
|
4
|
+
import { validateUserAuthState as i } from "./index.web108.js";
|
|
5
5
|
import { getCoreAuthManager as a, getConfig as p } from "./index.web74.js";
|
|
6
6
|
async function u(e) {
|
|
7
7
|
n.sendActionCallEvent({ name: "get_evm_eip7702_delegation_operation" });
|
package/dist/esm/index.web57.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createDelegationForEndUser as o } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as n } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as m } from "./index.
|
|
5
|
-
import { InputValidationError as r } from "./index.
|
|
6
|
-
import { withMfa as p } from "./index.
|
|
4
|
+
import { withAuth as m } from "./index.web102.js";
|
|
5
|
+
import { InputValidationError as r } from "./index.web92.js";
|
|
6
|
+
import { withMfa as p } from "./index.web86.js";
|
|
7
7
|
import { getCoreAuthManager as s, getConfig as c } from "./index.web74.js";
|
|
8
8
|
async function h(e) {
|
|
9
9
|
const t = new Date(e.expiresAt);
|
package/dist/esm/index.web58.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDelegationForEndUser as e } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as r } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as o } from "./index.
|
|
4
|
+
import { withAuth as o } from "./index.web102.js";
|
|
5
5
|
import { getCoreAuthManager as n, getConfig as i } from "./index.web74.js";
|
|
6
6
|
async function f() {
|
|
7
7
|
return r.sendActionCallEvent({ name: "get_delegation" }), o({}, n(), async ({ user: t }) => await e(t.userId, {
|
package/dist/esm/index.web59.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { revokeDelegationForEndUser as o } from "@coinbase/cdp-api-client";
|
|
2
2
|
import { Analytics as n } from "./index.web2.js";
|
|
3
3
|
import "./index.web3.js";
|
|
4
|
-
import { withAuth as i } from "./index.
|
|
5
|
-
import { withMfa as a } from "./index.
|
|
4
|
+
import { withAuth as i } from "./index.web102.js";
|
|
5
|
+
import { withMfa as a } from "./index.web86.js";
|
|
6
6
|
import { getCoreAuthManager as m, getConfig as p } from "./index.web74.js";
|
|
7
7
|
async function s(e) {
|
|
8
8
|
return n.sendActionCallEvent({ name: "revoke_delegation" }), a(
|
package/dist/esm/index.web6.js
CHANGED