@gardenfi/utils 2.1.2-beta.11 → 2.1.2-beta.12
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 +20 -21
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +15 -7
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +65 -26
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +11 -10
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +13 -9
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +8 -115
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +10 -80
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +25 -180
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +9 -6
- package/dist/index108.cjs +3 -1
- package/dist/index108.js +110 -13
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +51 -13
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +24 -93
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +113 -73
- package/dist/index112.cjs +20 -1
- package/dist/index112.js +326 -88
- package/dist/index113.cjs +1 -1
- package/dist/index113.js +78 -136
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +30 -69
- package/dist/index115.cjs +4 -1
- package/dist/index115.js +194 -23
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +24 -109
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +181 -6
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +12 -50
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +24 -16
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +3 -11
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +88 -5
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +32 -10
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +15 -3
- package/dist/index124.cjs +1 -1
- package/dist/index124.js +2 -27
- package/dist/index125.cjs +1 -1
- package/dist/index125.js +75 -4
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +138 -6
- package/dist/index127.cjs +3 -1
- package/dist/index127.js +449 -45
- package/dist/index128.cjs +1 -1
- package/dist/index128.js +58 -119
- package/dist/index129.cjs +1 -1
- package/dist/index129.js +5 -6
- package/dist/index130.cjs +1 -1
- package/dist/index130.js +68 -20
- package/dist/index131.cjs +1 -1
- package/dist/index131.js +5 -17
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +21 -40
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +3 -21
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +10 -11
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +47 -6
- package/dist/index136.cjs +2 -1
- package/dist/index136.js +23 -105
- package/dist/index137.cjs +1 -1
- package/dist/index137.js +14 -3
- package/dist/index138.cjs +1 -1
- package/dist/index138.js +27 -4
- package/dist/index139.cjs +1 -1
- package/dist/index139.js +8 -9
- package/dist/index140.cjs +1 -1
- package/dist/index140.js +39 -2
- package/dist/index141.cjs +1 -2
- package/dist/index141.js +9 -3
- package/dist/index142.cjs +1 -20
- package/dist/index142.js +9 -326
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +14 -12
- package/dist/index144.cjs +1 -1
- package/dist/index144.js +93 -4
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +21 -2
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +4 -7
- package/dist/index147.cjs +1 -3
- package/dist/index147.js +6 -215
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +27 -32
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +9 -21
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +8 -5
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +9 -72
- package/dist/index152.cjs +1 -1
- package/dist/index152.js +11 -5
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +13 -5
- package/dist/index154.cjs +1 -9
- package/dist/index154.js +14 -35
- package/dist/index155.cjs +1 -3
- package/dist/index155.js +7 -110
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +22 -3
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +6 -23
- package/dist/index158.cjs +1 -3
- package/dist/index158.js +21 -451
- package/dist/index159.cjs +1 -2
- package/dist/index159.js +39 -53
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +16 -25
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +20 -32
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +79 -34
- package/dist/index163.cjs +1 -4
- package/dist/index163.js +42 -192
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +11 -8
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +51 -17
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +3 -27
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +4 -7
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +5 -7
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +11 -16
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +13 -18
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +13 -21
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +5 -51
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +13 -11
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +92 -150
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +6 -127
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +150 -37
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +35 -6
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +31 -27
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +8 -190
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +8 -8
- package/dist/index180.cjs +1 -1
- package/dist/index180.js +69 -4
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +8 -61
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +72 -3
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +19 -20
- package/dist/index184.cjs +1 -1
- package/dist/index184.js +108 -14
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +23 -23
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +50 -34
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +107 -3
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +9 -19
- package/dist/index189.cjs +1 -1
- package/dist/index189.js +2 -28
- package/dist/index190.cjs +2 -1
- package/dist/index190.js +3 -37
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +13 -10
- package/dist/index192.cjs +1 -1
- package/dist/index192.js +4 -25
- package/dist/index193.cjs +1 -1
- package/dist/index193.js +2 -29
- package/dist/index194.cjs +1 -1
- package/dist/index194.js +30 -64
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +21 -9
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +5 -24
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +5 -24
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +5 -3
- package/dist/index199.cjs +9 -1
- package/dist/index199.js +35 -14
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +2 -2
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +3 -81
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +26 -5
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +32 -22
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +35 -42
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +8 -5
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +12 -11
- package/dist/index206.cjs +1 -1
- package/dist/index206.js +18 -19
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +24 -75
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +9 -2
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +51 -33
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +8 -111
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +7 -49
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +17 -31
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +161 -8
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +127 -6
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +38 -6
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +27 -11
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +190 -9
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +4 -14
- package/dist/index219.cjs +1 -1
- package/dist/index219.js +3 -33
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +8 -8
- package/dist/index220.cjs +1 -1
- package/dist/index220.js +21 -5
- package/dist/index221.cjs +1 -1
- package/dist/index221.js +16 -7
- package/dist/index222.cjs +1 -1
- package/dist/index222.js +11 -8
- package/dist/index223.cjs +1 -1
- package/dist/index223.js +30 -16
- package/dist/index224.cjs +1 -1
- package/dist/index224.js +3 -32
- package/dist/index225.cjs +1 -1
- package/dist/index225.js +27 -20
- package/dist/index226.cjs +1 -1
- package/dist/index226.js +25 -3
- package/dist/index227.cjs +1 -1
- package/dist/index227.js +28 -17
- package/dist/index228.cjs +1 -1
- package/dist/index228.js +6 -10
- package/dist/index229.cjs +1 -1
- package/dist/index229.js +22 -20
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +2 -2
- package/dist/index230.cjs +1 -1
- package/dist/index230.js +37 -22
- package/dist/index231.cjs +1 -1
- package/dist/index231.js +42 -5
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +78 -8
- package/dist/index233.cjs +1 -1
- package/dist/index233.js +2 -105
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +33 -108
- package/dist/index235.cjs +1 -1
- package/dist/index235.js +48 -17
- package/dist/index236.cjs +1 -1
- package/dist/index236.js +6 -17
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +6 -10
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +31 -15
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +5 -23
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +5 -5
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +9 -2
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +3 -13
- package/dist/index242.cjs +1 -1
- package/dist/index242.js +17 -12
- package/dist/index243.cjs +1 -1
- package/dist/index243.js +10 -47
- package/dist/index244.cjs +1 -1
- package/dist/index244.js +5 -11
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +8 -7
- package/dist/index246.cjs +1 -1
- package/dist/index246.js +104 -9
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +112 -13
- package/dist/index248.cjs +1 -1
- package/dist/index248.js +17 -13
- package/dist/index249.cjs +1 -1
- package/dist/index249.js +171 -9
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +3 -3
- package/dist/index250.cjs +1 -1
- package/dist/index250.js +17 -30
- package/dist/index251.cjs +1 -1
- package/dist/index251.js +25 -24
- package/dist/index252.cjs +1 -1
- package/dist/index252.js +13 -12
- package/dist/index253.cjs +1 -1
- package/dist/index253.js +15 -24
- package/dist/index254.cjs +1 -2
- package/dist/index254.js +5 -24
- package/dist/index255.cjs +1 -1
- package/dist/index255.js +12 -12
- package/dist/index256.cjs +1 -1
- package/dist/index256.js +10 -15
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +16 -52
- package/dist/index258.cjs +1 -1
- package/dist/index258.js +3 -16
- package/dist/index259.cjs +1 -1
- package/dist/index259.js +129 -212
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +1 -1
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +109 -24
- package/dist/index261.cjs +2 -1
- package/dist/index261.js +127 -31
- package/dist/index262.cjs +1 -2
- package/dist/index262.js +139 -25
- package/dist/index263.cjs +1 -1
- package/dist/index263.js +10 -2
- package/dist/index264.cjs +2 -1
- package/dist/index264.js +41 -5
- package/dist/index265.cjs +1 -1
- package/dist/index265.js +2 -11
- package/dist/index266.cjs +1 -1
- package/dist/index266.js +5 -19
- package/dist/index267.cjs +1 -1
- package/dist/index267.js +10 -8
- package/dist/index268.cjs +1 -1
- package/dist/index268.js +19 -66
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +8 -65
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +1 -1
- package/dist/index270.cjs +1 -1
- package/dist/index270.js +56 -176
- package/dist/index271.cjs +1 -1
- package/dist/index271.js +63 -20
- package/dist/index272.cjs +1 -1
- package/dist/index272.js +181 -37
- package/dist/index273.cjs +1 -1
- package/dist/index273.js +21 -75
- package/dist/index274.cjs +1 -1
- package/dist/index274.js +22 -20
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +69 -9
- package/dist/index276.cjs +1 -1
- package/dist/index276.js +34 -7
- package/dist/index277.cjs +1 -1
- package/dist/index277.js +16 -12
- package/dist/index278.cjs +1 -2
- package/dist/index278.js +13 -18
- package/dist/index279.cjs +1 -1
- package/dist/index279.js +12 -13
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +2 -2
- package/dist/index280.cjs +2 -1
- package/dist/index280.js +18 -11
- package/dist/index281.cjs +1 -1
- package/dist/index281.js +13 -6
- package/dist/index282.cjs +1 -1
- package/dist/index282.js +12 -7
- package/dist/index283.cjs +1 -1
- package/dist/index283.js +16 -26
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +216 -60
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +5 -69
- package/dist/index286.cjs +1 -1
- package/dist/index286.js +7 -35
- package/dist/index287.cjs +1 -1
- package/dist/index287.js +25 -17
- package/dist/index288.cjs +1 -1
- package/dist/index288.js +33 -2
- package/dist/index289.cjs +1 -1
- package/dist/index289.js +17 -139
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +16 -37
- package/dist/index290.cjs +1 -1
- package/dist/index290.js +57 -142
- package/dist/index291.cjs +1 -1
- package/dist/index291.js +67 -9
- package/dist/index292.cjs +1 -1
- package/dist/index292.js +9 -111
- package/dist/index293.cjs +1 -2
- package/dist/index293.js +18 -133
- package/dist/index294.cjs +1 -1
- package/dist/index294.js +28 -11
- package/dist/index295.cjs +1 -1
- package/dist/index295.js +37 -18
- package/dist/index296.cjs +2 -1
- package/dist/index296.js +67 -2
- package/dist/index297.cjs +1 -1
- package/dist/index297.js +7 -40
- package/dist/index298.cjs +1 -1
- package/dist/index298.js +55 -635
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +71 -200
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +3 -3
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +4 -173
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +192 -16
- package/dist/index302.cjs +1 -1
- package/dist/index302.js +4 -68
- package/dist/index303.cjs +1 -2
- package/dist/index303.js +39 -65
- package/dist/index304.cjs +1 -1
- package/dist/index304.js +68 -4
- package/dist/index305.cjs +1 -1
- package/dist/index305.js +2 -41
- package/dist/index306.cjs +1 -1
- package/dist/index306.js +40 -7
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +635 -55
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +200 -71
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +173 -4
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +10 -25
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +16 -192
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +4 -63
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +102 -42
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +63 -4
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +5 -105
- package/dist/index315.cjs +1 -1
- package/dist/index315.js +45 -5
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +18 -6
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +123 -13
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +60 -15
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +23 -5
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +10 -13
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +20 -10
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +6 -12
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +10 -11
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +32 -13
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +16 -33
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +15 -54
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +7 -16
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +33 -5
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +24 -8
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +20 -169
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +56 -101
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +40 -3
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +37 -21
- package/dist/index5.cjs +1 -1
- package/dist/index5.js +19 -47
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +162 -7
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +110 -30
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +3 -29
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +2 -17
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +4 -34
- package/dist/index55.cjs +2 -1
- package/dist/index55.js +58 -43
- package/dist/index56.cjs +2 -1
- package/dist/index56.js +53 -150
- package/dist/index57.cjs +3 -1
- package/dist/index57.js +211 -31
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +12 -37
- package/dist/index59.cjs +1 -2
- package/dist/index59.js +11 -58
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +24 -32
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +28 -15
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +47 -8
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +20 -2
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +11 -26
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +38 -29
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +9 -9
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +7 -68
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +31 -9
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +36 -28
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +34 -69
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +9 -19
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +29 -110
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +22 -60
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +82 -21
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +47 -37
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +22 -36
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +38 -55
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +17 -162
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +6 -40
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +33 -9
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +8 -35
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +12 -8
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +107 -48
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +8 -85
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +6 -41
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +7 -8
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +21 -6
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +8 -17
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +31 -8
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +1 -1
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +1 -1
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +16 -46
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +73 -13
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +34 -15
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +46 -13
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +14 -6
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +11 -33
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +9 -9
- package/dist/src/lib/digestKey/digestKey.d.ts +4 -2
- package/dist/src/lib/result.d.ts +13 -9
- package/package.json +1 -1
package/dist/index315.js
CHANGED
|
@@ -1,7 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { size as d, SizeOverflowError as u, SizeExceedsPaddingSizeError as a } from "./index313.js";
|
|
2
|
+
function p(e, t) {
|
|
3
|
+
if (d(e) > t)
|
|
4
|
+
throw new u({
|
|
5
|
+
givenSize: d(e),
|
|
6
|
+
maxSize: t
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
const n = {
|
|
10
|
+
zero: 48,
|
|
11
|
+
nine: 57,
|
|
12
|
+
A: 65,
|
|
13
|
+
F: 70,
|
|
14
|
+
a: 97,
|
|
15
|
+
f: 102
|
|
16
|
+
};
|
|
17
|
+
function s(e) {
|
|
18
|
+
if (e >= n.zero && e <= n.nine)
|
|
19
|
+
return e - n.zero;
|
|
20
|
+
if (e >= n.A && e <= n.F)
|
|
21
|
+
return e - (n.A - 10);
|
|
22
|
+
if (e >= n.a && e <= n.f)
|
|
23
|
+
return e - (n.a - 10);
|
|
24
|
+
}
|
|
25
|
+
function S(e, t = {}) {
|
|
26
|
+
const { dir: z, size: i = 32 } = t;
|
|
27
|
+
if (i === 0)
|
|
28
|
+
return e;
|
|
29
|
+
if (e.length > i)
|
|
30
|
+
throw new a({
|
|
31
|
+
size: e.length,
|
|
32
|
+
targetSize: i,
|
|
33
|
+
type: "Bytes"
|
|
34
|
+
});
|
|
35
|
+
const o = new Uint8Array(i);
|
|
36
|
+
for (let r = 0; r < i; r++) {
|
|
37
|
+
const f = z === "right";
|
|
38
|
+
o[f ? r : i - r - 1] = e[f ? r : e.length - r - 1];
|
|
39
|
+
}
|
|
40
|
+
return o;
|
|
41
|
+
}
|
|
5
42
|
export {
|
|
6
|
-
|
|
43
|
+
p as assertSize,
|
|
44
|
+
n as charCodeMap,
|
|
45
|
+
s as charCodeToBase16,
|
|
46
|
+
S as pad
|
|
7
47
|
};
|
package/dist/index32.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=require("./index112.cjs"),u=require("./index212.cjs"),d=require("./index217.cjs"),r="/docs/contract/encodeDeployData";function b(i){const{abi:a,args:o,bytecode:n}=i;if(!o||o.length===0)return n;const t=a.find(c=>"type"in c&&c.type==="constructor");if(!t)throw new e.AbiConstructorNotFoundError({docsPath:r});if(!("inputs"in t))throw new e.AbiConstructorParamsNotFoundError({docsPath:r});if(!t.inputs||t.inputs.length===0)throw new e.AbiConstructorParamsNotFoundError({docsPath:r});const s=d.encodeAbiParameters(t.inputs,o);return u.concatHex([n,s])}exports.encodeDeployData=b;
|
package/dist/index32.js
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { AbiConstructorNotFoundError as p, AbiConstructorParamsNotFoundError as i } from "./index112.js";
|
|
2
|
+
import { concatHex as u } from "./index212.js";
|
|
3
|
+
import { encodeAbiParameters as d } from "./index217.js";
|
|
4
|
+
const r = "/docs/contract/encodeDeployData";
|
|
5
|
+
function w(c) {
|
|
6
|
+
const { abi: s, args: o, bytecode: n } = c;
|
|
7
|
+
if (!o || o.length === 0)
|
|
8
|
+
return n;
|
|
9
|
+
const t = s.find((e) => "type" in e && e.type === "constructor");
|
|
10
|
+
if (!t)
|
|
11
|
+
throw new p({ docsPath: r });
|
|
12
|
+
if (!("inputs" in t))
|
|
13
|
+
throw new i({ docsPath: r });
|
|
14
|
+
if (!t.inputs || t.inputs.length === 0)
|
|
15
|
+
throw new i({ docsPath: r });
|
|
16
|
+
const a = d(t.inputs, o);
|
|
17
|
+
return u([n, a]);
|
|
6
18
|
}
|
|
7
19
|
export {
|
|
8
|
-
|
|
20
|
+
w as encodeDeployData
|
|
9
21
|
};
|
package/dist/index33.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 _=require("./index52.cjs"),u=require("./index136.cjs"),G=require("./index55.cjs"),O=require("./index81.cjs"),j=require("./index155.cjs"),B=require("./index137.cjs"),U=require("./index59.cjs"),W=require("./index60.cjs"),l=require("./index43.cjs"),k=require("./index156.cjs"),D=require("./index63.cjs"),H=require("./index91.cjs"),x=require("./index83.cjs"),J=require("./index157.cjs"),f=new k.LruMap(128);async function K(t,e){var P,M,z,I;const{account:d=t.account,chain:n=t.chain,accessList:w,authorizationList:s,blobs:q,data:m,gas:T,gasPrice:g,maxFeePerBlobGas:y,maxFeePerGas:R,maxPriorityFeePerGas:A,nonce:E,value:C,...N}=e;if(typeof d>"u")throw new u.AccountNotFoundError({docsPath:"/docs/actions/wallet/sendTransaction"});const r=d?_.parseAccount(d):null;try{D.assertRequest(e);const a=await(async()=>{if(e.to)return e.to;if(e.to!==null&&s&&s.length>0)return await O.recoverAuthorizationAddress({authorization:s[0]}).catch(()=>{throw new G.BaseError("`to` is required. Could not infer from `authorizationList`.")})})();if((r==null?void 0:r.type)==="json-rpc"||r===null){let i;n!==null&&(i=await l.getAction(t,H.getChainId,"getChainId")({}),j.assertCurrentChain({currentChainId:i,chain:n}));const c=(z=(M=(P=t.chain)==null?void 0:P.formatters)==null?void 0:M.transactionRequest)==null?void 0:z.format,b=(c||W.formatTransactionRequest)({...U.extract(N,{format:c}),accessList:w,authorizationList:s,blobs:q,chainId:i,data:m,from:r==null?void 0:r.address,gas:T,gasPrice:g,maxFeePerBlobGas:y,maxFeePerGas:R,maxPriorityFeePerGas:A,nonce:E,to:a,value:C}),F=f.get(t.uid),L=F?"wallet_sendTransaction":"eth_sendTransaction";try{return await t.request({method:L,params:[b]},{retryCount:0})}catch(v){if(F===!1)throw v;const o=v;if(o.name==="InvalidInputRpcError"||o.name==="InvalidParamsRpcError"||o.name==="MethodNotFoundRpcError"||o.name==="MethodNotSupportedRpcError")return await t.request({method:"wallet_sendTransaction",params:[b]},{retryCount:0}).then(p=>(f.set(t.uid,!0),p)).catch(p=>{const h=p;throw h.name==="MethodNotFoundRpcError"||h.name==="MethodNotSupportedRpcError"?(f.set(t.uid,!1),o):h});throw o}}if((r==null?void 0:r.type)==="local"){const i=await l.getAction(t,x.prepareTransactionRequest,"prepareTransactionRequest")({account:r,accessList:w,authorizationList:s,blobs:q,chain:n,data:m,gas:T,gasPrice:g,maxFeePerBlobGas:y,maxFeePerGas:R,maxPriorityFeePerGas:A,nonce:E,nonceManager:r.nonceManager,parameters:[...x.defaultParameters,"sidecars"],value:C,...N,to:a}),c=(I=n==null?void 0:n.serializers)==null?void 0:I.transaction,S=await r.signTransaction(i,{serializer:c});return await l.getAction(t,J.sendRawTransaction,"sendRawTransaction")({serializedTransaction:S})}throw(r==null?void 0:r.type)==="smart"?new u.AccountTypeNotSupportedError({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"}):new u.AccountTypeNotSupportedError({docsPath:"/docs/actions/wallet/sendTransaction",type:r==null?void 0:r.type})}catch(a){throw a instanceof u.AccountTypeNotSupportedError?a:B.getTransactionError(a,{...e,account:r,chain:e.chain||void 0})}}exports.sendTransaction=K;
|
package/dist/index33.js
CHANGED
|
@@ -1,16 +1,126 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { parseAccount as S } from "./index52.js";
|
|
2
|
+
import { AccountNotFoundError as _, AccountTypeNotSupportedError as p } from "./index136.js";
|
|
3
|
+
import { BaseError as G } from "./index55.js";
|
|
4
|
+
import { recoverAuthorizationAddress as B } from "./index81.js";
|
|
5
|
+
import { assertCurrentChain as O } from "./index155.js";
|
|
6
|
+
import { getTransactionError as U } from "./index137.js";
|
|
7
|
+
import { extract as W } from "./index59.js";
|
|
8
|
+
import { formatTransactionRequest as j } from "./index60.js";
|
|
9
|
+
import { getAction as f } from "./index43.js";
|
|
10
|
+
import { LruMap as k } from "./index156.js";
|
|
11
|
+
import { assertRequest as D } from "./index63.js";
|
|
12
|
+
import { getChainId as H } from "./index91.js";
|
|
13
|
+
import { prepareTransactionRequest as J, defaultParameters as K } from "./index83.js";
|
|
14
|
+
import { sendRawTransaction as Q } from "./index157.js";
|
|
15
|
+
const h = new k(128);
|
|
16
|
+
async function dr(t, o) {
|
|
17
|
+
var M, z, A, F;
|
|
18
|
+
const { account: d = t.account, chain: e = t.chain, accessList: w, authorizationList: s, blobs: l, data: y, gas: T, gasPrice: g, maxFeePerBlobGas: R, maxFeePerGas: E, maxPriorityFeePerGas: q, nonce: P, value: C, ...N } = o;
|
|
19
|
+
if (typeof d > "u")
|
|
20
|
+
throw new _({
|
|
21
|
+
docsPath: "/docs/actions/wallet/sendTransaction"
|
|
22
|
+
});
|
|
23
|
+
const r = d ? S(d) : null;
|
|
24
|
+
try {
|
|
25
|
+
D(o);
|
|
26
|
+
const a = await (async () => {
|
|
27
|
+
if (o.to)
|
|
28
|
+
return o.to;
|
|
29
|
+
if (o.to !== null && s && s.length > 0)
|
|
30
|
+
return await B({
|
|
31
|
+
authorization: s[0]
|
|
32
|
+
}).catch(() => {
|
|
33
|
+
throw new G("`to` is required. Could not infer from `authorizationList`.");
|
|
34
|
+
});
|
|
35
|
+
})();
|
|
36
|
+
if ((r == null ? void 0 : r.type) === "json-rpc" || r === null) {
|
|
37
|
+
let i;
|
|
38
|
+
e !== null && (i = await f(t, H, "getChainId")({}), O({
|
|
39
|
+
currentChainId: i,
|
|
40
|
+
chain: e
|
|
41
|
+
}));
|
|
42
|
+
const c = (A = (z = (M = t.chain) == null ? void 0 : M.formatters) == null ? void 0 : z.transactionRequest) == null ? void 0 : A.format, x = (c || j)({
|
|
43
|
+
// Pick out extra data that might exist on the chain's transaction request type.
|
|
44
|
+
...W(N, { format: c }),
|
|
45
|
+
accessList: w,
|
|
46
|
+
authorizationList: s,
|
|
47
|
+
blobs: l,
|
|
48
|
+
chainId: i,
|
|
49
|
+
data: y,
|
|
50
|
+
from: r == null ? void 0 : r.address,
|
|
51
|
+
gas: T,
|
|
52
|
+
gasPrice: g,
|
|
53
|
+
maxFeePerBlobGas: R,
|
|
54
|
+
maxFeePerGas: E,
|
|
55
|
+
maxPriorityFeePerGas: q,
|
|
56
|
+
nonce: P,
|
|
57
|
+
to: a,
|
|
58
|
+
value: C
|
|
59
|
+
}), b = h.get(t.uid), L = b ? "wallet_sendTransaction" : "eth_sendTransaction";
|
|
60
|
+
try {
|
|
61
|
+
return await t.request({
|
|
62
|
+
method: L,
|
|
63
|
+
params: [x]
|
|
64
|
+
}, { retryCount: 0 });
|
|
65
|
+
} catch (v) {
|
|
66
|
+
if (b === !1)
|
|
67
|
+
throw v;
|
|
68
|
+
const n = v;
|
|
69
|
+
if (n.name === "InvalidInputRpcError" || n.name === "InvalidParamsRpcError" || n.name === "MethodNotFoundRpcError" || n.name === "MethodNotSupportedRpcError")
|
|
70
|
+
return await t.request({
|
|
71
|
+
method: "wallet_sendTransaction",
|
|
72
|
+
params: [x]
|
|
73
|
+
}, { retryCount: 0 }).then((m) => (h.set(t.uid, !0), m)).catch((m) => {
|
|
74
|
+
const u = m;
|
|
75
|
+
throw u.name === "MethodNotFoundRpcError" || u.name === "MethodNotSupportedRpcError" ? (h.set(t.uid, !1), n) : u;
|
|
76
|
+
});
|
|
77
|
+
throw n;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if ((r == null ? void 0 : r.type) === "local") {
|
|
81
|
+
const i = await f(t, J, "prepareTransactionRequest")({
|
|
82
|
+
account: r,
|
|
83
|
+
accessList: w,
|
|
84
|
+
authorizationList: s,
|
|
85
|
+
blobs: l,
|
|
86
|
+
chain: e,
|
|
87
|
+
data: y,
|
|
88
|
+
gas: T,
|
|
89
|
+
gasPrice: g,
|
|
90
|
+
maxFeePerBlobGas: R,
|
|
91
|
+
maxFeePerGas: E,
|
|
92
|
+
maxPriorityFeePerGas: q,
|
|
93
|
+
nonce: P,
|
|
94
|
+
nonceManager: r.nonceManager,
|
|
95
|
+
parameters: [...K, "sidecars"],
|
|
96
|
+
value: C,
|
|
97
|
+
...N,
|
|
98
|
+
to: a
|
|
99
|
+
}), c = (F = e == null ? void 0 : e.serializers) == null ? void 0 : F.transaction, I = await r.signTransaction(i, {
|
|
100
|
+
serializer: c
|
|
101
|
+
});
|
|
102
|
+
return await f(t, Q, "sendRawTransaction")({
|
|
103
|
+
serializedTransaction: I
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
throw (r == null ? void 0 : r.type) === "smart" ? new p({
|
|
107
|
+
metaMessages: [
|
|
108
|
+
"Consider using the `sendUserOperation` Action instead."
|
|
109
|
+
],
|
|
110
|
+
docsPath: "/docs/actions/bundler/sendUserOperation",
|
|
111
|
+
type: "smart"
|
|
112
|
+
}) : new p({
|
|
113
|
+
docsPath: "/docs/actions/wallet/sendTransaction",
|
|
114
|
+
type: r == null ? void 0 : r.type
|
|
115
|
+
});
|
|
116
|
+
} catch (a) {
|
|
117
|
+
throw a instanceof p ? a : U(a, {
|
|
118
|
+
...o,
|
|
119
|
+
account: r,
|
|
120
|
+
chain: o.chain || void 0
|
|
121
|
+
});
|
|
122
|
+
}
|
|
13
123
|
}
|
|
14
124
|
export {
|
|
15
|
-
|
|
125
|
+
dr as sendTransaction
|
|
16
126
|
};
|
package/dist/index34.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 a=require("./index21.cjs"),q=require("./index35.cjs"),R=require("./index36.cjs"),b=require("./index37.cjs"),m=require("./index38.cjs"),y=require("./index30.cjs"),C=require("./index39.cjs"),w=require("./index40.cjs"),i=require("./index41.cjs"),B=require("./index42.cjs"),T=require("./index43.cjs"),x=require("./index44.cjs");async function N(c,s){const{blockNumber:u,blockTag:v,coinType:n,name:r,gatewayUrls:g,strict:h}=s,{chain:t}=c,f=(()=>{if(s.universalResolverAddress)return s.universalResolverAddress;if(!t)throw new Error("client chain not configured. universalResolverAddress is required.");return b.getChainContractAddress({blockNumber:u,chain:t,contract:"ensUniversalResolver"})})(),d=t==null?void 0:t.ensTlds;if(d&&!d.some(e=>r.endsWith(e)))return null;try{const e=R.encodeFunctionData({abi:a.addressResolverAbi,functionName:"addr",...n!=null?{args:[i.namehash(r),BigInt(n)]}:{args:[i.namehash(r)]}}),A={address:f,abi:a.universalResolverResolveAbi,functionName:"resolve",args:[y.toHex(B.packetToBytes(r)),e,g??[w.localBatchGatewayUrl]],blockNumber:u,blockTag:v},l=await T.getAction(c,x.readContract,"readContract")(A);if(l[0]==="0x")return null;const o=q.decodeFunctionResult({abi:a.addressResolverAbi,args:n!=null?[i.namehash(r),BigInt(n)]:void 0,functionName:"addr",data:l[0]});return o==="0x"||m.trim(o)==="0x00"?null:o}catch(e){if(h)throw e;if(C.isNullUniversalResolverError(e,"resolve"))return null;throw e}}exports.getEnsAddress=N;
|
package/dist/index34.js
CHANGED
|
@@ -1,18 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} :
|
|
1
|
+
import { addressResolverAbi as u, universalResolverResolveAbi as A } from "./index21.js";
|
|
2
|
+
import { decodeFunctionResult as R } from "./index35.js";
|
|
3
|
+
import { encodeFunctionData as h } from "./index36.js";
|
|
4
|
+
import { getChainContractAddress as b } from "./index37.js";
|
|
5
|
+
import { trim as w } from "./index38.js";
|
|
6
|
+
import { toHex as C } from "./index30.js";
|
|
7
|
+
import { isNullUniversalResolverError as y } from "./index39.js";
|
|
8
|
+
import { localBatchGatewayUrl as x } from "./index40.js";
|
|
9
|
+
import { namehash as i } from "./index41.js";
|
|
10
|
+
import { packetToBytes as N } from "./index42.js";
|
|
11
|
+
import { getAction as B } from "./index43.js";
|
|
12
|
+
import { readContract as T } from "./index44.js";
|
|
13
|
+
async function J(a, n) {
|
|
14
|
+
const { blockNumber: l, blockTag: m, coinType: o, name: e, gatewayUrls: f, strict: v } = n, { chain: t } = a, p = (() => {
|
|
15
|
+
if (n.universalResolverAddress)
|
|
16
|
+
return n.universalResolverAddress;
|
|
17
|
+
if (!t)
|
|
18
|
+
throw new Error("client chain not configured. universalResolverAddress is required.");
|
|
19
|
+
return b({
|
|
20
|
+
blockNumber: l,
|
|
21
|
+
chain: t,
|
|
22
|
+
contract: "ensUniversalResolver"
|
|
23
|
+
});
|
|
24
|
+
})(), c = t == null ? void 0 : t.ensTlds;
|
|
25
|
+
if (c && !c.some((r) => e.endsWith(r)))
|
|
26
|
+
return null;
|
|
27
|
+
try {
|
|
28
|
+
const r = h({
|
|
29
|
+
abi: u,
|
|
30
|
+
functionName: "addr",
|
|
31
|
+
...o != null ? { args: [i(e), BigInt(o)] } : { args: [i(e)] }
|
|
32
|
+
}), g = {
|
|
33
|
+
address: p,
|
|
34
|
+
abi: A,
|
|
35
|
+
functionName: "resolve",
|
|
36
|
+
args: [
|
|
37
|
+
C(N(e)),
|
|
38
|
+
r,
|
|
39
|
+
f ?? [x]
|
|
40
|
+
],
|
|
41
|
+
blockNumber: l,
|
|
42
|
+
blockTag: m
|
|
43
|
+
}, d = await B(a, T, "readContract")(g);
|
|
44
|
+
if (d[0] === "0x")
|
|
45
|
+
return null;
|
|
46
|
+
const s = R({
|
|
47
|
+
abi: u,
|
|
48
|
+
args: o != null ? [i(e), BigInt(o)] : void 0,
|
|
49
|
+
functionName: "addr",
|
|
50
|
+
data: d[0]
|
|
51
|
+
});
|
|
52
|
+
return s === "0x" || w(s) === "0x00" ? null : s;
|
|
53
|
+
} catch (r) {
|
|
54
|
+
if (v)
|
|
55
|
+
throw r;
|
|
56
|
+
if (y(r, "resolve"))
|
|
57
|
+
return null;
|
|
58
|
+
throw r;
|
|
59
|
+
}
|
|
15
60
|
}
|
|
16
61
|
export {
|
|
17
|
-
|
|
62
|
+
J as getEnsAddress
|
|
18
63
|
};
|
package/dist/index35.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index112.cjs"),a=require("./index213.cjs"),b=require("./index94.cjs"),i="/docs/contract/decodeFunctionResult";function f(c){const{abi:r,args:d,functionName:n,data:s}=c;let e=r[0];if(n){const u=b.getAbiItem({abi:r,args:d,name:n});if(!u)throw new o.AbiFunctionNotFoundError(n,{docsPath:i});e=u}if(e.type!=="function")throw new o.AbiFunctionNotFoundError(void 0,{docsPath:i});if(!e.outputs)throw new o.AbiFunctionOutputsNotFoundError(e.name,{docsPath:i});const t=a.decodeAbiParameters(e.outputs,s);if(t&&t.length>1)return t;if(t&&t.length===1)return t[0]}exports.decodeFunctionResult=f;
|
package/dist/index35.js
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { AbiFunctionNotFoundError as u, AbiFunctionOutputsNotFoundError as s } from "./index112.js";
|
|
2
|
+
import { decodeAbiParameters as a } from "./index213.js";
|
|
3
|
+
import { getAbiItem as m } from "./index94.js";
|
|
4
|
+
const e = "/docs/contract/decodeFunctionResult";
|
|
5
|
+
function l(c) {
|
|
6
|
+
const { abi: r, args: d, functionName: o, data: f } = c;
|
|
7
|
+
let n = r[0];
|
|
8
|
+
if (o) {
|
|
9
|
+
const i = m({ abi: r, args: d, name: o });
|
|
10
|
+
if (!i)
|
|
11
|
+
throw new u(o, { docsPath: e });
|
|
12
|
+
n = i;
|
|
13
|
+
}
|
|
14
|
+
if (n.type !== "function")
|
|
15
|
+
throw new u(void 0, { docsPath: e });
|
|
16
|
+
if (!n.outputs)
|
|
17
|
+
throw new s(n.name, { docsPath: e });
|
|
18
|
+
const t = a(n.outputs, f);
|
|
19
|
+
if (t && t.length > 1)
|
|
20
|
+
return t;
|
|
21
|
+
if (t && t.length === 1)
|
|
22
|
+
return t[0];
|
|
5
23
|
}
|
|
6
24
|
export {
|
|
7
|
-
|
|
25
|
+
l as decodeFunctionResult
|
|
8
26
|
};
|
package/dist/index36.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 r=require("./index212.cjs"),s=require("./index217.cjs"),d=require("./index226.cjs");function b(n){const{args:c}=n,{abi:o,functionName:i}=(()=>{var e;return n.abi.length===1&&((e=n.functionName)!=null&&e.startsWith("0x"))?n:d.prepareEncodeFunctionData(n)})(),t=o[0],u=i,a="inputs"in t&&t.inputs?s.encodeAbiParameters(t.inputs,c??[]):void 0;return r.concatHex([u,a??"0x"])}exports.encodeFunctionData=b;
|
package/dist/index36.js
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
privateKey: a
|
|
11
|
-
});
|
|
12
|
-
return i(r, s);
|
|
1
|
+
import { concatHex as a } from "./index212.js";
|
|
2
|
+
import { encodeAbiParameters as s } from "./index217.js";
|
|
3
|
+
import { prepareEncodeFunctionData as f } from "./index226.js";
|
|
4
|
+
function b(n) {
|
|
5
|
+
const { args: i } = n, { abi: c, functionName: e } = (() => {
|
|
6
|
+
var o;
|
|
7
|
+
return n.abi.length === 1 && ((o = n.functionName) != null && o.startsWith("0x")) ? n : f(n);
|
|
8
|
+
})(), t = c[0], u = e, r = "inputs" in t && t.inputs ? s(t.inputs, i ?? []) : void 0;
|
|
9
|
+
return a([u, r ?? "0x"]);
|
|
13
10
|
}
|
|
14
11
|
export {
|
|
15
|
-
|
|
12
|
+
b as encodeFunctionData
|
|
16
13
|
};
|
package/dist/index37.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index56.cjs");function a({blockNumber:r,chain:t,contract:e}){var c;const o=(c=t==null?void 0:t.contracts)==null?void 0:c[e];if(!o)throw new n.ChainDoesNotSupportContract({chain:t,contract:{name:e}});if(r&&o.blockCreated&&o.blockCreated>r)throw new n.ChainDoesNotSupportContract({blockNumber:r,chain:t,contract:{name:e,blockCreated:o.blockCreated}});return o.address}exports.getChainContractAddress=a;
|
package/dist/index37.js
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { ChainDoesNotSupportContract as d } from "./index56.js";
|
|
2
|
+
function n({ blockNumber: r, chain: t, contract: e }) {
|
|
3
|
+
var c;
|
|
4
|
+
const o = (c = t == null ? void 0 : t.contracts) == null ? void 0 : c[e];
|
|
5
|
+
if (!o)
|
|
6
|
+
throw new d({
|
|
7
|
+
chain: t,
|
|
8
|
+
contract: { name: e }
|
|
9
|
+
});
|
|
10
|
+
if (r && o.blockCreated && o.blockCreated > r)
|
|
11
|
+
throw new d({
|
|
12
|
+
blockNumber: r,
|
|
13
|
+
chain: t,
|
|
14
|
+
contract: {
|
|
15
|
+
name: e,
|
|
16
|
+
blockCreated: o.blockCreated
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
return o.address;
|
|
10
20
|
}
|
|
11
21
|
export {
|
|
12
|
-
|
|
22
|
+
n as getChainContractAddress
|
|
13
23
|
};
|
package/dist/index38.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function g(e,{dir:i="left"}={}){let t=typeof e=="string"?e.replace("0x",""):e,n=0;for(let l=0;l<t.length-1&&t[i==="left"?l:t.length-l-1].toString()==="0";l++)n++;return t=i==="left"?t.slice(n):t.slice(0,t.length-n),typeof e=="string"?(t.length===1&&i==="right"&&(t=`${t}0`),`0x${t.length%2===1?`0${t}`:t}`):t}exports.trim=g;
|
package/dist/index38.js
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"- Address must be a hex value of 20 bytes (40 hex characters).",
|
|
7
|
-
"- Address must match its checksum counterpart."
|
|
8
|
-
],
|
|
9
|
-
name: "InvalidAddressError"
|
|
10
|
-
});
|
|
11
|
-
}
|
|
1
|
+
function f(e, { dir: n = "left" } = {}) {
|
|
2
|
+
let t = typeof e == "string" ? e.replace("0x", "") : e, i = 0;
|
|
3
|
+
for (let l = 0; l < t.length - 1 && t[n === "left" ? l : t.length - l - 1].toString() === "0"; l++)
|
|
4
|
+
i++;
|
|
5
|
+
return t = n === "left" ? t.slice(i) : t.slice(0, t.length - i), typeof e == "string" ? (t.length === 1 && n === "right" && (t = `${t}0`), `0x${t.length % 2 === 1 ? `0${t}` : t}`) : t;
|
|
12
6
|
}
|
|
13
7
|
export {
|
|
14
|
-
|
|
8
|
+
f as trim
|
|
15
9
|
};
|
package/dist/index39.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 d=require("./index194.cjs"),f=require("./index55.cjs"),i=require("./index57.cjs");function v(e,l){var t,o,n,a,s,u;if(!(e instanceof f.BaseError))return!1;const r=e.walk(c=>c instanceof i.ContractFunctionRevertedError);return r instanceof i.ContractFunctionRevertedError?!!(((t=r.data)==null?void 0:t.errorName)==="ResolverNotFound"||((o=r.data)==null?void 0:o.errorName)==="ResolverWildcardNotSupported"||((n=r.data)==null?void 0:n.errorName)==="ResolverNotContract"||((a=r.data)==null?void 0:a.errorName)==="ResolverError"||((s=r.data)==null?void 0:s.errorName)==="HttpError"||(u=r.reason)!=null&&u.includes("Wildcard on non-extended resolvers is not supported")||l==="reverse"&&r.reason===d.panicReasons[50]):!1}exports.isNullUniversalResolverError=v;
|
package/dist/index39.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
if (
|
|
7
|
-
return
|
|
8
|
-
const
|
|
9
|
-
return r.
|
|
1
|
+
import { panicReasons as l } from "./index194.js";
|
|
2
|
+
import { BaseError as c } from "./index55.js";
|
|
3
|
+
import { ContractFunctionRevertedError as i } from "./index57.js";
|
|
4
|
+
function N(e, f) {
|
|
5
|
+
var t, o, n, a, s, u;
|
|
6
|
+
if (!(e instanceof c))
|
|
7
|
+
return !1;
|
|
8
|
+
const r = e.walk((d) => d instanceof i);
|
|
9
|
+
return r instanceof i ? !!(((t = r.data) == null ? void 0 : t.errorName) === "ResolverNotFound" || ((o = r.data) == null ? void 0 : o.errorName) === "ResolverWildcardNotSupported" || ((n = r.data) == null ? void 0 : n.errorName) === "ResolverNotContract" || ((a = r.data) == null ? void 0 : a.errorName) === "ResolverError" || ((s = r.data) == null ? void 0 : s.errorName) === "HttpError" || (u = r.reason) != null && u.includes("Wildcard on non-extended resolvers is not supported") || f === "reverse" && r.reason === l[50]) : !1;
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
r as isAddressCache
|
|
12
|
+
N as isNullUniversalResolverError
|
|
14
13
|
};
|
package/dist/index40.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 r=require("./index21.cjs"),y=require("./index194.cjs"),d=require("./index221.cjs"),c=require("./index225.cjs"),b=require("./index227.cjs"),h="x-batch-gateway:true";async function q(e){const{data:o,ccipRequest:n}=e,{args:[u]}=d.decodeFunctionData({abi:r.batchGatewayAbi,data:o}),a=[],s=[];return await Promise.all(u.map(async(i,t)=>{try{s[t]=await n(i),a[t]=!1}catch(l){a[t]=!0,s[t]=g(l)}})),b.encodeFunctionResult({abi:r.batchGatewayAbi,functionName:"query",result:[a,s]})}function g(e){return e.name==="HttpRequestError"&&e.status?c.encodeErrorResult({abi:r.batchGatewayAbi,errorName:"HttpError",args:[e.status,e.shortMessage]}):c.encodeErrorResult({abi:[y.solidityError],errorName:"Error",args:["shortMessage"in e?e.shortMessage:e.message]})}exports.localBatchGatewayRequest=q;exports.localBatchGatewayUrl=h;
|
package/dist/index40.js
CHANGED
|
@@ -1,16 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { batchGatewayAbi as s } from "./index21.js";
|
|
2
|
+
import { solidityError as l } from "./index194.js";
|
|
3
|
+
import { decodeFunctionData as f } from "./index221.js";
|
|
4
|
+
import { encodeErrorResult as o } from "./index225.js";
|
|
5
|
+
import { encodeFunctionResult as p } from "./index227.js";
|
|
6
|
+
const E = "x-batch-gateway:true";
|
|
7
|
+
async function q(t) {
|
|
8
|
+
const { data: c, ccipRequest: n } = t, { args: [i] } = f({ abi: s, data: c }), e = [], r = [];
|
|
9
|
+
return await Promise.all(i.map(async (u, a) => {
|
|
10
|
+
try {
|
|
11
|
+
r[a] = await n(u), e[a] = !1;
|
|
12
|
+
} catch (m) {
|
|
13
|
+
e[a] = !0, r[a] = y(m);
|
|
14
|
+
}
|
|
15
|
+
})), p({
|
|
16
|
+
abi: s,
|
|
17
|
+
functionName: "query",
|
|
18
|
+
result: [e, r]
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function y(t) {
|
|
22
|
+
return t.name === "HttpRequestError" && t.status ? o({
|
|
23
|
+
abi: s,
|
|
24
|
+
errorName: "HttpError",
|
|
25
|
+
args: [t.status, t.shortMessage]
|
|
26
|
+
}) : o({
|
|
27
|
+
abi: [l],
|
|
28
|
+
errorName: "Error",
|
|
29
|
+
args: ["shortMessage" in t ? t.shortMessage : t.message]
|
|
30
|
+
});
|
|
13
31
|
}
|
|
14
32
|
export {
|
|
15
|
-
|
|
33
|
+
q as localBatchGatewayRequest,
|
|
34
|
+
E as localBatchGatewayUrl
|
|
16
35
|
};
|
package/dist/index41.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 i=require("./index212.cjs"),n=require("./index209.cjs"),r=require("./index30.cjs"),a=require("./index210.cjs"),h=require("./index211.cjs");function b(s){let e=new Uint8Array(32).fill(0);if(!s)return r.bytesToHex(e);const o=s.split(".");for(let t=o.length-1;t>=0;t-=1){const c=h.encodedLabelToLabelhash(o[t]),l=c?n.toBytes(c):a.keccak256(n.stringToBytes(o[t]),"bytes");e=a.keccak256(i.concat([e,l]),"bytes")}return r.bytesToHex(e)}exports.namehash=b;
|