@gardenfi/utils 2.1.3-beta.14 → 2.1.3-beta.16
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/index.cjs +1 -1
- package/dist/index.js +30 -34
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +44 -2
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +9 -6
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +16 -50
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +64 -15
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +11 -10
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +13 -5
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +8 -14
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +10 -3
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +25 -25
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +14 -4
- package/dist/index109.cjs +3 -1
- package/dist/index109.js +110 -6
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +17 -115
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +50 -93
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +24 -125
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +117 -7
- package/dist/index113.cjs +20 -1
- package/dist/index113.js +323 -18
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +80 -17
- package/dist/index115.cjs +4 -1
- package/dist/index115.js +194 -40
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +24 -21
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +179 -9
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +12 -6
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +23 -105
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +134 -37
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +89 -4
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +33 -9
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +16 -2
- package/dist/index124.cjs +1 -2
- package/dist/index124.js +2 -3
- package/dist/index125.cjs +1 -20
- package/dist/index125.js +74 -325
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +138 -13
- package/dist/index127.cjs +3 -1
- package/dist/index127.js +451 -4
- package/dist/index128.cjs +1 -1
- package/dist/index128.js +65 -2
- package/dist/index129.cjs +1 -1
- package/dist/index129.js +6 -7
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +10 -21
- package/dist/index130.cjs +1 -3
- package/dist/index130.js +66 -212
- package/dist/index131.cjs +1 -1
- package/dist/index131.js +6 -32
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +21 -21
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +3 -5
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +13 -72
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +88 -5
- package/dist/index136.cjs +1 -1
- package/dist/index136.js +18 -5
- package/dist/index137.cjs +1 -9
- package/dist/index137.js +13 -35
- package/dist/index138.cjs +1 -3
- package/dist/index138.js +43 -108
- package/dist/index139.cjs +1 -1
- package/dist/index139.js +39 -3
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +2 -142
- package/dist/index140.cjs +1 -1
- package/dist/index140.js +7 -23
- package/dist/index141.cjs +1 -3
- package/dist/index141.js +37 -450
- package/dist/index142.cjs +1 -2
- package/dist/index142.js +8 -54
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +9 -26
- package/dist/index144.cjs +1 -1
- package/dist/index144.js +14 -32
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +94 -34
- package/dist/index146.cjs +1 -4
- package/dist/index146.js +20 -194
- package/dist/index147.cjs +1 -1
- package/dist/index147.js +4 -8
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +6 -12
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +26 -18
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +33 -13
- package/dist/index150.cjs +2 -1
- package/dist/index150.js +19 -22
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +9 -8
- package/dist/index152.cjs +1 -1
- package/dist/index152.js +8 -55
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +9 -44
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +11 -8
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +13 -7
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +14 -16
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +7 -18
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +21 -21
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +6 -51
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +19 -2
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +21 -11
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +38 -159
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +17 -21
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +21 -127
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +77 -35
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +44 -6
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +11 -27
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +50 -189
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +4 -4
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +5 -62
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +186 -24
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +6 -3
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +11 -20
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +13 -16
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +13 -23
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +5 -11
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +13 -34
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +104 -3
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +6 -18
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +151 -27
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +34 -35
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +120 -18
- package/dist/index180.cjs +1 -1
- package/dist/index180.js +31 -10
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +8 -24
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +67 -27
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +8 -64
- package/dist/index184.cjs +1 -1
- package/dist/index184.js +71 -9
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +19 -33
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +109 -23
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +23 -24
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +50 -3
- package/dist/index189.cjs +1 -1
- package/dist/index189.js +106 -14
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +2 -121
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +9 -104
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +2 -81
- package/dist/index192.cjs +2 -1
- package/dist/index192.js +3 -6
- package/dist/index193.cjs +1 -1
- package/dist/index193.js +13 -6
- package/dist/index194.cjs +1 -1
- package/dist/index194.js +4 -27
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +2 -35
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +32 -14
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +18 -39
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +5 -5
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +5 -11
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +13 -2
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +5 -19
- package/dist/index201.cjs +9 -1
- package/dist/index201.js +31 -74
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +3 -2
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +19 -30
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +28 -106
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +32 -46
- package/dist/index206.cjs +1 -1
- package/dist/index206.js +8 -32
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +12 -8
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +18 -6
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +27 -6
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +464 -13
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +8 -11
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +54 -9
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +8 -13
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +7 -32
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +162 -5
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +127 -7
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +27 -8
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +189 -18
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +4 -32
- package/dist/index219.cjs +1 -1
- package/dist/index219.js +3 -21
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +36 -464
- package/dist/index220.cjs +1 -1
- package/dist/index220.js +20 -3
- package/dist/index221.cjs +1 -1
- package/dist/index221.js +16 -17
- package/dist/index222.cjs +1 -1
- package/dist/index222.js +11 -10
- package/dist/index223.cjs +1 -1
- package/dist/index223.js +33 -20
- package/dist/index224.cjs +1 -1
- package/dist/index224.js +3 -23
- package/dist/index225.cjs +1 -1
- package/dist/index225.js +27 -5
- package/dist/index226.cjs +1 -1
- package/dist/index226.js +25 -5
- package/dist/index227.cjs +1 -1
- package/dist/index227.js +28 -8
- package/dist/index228.cjs +1 -1
- package/dist/index228.js +6 -104
- package/dist/index229.cjs +1 -1
- package/dist/index229.js +28 -3
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +31 -36
- package/dist/index230.cjs +1 -1
- package/dist/index230.js +34 -18
- package/dist/index231.cjs +1 -1
- package/dist/index231.js +37 -166
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +77 -16
- package/dist/index233.cjs +1 -1
- package/dist/index233.js +2 -11
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +36 -15
- package/dist/index235.cjs +1 -1
- package/dist/index235.js +47 -20
- package/dist/index236.cjs +1 -1
- package/dist/index236.js +6 -30
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +7 -2
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +32 -13
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +5 -13
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +31 -26
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +8 -47
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +3 -11
- package/dist/index242.cjs +1 -1
- package/dist/index242.js +17 -7
- package/dist/index243.cjs +1 -1
- package/dist/index243.js +10 -9
- package/dist/index244.cjs +1 -1
- package/dist/index244.js +5 -13
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +8 -14
- package/dist/index246.cjs +1 -1
- package/dist/index246.js +104 -9
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +3 -25
- package/dist/index248.cjs +1 -1
- package/dist/index248.js +18 -12
- package/dist/index249.cjs +1 -1
- package/dist/index249.js +168 -21
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +12 -8
- package/dist/index250.cjs +1 -2
- package/dist/index250.js +16 -23
- package/dist/index251.cjs +1 -1
- package/dist/index251.js +25 -13
- package/dist/index252.cjs +1 -1
- package/dist/index252.js +12 -14
- package/dist/index253.cjs +1 -1
- package/dist/index253.js +15 -52
- package/dist/index254.cjs +1 -1
- package/dist/index254.js +5 -25
- package/dist/index255.cjs +1 -1
- package/dist/index255.js +13 -13
- package/dist/index256.cjs +1 -1
- package/dist/index256.js +9 -14
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +16 -5
- package/dist/index258.cjs +1 -1
- package/dist/index258.js +3 -13
- package/dist/index259.cjs +1 -1
- package/dist/index259.js +140 -10
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +57 -12
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +155 -16
- package/dist/index261.cjs +1 -2
- package/dist/index261.js +9 -41
- package/dist/index262.cjs +1 -1
- package/dist/index262.js +114 -2
- package/dist/index263.cjs +2 -1
- package/dist/index263.js +134 -5
- package/dist/index264.cjs +2 -1
- package/dist/index264.js +40 -9
- package/dist/index265.cjs +1 -1
- package/dist/index265.js +2 -20
- package/dist/index266.cjs +1 -1
- package/dist/index266.js +5 -8
- package/dist/index267.cjs +1 -1
- package/dist/index267.js +9 -65
- package/dist/index268.cjs +1 -1
- package/dist/index268.js +17 -63
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +8 -186
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +12 -57
- package/dist/index270.cjs +1 -1
- package/dist/index270.js +66 -22
- package/dist/index271.cjs +1 -1
- package/dist/index271.js +61 -38
- package/dist/index272.cjs +1 -1
- package/dist/index272.js +179 -69
- package/dist/index273.cjs +1 -1
- package/dist/index273.js +21 -39
- package/dist/index274.cjs +1 -1
- package/dist/index274.js +35 -9
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +70 -7
- package/dist/index276.cjs +1 -1
- package/dist/index276.js +40 -12
- package/dist/index277.cjs +1 -2
- package/dist/index277.js +16 -18
- package/dist/index278.cjs +1 -1
- package/dist/index278.js +12 -13
- package/dist/index279.cjs +1 -1
- package/dist/index279.js +12 -11
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +3 -3
- package/dist/index280.cjs +2 -1
- package/dist/index280.js +18 -103
- package/dist/index281.cjs +1 -1
- package/dist/index281.js +14 -16
- package/dist/index282.cjs +1 -1
- package/dist/index282.js +11 -214
- package/dist/index283.cjs +1 -1
- package/dist/index283.js +103 -6
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +17 -7
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +213 -25
- package/dist/index286.cjs +1 -1
- package/dist/index286.js +6 -19
- package/dist/index287.cjs +1 -1
- package/dist/index287.js +7 -109
- package/dist/index288.cjs +1 -1
- package/dist/index288.js +26 -3
- package/dist/index289.cjs +1 -1
- package/dist/index289.js +18 -139
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +17 -32
- package/dist/index290.cjs +1 -1
- package/dist/index290.js +103 -150
- package/dist/index291.cjs +1 -1
- package/dist/index291.js +11 -9
- package/dist/index292.cjs +1 -1
- package/dist/index292.js +18 -112
- package/dist/index293.cjs +1 -2
- package/dist/index293.js +35 -127
- package/dist/index294.cjs +1 -1
- package/dist/index294.js +74 -202
- package/dist/index295.cjs +1 -1
- package/dist/index295.js +2 -43
- package/dist/index296.cjs +2 -1
- package/dist/index296.js +63 -75
- package/dist/index297.cjs +1 -1
- package/dist/index297.js +5 -2
- package/dist/index298.cjs +1 -1
- package/dist/index298.js +40 -68
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +7 -11
- package/dist/index3.cjs +1 -1
- package/dist/index3.js +12 -16
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +46 -31
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +61 -18
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +68 -648
- package/dist/index302.cjs +1 -1
- package/dist/index302.js +4 -178
- package/dist/index303.cjs +1 -2
- package/dist/index303.js +190 -62
- package/dist/index304.cjs +1 -1
- package/dist/index304.js +68 -4
- package/dist/index305.cjs +1 -1
- package/dist/index305.js +654 -37
- package/dist/index306.cjs +1 -1
- package/dist/index306.js +206 -7
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +171 -56
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +47 -61
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +45 -4
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +9 -10
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +4 -194
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +5 -5
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +2 -64
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +20 -43
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +18 -7
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +124 -30
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +57 -26
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +23 -16
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +10 -33
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +18 -42
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +6 -151
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +10 -35
- package/dist/index4.cjs +1 -1
- package/dist/index4.js +17 -17
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +30 -36
- package/dist/index41.cjs +1 -2
- package/dist/index41.js +15 -58
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +16 -32
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +7 -15
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +33 -8
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +25 -2
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +21 -44
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +57 -30
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +40 -3
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +37 -9
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +161 -63
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +109 -7
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +27 -25
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +3 -71
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +2 -20
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +4 -111
- package/dist/index56.cjs +2 -1
- package/dist/index56.js +58 -59
- package/dist/index57.cjs +2 -1
- package/dist/index57.js +52 -22
- package/dist/index58.cjs +3 -1
- package/dist/index58.js +212 -37
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +12 -36
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +6 -6
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +11 -57
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +23 -164
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +27 -39
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +47 -9
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +19 -36
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +11 -9
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +36 -46
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +9 -85
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +7 -41
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +30 -7
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +22 -105
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +36 -6
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +36 -17
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +9 -8
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +29 -13
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +22 -7
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +85 -9
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +46 -42
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +23 -13
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +41 -16
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +17 -13
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +2 -10
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +33 -35
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +8 -8
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +12 -7
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +109 -26
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +8 -10
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +5 -13
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +6 -116
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +21 -80
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +8 -181
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +119 -19
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +31 -6
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +13 -13
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +7 -13
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +9 -95
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +16 -75
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +72 -87
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +34 -137
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +45 -68
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +14 -23
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +13 -109
- package/dist/src/index.d.ts +0 -3
- package/dist/src/lib/approve.d.ts +1 -1
- package/dist/src/lib/auth/apikey/apikey.d.ts +1 -1
- package/dist/src/lib/auth/auth.types.d.ts +1 -1
- package/dist/src/lib/auth/passkey/passkey.d.ts +1 -1
- package/dist/src/lib/auth/passkey/passkeyLogin.d.ts +3 -3
- package/dist/src/lib/auth/siwe/siwe.d.ts +1 -1
- package/dist/src/lib/blockNumber/blockNumber.d.ts +9 -2
- package/dist/src/lib/blockNumber/index.d.ts +1 -1
- package/dist/src/lib/utils.d.ts +2 -2
- package/package.json +1 -1
- package/dist/index314.cjs +0 -1
- package/dist/index314.js +0 -7
- package/dist/index315.cjs +0 -1
- package/dist/index315.js +0 -4
- package/dist/index316.cjs +0 -1
- package/dist/index316.js +0 -24
- package/dist/src/lib/fetcher.d.ts +0 -45
- package/dist/src/lib/retry.d.ts +0 -16
- package/dist/src/lib/safeParseJson.d.ts +0 -7
- package/dist/src/lib/tryCatch.d.ts +0 -7
- package/dist/src/lib/types.d.ts +0 -3
package/dist/index185.js
CHANGED
|
@@ -1,36 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
function g(i, e = {}) {
|
|
21
|
-
let n = i;
|
|
22
|
-
if (e.size && (u(n, { size: e.size }), n = t(n)), t(n) === "0x00")
|
|
23
|
-
return !1;
|
|
24
|
-
if (t(n) === "0x01")
|
|
25
|
-
return !0;
|
|
26
|
-
throw new m(n);
|
|
27
|
-
}
|
|
28
|
-
function w(i, e = {}) {
|
|
29
|
-
return Number(a(i, e));
|
|
1
|
+
import { buildRequest as m } from "./index189.js";
|
|
2
|
+
import { uid as e } from "./index181.js";
|
|
3
|
+
function b({ key: n, methods: i, name: t, request: o, retryCount: r = 3, retryDelay: u = 150, timeout: c, type: f }, p) {
|
|
4
|
+
const d = e();
|
|
5
|
+
return {
|
|
6
|
+
config: {
|
|
7
|
+
key: n,
|
|
8
|
+
methods: i,
|
|
9
|
+
name: t,
|
|
10
|
+
request: o,
|
|
11
|
+
retryCount: r,
|
|
12
|
+
retryDelay: u,
|
|
13
|
+
timeout: c,
|
|
14
|
+
type: f
|
|
15
|
+
},
|
|
16
|
+
request: m(o, { methods: i, retryCount: r, retryDelay: u, uid: d }),
|
|
17
|
+
value: p
|
|
18
|
+
};
|
|
30
19
|
}
|
|
31
20
|
export {
|
|
32
|
-
|
|
33
|
-
a as hexToBigInt,
|
|
34
|
-
g as hexToBool,
|
|
35
|
-
w as hexToNumber
|
|
21
|
+
b as createTransport
|
|
36
22
|
};
|
package/dist/index186.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index34.cjs"),o=require("./index45.cjs"),n=require("./index48.cjs"),i=require("./index49.cjs"),c=require("./index47.cjs"),g=require("./index50.cjs"),u=require("./index66.cjs"),q=require("./index67.cjs"),l=require("./index69.cjs"),m=require("./index71.cjs"),C=require("./index72.cjs"),T=require("./index73.cjs"),F=require("./index76.cjs"),E=require("./index75.cjs"),B=require("./index78.cjs"),d=require("./index85.cjs"),v=require("./index86.cjs"),w=require("./index79.cjs"),k=require("./index89.cjs"),P=require("./index91.cjs"),h=require("./index92.cjs"),r=require("./index93.cjs"),p=require("./index94.cjs"),y=require("./index97.cjs"),f=require("./index99.cjs"),G=require("./index101.cjs"),R=require("./index104.cjs"),A=require("./index80.cjs"),b=require("./index96.cjs"),M=require("./index143.cjs"),L=require("./index105.cjs"),N=require("./index107.cjs"),S=require("./index106.cjs"),x=require("./index108.cjs"),D=require("./index20.cjs"),H=require("./index112.cjs"),I=require("./index44.cjs"),a=require("./index114.cjs"),j=require("./index117.cjs"),O=require("./index165.cjs"),z=require("./index129.cjs"),J=require("./index173.cjs"),K=require("./index175.cjs"),Q=require("./index145.cjs"),U=require("./index125.cjs"),V=require("./index121.cjs"),W=require("./index178.cjs"),X=require("./index126.cjs"),Y=require("./index130.cjs"),Z=require("./index187.cjs"),_=require("./index84.cjs"),$=require("./index159.cjs");function ee(t){return{call:e=>g.call(t,e),createAccessList:e=>u.createAccessList(t,e),createBlockFilter:()=>q.createBlockFilter(t),createContractEventFilter:e=>l.createContractEventFilter(t,e),createEventFilter:e=>m.createEventFilter(t,e),createPendingTransactionFilter:()=>C.createPendingTransactionFilter(t),estimateContractGas:e=>T.estimateContractGas(t,e),estimateGas:e=>E.estimateGas(t,e),getBalance:e=>d.getBalance(t,e),getBlobBaseFee:()=>v.getBlobBaseFee(t),getBlock:e=>w.getBlock(t,e),getBlockNumber:e=>k.getBlockNumber(t,e),getBlockTransactionCount:e=>P.getBlockTransactionCount(t,e),getBytecode:e=>r.getCode(t,e),getChainId:()=>h.getChainId(t),getCode:e=>r.getCode(t,e),getContractEvents:e=>p.getContractEvents(t,e),getEip712Domain:e=>y.getEip712Domain(t,e),getEnsAddress:e=>s.getEnsAddress(t,e),getEnsAvatar:e=>o.getEnsAvatar(t,e),getEnsName:e=>n.getEnsName(t,e),getEnsResolver:e=>i.getEnsResolver(t,e),getEnsText:e=>c.getEnsText(t,e),getFeeHistory:e=>f.getFeeHistory(t,e),estimateFeesPerGas:e=>F.estimateFeesPerGas(t,e),getFilterChanges:e=>G.getFilterChanges(t,e),getFilterLogs:e=>R.getFilterLogs(t,e),getGasPrice:()=>A.getGasPrice(t),getLogs:e=>b.getLogs(t,e),getProof:e=>M.getProof(t,e),estimateMaxPriorityFeePerGas:e=>B.estimateMaxPriorityFeePerGas(t,e),getStorageAt:e=>L.getStorageAt(t,e),getTransaction:e=>N.getTransaction(t,e),getTransactionConfirmations:e=>S.getTransactionConfirmations(t,e),getTransactionCount:e=>x.getTransactionCount(t,e),getTransactionReceipt:e=>D.getTransactionReceipt(t,e),multicall:e=>H.multicall(t,e),prepareTransactionRequest:e=>_.prepareTransactionRequest(t,e),readContract:e=>I.readContract(t,e),sendRawTransaction:e=>$.sendRawTransaction(t,e),simulate:e=>a.simulateBlocks(t,e),simulateBlocks:e=>a.simulateBlocks(t,e),simulateCalls:e=>j.simulateCalls(t,e),simulateContract:e=>O.simulateContract(t,e),verifyMessage:e=>J.verifyMessage(t,e),verifySiweMessage:e=>Z.verifySiweMessage(t,e),verifyTypedData:e=>K.verifyTypedData(t,e),uninstallFilter:e=>z.uninstallFilter(t,e),waitForTransactionReceipt:e=>Q.waitForTransactionReceipt(t,e),watchBlocks:e=>V.watchBlocks(t,e),watchBlockNumber:e=>U.watchBlockNumber(t,e),watchContractEvent:e=>W.watchContractEvent(t,e),watchEvent:e=>X.watchEvent(t,e),watchPendingTransactions:e=>Y.watchPendingTransactions(t,e)}}exports.publicActions=ee;
|
package/dist/index186.js
CHANGED
|
@@ -1,27 +1,113 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { getEnsAddress as a } from "./index34.js";
|
|
2
|
+
import { getEnsAvatar as m } from "./index45.js";
|
|
3
|
+
import { getEnsName as s } from "./index48.js";
|
|
4
|
+
import { getEnsResolver as i } from "./index49.js";
|
|
5
|
+
import { getEnsText as g } from "./index47.js";
|
|
6
|
+
import { call as p } from "./index50.js";
|
|
7
|
+
import { createAccessList as f } from "./index66.js";
|
|
8
|
+
import { createBlockFilter as n } from "./index67.js";
|
|
9
|
+
import { createContractEventFilter as c } from "./index69.js";
|
|
10
|
+
import { createEventFilter as C } from "./index71.js";
|
|
11
|
+
import { createPendingTransactionFilter as u } from "./index72.js";
|
|
12
|
+
import { estimateContractGas as F } from "./index73.js";
|
|
13
|
+
import { estimateFeesPerGas as T } from "./index76.js";
|
|
14
|
+
import { estimateGas as E } from "./index75.js";
|
|
15
|
+
import { estimateMaxPriorityFeePerGas as B } from "./index78.js";
|
|
16
|
+
import { getBalance as v } from "./index85.js";
|
|
17
|
+
import { getBlobBaseFee as d } from "./index86.js";
|
|
18
|
+
import { getBlock as w } from "./index79.js";
|
|
19
|
+
import { getBlockNumber as h } from "./index89.js";
|
|
20
|
+
import { getBlockTransactionCount as k } from "./index91.js";
|
|
21
|
+
import { getChainId as P } from "./index92.js";
|
|
22
|
+
import { getCode as o } from "./index93.js";
|
|
23
|
+
import { getContractEvents as y } from "./index94.js";
|
|
24
|
+
import { getEip712Domain as G } from "./index97.js";
|
|
25
|
+
import { getFeeHistory as R } from "./index99.js";
|
|
26
|
+
import { getFilterChanges as A } from "./index101.js";
|
|
27
|
+
import { getFilterLogs as b } from "./index104.js";
|
|
28
|
+
import { getGasPrice as l } from "./index80.js";
|
|
29
|
+
import { getLogs as L } from "./index96.js";
|
|
30
|
+
import { getProof as M } from "./index143.js";
|
|
31
|
+
import { getStorageAt as N } from "./index105.js";
|
|
32
|
+
import { getTransaction as x } from "./index107.js";
|
|
33
|
+
import { getTransactionConfirmations as D } from "./index106.js";
|
|
34
|
+
import { getTransactionCount as S } from "./index108.js";
|
|
35
|
+
import { getTransactionReceipt as q } from "./index20.js";
|
|
36
|
+
import { multicall as H } from "./index112.js";
|
|
37
|
+
import { readContract as I } from "./index44.js";
|
|
38
|
+
import { simulateBlocks as e } from "./index114.js";
|
|
39
|
+
import { simulateCalls as j } from "./index117.js";
|
|
40
|
+
import { simulateContract as z } from "./index165.js";
|
|
41
|
+
import { uninstallFilter as J } from "./index129.js";
|
|
42
|
+
import { verifyMessage as K } from "./index173.js";
|
|
43
|
+
import { verifyTypedData as O } from "./index175.js";
|
|
44
|
+
import { waitForTransactionReceipt as Q } from "./index145.js";
|
|
45
|
+
import { watchBlockNumber as U } from "./index125.js";
|
|
46
|
+
import { watchBlocks as V } from "./index121.js";
|
|
47
|
+
import { watchContractEvent as W } from "./index178.js";
|
|
48
|
+
import { watchEvent as X } from "./index126.js";
|
|
49
|
+
import { watchPendingTransactions as Y } from "./index130.js";
|
|
50
|
+
import { verifySiweMessage as Z } from "./index187.js";
|
|
51
|
+
import { prepareTransactionRequest as _ } from "./index84.js";
|
|
52
|
+
import { sendRawTransaction as $ } from "./index159.js";
|
|
53
|
+
function _r(t) {
|
|
54
|
+
return {
|
|
55
|
+
call: (r) => p(t, r),
|
|
56
|
+
createAccessList: (r) => f(t, r),
|
|
57
|
+
createBlockFilter: () => n(t),
|
|
58
|
+
createContractEventFilter: (r) => c(t, r),
|
|
59
|
+
createEventFilter: (r) => C(t, r),
|
|
60
|
+
createPendingTransactionFilter: () => u(t),
|
|
61
|
+
estimateContractGas: (r) => F(t, r),
|
|
62
|
+
estimateGas: (r) => E(t, r),
|
|
63
|
+
getBalance: (r) => v(t, r),
|
|
64
|
+
getBlobBaseFee: () => d(t),
|
|
65
|
+
getBlock: (r) => w(t, r),
|
|
66
|
+
getBlockNumber: (r) => h(t, r),
|
|
67
|
+
getBlockTransactionCount: (r) => k(t, r),
|
|
68
|
+
getBytecode: (r) => o(t, r),
|
|
69
|
+
getChainId: () => P(t),
|
|
70
|
+
getCode: (r) => o(t, r),
|
|
71
|
+
getContractEvents: (r) => y(t, r),
|
|
72
|
+
getEip712Domain: (r) => G(t, r),
|
|
73
|
+
getEnsAddress: (r) => a(t, r),
|
|
74
|
+
getEnsAvatar: (r) => m(t, r),
|
|
75
|
+
getEnsName: (r) => s(t, r),
|
|
76
|
+
getEnsResolver: (r) => i(t, r),
|
|
77
|
+
getEnsText: (r) => g(t, r),
|
|
78
|
+
getFeeHistory: (r) => R(t, r),
|
|
79
|
+
estimateFeesPerGas: (r) => T(t, r),
|
|
80
|
+
getFilterChanges: (r) => A(t, r),
|
|
81
|
+
getFilterLogs: (r) => b(t, r),
|
|
82
|
+
getGasPrice: () => l(t),
|
|
83
|
+
getLogs: (r) => L(t, r),
|
|
84
|
+
getProof: (r) => M(t, r),
|
|
85
|
+
estimateMaxPriorityFeePerGas: (r) => B(t, r),
|
|
86
|
+
getStorageAt: (r) => N(t, r),
|
|
87
|
+
getTransaction: (r) => x(t, r),
|
|
88
|
+
getTransactionConfirmations: (r) => D(t, r),
|
|
89
|
+
getTransactionCount: (r) => S(t, r),
|
|
90
|
+
getTransactionReceipt: (r) => q(t, r),
|
|
91
|
+
multicall: (r) => H(t, r),
|
|
92
|
+
prepareTransactionRequest: (r) => _(t, r),
|
|
93
|
+
readContract: (r) => I(t, r),
|
|
94
|
+
sendRawTransaction: (r) => $(t, r),
|
|
95
|
+
simulate: (r) => e(t, r),
|
|
96
|
+
simulateBlocks: (r) => e(t, r),
|
|
97
|
+
simulateCalls: (r) => j(t, r),
|
|
98
|
+
simulateContract: (r) => z(t, r),
|
|
99
|
+
verifyMessage: (r) => K(t, r),
|
|
100
|
+
verifySiweMessage: (r) => Z(t, r),
|
|
101
|
+
verifyTypedData: (r) => O(t, r),
|
|
102
|
+
uninstallFilter: (r) => J(t, r),
|
|
103
|
+
waitForTransactionReceipt: (r) => Q(t, r),
|
|
104
|
+
watchBlocks: (r) => V(t, r),
|
|
105
|
+
watchBlockNumber: (r) => U(t, r),
|
|
106
|
+
watchContractEvent: (r) => W(t, r),
|
|
107
|
+
watchEvent: (r) => X(t, r),
|
|
108
|
+
watchPendingTransactions: (r) => Y(t, r)
|
|
21
109
|
};
|
|
22
|
-
return l.blobGasPrice && (u.blobGasPrice = BigInt(l.blobGasPrice)), l.blobGasUsed && (u.blobGasUsed = BigInt(l.blobGasUsed)), u;
|
|
23
110
|
}
|
|
24
111
|
export {
|
|
25
|
-
|
|
26
|
-
f as receiptStatuses
|
|
112
|
+
_r as publicActions
|
|
27
113
|
};
|
package/dist/index187.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index174.cjs"),f=require("./index280.cjs"),h=require("./index281.cjs"),M=require("./index167.cjs");async function S(a,r){const{address:i,domain:t,message:s,nonce:n,scheme:d,signature:c,time:o=new Date,...g}=r,e=f.parseSiweMessage(s);if(!e.address||!h.validateSiweMessage({address:i,domain:t,message:e,nonce:n,scheme:d,time:o}))return!1;const u=l.hashMessage(s);return M.verifyHash(a,{address:e.address,hash:u,signature:c,...g})}exports.verifySiweMessage=S;
|
package/dist/index187.js
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
...
|
|
22
|
-
})
|
|
1
|
+
import { hashMessage as g } from "./index174.js";
|
|
2
|
+
import { parseSiweMessage as l } from "./index280.js";
|
|
3
|
+
import { validateSiweMessage as p } from "./index281.js";
|
|
4
|
+
import { verifyHash as h } from "./index167.js";
|
|
5
|
+
async function S(a, r) {
|
|
6
|
+
const { address: i, domain: t, message: s, nonce: o, scheme: n, signature: d, time: m = /* @__PURE__ */ new Date(), ...f } = r, e = l(s);
|
|
7
|
+
if (!e.address || !p({
|
|
8
|
+
address: i,
|
|
9
|
+
domain: t,
|
|
10
|
+
message: e,
|
|
11
|
+
nonce: o,
|
|
12
|
+
scheme: n,
|
|
13
|
+
time: m
|
|
14
|
+
}))
|
|
15
|
+
return !1;
|
|
16
|
+
const c = g(s);
|
|
17
|
+
return h(a, {
|
|
18
|
+
address: e.address,
|
|
19
|
+
hash: c,
|
|
20
|
+
signature: d,
|
|
21
|
+
...f
|
|
22
|
+
});
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
25
|
-
|
|
26
|
-
o as rpcTransactionType
|
|
25
|
+
S as verifySiweMessage
|
|
27
26
|
};
|
package/dist/index188.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index92.cjs"),t=require("./index29.cjs"),a=require("./index31.cjs"),i=require("./index131.cjs"),n=require("./index138.cjs"),o=require("./index134.cjs"),u=require("./index133.cjs"),d=require("./index149.cjs"),g=require("./index84.cjs"),q=require("./index147.cjs"),c=require("./index148.cjs"),C=require("./index135.cjs"),h=require("./index159.cjs"),p=require("./index33.cjs"),w=require("./index140.cjs"),A=require("./index160.cjs"),T=require("./index162.cjs"),l=require("./index161.cjs"),S=require("./index163.cjs"),y=require("./index166.cjs"),m=require("./index141.cjs"),P=require("./index177.cjs"),z=require("./index179.cjs");function R(e){return{addChain:s=>t.addChain(e,s),deployContract:s=>a.deployContract(e,s),getAddresses:()=>i.getAddresses(e),getCallsStatus:s=>n.getCallsStatus(e,s),getCapabilities:s=>o.getCapabilities(e,s),getChainId:()=>r.getChainId(e),getPermissions:()=>u.getPermissions(e),prepareAuthorization:s=>d.prepareAuthorization(e,s),prepareTransactionRequest:s=>g.prepareTransactionRequest(e,s),requestAddresses:()=>q.requestAddresses(e),requestPermissions:s=>c.requestPermissions(e,s),sendCalls:s=>C.sendCalls(e,s),sendRawTransaction:s=>h.sendRawTransaction(e,s),sendTransaction:s=>p.sendTransaction(e,s),showCallsStatus:s=>w.showCallsStatus(e,s),signAuthorization:s=>A.signAuthorization(e,s),signMessage:s=>T.signMessage(e,s),signTransaction:s=>l.signTransaction(e,s),signTypedData:s=>S.signTypedData(e,s),switchChain:s=>y.switchChain(e,s),waitForCallsStatus:s=>m.waitForCallsStatus(e,s),watchAsset:s=>P.watchAsset(e,s),writeContract:s=>z.writeContract(e,s)}}exports.walletActions=R;
|
package/dist/index188.js
CHANGED
|
@@ -1,6 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { getChainId as o } from "./index92.js";
|
|
2
|
+
import { addChain as t } from "./index29.js";
|
|
3
|
+
import { deployContract as a } from "./index31.js";
|
|
4
|
+
import { getAddresses as i } from "./index131.js";
|
|
5
|
+
import { getCallsStatus as m } from "./index138.js";
|
|
6
|
+
import { getCapabilities as e } from "./index134.js";
|
|
7
|
+
import { getPermissions as p } from "./index133.js";
|
|
8
|
+
import { prepareAuthorization as n } from "./index149.js";
|
|
9
|
+
import { prepareTransactionRequest as d } from "./index84.js";
|
|
10
|
+
import { requestAddresses as f } from "./index147.js";
|
|
11
|
+
import { requestPermissions as g } from "./index148.js";
|
|
12
|
+
import { sendCalls as C } from "./index135.js";
|
|
13
|
+
import { sendRawTransaction as u } from "./index159.js";
|
|
14
|
+
import { sendTransaction as h } from "./index33.js";
|
|
15
|
+
import { showCallsStatus as w } from "./index140.js";
|
|
16
|
+
import { signAuthorization as A } from "./index160.js";
|
|
17
|
+
import { signMessage as T } from "./index162.js";
|
|
18
|
+
import { signTransaction as q } from "./index161.js";
|
|
19
|
+
import { signTypedData as S } from "./index163.js";
|
|
20
|
+
import { switchChain as y } from "./index166.js";
|
|
21
|
+
import { waitForCallsStatus as z } from "./index141.js";
|
|
22
|
+
import { watchAsset as P } from "./index177.js";
|
|
23
|
+
import { writeContract as R } from "./index179.js";
|
|
24
|
+
function X(s) {
|
|
25
|
+
return {
|
|
26
|
+
addChain: (r) => t(s, r),
|
|
27
|
+
deployContract: (r) => a(s, r),
|
|
28
|
+
getAddresses: () => i(s),
|
|
29
|
+
getCallsStatus: (r) => m(s, r),
|
|
30
|
+
getCapabilities: (r) => e(s, r),
|
|
31
|
+
getChainId: () => o(s),
|
|
32
|
+
getPermissions: () => p(s),
|
|
33
|
+
prepareAuthorization: (r) => n(s, r),
|
|
34
|
+
prepareTransactionRequest: (r) => d(s, r),
|
|
35
|
+
requestAddresses: () => f(s),
|
|
36
|
+
requestPermissions: (r) => g(s, r),
|
|
37
|
+
sendCalls: (r) => C(s, r),
|
|
38
|
+
sendRawTransaction: (r) => u(s, r),
|
|
39
|
+
sendTransaction: (r) => h(s, r),
|
|
40
|
+
showCallsStatus: (r) => w(s, r),
|
|
41
|
+
signAuthorization: (r) => A(s, r),
|
|
42
|
+
signMessage: (r) => T(s, r),
|
|
43
|
+
signTransaction: (r) => q(s, r),
|
|
44
|
+
signTypedData: (r) => S(s, r),
|
|
45
|
+
switchChain: (r) => y(s, r),
|
|
46
|
+
waitForCallsStatus: (r) => z(s, r),
|
|
47
|
+
watchAsset: (r) => P(s, r),
|
|
48
|
+
writeContract: (r) => R(s, r)
|
|
49
|
+
};
|
|
3
50
|
}
|
|
4
51
|
export {
|
|
5
|
-
|
|
52
|
+
X as walletActions
|
|
6
53
|
};
|
package/dist/index189.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("./index56.cjs"),p=require("./index182.cjs"),e=require("./index127.cjs"),I=require("./index30.cjs"),q=require("./index282.cjs"),m=require("./index146.cjs"),v=require("./index124.cjs");function N(t,E={}){return async(c,h={})=>{var i;const{dedupe:s=!1,methods:o,retryDelay:R=150,retryCount:l=3,uid:f}={...E,...h},{method:d}=c;if((i=o==null?void 0:o.exclude)!=null&&i.includes(d))throw new e.MethodNotSupportedRpcError(new Error("method not supported"),{method:d});if(o!=null&&o.include&&!o.include.includes(d))throw new e.MethodNotSupportedRpcError(new Error("method not supported"),{method:d});const y=s?I.stringToHex(`${f}.${v.stringify(c)}`):void 0;return q.withDedupe(()=>m.withRetry(async()=>{try{return await t(c)}catch(n){const r=n;switch(r.code){case e.ParseRpcError.code:throw new e.ParseRpcError(r);case e.InvalidRequestRpcError.code:throw new e.InvalidRequestRpcError(r);case e.MethodNotFoundRpcError.code:throw new e.MethodNotFoundRpcError(r,{method:c.method});case e.InvalidParamsRpcError.code:throw new e.InvalidParamsRpcError(r);case e.InternalRpcError.code:throw new e.InternalRpcError(r);case e.InvalidInputRpcError.code:throw new e.InvalidInputRpcError(r);case e.ResourceNotFoundRpcError.code:throw new e.ResourceNotFoundRpcError(r);case e.ResourceUnavailableRpcError.code:throw new e.ResourceUnavailableRpcError(r);case e.TransactionRejectedRpcError.code:throw new e.TransactionRejectedRpcError(r);case e.MethodNotSupportedRpcError.code:throw new e.MethodNotSupportedRpcError(r,{method:c.method});case e.LimitExceededRpcError.code:throw new e.LimitExceededRpcError(r);case e.JsonRpcVersionUnsupportedError.code:throw new e.JsonRpcVersionUnsupportedError(r);case e.UserRejectedRequestError.code:throw new e.UserRejectedRequestError(r);case e.UnauthorizedProviderError.code:throw new e.UnauthorizedProviderError(r);case e.UnsupportedProviderMethodError.code:throw new e.UnsupportedProviderMethodError(r);case e.ProviderDisconnectedError.code:throw new e.ProviderDisconnectedError(r);case e.ChainDisconnectedError.code:throw new e.ChainDisconnectedError(r);case e.SwitchChainError.code:throw new e.SwitchChainError(r);case e.UnsupportedNonOptionalCapabilityError.code:throw new e.UnsupportedNonOptionalCapabilityError(r);case e.UnsupportedChainIdError.code:throw new e.UnsupportedChainIdError(r);case e.DuplicateIdError.code:throw new e.DuplicateIdError(r);case e.UnknownBundleIdError.code:throw new e.UnknownBundleIdError(r);case e.BundleTooLargeError.code:throw new e.BundleTooLargeError(r);case e.AtomicReadyWalletRejectedUpgradeError.code:throw new e.AtomicReadyWalletRejectedUpgradeError(r);case e.AtomicityNotSupportedError.code:throw new e.AtomicityNotSupportedError(r);case 5e3:throw new e.UserRejectedRequestError(r);default:throw n instanceof U.BaseError?n:new e.UnknownRpcError(r)}}},{delay:({count:n,error:r})=>{var a;if(r&&r instanceof p.HttpRequestError){const u=(a=r==null?void 0:r.headers)==null?void 0:a.get("Retry-After");if(u!=null&&u.match(/\d/))return Number.parseInt(u)*1e3}return~~(1<<n)*R},retryCount:l,shouldRetry:({error:n})=>w(n)}),{enabled:s,id:y})}}function w(t){return"code"in t&&typeof t.code=="number"?t.code===-1||t.code===e.LimitExceededRpcError.code||t.code===e.InternalRpcError.code:t instanceof p.HttpRequestError&&t.status?t.status===403||t.status===408||t.status===413||t.status===429||t.status===500||t.status===502||t.status===503||t.status===504:!0}exports.buildRequest=N;exports.shouldRetry=w;
|
package/dist/index189.js
CHANGED
|
@@ -1,17 +1,109 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { BaseError as z } from "./index56.js";
|
|
2
|
+
import { HttpRequestError as k } from "./index182.js";
|
|
3
|
+
import { MethodNotSupportedRpcError as s, UnknownRpcError as J, UserRejectedRequestError as u, AtomicityNotSupportedError as f, AtomicReadyWalletRejectedUpgradeError as E, BundleTooLargeError as l, UnknownBundleIdError as R, DuplicateIdError as m, UnsupportedChainIdError as y, UnsupportedNonOptionalCapabilityError as I, SwitchChainError as U, ChainDisconnectedError as v, ProviderDisconnectedError as b, UnsupportedProviderMethodError as N, UnauthorizedProviderError as q, JsonRpcVersionUnsupportedError as C, LimitExceededRpcError as a, TransactionRejectedRpcError as D, ResourceUnavailableRpcError as P, ResourceNotFoundRpcError as x, InvalidInputRpcError as j, InternalRpcError as i, InvalidParamsRpcError as B, MethodNotFoundRpcError as M, InvalidRequestRpcError as S, ParseRpcError as T } from "./index127.js";
|
|
4
|
+
import { stringToHex as O } from "./index30.js";
|
|
5
|
+
import { withDedupe as V } from "./index282.js";
|
|
6
|
+
import { withRetry as W } from "./index146.js";
|
|
7
|
+
import { stringify as _ } from "./index124.js";
|
|
8
|
+
function te(r, A = {}) {
|
|
9
|
+
return async (n, F = {}) => {
|
|
10
|
+
var h;
|
|
11
|
+
const { dedupe: w = !1, methods: t, retryDelay: H = 150, retryCount: L = 3, uid: $ } = {
|
|
12
|
+
...A,
|
|
13
|
+
...F
|
|
14
|
+
}, { method: c } = n;
|
|
15
|
+
if ((h = t == null ? void 0 : t.exclude) != null && h.includes(c))
|
|
16
|
+
throw new s(new Error("method not supported"), {
|
|
17
|
+
method: c
|
|
18
|
+
});
|
|
19
|
+
if (t != null && t.include && !t.include.includes(c))
|
|
20
|
+
throw new s(new Error("method not supported"), {
|
|
21
|
+
method: c
|
|
22
|
+
});
|
|
23
|
+
const g = w ? O(`${$}.${_(n)}`) : void 0;
|
|
24
|
+
return V(() => W(async () => {
|
|
25
|
+
try {
|
|
26
|
+
return await r(n);
|
|
27
|
+
} catch (o) {
|
|
28
|
+
const e = o;
|
|
29
|
+
switch (e.code) {
|
|
30
|
+
case T.code:
|
|
31
|
+
throw new T(e);
|
|
32
|
+
case S.code:
|
|
33
|
+
throw new S(e);
|
|
34
|
+
case M.code:
|
|
35
|
+
throw new M(e, { method: n.method });
|
|
36
|
+
case B.code:
|
|
37
|
+
throw new B(e);
|
|
38
|
+
case i.code:
|
|
39
|
+
throw new i(e);
|
|
40
|
+
case j.code:
|
|
41
|
+
throw new j(e);
|
|
42
|
+
case x.code:
|
|
43
|
+
throw new x(e);
|
|
44
|
+
case P.code:
|
|
45
|
+
throw new P(e);
|
|
46
|
+
case D.code:
|
|
47
|
+
throw new D(e);
|
|
48
|
+
case s.code:
|
|
49
|
+
throw new s(e, {
|
|
50
|
+
method: n.method
|
|
51
|
+
});
|
|
52
|
+
case a.code:
|
|
53
|
+
throw new a(e);
|
|
54
|
+
case C.code:
|
|
55
|
+
throw new C(e);
|
|
56
|
+
case u.code:
|
|
57
|
+
throw new u(e);
|
|
58
|
+
case q.code:
|
|
59
|
+
throw new q(e);
|
|
60
|
+
case N.code:
|
|
61
|
+
throw new N(e);
|
|
62
|
+
case b.code:
|
|
63
|
+
throw new b(e);
|
|
64
|
+
case v.code:
|
|
65
|
+
throw new v(e);
|
|
66
|
+
case U.code:
|
|
67
|
+
throw new U(e);
|
|
68
|
+
case I.code:
|
|
69
|
+
throw new I(e);
|
|
70
|
+
case y.code:
|
|
71
|
+
throw new y(e);
|
|
72
|
+
case m.code:
|
|
73
|
+
throw new m(e);
|
|
74
|
+
case R.code:
|
|
75
|
+
throw new R(e);
|
|
76
|
+
case l.code:
|
|
77
|
+
throw new l(e);
|
|
78
|
+
case E.code:
|
|
79
|
+
throw new E(e);
|
|
80
|
+
case f.code:
|
|
81
|
+
throw new f(e);
|
|
82
|
+
case 5e3:
|
|
83
|
+
throw new u(e);
|
|
84
|
+
default:
|
|
85
|
+
throw o instanceof z ? o : new J(e);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}, {
|
|
89
|
+
delay: ({ count: o, error: e }) => {
|
|
90
|
+
var p;
|
|
91
|
+
if (e && e instanceof k) {
|
|
92
|
+
const d = (p = e == null ? void 0 : e.headers) == null ? void 0 : p.get("Retry-After");
|
|
93
|
+
if (d != null && d.match(/\d/))
|
|
94
|
+
return Number.parseInt(d) * 1e3;
|
|
95
|
+
}
|
|
96
|
+
return ~~(1 << o) * H;
|
|
97
|
+
},
|
|
98
|
+
retryCount: L,
|
|
99
|
+
shouldRetry: ({ error: o }) => G(o)
|
|
100
|
+
}), { enabled: w, id: g });
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function G(r) {
|
|
104
|
+
return "code" in r && typeof r.code == "number" ? r.code === -1 || r.code === a.code || r.code === i.code : r instanceof k && r.status ? r.status === 403 || r.status === 408 || r.status === 413 || r.status === 429 || r.status === 500 || r.status === 502 || r.status === 503 || r.status === 504 : !0;
|
|
14
105
|
}
|
|
15
106
|
export {
|
|
16
|
-
|
|
107
|
+
te as buildRequest,
|
|
108
|
+
G as shouldRetry
|
|
17
109
|
};
|
package/dist/index19.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=2n**256n-1n;exports.maxUint256=t;
|
package/dist/index19.js
CHANGED
|
@@ -1,123 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { createContractEventFilter as v } from "./index33.js";
|
|
3
|
-
import { estimateContractGas as A } from "./index34.js";
|
|
4
|
-
import { getContractEvents as _ } from "./index35.js";
|
|
5
|
-
import { readContract as x } from "./index36.js";
|
|
6
|
-
import { simulateContract as F } from "./index37.js";
|
|
7
|
-
import { watchContractEvent as G } from "./index38.js";
|
|
8
|
-
import { writeContract as b } from "./index39.js";
|
|
9
|
-
function D({ abi: t, address: o, client: f }) {
|
|
10
|
-
const e = f, [a, p] = e ? "public" in e && "wallet" in e ? [e.public, e.wallet] : "public" in e ? [e.public, void 0] : "wallet" in e ? [void 0, e.wallet] : [e, e] : [void 0, void 0], d = a != null, P = p != null, u = {};
|
|
11
|
-
let y = !1, w = !1, E = !1;
|
|
12
|
-
for (const s of t)
|
|
13
|
-
if (s.type === "function" ? s.stateMutability === "view" || s.stateMutability === "pure" ? y = !0 : w = !0 : s.type === "event" && (E = !0), y && w && E)
|
|
14
|
-
break;
|
|
15
|
-
return d && (y && (u.read = new Proxy({}, {
|
|
16
|
-
get(s, n) {
|
|
17
|
-
return (...i) => {
|
|
18
|
-
const { args: c, options: r } = C(i);
|
|
19
|
-
return g(a, x, "readContract")({
|
|
20
|
-
abi: t,
|
|
21
|
-
address: o,
|
|
22
|
-
functionName: n,
|
|
23
|
-
args: c,
|
|
24
|
-
...r
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
})), w && (u.simulate = new Proxy({}, {
|
|
29
|
-
get(s, n) {
|
|
30
|
-
return (...i) => {
|
|
31
|
-
const { args: c, options: r } = C(i);
|
|
32
|
-
return g(a, F, "simulateContract")({
|
|
33
|
-
abi: t,
|
|
34
|
-
address: o,
|
|
35
|
-
functionName: n,
|
|
36
|
-
args: c,
|
|
37
|
-
...r
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
})), E && (u.createEventFilter = new Proxy({}, {
|
|
42
|
-
get(s, n) {
|
|
43
|
-
return (...i) => {
|
|
44
|
-
const c = t.find((l) => l.type === "event" && l.name === n), { args: r, options: m } = h(i, c);
|
|
45
|
-
return g(a, v, "createContractEventFilter")({
|
|
46
|
-
abi: t,
|
|
47
|
-
address: o,
|
|
48
|
-
eventName: n,
|
|
49
|
-
args: r,
|
|
50
|
-
...m
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
}), u.getEvents = new Proxy({}, {
|
|
55
|
-
get(s, n) {
|
|
56
|
-
return (...i) => {
|
|
57
|
-
const c = t.find((l) => l.type === "event" && l.name === n), { args: r, options: m } = h(i, c);
|
|
58
|
-
return g(a, _, "getContractEvents")({
|
|
59
|
-
abi: t,
|
|
60
|
-
address: o,
|
|
61
|
-
eventName: n,
|
|
62
|
-
args: r,
|
|
63
|
-
...m
|
|
64
|
-
});
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}), u.watchEvent = new Proxy({}, {
|
|
68
|
-
get(s, n) {
|
|
69
|
-
return (...i) => {
|
|
70
|
-
const c = t.find((l) => l.type === "event" && l.name === n), { args: r, options: m } = h(i, c);
|
|
71
|
-
return g(a, G, "watchContractEvent")({
|
|
72
|
-
abi: t,
|
|
73
|
-
address: o,
|
|
74
|
-
eventName: n,
|
|
75
|
-
args: r,
|
|
76
|
-
...m
|
|
77
|
-
});
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
}))), P && w && (u.write = new Proxy({}, {
|
|
81
|
-
get(s, n) {
|
|
82
|
-
return (...i) => {
|
|
83
|
-
const { args: c, options: r } = C(i);
|
|
84
|
-
return g(p, b, "writeContract")({
|
|
85
|
-
abi: t,
|
|
86
|
-
address: o,
|
|
87
|
-
functionName: n,
|
|
88
|
-
args: c,
|
|
89
|
-
...r
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
})), (d || P) && w && (u.estimateGas = new Proxy({}, {
|
|
94
|
-
get(s, n) {
|
|
95
|
-
return (...i) => {
|
|
96
|
-
const { args: c, options: r } = C(i);
|
|
97
|
-
return g(a ?? p, A, "estimateContractGas")({
|
|
98
|
-
abi: t,
|
|
99
|
-
address: o,
|
|
100
|
-
functionName: n,
|
|
101
|
-
args: c,
|
|
102
|
-
...r,
|
|
103
|
-
account: r.account ?? p.account
|
|
104
|
-
});
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
})), u.address = o, u.abi = t, u;
|
|
108
|
-
}
|
|
109
|
-
function C(t) {
|
|
110
|
-
const o = t.length && Array.isArray(t[0]), f = o ? t[0] : [], e = (o ? t[1] : t[0]) ?? {};
|
|
111
|
-
return { args: f, options: e };
|
|
112
|
-
}
|
|
113
|
-
function h(t, o) {
|
|
114
|
-
let f = !1;
|
|
115
|
-
Array.isArray(t[0]) ? f = !0 : t.length === 1 ? f = o.inputs.some((p) => p.indexed) : t.length === 2 && (f = !0);
|
|
116
|
-
const e = f ? t[0] : void 0, a = (f ? t[1] : t[0]) ?? {};
|
|
117
|
-
return { args: e, options: a };
|
|
118
|
-
}
|
|
1
|
+
const n = 2n ** 256n - 1n;
|
|
119
2
|
export {
|
|
120
|
-
|
|
121
|
-
h as getEventParameters,
|
|
122
|
-
C as getFunctionParameters
|
|
3
|
+
n as maxUint256
|
|
123
4
|
};
|
package/dist/index190.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={gwei:9,wei:18},t={ether:-9,wei:9};exports.etherUnits=e;exports.gweiUnits=t;
|