@layerzerolabs/vm-tooling 0.2.5 → 0.2.7

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.
Files changed (339) hide show
  1. package/dist/22DCFDRO.js +6 -0
  2. package/dist/{6QZPR4XG.js.map → 22DCFDRO.js.map} +1 -1
  3. package/dist/24NWZBNF.cjs +8 -0
  4. package/dist/{Z253B63X.cjs.map → 24NWZBNF.cjs.map} +1 -1
  5. package/dist/{U7VZULNU.cjs → 24WEKBY3.cjs} +5 -12
  6. package/dist/24WEKBY3.cjs.map +1 -0
  7. package/dist/{6MCEHW2U.cjs → 2HHN5KHW.cjs} +304 -286
  8. package/dist/2HHN5KHW.cjs.map +1 -0
  9. package/dist/{Y27GTZ2Q.js → 2MUIAEPQ.js} +4 -4
  10. package/dist/{Y27GTZ2Q.js.map → 2MUIAEPQ.js.map} +1 -1
  11. package/dist/{7WVEMAKW.cjs → 3NXVR3DC.cjs} +5 -5
  12. package/dist/{7WVEMAKW.cjs.map → 3NXVR3DC.cjs.map} +1 -1
  13. package/dist/{HMP4FGDB.cjs → 3TIEGVTO.cjs} +81 -83
  14. package/dist/3TIEGVTO.cjs.map +1 -0
  15. package/dist/{VLSIEZLM.js → 3V7HWCTZ.js} +68 -19
  16. package/dist/3V7HWCTZ.js.map +1 -0
  17. package/dist/{YIS2J6NC.js → 3YN24Z7J.js} +54 -11
  18. package/dist/3YN24Z7J.js.map +1 -0
  19. package/dist/427QOV7V.js +348 -0
  20. package/dist/427QOV7V.js.map +1 -0
  21. package/dist/4DNHANRV.cjs +39 -0
  22. package/dist/4DNHANRV.cjs.map +1 -0
  23. package/dist/{S37YVMJL.js → 4ZP6FU3S.js} +22 -10
  24. package/dist/4ZP6FU3S.js.map +1 -0
  25. package/dist/{55HL3CFD.js → 5CA2MJIS.js} +7 -7
  26. package/dist/5CA2MJIS.js.map +1 -0
  27. package/dist/{LH4V3GFX.cjs → 5JOTEX2K.cjs} +19 -20
  28. package/dist/5JOTEX2K.cjs.map +1 -0
  29. package/dist/{4RNWLMHM.js → 6AHA7PAZ.js} +8 -13
  30. package/dist/6AHA7PAZ.js.map +1 -0
  31. package/dist/6TADYYIQ.js +175 -0
  32. package/dist/6TADYYIQ.js.map +1 -0
  33. package/dist/7AUJV34E.cjs +144 -0
  34. package/dist/7AUJV34E.cjs.map +1 -0
  35. package/dist/7JWBGU62.js +141 -0
  36. package/dist/7JWBGU62.js.map +1 -0
  37. package/dist/{IWNVWC3I.js → 7XVJ6B7B.js} +3 -3
  38. package/dist/{IWNVWC3I.js.map → 7XVJ6B7B.js.map} +1 -1
  39. package/dist/{LNCARCBD.cjs → ALYR25XX.cjs} +4 -4
  40. package/dist/{LNCARCBD.cjs.map → ALYR25XX.cjs.map} +1 -1
  41. package/dist/{3YHRHIKS.js → AUN5HLEO.js} +6 -6
  42. package/dist/{3YHRHIKS.js.map → AUN5HLEO.js.map} +1 -1
  43. package/dist/{EDWLY6YP.js → AZ72HVYT.js} +6 -7
  44. package/dist/AZ72HVYT.js.map +1 -0
  45. package/dist/{FL2DFW3Y.js → BAPGOHFS.js} +10 -9
  46. package/dist/BAPGOHFS.js.map +1 -0
  47. package/dist/{LF6BYBZY.js → BBFGL4TE.js} +6 -6
  48. package/dist/{LF6BYBZY.js.map → BBFGL4TE.js.map} +1 -1
  49. package/dist/{ORWR6LWW.js → BLS3LKLJ.js} +3 -3
  50. package/dist/{ORWR6LWW.js.map → BLS3LKLJ.js.map} +1 -1
  51. package/dist/{BRSAP7LG.cjs → BMCP2GAK.cjs} +23 -23
  52. package/dist/{BRSAP7LG.cjs.map → BMCP2GAK.cjs.map} +1 -1
  53. package/dist/{SHJCZ6NL.cjs → BWHCSCR3.cjs} +153 -147
  54. package/dist/BWHCSCR3.cjs.map +1 -0
  55. package/dist/{KSZMBVFB.cjs → BWZQ2EK3.cjs} +25 -5
  56. package/dist/BWZQ2EK3.cjs.map +1 -0
  57. package/dist/{BTXB2LKA.js → C3MB52UB.js} +5 -5
  58. package/dist/{BTXB2LKA.js.map → C3MB52UB.js.map} +1 -1
  59. package/dist/{ZD3LAY33.cjs → C7XQ4J6P.cjs} +18 -18
  60. package/dist/{ZD3LAY33.cjs.map → C7XQ4J6P.cjs.map} +1 -1
  61. package/dist/{D3JHHTB6.js → CFH3LMNQ.js} +24 -4
  62. package/dist/CFH3LMNQ.js.map +1 -0
  63. package/dist/{DB5GRF5K.cjs → D4JJRRKM.cjs} +7 -7
  64. package/dist/{DB5GRF5K.cjs.map → D4JJRRKM.cjs.map} +1 -1
  65. package/dist/DDKMZ6EE.js +6 -0
  66. package/dist/DDKMZ6EE.js.map +1 -0
  67. package/dist/{HCY4ASBG.js → DJEOCSEX.js} +10 -10
  68. package/dist/{HCY4ASBG.js.map → DJEOCSEX.js.map} +1 -1
  69. package/dist/{36UU6CJU.cjs → DMYPP6MX.cjs} +13 -13
  70. package/dist/{36UU6CJU.cjs.map → DMYPP6MX.cjs.map} +1 -1
  71. package/dist/E2R2CEJX.js +6 -0
  72. package/dist/{6YTOLRHQ.js.map → E2R2CEJX.js.map} +1 -1
  73. package/dist/{VPSZX4TV.cjs → EPZMMJJM.cjs} +8 -8
  74. package/dist/{VPSZX4TV.cjs.map → EPZMMJJM.cjs.map} +1 -1
  75. package/dist/{NDUVZQ7S.js → ERGNNQ6N.js} +3 -3
  76. package/dist/{NDUVZQ7S.js.map → ERGNNQ6N.js.map} +1 -1
  77. package/dist/{AMF2EES3.cjs → EUBM3LSR.cjs} +42 -27
  78. package/dist/EUBM3LSR.cjs.map +1 -0
  79. package/dist/{VZOUGVXS.cjs → FBKCEQT5.cjs} +58 -15
  80. package/dist/FBKCEQT5.cjs.map +1 -0
  81. package/dist/FDH37YWR.cjs +52 -0
  82. package/dist/FDH37YWR.cjs.map +1 -0
  83. package/dist/{HN3U775J.cjs → FQPOYRQJ.cjs} +10 -10
  84. package/dist/{HN3U775J.cjs.map → FQPOYRQJ.cjs.map} +1 -1
  85. package/dist/GFH6WSFW.cjs +8 -0
  86. package/dist/{IDMMHZJ3.cjs.map → GFH6WSFW.cjs.map} +1 -1
  87. package/dist/{XM743A75.js → GGKJNPTT.js} +22 -7
  88. package/dist/GGKJNPTT.js.map +1 -0
  89. package/dist/{ELFNCT57.js → GHQS37WK.js} +57 -41
  90. package/dist/GHQS37WK.js.map +1 -0
  91. package/dist/GVS7FGYI.cjs +49 -0
  92. package/dist/GVS7FGYI.cjs.map +1 -0
  93. package/dist/{QU36PNBP.cjs → HOYNWNJF.cjs} +7 -7
  94. package/dist/{QU36PNBP.cjs.map → HOYNWNJF.cjs.map} +1 -1
  95. package/dist/{6OU7NCZK.js → HSLJBWIL.js} +18 -18
  96. package/dist/{6OU7NCZK.js.map → HSLJBWIL.js.map} +1 -1
  97. package/dist/I24EDDRD.cjs +30 -0
  98. package/dist/I24EDDRD.cjs.map +1 -0
  99. package/dist/IYIFH7LC.js +29 -0
  100. package/dist/IYIFH7LC.js.map +1 -0
  101. package/dist/{AOG2M3LV.cjs → J2A64VZU.js} +25 -4
  102. package/dist/J2A64VZU.js.map +1 -0
  103. package/dist/{4CTWHZA4.cjs → JBC3ZG3F.cjs} +13 -13
  104. package/dist/{4CTWHZA4.cjs.map → JBC3ZG3F.cjs.map} +1 -1
  105. package/dist/JFZ5X2XX.cjs +8 -0
  106. package/dist/{S3PHE6F2.cjs.map → JFZ5X2XX.cjs.map} +1 -1
  107. package/dist/{XCMLC6HI.js → JGQER3LN.js} +1308 -1213
  108. package/dist/JGQER3LN.js.map +1 -0
  109. package/dist/{35BIBLTE.js → JS23ECRN.js} +34 -16
  110. package/dist/JS23ECRN.js.map +1 -0
  111. package/dist/{SV3LGPR3.js → LHW2PX7Q.js} +6 -6
  112. package/dist/{SV3LGPR3.js.map → LHW2PX7Q.js.map} +1 -1
  113. package/dist/{LUG7USNZ.js → MDE37STN.cjs} +29 -3
  114. package/dist/MDE37STN.cjs.map +1 -0
  115. package/dist/{OANFSFAO.js → N374V2RK.js} +15 -15
  116. package/dist/{OANFSFAO.js.map → N374V2RK.js.map} +1 -1
  117. package/dist/N75TYAV7.cjs +17 -0
  118. package/dist/{GJ24YLYE.cjs.map → N75TYAV7.cjs.map} +1 -1
  119. package/dist/{362ZLRXL.js → NE2GC3QQ.js} +5 -5
  120. package/dist/{362ZLRXL.js.map → NE2GC3QQ.js.map} +1 -1
  121. package/dist/{H7LPHZJT.js → NJHTTAZO.js} +8 -9
  122. package/dist/NJHTTAZO.js.map +1 -0
  123. package/dist/{FQUILSS5.js → NMDQTUBH.js} +6 -6
  124. package/dist/{FQUILSS5.js.map → NMDQTUBH.js.map} +1 -1
  125. package/dist/OBHJ2FSI.cjs +103 -0
  126. package/dist/OBHJ2FSI.cjs.map +1 -0
  127. package/dist/{ACDTMA6Q.cjs → OIQNGJJN.cjs} +15 -15
  128. package/dist/OIQNGJJN.cjs.map +1 -0
  129. package/dist/{FOFSZBOK.cjs → PGNYV6JB.cjs} +27 -27
  130. package/dist/{FOFSZBOK.cjs.map → PGNYV6JB.cjs.map} +1 -1
  131. package/dist/{5CI7X2D4.js → PQ4H7UWU.js} +5 -5
  132. package/dist/{5CI7X2D4.js.map → PQ4H7UWU.js.map} +1 -1
  133. package/dist/{F35TPZS3.js → PRZAVZZK.js} +9 -4
  134. package/dist/PRZAVZZK.js.map +1 -0
  135. package/dist/Q5L3QIKZ.cjs +825 -0
  136. package/dist/Q5L3QIKZ.cjs.map +1 -0
  137. package/dist/{GLJJOBCM.js → QBBWWA5T.js} +22 -16
  138. package/dist/QBBWWA5T.js.map +1 -0
  139. package/dist/QBO6KNUH.cjs +182 -0
  140. package/dist/QBO6KNUH.cjs.map +1 -0
  141. package/dist/{P5BPMTGP.cjs → QEUMSA6O.cjs} +90 -74
  142. package/dist/QEUMSA6O.cjs.map +1 -0
  143. package/dist/QHFDWPE3.js +28 -0
  144. package/dist/QHFDWPE3.js.map +1 -0
  145. package/dist/{M6KBN6B2.cjs → RX6UCCGP.cjs} +8 -8
  146. package/dist/{M6KBN6B2.cjs.map → RX6UCCGP.cjs.map} +1 -1
  147. package/dist/{L2LY6RIT.cjs → S5MXARAC.cjs} +10 -10
  148. package/dist/{L2LY6RIT.cjs.map → S5MXARAC.cjs.map} +1 -1
  149. package/dist/{X72XTEFE.js → SVR4SNIY.js} +5 -5
  150. package/dist/{X72XTEFE.js.map → SVR4SNIY.js.map} +1 -1
  151. package/dist/T3GK7LED.cjs +11 -0
  152. package/dist/{YNMZEV5X.cjs.map → T3GK7LED.cjs.map} +1 -1
  153. package/dist/{BVXMXRYL.cjs → TJ323KPL.cjs} +56 -56
  154. package/dist/{BVXMXRYL.cjs.map → TJ323KPL.cjs.map} +1 -1
  155. package/dist/{LMCIXUBF.js → TQHAG73D.js} +9 -43
  156. package/dist/TQHAG73D.js.map +1 -0
  157. package/dist/UFZOOGMQ.js +46 -0
  158. package/dist/UFZOOGMQ.js.map +1 -0
  159. package/dist/UOMNLT53.cjs +33 -0
  160. package/dist/UOMNLT53.cjs.map +1 -0
  161. package/dist/UUMDUUBJ.cjs +194 -0
  162. package/dist/UUMDUUBJ.cjs.map +1 -0
  163. package/dist/V3H2GSUQ.js +6 -0
  164. package/dist/V3H2GSUQ.js.map +1 -0
  165. package/dist/{TNPXNMQM.js → VM366GYK.js} +33 -13
  166. package/dist/VM366GYK.js.map +1 -0
  167. package/dist/{RH2W4KPM.js → WSES6SE2.js} +28 -30
  168. package/dist/WSES6SE2.js.map +1 -0
  169. package/dist/{UKPHRO5A.js → WXRRMF3Z.js} +4 -4
  170. package/dist/{UKPHRO5A.js.map → WXRRMF3Z.js.map} +1 -1
  171. package/dist/{VPKYL66J.cjs → WY7ZZTBQ.cjs} +2235 -2140
  172. package/dist/WY7ZZTBQ.cjs.map +1 -0
  173. package/dist/{6NIOUVPA.cjs → XFDJEDQJ.cjs} +10 -9
  174. package/dist/XFDJEDQJ.cjs.map +1 -0
  175. package/dist/{PUL6NSHI.cjs → XQXZQWDP.cjs} +10 -5
  176. package/dist/XQXZQWDP.cjs.map +1 -0
  177. package/dist/XROMTYOP.js +6 -0
  178. package/dist/{7BFNUKIW.js.map → XROMTYOP.js.map} +1 -1
  179. package/dist/XVWZAEKK.js +807 -0
  180. package/dist/XVWZAEKK.js.map +1 -0
  181. package/dist/Y76LNXBO.cjs +8 -0
  182. package/dist/{CYUSPBTH.cjs.map → Y76LNXBO.cjs.map} +1 -1
  183. package/dist/{ASYXJJD4.cjs → YEYJXWXC.cjs} +213 -213
  184. package/dist/{ASYXJJD4.cjs.map → YEYJXWXC.cjs.map} +1 -1
  185. package/dist/{7ZH64OYR.cjs → YOVSGKIQ.cjs} +1781 -749
  186. package/dist/YOVSGKIQ.cjs.map +1 -0
  187. package/dist/{MQTCD42Y.cjs → YXZATGN6.cjs} +74 -62
  188. package/dist/YXZATGN6.cjs.map +1 -0
  189. package/dist/ZGCH6KFP.cjs +354 -0
  190. package/dist/ZGCH6KFP.cjs.map +1 -0
  191. package/dist/{TXDLSUBD.js → ZQVRXHCJ.js} +1409 -393
  192. package/dist/ZQVRXHCJ.js.map +1 -0
  193. package/dist/commands/aptos.cjs +12 -12
  194. package/dist/commands/aptos.js +11 -11
  195. package/dist/commands/iota.cjs +13 -13
  196. package/dist/commands/iota.js +12 -12
  197. package/dist/commands/starknet.cjs +3 -3
  198. package/dist/commands/starknet.js +2 -2
  199. package/dist/commands/sui.cjs +13 -13
  200. package/dist/commands/sui.js +12 -12
  201. package/dist/commands/utility/sui-like.cjs +12 -12
  202. package/dist/commands/utility/sui-like.js +11 -11
  203. package/dist/config/docker-images.cjs +3 -3
  204. package/dist/config/docker-images.d.ts +21 -0
  205. package/dist/config/docker-images.d.ts.map +1 -1
  206. package/dist/config/docker-images.js +2 -2
  207. package/dist/config/docker-images.test.cjs +11 -11
  208. package/dist/config/docker-images.test.cjs.map +1 -1
  209. package/dist/config/docker-images.test.js +6 -6
  210. package/dist/config/index.cjs +13 -13
  211. package/dist/config/index.js +4 -4
  212. package/dist/config/tools.cjs +7 -7
  213. package/dist/config/tools.js +4 -4
  214. package/dist/config/version-matrices.cjs +3 -3
  215. package/dist/config/version-matrices.d.ts.map +1 -1
  216. package/dist/config/version-matrices.js +2 -2
  217. package/dist/core/index.cjs +12 -12
  218. package/dist/core/index.js +10 -10
  219. package/dist/core/lock.cjs +5 -5
  220. package/dist/core/lock.d.ts.map +1 -1
  221. package/dist/core/lock.js +2 -2
  222. package/dist/core/lock.test.cjs +13 -13
  223. package/dist/core/lock.test.cjs.map +1 -1
  224. package/dist/core/lock.test.js +5 -5
  225. package/dist/core/tool-executor.cjs +10 -10
  226. package/dist/core/tool-executor.js +9 -9
  227. package/dist/core/version-resolver.cjs +6 -6
  228. package/dist/core/version-resolver.js +5 -5
  229. package/dist/display/formatters.cjs +6 -6
  230. package/dist/display/formatters.js +5 -5
  231. package/dist/display/index.cjs +10 -10
  232. package/dist/display/index.js +7 -7
  233. package/dist/display/version-display.cjs +8 -8
  234. package/dist/display/version-display.js +6 -6
  235. package/dist/index.cjs +40 -40
  236. package/dist/index.cjs.map +1 -1
  237. package/dist/index.js +24 -24
  238. package/dist/scripts/generate-github-matrix.cjs +304 -299
  239. package/dist/scripts/generate-github-matrix.cjs.map +1 -1
  240. package/dist/scripts/generate-github-matrix.js +31 -26
  241. package/dist/scripts/generate-github-matrix.js.map +1 -1
  242. package/dist/types/docker.cjs +3 -3
  243. package/dist/types/docker.js +2 -2
  244. package/dist/types/index.cjs +5 -5
  245. package/dist/types/index.js +4 -4
  246. package/dist/types/tool.cjs +2 -2
  247. package/dist/types/tool.js +2 -2
  248. package/dist/utils/docker.cjs +9 -9
  249. package/dist/utils/docker.js +5 -5
  250. package/dist/utils/error.cjs +3 -3
  251. package/dist/utils/error.js +2 -2
  252. package/dist/utils/finder.cjs +12 -12
  253. package/dist/utils/finder.js +4 -4
  254. package/dist/utils/version.cjs +8 -8
  255. package/dist/utils/version.js +4 -4
  256. package/dist/utils.cjs +6 -6
  257. package/dist/utils.js +4 -4
  258. package/package.json +5 -5
  259. package/dist/2AQAGKCU.cjs +0 -39
  260. package/dist/2AQAGKCU.cjs.map +0 -1
  261. package/dist/35BIBLTE.js.map +0 -1
  262. package/dist/4Q36MQI5.js +0 -2665
  263. package/dist/4Q36MQI5.js.map +0 -1
  264. package/dist/4RNWLMHM.js.map +0 -1
  265. package/dist/4SZ6P77Q.cjs +0 -183
  266. package/dist/4SZ6P77Q.cjs.map +0 -1
  267. package/dist/55HL3CFD.js.map +0 -1
  268. package/dist/6MCEHW2U.cjs.map +0 -1
  269. package/dist/6NIOUVPA.cjs.map +0 -1
  270. package/dist/6QZPR4XG.js +0 -6
  271. package/dist/6YTOLRHQ.js +0 -6
  272. package/dist/7BFNUKIW.js +0 -6
  273. package/dist/7R7EZF6Z.js +0 -177
  274. package/dist/7R7EZF6Z.js.map +0 -1
  275. package/dist/7ZH64OYR.cjs.map +0 -1
  276. package/dist/ACDTMA6Q.cjs.map +0 -1
  277. package/dist/AHQNBZE4.cjs +0 -18
  278. package/dist/AHQNBZE4.cjs.map +0 -1
  279. package/dist/AMF2EES3.cjs.map +0 -1
  280. package/dist/AOG2M3LV.cjs.map +0 -1
  281. package/dist/CYUSPBTH.cjs +0 -8
  282. package/dist/D3JHHTB6.js.map +0 -1
  283. package/dist/EDWLY6YP.js.map +0 -1
  284. package/dist/ELFNCT57.js.map +0 -1
  285. package/dist/F35TPZS3.js.map +0 -1
  286. package/dist/F7OAIAEX.cjs +0 -144
  287. package/dist/F7OAIAEX.cjs.map +0 -1
  288. package/dist/FL2DFW3Y.js.map +0 -1
  289. package/dist/GIS4KMDM.js +0 -6
  290. package/dist/GIS4KMDM.js.map +0 -1
  291. package/dist/GJ24YLYE.cjs +0 -17
  292. package/dist/GLJJOBCM.js.map +0 -1
  293. package/dist/GZ7KTF4Q.js +0 -16
  294. package/dist/GZ7KTF4Q.js.map +0 -1
  295. package/dist/H7LPHZJT.js.map +0 -1
  296. package/dist/HMP4FGDB.cjs.map +0 -1
  297. package/dist/IDMMHZJ3.cjs +0 -8
  298. package/dist/JGLHYXTW.cjs +0 -141
  299. package/dist/JGLHYXTW.cjs.map +0 -1
  300. package/dist/KSZMBVFB.cjs.map +0 -1
  301. package/dist/L3JULKNZ.js +0 -6
  302. package/dist/L3JULKNZ.js.map +0 -1
  303. package/dist/LH4V3GFX.cjs.map +0 -1
  304. package/dist/LMCIXUBF.js.map +0 -1
  305. package/dist/LUG7USNZ.js.map +0 -1
  306. package/dist/MQTCD42Y.cjs.map +0 -1
  307. package/dist/OH4A2VLX.js +0 -232
  308. package/dist/OH4A2VLX.js.map +0 -1
  309. package/dist/OT5L7ME6.cjs +0 -2710
  310. package/dist/OT5L7ME6.cjs.map +0 -1
  311. package/dist/OWTMHDOF.cjs +0 -88
  312. package/dist/OWTMHDOF.cjs.map +0 -1
  313. package/dist/P5BPMTGP.cjs.map +0 -1
  314. package/dist/PUL6NSHI.cjs.map +0 -1
  315. package/dist/RH2W4KPM.js.map +0 -1
  316. package/dist/S37YVMJL.js.map +0 -1
  317. package/dist/S3PHE6F2.cjs +0 -8
  318. package/dist/SHJCZ6NL.cjs.map +0 -1
  319. package/dist/TNPXNMQM.js.map +0 -1
  320. package/dist/TTKDG2NN.js +0 -134
  321. package/dist/TTKDG2NN.js.map +0 -1
  322. package/dist/TXDLSUBD.js.map +0 -1
  323. package/dist/U7VZULNU.cjs.map +0 -1
  324. package/dist/VLSIEZLM.js.map +0 -1
  325. package/dist/VPKYL66J.cjs.map +0 -1
  326. package/dist/VZOUGVXS.cjs.map +0 -1
  327. package/dist/WDAYI6EQ.js +0 -61
  328. package/dist/WDAYI6EQ.js.map +0 -1
  329. package/dist/WDSPHVPJ.cjs +0 -234
  330. package/dist/WDSPHVPJ.cjs.map +0 -1
  331. package/dist/WH45T4LS.cjs +0 -83
  332. package/dist/WH45T4LS.cjs.map +0 -1
  333. package/dist/XCMLC6HI.js.map +0 -1
  334. package/dist/XM743A75.js.map +0 -1
  335. package/dist/YIS2J6NC.js.map +0 -1
  336. package/dist/YNMZEV5X.cjs +0 -11
  337. package/dist/Z253B63X.cjs +0 -8
  338. package/dist/ZQFCLTYU.cjs +0 -65
  339. package/dist/ZQFCLTYU.cjs.map +0 -1
@@ -0,0 +1,825 @@
1
+ 'use strict';
2
+
3
+ var FDH37YWR_cjs = require('./FDH37YWR.cjs');
4
+ var _24WEKBY3_cjs = require('./24WEKBY3.cjs');
5
+ var http = require('http');
6
+ var https = require('https');
7
+ var stream = require('stream');
8
+
9
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js
10
+ _24WEKBY3_cjs.init_cjs_shims();
11
+
12
+ // ../../node_modules/.pnpm/@smithy+protocol-http@5.3.5/node_modules/@smithy/protocol-http/dist-es/httpRequest.js
13
+ _24WEKBY3_cjs.init_cjs_shims();
14
+ var HttpRequest = class _HttpRequest {
15
+ static {
16
+ _24WEKBY3_cjs.__name(this, "HttpRequest");
17
+ }
18
+ method;
19
+ protocol;
20
+ hostname;
21
+ port;
22
+ path;
23
+ query;
24
+ headers;
25
+ username;
26
+ password;
27
+ fragment;
28
+ body;
29
+ constructor(options) {
30
+ this.method = options.method || "GET";
31
+ this.hostname = options.hostname || "localhost";
32
+ this.port = options.port;
33
+ this.query = options.query || {};
34
+ this.headers = options.headers || {};
35
+ this.body = options.body;
36
+ this.protocol = options.protocol ? options.protocol.slice(-1) !== ":" ? `${options.protocol}:` : options.protocol : "https:";
37
+ this.path = options.path ? options.path.charAt(0) !== "/" ? `/${options.path}` : options.path : "/";
38
+ this.username = options.username;
39
+ this.password = options.password;
40
+ this.fragment = options.fragment;
41
+ }
42
+ static clone(request) {
43
+ const cloned = new _HttpRequest({
44
+ ...request,
45
+ headers: {
46
+ ...request.headers
47
+ }
48
+ });
49
+ if (cloned.query) {
50
+ cloned.query = cloneQuery(cloned.query);
51
+ }
52
+ return cloned;
53
+ }
54
+ static isInstance(request) {
55
+ if (!request) {
56
+ return false;
57
+ }
58
+ const req = request;
59
+ return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object";
60
+ }
61
+ clone() {
62
+ return _HttpRequest.clone(this);
63
+ }
64
+ };
65
+ function cloneQuery(query) {
66
+ return Object.keys(query).reduce((carry, paramName) => {
67
+ const param = query[paramName];
68
+ return {
69
+ ...carry,
70
+ [paramName]: Array.isArray(param) ? [
71
+ ...param
72
+ ] : param
73
+ };
74
+ }, {});
75
+ }
76
+ _24WEKBY3_cjs.__name(cloneQuery, "cloneQuery");
77
+
78
+ // ../../node_modules/.pnpm/@smithy+protocol-http@5.3.5/node_modules/@smithy/protocol-http/dist-es/httpResponse.js
79
+ _24WEKBY3_cjs.init_cjs_shims();
80
+ var HttpResponse = class {
81
+ static {
82
+ _24WEKBY3_cjs.__name(this, "HttpResponse");
83
+ }
84
+ statusCode;
85
+ reason;
86
+ headers;
87
+ body;
88
+ constructor(options) {
89
+ this.statusCode = options.statusCode;
90
+ this.reason = options.reason;
91
+ this.headers = options.headers || {};
92
+ this.body = options.body;
93
+ }
94
+ static isInstance(response) {
95
+ if (!response) return false;
96
+ const resp = response;
97
+ return typeof resp.statusCode === "number" && typeof resp.headers === "object";
98
+ }
99
+ };
100
+
101
+ // ../../node_modules/.pnpm/@smithy+querystring-builder@4.2.5/node_modules/@smithy/querystring-builder/dist-es/index.js
102
+ _24WEKBY3_cjs.init_cjs_shims();
103
+
104
+ // ../../node_modules/.pnpm/@smithy+util-uri-escape@4.2.0/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js
105
+ _24WEKBY3_cjs.init_cjs_shims();
106
+ var escapeUri = /* @__PURE__ */ _24WEKBY3_cjs.__name((uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode), "escapeUri");
107
+ var hexEncode = /* @__PURE__ */ _24WEKBY3_cjs.__name((c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`, "hexEncode");
108
+
109
+ // ../../node_modules/.pnpm/@smithy+querystring-builder@4.2.5/node_modules/@smithy/querystring-builder/dist-es/index.js
110
+ function buildQueryString(query) {
111
+ const parts = [];
112
+ for (let key of Object.keys(query).sort()) {
113
+ const value = query[key];
114
+ key = escapeUri(key);
115
+ if (Array.isArray(value)) {
116
+ for (let i = 0, iLen = value.length; i < iLen; i++) {
117
+ parts.push(`${key}=${escapeUri(value[i])}`);
118
+ }
119
+ } else {
120
+ let qsEntry = key;
121
+ if (value || typeof value === "string") {
122
+ qsEntry += `=${escapeUri(value)}`;
123
+ }
124
+ parts.push(qsEntry);
125
+ }
126
+ }
127
+ return parts.join("&");
128
+ }
129
+ _24WEKBY3_cjs.__name(buildQueryString, "buildQueryString");
130
+
131
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/constants.js
132
+ _24WEKBY3_cjs.init_cjs_shims();
133
+ var NODEJS_TIMEOUT_ERROR_CODES = [
134
+ "ECONNRESET",
135
+ "EPIPE",
136
+ "ETIMEDOUT"
137
+ ];
138
+
139
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js
140
+ _24WEKBY3_cjs.init_cjs_shims();
141
+ var getTransformedHeaders = /* @__PURE__ */ _24WEKBY3_cjs.__name((headers) => {
142
+ const transformedHeaders = {};
143
+ for (const name of Object.keys(headers)) {
144
+ const headerValues = headers[name];
145
+ transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
146
+ }
147
+ return transformedHeaders;
148
+ }, "getTransformedHeaders");
149
+
150
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js
151
+ _24WEKBY3_cjs.init_cjs_shims();
152
+
153
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/timing.js
154
+ _24WEKBY3_cjs.init_cjs_shims();
155
+ var timing = {
156
+ setTimeout: /* @__PURE__ */ _24WEKBY3_cjs.__name((cb, ms) => setTimeout(cb, ms), "setTimeout"),
157
+ clearTimeout: /* @__PURE__ */ _24WEKBY3_cjs.__name((timeoutId) => clearTimeout(timeoutId), "clearTimeout")
158
+ };
159
+
160
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js
161
+ var DEFER_EVENT_LISTENER_TIME = 1e3;
162
+ var setConnectionTimeout = /* @__PURE__ */ _24WEKBY3_cjs.__name((request, reject, timeoutInMs = 0) => {
163
+ if (!timeoutInMs) {
164
+ return -1;
165
+ }
166
+ const registerTimeout = /* @__PURE__ */ _24WEKBY3_cjs.__name((offset) => {
167
+ const timeoutId = timing.setTimeout(() => {
168
+ request.destroy();
169
+ reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${timeoutInMs} ms.`), {
170
+ name: "TimeoutError"
171
+ }));
172
+ }, timeoutInMs - offset);
173
+ const doWithSocket = /* @__PURE__ */ _24WEKBY3_cjs.__name((socket) => {
174
+ if (socket?.connecting) {
175
+ socket.on("connect", () => {
176
+ timing.clearTimeout(timeoutId);
177
+ });
178
+ } else {
179
+ timing.clearTimeout(timeoutId);
180
+ }
181
+ }, "doWithSocket");
182
+ if (request.socket) {
183
+ doWithSocket(request.socket);
184
+ } else {
185
+ request.on("socket", doWithSocket);
186
+ }
187
+ }, "registerTimeout");
188
+ if (timeoutInMs < 2e3) {
189
+ registerTimeout(0);
190
+ return 0;
191
+ }
192
+ return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
193
+ }, "setConnectionTimeout");
194
+
195
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js
196
+ _24WEKBY3_cjs.init_cjs_shims();
197
+ var setRequestTimeout = /* @__PURE__ */ _24WEKBY3_cjs.__name((req, reject, timeoutInMs = 0, throwOnRequestTimeout, logger2) => {
198
+ if (timeoutInMs) {
199
+ return timing.setTimeout(() => {
200
+ let msg = `@smithy/node-http-handler - [${throwOnRequestTimeout ? "ERROR" : "WARN"}] a request has exceeded the configured ${timeoutInMs} ms requestTimeout.`;
201
+ if (throwOnRequestTimeout) {
202
+ const error = Object.assign(new Error(msg), {
203
+ name: "TimeoutError",
204
+ code: "ETIMEDOUT"
205
+ });
206
+ req.destroy(error);
207
+ reject(error);
208
+ } else {
209
+ msg += ` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`;
210
+ logger2?.warn?.(msg);
211
+ }
212
+ }, timeoutInMs);
213
+ }
214
+ return -1;
215
+ }, "setRequestTimeout");
216
+
217
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js
218
+ _24WEKBY3_cjs.init_cjs_shims();
219
+ var DEFER_EVENT_LISTENER_TIME2 = 3e3;
220
+ var setSocketKeepAlive = /* @__PURE__ */ _24WEKBY3_cjs.__name((request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME2) => {
221
+ if (keepAlive !== true) {
222
+ return -1;
223
+ }
224
+ const registerListener = /* @__PURE__ */ _24WEKBY3_cjs.__name(() => {
225
+ if (request.socket) {
226
+ request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
227
+ } else {
228
+ request.on("socket", (socket) => {
229
+ socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
230
+ });
231
+ }
232
+ }, "registerListener");
233
+ if (deferTimeMs === 0) {
234
+ registerListener();
235
+ return 0;
236
+ }
237
+ return timing.setTimeout(registerListener, deferTimeMs);
238
+ }, "setSocketKeepAlive");
239
+
240
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js
241
+ _24WEKBY3_cjs.init_cjs_shims();
242
+ var DEFER_EVENT_LISTENER_TIME3 = 3e3;
243
+ var setSocketTimeout = /* @__PURE__ */ _24WEKBY3_cjs.__name((request, reject, timeoutInMs = 0) => {
244
+ const registerTimeout = /* @__PURE__ */ _24WEKBY3_cjs.__name((offset) => {
245
+ const timeout = timeoutInMs - offset;
246
+ const onTimeout = /* @__PURE__ */ _24WEKBY3_cjs.__name(() => {
247
+ request.destroy();
248
+ reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${timeoutInMs} ms of inactivity (configured by client requestHandler).`), {
249
+ name: "TimeoutError"
250
+ }));
251
+ }, "onTimeout");
252
+ if (request.socket) {
253
+ request.socket.setTimeout(timeout, onTimeout);
254
+ request.on("close", () => request.socket?.removeListener("timeout", onTimeout));
255
+ } else {
256
+ request.setTimeout(timeout, onTimeout);
257
+ }
258
+ }, "registerTimeout");
259
+ if (0 < timeoutInMs && timeoutInMs < 6e3) {
260
+ registerTimeout(0);
261
+ return 0;
262
+ }
263
+ return timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME3), DEFER_EVENT_LISTENER_TIME3);
264
+ }, "setSocketTimeout");
265
+
266
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js
267
+ _24WEKBY3_cjs.init_cjs_shims();
268
+ var MIN_WAIT_TIME = 6e3;
269
+ async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) {
270
+ const headers = request.headers ?? {};
271
+ const expect = headers.Expect || headers.expect;
272
+ let timeoutId = -1;
273
+ let sendBody = true;
274
+ if (!externalAgent && expect === "100-continue") {
275
+ sendBody = await Promise.race([
276
+ new Promise((resolve) => {
277
+ timeoutId = Number(timing.setTimeout(() => resolve(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
278
+ }),
279
+ new Promise((resolve) => {
280
+ httpRequest.on("continue", () => {
281
+ timing.clearTimeout(timeoutId);
282
+ resolve(true);
283
+ });
284
+ httpRequest.on("response", () => {
285
+ timing.clearTimeout(timeoutId);
286
+ resolve(false);
287
+ });
288
+ httpRequest.on("error", () => {
289
+ timing.clearTimeout(timeoutId);
290
+ resolve(false);
291
+ });
292
+ })
293
+ ]);
294
+ }
295
+ if (sendBody) {
296
+ writeBody(httpRequest, request.body);
297
+ }
298
+ }
299
+ _24WEKBY3_cjs.__name(writeRequestBody, "writeRequestBody");
300
+ function writeBody(httpRequest, body) {
301
+ if (body instanceof stream.Readable) {
302
+ body.pipe(httpRequest);
303
+ return;
304
+ }
305
+ if (body) {
306
+ if (Buffer.isBuffer(body) || typeof body === "string") {
307
+ httpRequest.end(body);
308
+ return;
309
+ }
310
+ const uint8 = body;
311
+ if (typeof uint8 === "object" && uint8.buffer && typeof uint8.byteOffset === "number" && typeof uint8.byteLength === "number") {
312
+ httpRequest.end(Buffer.from(uint8.buffer, uint8.byteOffset, uint8.byteLength));
313
+ return;
314
+ }
315
+ httpRequest.end(Buffer.from(body));
316
+ return;
317
+ }
318
+ httpRequest.end();
319
+ }
320
+ _24WEKBY3_cjs.__name(writeBody, "writeBody");
321
+
322
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js
323
+ var NodeHttpHandler = class _NodeHttpHandler {
324
+ static {
325
+ _24WEKBY3_cjs.__name(this, "NodeHttpHandler");
326
+ }
327
+ config;
328
+ configProvider;
329
+ socketWarningTimestamp = 0;
330
+ externalAgent = false;
331
+ metadata = {
332
+ handlerProtocol: "http/1.1"
333
+ };
334
+ static create(instanceOrOptions) {
335
+ if (typeof instanceOrOptions?.handle === "function") {
336
+ return instanceOrOptions;
337
+ }
338
+ return new _NodeHttpHandler(instanceOrOptions);
339
+ }
340
+ static checkSocketUsage(agent, socketWarningTimestamp, logger2 = console) {
341
+ const { sockets, requests, maxSockets } = agent;
342
+ if (typeof maxSockets !== "number" || maxSockets === Infinity) {
343
+ return socketWarningTimestamp;
344
+ }
345
+ const interval = 15e3;
346
+ if (Date.now() - interval < socketWarningTimestamp) {
347
+ return socketWarningTimestamp;
348
+ }
349
+ if (sockets && requests) {
350
+ for (const origin in sockets) {
351
+ const socketsInUse = sockets[origin]?.length ?? 0;
352
+ const requestsEnqueued = requests[origin]?.length ?? 0;
353
+ if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
354
+ logger2?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.
355
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
356
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`);
357
+ return Date.now();
358
+ }
359
+ }
360
+ }
361
+ return socketWarningTimestamp;
362
+ }
363
+ constructor(options) {
364
+ this.configProvider = new Promise((resolve, reject) => {
365
+ if (typeof options === "function") {
366
+ options().then((_options) => {
367
+ resolve(this.resolveDefaultConfig(_options));
368
+ }).catch(reject);
369
+ } else {
370
+ resolve(this.resolveDefaultConfig(options));
371
+ }
372
+ });
373
+ }
374
+ resolveDefaultConfig(options) {
375
+ const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout } = options || {};
376
+ const keepAlive = true;
377
+ const maxSockets = 50;
378
+ return {
379
+ connectionTimeout,
380
+ requestTimeout,
381
+ socketTimeout,
382
+ socketAcquisitionWarningTimeout,
383
+ throwOnRequestTimeout,
384
+ httpAgent: (() => {
385
+ if (httpAgent instanceof http.Agent || typeof httpAgent?.destroy === "function") {
386
+ this.externalAgent = true;
387
+ return httpAgent;
388
+ }
389
+ return new http.Agent({
390
+ keepAlive,
391
+ maxSockets,
392
+ ...httpAgent
393
+ });
394
+ })(),
395
+ httpsAgent: (() => {
396
+ if (httpsAgent instanceof https.Agent || typeof httpsAgent?.destroy === "function") {
397
+ this.externalAgent = true;
398
+ return httpsAgent;
399
+ }
400
+ return new https.Agent({
401
+ keepAlive,
402
+ maxSockets,
403
+ ...httpsAgent
404
+ });
405
+ })(),
406
+ logger: console
407
+ };
408
+ }
409
+ destroy() {
410
+ this.config?.httpAgent?.destroy();
411
+ this.config?.httpsAgent?.destroy();
412
+ }
413
+ async handle(request, { abortSignal, requestTimeout } = {}) {
414
+ if (!this.config) {
415
+ this.config = await this.configProvider;
416
+ }
417
+ return new Promise((_resolve, _reject) => {
418
+ const config = this.config;
419
+ let writeRequestBodyPromise = void 0;
420
+ const timeouts = [];
421
+ const resolve = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (arg) => {
422
+ await writeRequestBodyPromise;
423
+ timeouts.forEach(timing.clearTimeout);
424
+ _resolve(arg);
425
+ }, "resolve");
426
+ const reject = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (arg) => {
427
+ await writeRequestBodyPromise;
428
+ timeouts.forEach(timing.clearTimeout);
429
+ _reject(arg);
430
+ }, "reject");
431
+ if (abortSignal?.aborted) {
432
+ const abortError = new Error("Request aborted");
433
+ abortError.name = "AbortError";
434
+ reject(abortError);
435
+ return;
436
+ }
437
+ const isSSL = request.protocol === "https:";
438
+ const headers = request.headers ?? {};
439
+ const expectContinue = (headers.Expect ?? headers.expect) === "100-continue";
440
+ let agent = isSSL ? config.httpsAgent : config.httpAgent;
441
+ if (expectContinue && !this.externalAgent) {
442
+ agent = new (isSSL ? https.Agent : http.Agent)({
443
+ keepAlive: false,
444
+ maxSockets: Infinity
445
+ });
446
+ }
447
+ timeouts.push(timing.setTimeout(() => {
448
+ this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
449
+ }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2e3) + (config.connectionTimeout ?? 1e3)));
450
+ const queryString = buildQueryString(request.query || {});
451
+ let auth = void 0;
452
+ if (request.username != null || request.password != null) {
453
+ const username = request.username ?? "";
454
+ const password = request.password ?? "";
455
+ auth = `${username}:${password}`;
456
+ }
457
+ let path = request.path;
458
+ if (queryString) {
459
+ path += `?${queryString}`;
460
+ }
461
+ if (request.fragment) {
462
+ path += `#${request.fragment}`;
463
+ }
464
+ let hostname = request.hostname ?? "";
465
+ if (hostname[0] === "[" && hostname.endsWith("]")) {
466
+ hostname = request.hostname.slice(1, -1);
467
+ } else {
468
+ hostname = request.hostname;
469
+ }
470
+ const nodeHttpsOptions = {
471
+ headers: request.headers,
472
+ host: hostname,
473
+ method: request.method,
474
+ path,
475
+ port: request.port,
476
+ agent,
477
+ auth
478
+ };
479
+ const requestFunc = isSSL ? https.request : http.request;
480
+ const req = requestFunc(nodeHttpsOptions, (res) => {
481
+ const httpResponse = new HttpResponse({
482
+ statusCode: res.statusCode || -1,
483
+ reason: res.statusMessage,
484
+ headers: getTransformedHeaders(res.headers),
485
+ body: res
486
+ });
487
+ resolve({
488
+ response: httpResponse
489
+ });
490
+ });
491
+ req.on("error", (err) => {
492
+ if (NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) {
493
+ reject(Object.assign(err, {
494
+ name: "TimeoutError"
495
+ }));
496
+ } else {
497
+ reject(err);
498
+ }
499
+ });
500
+ if (abortSignal) {
501
+ const onAbort = /* @__PURE__ */ _24WEKBY3_cjs.__name(() => {
502
+ req.destroy();
503
+ const abortError = new Error("Request aborted");
504
+ abortError.name = "AbortError";
505
+ reject(abortError);
506
+ }, "onAbort");
507
+ if (typeof abortSignal.addEventListener === "function") {
508
+ const signal = abortSignal;
509
+ signal.addEventListener("abort", onAbort, {
510
+ once: true
511
+ });
512
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
513
+ } else {
514
+ abortSignal.onabort = onAbort;
515
+ }
516
+ }
517
+ const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
518
+ timeouts.push(setConnectionTimeout(req, reject, config.connectionTimeout));
519
+ timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console));
520
+ timeouts.push(setSocketTimeout(req, reject, config.socketTimeout));
521
+ const httpAgent = nodeHttpsOptions.agent;
522
+ if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
523
+ timeouts.push(setSocketKeepAlive(req, {
524
+ keepAlive: httpAgent.keepAlive,
525
+ keepAliveMsecs: httpAgent.keepAliveMsecs
526
+ }));
527
+ }
528
+ writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout, this.externalAgent).catch((e) => {
529
+ timeouts.forEach(timing.clearTimeout);
530
+ return _reject(e);
531
+ });
532
+ });
533
+ }
534
+ updateHttpClientConfig(key, value) {
535
+ this.config = void 0;
536
+ this.configProvider = this.configProvider.then((config) => {
537
+ return {
538
+ ...config,
539
+ [key]: value
540
+ };
541
+ });
542
+ }
543
+ httpHandlerConfigs() {
544
+ return this.config ?? {};
545
+ }
546
+ };
547
+
548
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js
549
+ _24WEKBY3_cjs.init_cjs_shims();
550
+
551
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js
552
+ _24WEKBY3_cjs.init_cjs_shims();
553
+ var Collector = class extends stream.Writable {
554
+ static {
555
+ _24WEKBY3_cjs.__name(this, "Collector");
556
+ }
557
+ bufferedBytes = [];
558
+ _write(chunk, encoding, callback) {
559
+ this.bufferedBytes.push(chunk);
560
+ callback();
561
+ }
562
+ };
563
+
564
+ // ../../node_modules/.pnpm/@smithy+node-http-handler@4.4.5/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js
565
+ var streamCollector = /* @__PURE__ */ _24WEKBY3_cjs.__name((stream) => {
566
+ if (isReadableStreamInstance(stream)) {
567
+ return collectReadableStream(stream);
568
+ }
569
+ return new Promise((resolve, reject) => {
570
+ const collector = new Collector();
571
+ stream.pipe(collector);
572
+ stream.on("error", (err) => {
573
+ collector.end();
574
+ reject(err);
575
+ });
576
+ collector.on("error", reject);
577
+ collector.on("finish", function() {
578
+ const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
579
+ resolve(bytes);
580
+ });
581
+ });
582
+ }, "streamCollector");
583
+ var isReadableStreamInstance = /* @__PURE__ */ _24WEKBY3_cjs.__name((stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream, "isReadableStreamInstance");
584
+ async function collectReadableStream(stream) {
585
+ const chunks = [];
586
+ const reader = stream.getReader();
587
+ let isDone = false;
588
+ let length = 0;
589
+ while (!isDone) {
590
+ const { done, value } = await reader.read();
591
+ if (value) {
592
+ chunks.push(value);
593
+ length += value.length;
594
+ }
595
+ isDone = done;
596
+ }
597
+ const collected = new Uint8Array(length);
598
+ let offset = 0;
599
+ for (const chunk of chunks) {
600
+ collected.set(chunk, offset);
601
+ offset += chunk.length;
602
+ }
603
+ return collected;
604
+ }
605
+ _24WEKBY3_cjs.__name(collectReadableStream, "collectReadableStream");
606
+
607
+ // ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
608
+ _24WEKBY3_cjs.init_cjs_shims();
609
+ var expectNumber = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
610
+ if (value === null || value === void 0) {
611
+ return void 0;
612
+ }
613
+ if (typeof value === "string") {
614
+ const parsed = parseFloat(value);
615
+ if (!Number.isNaN(parsed)) {
616
+ if (String(parsed) !== String(value)) {
617
+ logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`));
618
+ }
619
+ return parsed;
620
+ }
621
+ }
622
+ if (typeof value === "number") {
623
+ return value;
624
+ }
625
+ throw new TypeError(`Expected number, got ${typeof value}: ${value}`);
626
+ }, "expectNumber");
627
+ var MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23));
628
+ var expectFloat32 = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
629
+ const expected = expectNumber(value);
630
+ if (expected !== void 0 && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) {
631
+ if (Math.abs(expected) > MAX_FLOAT) {
632
+ throw new TypeError(`Expected 32-bit float, got ${value}`);
633
+ }
634
+ }
635
+ return expected;
636
+ }, "expectFloat32");
637
+ var expectLong = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
638
+ if (value === null || value === void 0) {
639
+ return void 0;
640
+ }
641
+ if (Number.isInteger(value) && !Number.isNaN(value)) {
642
+ return value;
643
+ }
644
+ throw new TypeError(`Expected integer, got ${typeof value}: ${value}`);
645
+ }, "expectLong");
646
+ var expectInt32 = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => expectSizedInt(value, 32), "expectInt32");
647
+ var expectShort = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => expectSizedInt(value, 16), "expectShort");
648
+ var expectByte = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => expectSizedInt(value, 8), "expectByte");
649
+ var expectSizedInt = /* @__PURE__ */ _24WEKBY3_cjs.__name((value, size) => {
650
+ const expected = expectLong(value);
651
+ if (expected !== void 0 && castInt(expected, size) !== expected) {
652
+ throw new TypeError(`Expected ${size}-bit integer, got ${value}`);
653
+ }
654
+ return expected;
655
+ }, "expectSizedInt");
656
+ var castInt = /* @__PURE__ */ _24WEKBY3_cjs.__name((value, size) => {
657
+ switch (size) {
658
+ case 32:
659
+ return Int32Array.of(value)[0];
660
+ case 16:
661
+ return Int16Array.of(value)[0];
662
+ case 8:
663
+ return Int8Array.of(value)[0];
664
+ }
665
+ }, "castInt");
666
+ var expectNonNull = /* @__PURE__ */ _24WEKBY3_cjs.__name((value, location) => {
667
+ if (value === null || value === void 0) {
668
+ if (location) {
669
+ throw new TypeError(`Expected a non-null value for ${location}`);
670
+ }
671
+ throw new TypeError("Expected a non-null value");
672
+ }
673
+ return value;
674
+ }, "expectNonNull");
675
+ var expectObject = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
676
+ if (value === null || value === void 0) {
677
+ return void 0;
678
+ }
679
+ if (typeof value === "object" && !Array.isArray(value)) {
680
+ return value;
681
+ }
682
+ const receivedType = Array.isArray(value) ? "array" : typeof value;
683
+ throw new TypeError(`Expected object, got ${receivedType}: ${value}`);
684
+ }, "expectObject");
685
+ var expectString = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
686
+ if (value === null || value === void 0) {
687
+ return void 0;
688
+ }
689
+ if (typeof value === "string") {
690
+ return value;
691
+ }
692
+ if ([
693
+ "boolean",
694
+ "number",
695
+ "bigint"
696
+ ].includes(typeof value)) {
697
+ logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`));
698
+ return String(value);
699
+ }
700
+ throw new TypeError(`Expected string, got ${typeof value}: ${value}`);
701
+ }, "expectString");
702
+ var strictParseFloat32 = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
703
+ if (typeof value == "string") {
704
+ return expectFloat32(parseNumber(value));
705
+ }
706
+ return expectFloat32(value);
707
+ }, "strictParseFloat32");
708
+ var NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;
709
+ var parseNumber = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
710
+ const matches = value.match(NUMBER_REGEX);
711
+ if (matches === null || matches[0].length !== value.length) {
712
+ throw new TypeError(`Expected real number, got implicit NaN`);
713
+ }
714
+ return parseFloat(value);
715
+ }, "parseNumber");
716
+ var strictParseInt32 = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
717
+ if (typeof value === "string") {
718
+ return expectInt32(parseNumber(value));
719
+ }
720
+ return expectInt32(value);
721
+ }, "strictParseInt32");
722
+ var strictParseShort = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
723
+ if (typeof value === "string") {
724
+ return expectShort(parseNumber(value));
725
+ }
726
+ return expectShort(value);
727
+ }, "strictParseShort");
728
+ var strictParseByte = /* @__PURE__ */ _24WEKBY3_cjs.__name((value) => {
729
+ if (typeof value === "string") {
730
+ return expectByte(parseNumber(value));
731
+ }
732
+ return expectByte(value);
733
+ }, "strictParseByte");
734
+ var stackTraceWarning = /* @__PURE__ */ _24WEKBY3_cjs.__name((message) => {
735
+ return String(new TypeError(message).stack || message).split("\n").slice(0, 5).filter((s) => !s.includes("stackTraceWarning")).join("\n");
736
+ }, "stackTraceWarning");
737
+ var logger = {
738
+ warn: console.warn
739
+ };
740
+
741
+ // ../../node_modules/.pnpm/@smithy+util-base64@4.3.0/node_modules/@smithy/util-base64/dist-es/fromBase64.js
742
+ _24WEKBY3_cjs.init_cjs_shims();
743
+ var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
744
+ var fromBase64 = /* @__PURE__ */ _24WEKBY3_cjs.__name((input) => {
745
+ if (input.length * 3 % 4 !== 0) {
746
+ throw new TypeError(`Incorrect padding on base64 string.`);
747
+ }
748
+ if (!BASE64_REGEX.exec(input)) {
749
+ throw new TypeError(`Invalid base64 string.`);
750
+ }
751
+ const buffer = FDH37YWR_cjs.fromString(input, "base64");
752
+ return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
753
+ }, "fromBase64");
754
+
755
+ // ../../node_modules/.pnpm/@smithy+util-base64@4.3.0/node_modules/@smithy/util-base64/dist-es/toBase64.js
756
+ _24WEKBY3_cjs.init_cjs_shims();
757
+ var toBase64 = /* @__PURE__ */ _24WEKBY3_cjs.__name((_input) => {
758
+ let input;
759
+ if (typeof _input === "string") {
760
+ input = FDH37YWR_cjs.fromUtf8(_input);
761
+ } else {
762
+ input = _input;
763
+ }
764
+ if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
765
+ throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");
766
+ }
767
+ return FDH37YWR_cjs.fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
768
+ }, "toBase64");
769
+
770
+ // ../../node_modules/.pnpm/@smithy+util-hex-encoding@4.2.0/node_modules/@smithy/util-hex-encoding/dist-es/index.js
771
+ _24WEKBY3_cjs.init_cjs_shims();
772
+ var SHORT_TO_HEX = {};
773
+ var HEX_TO_SHORT = {};
774
+ for (let i = 0; i < 256; i++) {
775
+ let encodedByte = i.toString(16).toLowerCase();
776
+ if (encodedByte.length === 1) {
777
+ encodedByte = `0${encodedByte}`;
778
+ }
779
+ SHORT_TO_HEX[i] = encodedByte;
780
+ HEX_TO_SHORT[encodedByte] = i;
781
+ }
782
+ function fromHex(encoded) {
783
+ if (encoded.length % 2 !== 0) {
784
+ throw new Error("Hex encoded strings must have an even number length");
785
+ }
786
+ const out = new Uint8Array(encoded.length / 2);
787
+ for (let i = 0; i < encoded.length; i += 2) {
788
+ const encodedByte = encoded.slice(i, i + 2).toLowerCase();
789
+ if (encodedByte in HEX_TO_SHORT) {
790
+ out[i / 2] = HEX_TO_SHORT[encodedByte];
791
+ } else {
792
+ throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`);
793
+ }
794
+ }
795
+ return out;
796
+ }
797
+ _24WEKBY3_cjs.__name(fromHex, "fromHex");
798
+ function toHex(bytes) {
799
+ let out = "";
800
+ for (let i = 0; i < bytes.byteLength; i++) {
801
+ out += SHORT_TO_HEX[bytes[i]];
802
+ }
803
+ return out;
804
+ }
805
+ _24WEKBY3_cjs.__name(toHex, "toHex");
806
+
807
+ exports.HttpRequest = HttpRequest;
808
+ exports.HttpResponse = HttpResponse;
809
+ exports.NodeHttpHandler = NodeHttpHandler;
810
+ exports.escapeUri = escapeUri;
811
+ exports.expectInt32 = expectInt32;
812
+ exports.expectNonNull = expectNonNull;
813
+ exports.expectObject = expectObject;
814
+ exports.expectString = expectString;
815
+ exports.fromBase64 = fromBase64;
816
+ exports.fromHex = fromHex;
817
+ exports.streamCollector = streamCollector;
818
+ exports.strictParseByte = strictParseByte;
819
+ exports.strictParseFloat32 = strictParseFloat32;
820
+ exports.strictParseInt32 = strictParseInt32;
821
+ exports.strictParseShort = strictParseShort;
822
+ exports.toBase64 = toBase64;
823
+ exports.toHex = toHex;
824
+ //# sourceMappingURL=Q5L3QIKZ.cjs.map
825
+ //# sourceMappingURL=Q5L3QIKZ.cjs.map