@ozdao/prometheus-framework 0.1.66 → 0.1.67

Sign up to get free protection for your applications and to get access to all the features.
Files changed (644) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +5 -3
  3. package/dist/_virtual/browser-ponyfill.cjs +1 -0
  4. package/dist/_virtual/browser-ponyfill.js +4 -0
  5. package/dist/_virtual/crc32.cjs +1 -0
  6. package/dist/_virtual/crc32.js +4 -0
  7. package/dist/_virtual/events.cjs +1 -0
  8. package/dist/_virtual/events.js +4 -0
  9. package/dist/_virtual/index.cjs +1 -0
  10. package/dist/_virtual/index.js +4 -0
  11. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -0
  12. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +557 -0
  13. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +1 -0
  14. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +164 -0
  15. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +1 -0
  16. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +19 -0
  17. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +1 -0
  18. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +88 -0
  19. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -0
  20. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +210 -0
  21. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -0
  22. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +178 -0
  23. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -0
  24. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +581 -0
  25. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -0
  26. package/dist/node_modules/@noble/curves/esm/secp256k1.js +47 -0
  27. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -0
  28. package/dist/node_modules/@noble/hashes/esm/_assert.js +48 -0
  29. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -0
  30. package/dist/node_modules/@noble/hashes/esm/_sha2.js +61 -0
  31. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -0
  32. package/dist/node_modules/@noble/hashes/esm/_u64.js +48 -0
  33. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +1 -0
  34. package/dist/node_modules/@noble/hashes/esm/crypto.js +4 -0
  35. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -0
  36. package/dist/node_modules/@noble/hashes/esm/hmac.js +43 -0
  37. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -0
  38. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +32 -0
  39. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -0
  40. package/dist/node_modules/@noble/hashes/esm/scrypt.js +73 -0
  41. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -0
  42. package/dist/node_modules/@noble/hashes/esm/sha256.js +120 -0
  43. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -0
  44. package/dist/node_modules/@noble/hashes/esm/sha3.js +118 -0
  45. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -0
  46. package/dist/node_modules/@noble/hashes/esm/sha512.js +144 -0
  47. package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -0
  48. package/dist/node_modules/@noble/hashes/esm/utils.js +64 -0
  49. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +1 -0
  50. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +4 -0
  51. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +1 -0
  52. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +11 -0
  53. package/dist/node_modules/abitype/dist/index.cjs +2 -0
  54. package/dist/node_modules/abitype/dist/index.js +299 -0
  55. package/dist/node_modules/crc-32/crc32.cjs +1 -0
  56. package/dist/node_modules/crc-32/crc32.js +51 -0
  57. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +2 -0
  58. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +320 -0
  59. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +1 -0
  60. package/dist/node_modules/ethereum-cryptography/esm/aes.js +61 -0
  61. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +1 -0
  62. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +9 -0
  63. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +1 -0
  64. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +15 -0
  65. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +1 -0
  66. package/dist/node_modules/ethereum-cryptography/esm/random.js +7 -0
  67. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +1 -0
  68. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +8 -0
  69. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +1 -0
  70. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +4 -0
  71. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -0
  72. package/dist/node_modules/ethereum-cryptography/esm/utils.js +35 -0
  73. package/dist/node_modules/events/events.cjs +1 -0
  74. package/dist/node_modules/events/events.js +229 -0
  75. package/dist/node_modules/isomorphic-ws/browser.cjs +1 -0
  76. package/dist/node_modules/isomorphic-ws/browser.js +6 -0
  77. package/dist/node_modules/setimmediate/setImmediate.cjs +1 -0
  78. package/dist/node_modules/setimmediate/setImmediate.js +99 -0
  79. package/dist/node_modules/web3/lib/esm/abi.cjs +1 -0
  80. package/dist/node_modules/web3/lib/esm/abi.js +24 -0
  81. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -0
  82. package/dist/node_modules/web3/lib/esm/accounts.js +101 -0
  83. package/dist/node_modules/web3/lib/esm/index.cjs +1 -0
  84. package/dist/node_modules/web3/lib/esm/index.js +76 -0
  85. package/dist/node_modules/web3/lib/esm/version.cjs +1 -0
  86. package/dist/node_modules/web3/lib/esm/version.js +4 -0
  87. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -0
  88. package/dist/node_modules/web3/lib/esm/web3.js +89 -0
  89. package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -0
  90. package/dist/node_modules/web3-core/lib/esm/utils.js +14 -0
  91. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -0
  92. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +83 -0
  93. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -0
  94. package/dist/node_modules/web3-core/lib/esm/web3_config.js +343 -0
  95. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -0
  96. package/dist/node_modules/web3-core/lib/esm/web3_context.js +227 -0
  97. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +1 -0
  98. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +39 -0
  99. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -0
  100. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +58 -0
  101. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -0
  102. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +240 -0
  103. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -0
  104. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +155 -0
  105. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -0
  106. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +111 -0
  107. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -0
  108. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +106 -0
  109. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +1 -0
  110. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +58 -0
  111. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +1 -0
  112. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +37 -0
  113. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -0
  114. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +49 -0
  115. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +1 -0
  116. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +16 -0
  117. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +1 -0
  118. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +16 -0
  119. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +1 -0
  120. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +49 -0
  121. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +1 -0
  122. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +28 -0
  123. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -0
  124. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +30 -0
  125. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +1 -0
  126. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +161 -0
  127. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +1 -0
  128. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +129 -0
  129. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +1 -0
  130. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +13 -0
  131. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +1 -0
  132. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +10 -0
  133. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +5 -0
  134. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +256 -0
  135. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -0
  136. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +76 -0
  137. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -0
  138. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +28 -0
  139. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +1 -0
  140. package/dist/node_modules/web3-eth/lib/esm/constants.js +14 -0
  141. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -0
  142. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +413 -0
  143. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +1 -0
  144. package/dist/node_modules/web3-eth/lib/esm/schemas.js +570 -0
  145. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +1 -0
  146. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +31 -0
  147. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +1 -0
  148. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +34 -0
  149. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +1 -0
  150. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +90 -0
  151. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +1 -0
  152. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +30 -0
  153. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -0
  154. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +77 -0
  155. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -0
  156. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +50 -0
  157. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -0
  158. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +79 -0
  159. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -0
  160. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +102 -0
  161. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -0
  162. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +109 -0
  163. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -0
  164. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +143 -0
  165. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -0
  166. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +131 -0
  167. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -0
  168. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +52 -0
  169. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -0
  170. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +61 -0
  171. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_pooling.cjs +1 -0
  172. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_pooling.js +51 -0
  173. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -0
  174. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +77 -0
  175. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -0
  176. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +42 -0
  177. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +1 -0
  178. package/dist/node_modules/web3-eth/lib/esm/validation.js +111 -0
  179. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -0
  180. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +1512 -0
  181. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +1 -0
  182. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +65 -0
  183. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +1 -0
  184. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +13 -0
  185. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +1 -0
  186. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +13 -0
  187. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -0
  188. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +20 -0
  189. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +1 -0
  190. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +14 -0
  191. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -0
  192. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +22 -0
  193. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +1 -0
  194. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +47 -0
  195. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +1 -0
  196. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +72 -0
  197. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +1 -0
  198. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +37 -0
  199. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -0
  200. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +66 -0
  201. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -0
  202. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +59 -0
  203. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +1 -0
  204. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +85 -0
  205. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +1 -0
  206. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +15 -0
  207. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +1 -0
  208. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +22 -0
  209. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +1 -0
  210. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +77 -0
  211. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +1 -0
  212. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +15 -0
  213. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +1 -0
  214. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +16 -0
  215. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -0
  216. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +23 -0
  217. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +1 -0
  218. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +58 -0
  219. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +1 -0
  220. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +18 -0
  221. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +1 -0
  222. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +39 -0
  223. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -0
  224. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +219 -0
  225. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +1 -0
  226. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +99 -0
  227. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +1 -0
  228. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +115 -0
  229. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +1 -0
  230. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +102 -0
  231. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +1 -0
  232. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +741 -0
  233. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +1 -0
  234. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +25 -0
  235. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +1 -0
  236. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +29 -0
  237. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +1 -0
  238. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +28 -0
  239. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +1 -0
  240. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +181 -0
  241. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +1 -0
  242. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +20 -0
  243. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +1 -0
  244. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +14 -0
  245. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +1 -0
  246. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +87 -0
  247. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +1 -0
  248. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +24 -0
  249. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +1 -0
  250. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +20 -0
  251. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +1 -0
  252. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +29 -0
  253. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +1 -0
  254. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +16 -0
  255. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +1 -0
  256. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +15 -0
  257. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +1 -0
  258. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +20 -0
  259. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +1 -0
  260. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +16 -0
  261. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +1 -0
  262. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +16 -0
  263. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +1 -0
  264. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +16 -0
  265. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +1 -0
  266. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +16 -0
  267. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +1 -0
  268. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +21 -0
  269. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +1 -0
  270. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +26 -0
  271. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +1 -0
  272. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +20 -0
  273. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +1 -0
  274. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +16 -0
  275. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +1 -0
  276. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +20 -0
  277. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +1 -0
  278. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +49 -0
  279. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +1 -0
  280. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +27 -0
  281. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +1 -0
  282. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +14 -0
  283. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +1 -0
  284. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +10 -0
  285. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +1 -0
  286. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +59 -0
  287. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +1 -0
  288. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +441 -0
  289. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +1 -0
  290. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +71 -0
  291. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +1 -0
  292. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +13 -0
  293. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +1 -0
  294. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +14 -0
  295. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +1 -0
  296. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +18 -0
  297. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +1 -0
  298. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +39 -0
  299. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +1 -0
  300. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +90 -0
  301. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +1 -0
  302. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +10 -0
  303. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +1 -0
  304. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +15 -0
  305. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +1 -0
  306. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +10 -0
  307. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +1 -0
  308. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +18 -0
  309. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +1 -0
  310. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +42 -0
  311. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +1 -0
  312. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +10 -0
  313. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +1 -0
  314. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +23 -0
  315. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +1 -0
  316. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +46 -0
  317. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +1 -0
  318. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +7 -0
  319. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -0
  320. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +277 -0
  321. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +1 -0
  322. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +25 -0
  323. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +1 -0
  324. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +57 -0
  325. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -0
  326. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +272 -0
  327. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +1 -0
  328. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +11 -0
  329. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +1 -0
  330. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +285 -0
  331. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +1 -0
  332. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +268 -0
  333. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +1 -0
  334. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +256 -0
  335. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -0
  336. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +89 -0
  337. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +1 -0
  338. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +18 -0
  339. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +1 -0
  340. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +80 -0
  341. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -0
  342. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +361 -0
  343. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -0
  344. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +510 -0
  345. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -0
  346. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +80 -0
  347. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -0
  348. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +27 -0
  349. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -0
  350. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +36 -0
  351. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -0
  352. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +90 -0
  353. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +1 -0
  354. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +168 -0
  355. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +1 -0
  356. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +578 -0
  357. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +1 -0
  358. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +27 -0
  359. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -0
  360. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +241 -0
  361. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -0
  362. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +105 -0
  363. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -0
  364. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +95 -0
  365. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +1 -0
  366. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +19 -0
  367. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -0
  368. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +283 -0
  369. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -0
  370. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +265 -0
  371. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -0
  372. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +93 -0
  373. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -0
  374. package/dist/node_modules/web3-net/lib/esm/net.js +97 -0
  375. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -0
  376. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +51 -0
  377. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -0
  378. package/dist/node_modules/web3-providers-http/lib/esm/index.js +98 -0
  379. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +1 -0
  380. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +70 -0
  381. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -0
  382. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +407 -0
  383. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -0
  384. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +56 -0
  385. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -0
  386. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +84 -0
  387. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +1 -0
  388. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +15 -0
  389. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +1 -0
  390. package/dist/node_modules/web3-types/lib/esm/eth_types.js +12 -0
  391. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +1 -0
  392. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +4 -0
  393. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -0
  394. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +89 -0
  395. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +1 -0
  396. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +8 -0
  397. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -0
  398. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +37 -0
  399. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -0
  400. package/dist/node_modules/web3-utils/lib/esm/converters.js +177 -0
  401. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -0
  402. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +91 -0
  403. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -0
  404. package/dist/node_modules/web3-utils/lib/esm/formatter.js +134 -0
  405. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -0
  406. package/dist/node_modules/web3-utils/lib/esm/hash.js +107 -0
  407. package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -0
  408. package/dist/node_modules/web3-utils/lib/esm/index.js +107 -0
  409. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +1 -0
  410. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +41 -0
  411. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +1 -0
  412. package/dist/node_modules/web3-utils/lib/esm/objects.js +20 -0
  413. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -0
  414. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +104 -0
  415. package/dist/node_modules/web3-utils/lib/esm/random.cjs +1 -0
  416. package/dist/node_modules/web3-utils/lib/esm/random.js +7 -0
  417. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -0
  418. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +195 -0
  419. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +1 -0
  420. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +48 -0
  421. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -0
  422. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +21 -0
  423. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +1 -0
  424. package/dist/node_modules/web3-utils/lib/esm/uuid.js +17 -0
  425. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -0
  426. package/dist/node_modules/web3-utils/lib/esm/validation.js +50 -0
  427. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -0
  428. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +114 -0
  429. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -0
  430. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +86 -0
  431. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +1 -0
  432. package/dist/node_modules/web3-validator/lib/esm/constants.js +4 -0
  433. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +1 -0
  434. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +5 -0
  435. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +3 -0
  436. package/dist/node_modules/web3-validator/lib/esm/errors.js +17 -0
  437. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +1 -0
  438. package/dist/node_modules/web3-validator/lib/esm/formats.js +31 -0
  439. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -0
  440. package/dist/node_modules/web3-validator/lib/esm/utils.js +178 -0
  441. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +1 -0
  442. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +4 -0
  443. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -0
  444. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +22 -0
  445. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +1 -0
  446. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +10 -0
  447. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +1 -0
  448. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +29 -0
  449. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +1 -0
  450. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +5 -0
  451. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -0
  452. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +27 -0
  453. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +1 -0
  454. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +26 -0
  455. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -0
  456. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +52 -0
  457. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +1 -0
  458. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +13 -0
  459. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +1 -0
  460. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +23 -0
  461. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +1 -0
  462. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +6 -0
  463. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +1 -0
  464. package/dist/node_modules/web3-validator/lib/esm/validator.js +84 -0
  465. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +1 -0
  466. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +31 -0
  467. package/dist/node_modules/zod/lib/index.cjs +1 -0
  468. package/dist/node_modules/zod/lib/index.js +2854 -0
  469. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +3 -0
  470. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +51 -0
  471. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +1 -1
  472. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +105 -79
  473. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -1
  474. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +41 -35
  475. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -1
  476. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +57 -44
  477. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +1 -1
  478. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +8 -15
  479. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +1 -1
  480. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +3 -6
  481. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -1
  482. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +101 -72
  483. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +1 -1
  484. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +19 -19
  485. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
  486. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
  487. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -1
  488. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +56 -22
  489. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +1 -1
  490. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +6 -6
  491. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +1 -1
  492. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +23 -38
  493. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -1
  494. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +62 -58
  495. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +1 -1
  496. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +11 -18
  497. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +1 -1
  498. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +11 -9
  499. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
  500. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +49 -48
  501. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +1 -1
  502. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +2 -2
  503. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
  504. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +2 -7
  505. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
  506. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  507. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
  508. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
  509. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +1 -1
  510. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +4 -6
  511. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +1 -1
  512. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +13 -24
  513. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
  514. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +4 -4
  515. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +1 -1
  516. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +30 -40
  517. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
  518. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +30 -0
  519. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -1
  520. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +3 -3
  521. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -1
  522. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +4 -11
  523. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -1
  524. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +34 -39
  525. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +1 -1
  526. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +2 -5
  527. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -2
  528. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +28 -38
  529. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -1
  530. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +4 -7
  531. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
  532. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +19 -0
  533. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +1 -1
  534. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +5 -8
  535. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +1 -1
  536. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +79 -32
  537. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
  538. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  539. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +1 -1
  540. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +33 -31
  541. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
  542. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  543. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
  544. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  545. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
  546. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  547. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +1 -0
  548. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +15 -0
  549. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -0
  550. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +7 -0
  551. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +1 -0
  552. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +9 -0
  553. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  554. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +212 -140
  555. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  556. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -72
  557. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  558. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -2
  559. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  560. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  561. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  562. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  563. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  564. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  565. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  566. package/dist/prometheus-framework/src/modules/auth/store/auth.js +1 -1
  567. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  568. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  569. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  570. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  571. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  572. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  573. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  574. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  575. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  576. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  577. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  578. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  579. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  580. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +6 -7
  581. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  582. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  583. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  584. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  585. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  586. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  587. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  588. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  589. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  590. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  591. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  592. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  593. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  594. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  595. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  596. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  597. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  598. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  599. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  600. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  601. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  602. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  603. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  604. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  605. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  606. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  607. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  608. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  609. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
  610. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +30 -61
  611. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  612. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +20 -21
  613. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  614. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +28 -33
  615. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  616. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  617. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  618. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  619. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  620. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +6 -41
  621. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  622. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  623. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  624. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  625. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  626. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  627. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  628. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  629. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  630. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  631. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  632. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  633. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  634. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  635. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  636. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +75 -33
  637. package/dist/prometheus-framework.cjs.js +29 -30
  638. package/dist/prometheus-framework.es.js +3953 -3225
  639. package/dist/style.css +1 -1
  640. package/package.json +3 -2
  641. package/src/modules/payments/components/pages/Payments.vue +32 -34
  642. package/src/modules/products/components/blocks/CardLeftover.vue +1 -2
  643. package/src/modules/products/components/blocks/CardProduct.vue +1 -17
  644. package/src/modules/products/components/sections/EditProductInfo.vue +3 -5
@@ -0,0 +1,3 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../utils.cjs"),h=require("../helpers/null.cjs"),p=require("./xhr.cjs"),d=require("../core/AxiosError.cjs"),s={http:h.default,xhr:p.default};a.default.forEach(s,(e,r)=>{if(e){try{Object.defineProperty(e,"name",{value:r})}catch{}Object.defineProperty(e,"adapterName",{value:r})}});const u=e=>`- ${e}`,b=e=>a.default.isFunction(e)||e===null||e===!1,m={getAdapter:e=>{e=a.default.isArray(e)?e:[e];const{length:r}=e;let o,n;const l={};for(let t=0;t<r;t++){o=e[t];let i;if(n=o,!b(o)&&(n=s[(i=String(o)).toLowerCase()],n===void 0))throw new d.default(`Unknown adapter '${i}'`);if(n)break;l[i||"#"+t]=n}if(!n){const t=Object.entries(l).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=r?t.length>1?`since :
2
+ `+t.map(u).join(`
3
+ `):" "+u(t[0]):"as no adapter specified";throw new d.default("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:s};exports.default=m;
@@ -0,0 +1,51 @@
1
+ import a from "../utils.js";
2
+ import h from "../helpers/null.js";
3
+ import m from "./xhr.js";
4
+ import d from "../core/AxiosError.js";
5
+ const s = {
6
+ http: h,
7
+ xhr: m
8
+ };
9
+ a.forEach(s, (e, n) => {
10
+ if (e) {
11
+ try {
12
+ Object.defineProperty(e, "name", { value: n });
13
+ } catch {
14
+ }
15
+ Object.defineProperty(e, "adapterName", { value: n });
16
+ }
17
+ });
18
+ const c = (e) => `- ${e}`, u = (e) => a.isFunction(e) || e === null || e === !1, R = {
19
+ getAdapter: (e) => {
20
+ e = a.isArray(e) ? e : [e];
21
+ const { length: n } = e;
22
+ let o, r;
23
+ const p = {};
24
+ for (let t = 0; t < n; t++) {
25
+ o = e[t];
26
+ let i;
27
+ if (r = o, !u(o) && (r = s[(i = String(o)).toLowerCase()], r === void 0))
28
+ throw new d(`Unknown adapter '${i}'`);
29
+ if (r)
30
+ break;
31
+ p[i || "#" + t] = r;
32
+ }
33
+ if (!r) {
34
+ const t = Object.entries(p).map(
35
+ ([l, f]) => `adapter ${l} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
36
+ );
37
+ let i = n ? t.length > 1 ? `since :
38
+ ` + t.map(c).join(`
39
+ `) : " " + c(t[0]) : "as no adapter specified";
40
+ throw new d(
41
+ "There is no suitable adapter to dispatch the request " + i,
42
+ "ERR_NOT_SUPPORT"
43
+ );
44
+ }
45
+ return r;
46
+ },
47
+ adapters: s
48
+ };
49
+ export {
50
+ R as default
51
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("../utils.cjs"),N=require("../core/settle.cjs"),S=require("../helpers/cookies.cjs"),k=require("../helpers/buildURL.cjs"),c=require("../core/buildFullPath.cjs"),B=require("../helpers/parseHeaders.cjs"),M=require("../helpers/isURLSameOrigin.cjs"),F=require("../defaults/transitional.cjs"),X=require("../core/AxiosError.cjs"),z=require("../cancel/CanceledError.cjs"),I=require("../helpers/parseProtocol.cjs");var E,b;function K(){if(b)return E;b=1;var i=$.utils,_=N.__require(),w=S.__require(),U=k.buildURL,x=c.buildFullPath,C=B.__require(),L=M.__require(),f=F.transitional,s=X.AxiosError_1,y=z.__require(),P=I.__require();return E=function(e){return new Promise(function(A,n){var l=e.data,d=e.headers,p=e.responseType,o;function m(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}i.isFormData(l)&&i.isStandardBrowserEnv()&&delete d["Content-Type"];var r=new XMLHttpRequest;if(e.auth){var H=e.auth.username||"",O=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(H+":"+O)}var v=x(e.baseURL,e.url);r.open(e.method.toUpperCase(),U(v,e.params,e.paramsSerializer),!0),r.timeout=e.timeout;function R(){if(r){var t="getAllResponseHeaders"in r?C(r.getAllResponseHeaders()):null,u=!p||p==="text"||p==="json"?r.responseText:r.response,a={data:u,status:r.status,statusText:r.statusText,headers:t,config:e,request:r};_(function(q){A(q),m()},function(q){n(q),m()},a),r=null}}if("onloadend"in r?r.onloadend=R:r.onreadystatechange=function(){!r||r.readyState!==4||r.status===0&&!(r.responseURL&&r.responseURL.indexOf("file:")===0)||setTimeout(R)},r.onabort=function(){r&&(n(new s("Request aborted",s.ECONNABORTED,e,r)),r=null)},r.onerror=function(){n(new s("Network Error",s.ERR_NETWORK,e,r,r)),r=null},r.ontimeout=function(){var u=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",a=e.transitional||f;e.timeoutErrorMessage&&(u=e.timeoutErrorMessage),n(new s(u,a.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,e,r)),r=null},i.isStandardBrowserEnv()){var T=(e.withCredentials||L(v))&&e.xsrfCookieName?w.read(e.xsrfCookieName):void 0;T&&(d[e.xsrfHeaderName]=T)}"setRequestHeader"in r&&i.forEach(d,function(u,a){typeof l>"u"&&a.toLowerCase()==="content-type"?delete d[a]:r.setRequestHeader(a,u)}),i.isUndefined(e.withCredentials)||(r.withCredentials=!!e.withCredentials),p&&p!=="json"&&(r.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&r.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&r.upload&&r.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(o=function(t){r&&(n(!t||t&&t.type?new y:t),r.abort(),r=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o))),l||(l=null);var h=P(v);if(h&&["http","https","file"].indexOf(h)===-1){n(new s("Unsupported protocol "+h+":",s.ERR_BAD_REQUEST,e));return}r.send(l)})},E}exports.__require=K;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("../utils.cjs"),v=require("../core/settle.cjs"),H=require("../helpers/cookies.cjs"),U=require("../helpers/buildURL.cjs"),k=require("../core/buildFullPath.cjs"),L=require("../helpers/isURLSameOrigin.cjs"),N=require("../defaults/transitional.cjs"),d=require("../core/AxiosError.cjs"),S=require("../cancel/CanceledError.cjs"),A=require("../helpers/parseProtocol.cjs"),R=require("../platform/index.cjs"),y=require("../core/AxiosHeaders.cjs"),O=require("../helpers/speedometer.cjs");function x(e,b){let m=0;const l=O.default(50,250);return i=>{const r=i.loaded,a=i.lengthComputable?i.total:void 0,o=r-m,n=l(o),E=r<=a;m=r;const f={loaded:r,total:a,progress:a?r/a:void 0,bytes:o,rate:n||void 0,estimated:n&&a&&E?(a-r)/n:void 0,event:i};f[b?"download":"upload"]=!0,e(f)}}const D=typeof XMLHttpRequest<"u",B=D&&function(e){return new Promise(function(m,l){let i=e.data;const r=y.default.from(e.headers).normalize();let{responseType:a,withXSRFToken:o}=e,n;function E(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}let f;if(h.default.isFormData(i)){if(R.default.hasStandardBrowserEnv||R.default.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((f=r.getContentType())!==!1){const[s,...u]=f?f.split(";").map(p=>p.trim()).filter(Boolean):[];r.setContentType([s||"multipart/form-data",...u].join("; "))}}let t=new XMLHttpRequest;if(e.auth){const s=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(s+":"+u))}const T=k.default(e.baseURL,e.url);t.open(e.method.toUpperCase(),U.default(T,e.params,e.paramsSerializer),!0),t.timeout=e.timeout;function w(){if(!t)return;const s=y.default.from("getAllResponseHeaders"in t&&t.getAllResponseHeaders()),p={data:!a||a==="text"||a==="json"?t.responseText:t.response,status:t.status,statusText:t.statusText,headers:s,config:e,request:t};v.default(function(q){m(q),E()},function(q){l(q),E()},p),t=null}if("onloadend"in t?t.onloadend=w:t.onreadystatechange=function(){!t||t.readyState!==4||t.status===0&&!(t.responseURL&&t.responseURL.indexOf("file:")===0)||setTimeout(w)},t.onabort=function(){t&&(l(new d.default("Request aborted",d.default.ECONNABORTED,e,t)),t=null)},t.onerror=function(){l(new d.default("Network Error",d.default.ERR_NETWORK,e,t)),t=null},t.ontimeout=function(){let u=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const p=e.transitional||N.default;e.timeoutErrorMessage&&(u=e.timeoutErrorMessage),l(new d.default(u,p.clarifyTimeoutError?d.default.ETIMEDOUT:d.default.ECONNABORTED,e,t)),t=null},R.default.hasStandardBrowserEnv&&(o&&h.default.isFunction(o)&&(o=o(e)),o||o!==!1&&L.default(T))){const s=e.xsrfHeaderName&&e.xsrfCookieName&&H.default.read(e.xsrfCookieName);s&&r.set(e.xsrfHeaderName,s)}i===void 0&&r.setContentType(null),"setRequestHeader"in t&&h.default.forEach(r.toJSON(),function(u,p){t.setRequestHeader(p,u)}),h.default.isUndefined(e.withCredentials)||(t.withCredentials=!!e.withCredentials),a&&a!=="json"&&(t.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&t.addEventListener("progress",x(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&t.upload&&t.upload.addEventListener("progress",x(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=s=>{t&&(l(!s||s.type?new S.default(null,e,t):s),t.abort(),t=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));const c=A.default(T);if(c&&R.default.protocols.indexOf(c)===-1){l(new d.default("Unsupported protocol "+c+":",d.default.ERR_BAD_REQUEST,e));return}t.send(i||null)})};exports.default=B;
@@ -1,83 +1,109 @@
1
- import { u as N } from "../utils.js";
2
- import { __require as k } from "../core/settle.js";
3
- import { __require as S } from "../helpers/cookies.js";
4
- import { b as B } from "../helpers/buildURL.js";
5
- import { b as M } from "../core/buildFullPath.js";
6
- import { __require as X } from "../helpers/parseHeaders.js";
7
- import { __require as F } from "../helpers/isURLSameOrigin.js";
8
- import { t as I } from "../defaults/transitional.js";
9
- import { A as $ } from "../core/AxiosError.js";
10
- import { __require as z } from "../cancel/CanceledError.js";
11
- import { __require as K } from "../helpers/parseProtocol.js";
12
- var E, T;
13
- function ae() {
14
- if (T)
15
- return E;
16
- T = 1;
17
- var u = N, _ = k(), b = S(), w = B, C = M, x = X(), U = F(), L = I, a = $, P = z(), y = K();
18
- return E = function(e) {
19
- return new Promise(function(A, o) {
20
- var d = e.data, l = e.headers, p = e.responseType, n;
21
- function q() {
22
- e.cancelToken && e.cancelToken.unsubscribe(n), e.signal && e.signal.removeEventListener("abort", n);
23
- }
24
- u.isFormData(d) && u.isStandardBrowserEnv() && delete l["Content-Type"];
25
- var r = new XMLHttpRequest();
26
- if (e.auth) {
27
- var H = e.auth.username || "", D = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
28
- l.Authorization = "Basic " + btoa(H + ":" + D);
29
- }
30
- var m = C(e.baseURL, e.url);
31
- r.open(e.method.toUpperCase(), w(m, e.params, e.paramsSerializer), !0), r.timeout = e.timeout;
32
- function R() {
33
- if (r) {
34
- var t = "getAllResponseHeaders" in r ? x(r.getAllResponseHeaders()) : null, i = !p || p === "text" || p === "json" ? r.responseText : r.response, s = {
35
- data: i,
36
- status: r.status,
37
- statusText: r.statusText,
38
- headers: t,
39
- config: e,
40
- request: r
41
- };
42
- _(function(h) {
43
- A(h), q();
44
- }, function(h) {
45
- o(h), q();
46
- }, s), r = null;
47
- }
48
- }
49
- if ("onloadend" in r ? r.onloadend = R : r.onreadystatechange = function() {
50
- !r || r.readyState !== 4 || r.status === 0 && !(r.responseURL && r.responseURL.indexOf("file:") === 0) || setTimeout(R);
51
- }, r.onabort = function() {
52
- r && (o(new a("Request aborted", a.ECONNABORTED, e, r)), r = null);
53
- }, r.onerror = function() {
54
- o(new a("Network Error", a.ERR_NETWORK, e, r, r)), r = null;
55
- }, r.ontimeout = function() {
56
- var i = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded", s = e.transitional || L;
57
- e.timeoutErrorMessage && (i = e.timeoutErrorMessage), o(new a(
58
- i,
59
- s.clarifyTimeoutError ? a.ETIMEDOUT : a.ECONNABORTED,
60
- e,
61
- r
62
- )), r = null;
63
- }, u.isStandardBrowserEnv()) {
64
- var f = (e.withCredentials || U(m)) && e.xsrfCookieName ? b.read(e.xsrfCookieName) : void 0;
65
- f && (l[e.xsrfHeaderName] = f);
1
+ import h from "../utils.js";
2
+ import k from "../core/settle.js";
3
+ import L from "../helpers/cookies.js";
4
+ import N from "../helpers/buildURL.js";
5
+ import c from "../core/buildFullPath.js";
6
+ import v from "../helpers/isURLSameOrigin.js";
7
+ import A from "../defaults/transitional.js";
8
+ import l from "../core/AxiosError.js";
9
+ import D from "../cancel/CanceledError.js";
10
+ import q from "../helpers/parseProtocol.js";
11
+ import R from "../platform/index.js";
12
+ import C from "../core/AxiosHeaders.js";
13
+ import O from "../helpers/speedometer.js";
14
+ function H(e, y) {
15
+ let f = 0;
16
+ const u = O(50, 250);
17
+ return (i) => {
18
+ const s = i.loaded, o = i.lengthComputable ? i.total : void 0, a = s - f, n = u(a), E = s <= o;
19
+ f = s;
20
+ const m = {
21
+ loaded: s,
22
+ total: o,
23
+ progress: o ? s / o : void 0,
24
+ bytes: a,
25
+ rate: n || void 0,
26
+ estimated: n && o && E ? (o - s) / n : void 0,
27
+ event: i
28
+ };
29
+ m[y ? "download" : "upload"] = !0, e(m);
30
+ };
31
+ }
32
+ const S = typeof XMLHttpRequest < "u", G = S && function(e) {
33
+ return new Promise(function(f, u) {
34
+ let i = e.data;
35
+ const s = C.from(e.headers).normalize();
36
+ let { responseType: o, withXSRFToken: a } = e, n;
37
+ function E() {
38
+ e.cancelToken && e.cancelToken.unsubscribe(n), e.signal && e.signal.removeEventListener("abort", n);
39
+ }
40
+ let m;
41
+ if (h.isFormData(i)) {
42
+ if (R.hasStandardBrowserEnv || R.hasStandardBrowserWebWorkerEnv)
43
+ s.setContentType(!1);
44
+ else if ((m = s.getContentType()) !== !1) {
45
+ const [r, ...d] = m ? m.split(";").map((p) => p.trim()).filter(Boolean) : [];
46
+ s.setContentType([r || "multipart/form-data", ...d].join("; "));
66
47
  }
67
- "setRequestHeader" in r && u.forEach(l, function(i, s) {
68
- typeof d > "u" && s.toLowerCase() === "content-type" ? delete l[s] : r.setRequestHeader(s, i);
69
- }), u.isUndefined(e.withCredentials) || (r.withCredentials = !!e.withCredentials), p && p !== "json" && (r.responseType = e.responseType), typeof e.onDownloadProgress == "function" && r.addEventListener("progress", e.onDownloadProgress), typeof e.onUploadProgress == "function" && r.upload && r.upload.addEventListener("progress", e.onUploadProgress), (e.cancelToken || e.signal) && (n = function(t) {
70
- r && (o(!t || t && t.type ? new P() : t), r.abort(), r = null);
71
- }, e.cancelToken && e.cancelToken.subscribe(n), e.signal && (e.signal.aborted ? n() : e.signal.addEventListener("abort", n))), d || (d = null);
72
- var v = y(m);
73
- if (v && ["http", "https", "file"].indexOf(v) === -1) {
74
- o(new a("Unsupported protocol " + v + ":", a.ERR_BAD_REQUEST, e));
48
+ }
49
+ let t = new XMLHttpRequest();
50
+ if (e.auth) {
51
+ const r = e.auth.username || "", d = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
52
+ s.set("Authorization", "Basic " + btoa(r + ":" + d));
53
+ }
54
+ const T = c(e.baseURL, e.url);
55
+ t.open(e.method.toUpperCase(), N(T, e.params, e.paramsSerializer), !0), t.timeout = e.timeout;
56
+ function x() {
57
+ if (!t)
75
58
  return;
76
- }
77
- r.send(d);
78
- });
79
- }, E;
80
- }
59
+ const r = C.from(
60
+ "getAllResponseHeaders" in t && t.getAllResponseHeaders()
61
+ ), p = {
62
+ data: !o || o === "text" || o === "json" ? t.responseText : t.response,
63
+ status: t.status,
64
+ statusText: t.statusText,
65
+ headers: r,
66
+ config: e,
67
+ request: t
68
+ };
69
+ k(function(b) {
70
+ f(b), E();
71
+ }, function(b) {
72
+ u(b), E();
73
+ }, p), t = null;
74
+ }
75
+ if ("onloadend" in t ? t.onloadend = x : t.onreadystatechange = function() {
76
+ !t || t.readyState !== 4 || t.status === 0 && !(t.responseURL && t.responseURL.indexOf("file:") === 0) || setTimeout(x);
77
+ }, t.onabort = function() {
78
+ t && (u(new l("Request aborted", l.ECONNABORTED, e, t)), t = null);
79
+ }, t.onerror = function() {
80
+ u(new l("Network Error", l.ERR_NETWORK, e, t)), t = null;
81
+ }, t.ontimeout = function() {
82
+ let d = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
83
+ const p = e.transitional || A;
84
+ e.timeoutErrorMessage && (d = e.timeoutErrorMessage), u(new l(
85
+ d,
86
+ p.clarifyTimeoutError ? l.ETIMEDOUT : l.ECONNABORTED,
87
+ e,
88
+ t
89
+ )), t = null;
90
+ }, R.hasStandardBrowserEnv && (a && h.isFunction(a) && (a = a(e)), a || a !== !1 && v(T))) {
91
+ const r = e.xsrfHeaderName && e.xsrfCookieName && L.read(e.xsrfCookieName);
92
+ r && s.set(e.xsrfHeaderName, r);
93
+ }
94
+ i === void 0 && s.setContentType(null), "setRequestHeader" in t && h.forEach(s.toJSON(), function(d, p) {
95
+ t.setRequestHeader(p, d);
96
+ }), h.isUndefined(e.withCredentials) || (t.withCredentials = !!e.withCredentials), o && o !== "json" && (t.responseType = e.responseType), typeof e.onDownloadProgress == "function" && t.addEventListener("progress", H(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && t.upload && t.upload.addEventListener("progress", H(e.onUploadProgress)), (e.cancelToken || e.signal) && (n = (r) => {
97
+ t && (u(!r || r.type ? new D(null, e, t) : r), t.abort(), t = null);
98
+ }, e.cancelToken && e.cancelToken.subscribe(n), e.signal && (e.signal.aborted ? n() : e.signal.addEventListener("abort", n)));
99
+ const w = q(T);
100
+ if (w && R.protocols.indexOf(w) === -1) {
101
+ u(new l("Unsupported protocol " + w + ":", l.ERR_BAD_REQUEST, e));
102
+ return;
103
+ }
104
+ t.send(i || null);
105
+ });
106
+ };
81
107
  export {
82
- ae as __require
108
+ G as default
83
109
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../_virtual/axios.cjs"),c=require("./utils.cjs"),l=require("./helpers/bind.cjs"),x=require("./core/Axios.cjs"),_=require("./core/mergeConfig.cjs"),q=require("./defaults/index.cjs"),d=require("./cancel/CanceledError.cjs"),p=require("./cancel/CancelToken.cjs"),m=require("./cancel/isCancel.cjs"),v=require("./env/data.cjs"),E=require("./helpers/toFormData.cjs"),C=require("./core/AxiosError.cjs"),A=require("./helpers/spread.cjs"),f=require("./helpers/isAxiosError.cjs");var s=c.utils,g=l.bind,t=x.Axios_1,b=_.mergeConfig,$=q.defaults_1;function a(i){var e=new t(i),o=g(t.prototype.request,e);return s.extend(o,t.prototype,e),s.extend(o,e),o.create=function(u){return a(b(i,u))},o}var r=a($);r.Axios=t;r.CanceledError=d.__require();r.CancelToken=p.__require();r.isCancel=m.__require();r.VERSION=v.__require().version;r.toFormData=E.toFormData_1;r.AxiosError=C.AxiosError_1;r.Cancel=r.CanceledError;r.all=function(e){return Promise.all(e)};r.spread=A.__require();r.isAxiosError=f.__require();n.__module.exports=r;n.__module.exports.default=r;var y=n.__module.exports;exports.axiosExports=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./utils.cjs"),d=require("./helpers/bind.cjs"),a=require("./core/Axios.cjs"),n=require("./core/mergeConfig.cjs"),i=require("./defaults/index.cjs"),c=require("./helpers/formDataToJSON.cjs"),f=require("./cancel/CanceledError.cjs"),q=require("./cancel/CancelToken.cjs"),x=require("./cancel/isCancel.cjs"),p=require("./env/data.cjs"),C=require("./helpers/toFormData.cjs"),m=require("./core/AxiosError.cjs"),A=require("./helpers/spread.cjs"),E=require("./helpers/isAxiosError.cjs"),S=require("./core/AxiosHeaders.cjs"),O=require("./adapters/adapters.cjs"),T=require("./helpers/HttpStatusCode.cjs");function s(t){const r=new a.default(t),o=d.default(a.default.prototype.request,r);return u.default.extend(o,a.default.prototype,r,{allOwnKeys:!0}),u.default.extend(o,r,null,{allOwnKeys:!0}),o.create=function(l){return s(n.default(t,l))},o}const e=s(i.default);e.Axios=a.default;e.CanceledError=f.default;e.CancelToken=q.default;e.isCancel=x.default;e.VERSION=p.VERSION;e.toFormData=C.default;e.AxiosError=m.default;e.Cancel=e.CanceledError;e.all=function(r){return Promise.all(r)};e.spread=A.default;e.isAxiosError=E.default;e.mergeConfig=n.default;e.AxiosHeaders=S.default;e.formToJSON=t=>c.default(u.default.isHTMLForm(t)?new FormData(t):t);e.getAdapter=O.default.getAdapter;e.HttpStatusCode=T.default;e.default=e;const g=e;exports.default=g;
@@ -1,41 +1,47 @@
1
- import { __module as t } from "../../../../_virtual/axios.js";
2
- import { u as p } from "./utils.js";
3
- import { b as u } from "./helpers/bind.js";
4
- import { A as f } from "./core/Axios.js";
5
- import { m as l } from "./core/mergeConfig.js";
6
- import { d as x } from "./defaults/index.js";
7
- import { __require as _ } from "./cancel/CanceledError.js";
8
- import { __require as c } from "./cancel/CancelToken.js";
9
- import { __require as d } from "./cancel/isCancel.js";
10
- import { __require as q } from "./env/data.js";
11
- import { t as v } from "./helpers/toFormData.js";
12
- import { A } from "./core/AxiosError.js";
13
- import { __require as C } from "./helpers/spread.js";
14
- import { __require as E } from "./helpers/isAxiosError.js";
15
- var s = p, I = u, a = f, $ = l, b = x;
16
- function m(i) {
17
- var e = new a(i), o = I(a.prototype.request, e);
18
- return s.extend(o, a.prototype, e), s.extend(o, e), o.create = function(n) {
19
- return m($(i, n));
20
- }, o;
1
+ import a from "./utils.js";
2
+ import p from "./helpers/bind.js";
3
+ import m from "./core/Axios.js";
4
+ import i from "./core/mergeConfig.js";
5
+ import f from "./defaults/index.js";
6
+ import l from "./helpers/formDataToJSON.js";
7
+ import c from "./cancel/CanceledError.js";
8
+ import d from "./cancel/CancelToken.js";
9
+ import u from "./cancel/isCancel.js";
10
+ import { VERSION as x } from "./env/data.js";
11
+ import C from "./helpers/toFormData.js";
12
+ import A from "./core/AxiosError.js";
13
+ import E from "./helpers/spread.js";
14
+ import O from "./helpers/isAxiosError.js";
15
+ import S from "./core/AxiosHeaders.js";
16
+ import H from "./adapters/adapters.js";
17
+ import T from "./helpers/HttpStatusCode.js";
18
+ function n(o) {
19
+ const t = new m(o), e = p(m.prototype.request, t);
20
+ return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
21
+ return n(i(o, s));
22
+ }, e;
21
23
  }
22
- var r = m(b);
23
- r.Axios = a;
24
- r.CanceledError = _();
25
- r.CancelToken = c();
26
- r.isCancel = d();
27
- r.VERSION = q().version;
28
- r.toFormData = v;
24
+ const r = n(f);
25
+ r.Axios = m;
26
+ r.CanceledError = c;
27
+ r.CancelToken = d;
28
+ r.isCancel = u;
29
+ r.VERSION = x;
30
+ r.toFormData = C;
29
31
  r.AxiosError = A;
30
32
  r.Cancel = r.CanceledError;
31
- r.all = function(e) {
32
- return Promise.all(e);
33
+ r.all = function(t) {
34
+ return Promise.all(t);
33
35
  };
34
- r.spread = C();
35
- r.isAxiosError = E();
36
- t.exports = r;
37
- t.exports.default = r;
38
- var z = t.exports;
36
+ r.spread = E;
37
+ r.isAxiosError = O;
38
+ r.mergeConfig = i;
39
+ r.AxiosHeaders = S;
40
+ r.formToJSON = (o) => l(a.isHTMLForm(o) ? new FormData(o) : o);
41
+ r.getAdapter = H.getAdapter;
42
+ r.HttpStatusCode = T;
43
+ r.default = r;
44
+ const j = r;
39
45
  export {
40
- z as a
46
+ j as default
41
47
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./CanceledError.cjs");var c,a;function h(){if(a)return c;a=1;var f=l.__require();function t(i){if(typeof i!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(r){n=r});var e=this;this.promise.then(function(s){if(e._listeners){var r,o=e._listeners.length;for(r=0;r<o;r++)e._listeners[r](s);e._listeners=null}}),this.promise.then=function(s){var r,o=new Promise(function(u){e.subscribe(u),r=u}).then(s);return o.cancel=function(){e.unsubscribe(r)},o},i(function(r){e.reason||(e.reason=new f(r),n(e.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var e=this._listeners.indexOf(n);e!==-1&&this._listeners.splice(e,1)}},t.source=function(){var n,e=new t(function(r){n=r});return{token:e,cancel:n}},c=t,c}exports.__require=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./CanceledError.cjs");class c{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(t){r=t});const s=this;this.promise.then(n=>{if(!s._listeners)return;let t=s._listeners.length;for(;t-- >0;)s._listeners[t](n);s._listeners=null}),this.promise.then=n=>{let t;const o=new Promise(i=>{s.subscribe(i),t=i}).then(n);return o.cancel=function(){s.unsubscribe(t)},o},e(function(t,o,i){s.reason||(s.reason=new u.default(t,o,i),r(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new c(function(n){e=n}),cancel:e}}}const l=c;exports.default=l;
@@ -1,60 +1,73 @@
1
- import { __require as l } from "./CanceledError.js";
2
- var c, a;
3
- function p() {
4
- if (a)
5
- return c;
6
- a = 1;
7
- var f = l();
8
- function s(t) {
9
- if (typeof t != "function")
1
+ import u from "./CanceledError.js";
2
+ class c {
3
+ constructor(e) {
4
+ if (typeof e != "function")
10
5
  throw new TypeError("executor must be a function.");
11
- var n;
12
- this.promise = new Promise(function(r) {
13
- n = r;
6
+ let r;
7
+ this.promise = new Promise(function(t) {
8
+ r = t;
14
9
  });
15
- var e = this;
16
- this.promise.then(function(i) {
17
- if (e._listeners) {
18
- var r, o = e._listeners.length;
19
- for (r = 0; r < o; r++)
20
- e._listeners[r](i);
21
- e._listeners = null;
22
- }
23
- }), this.promise.then = function(i) {
24
- var r, o = new Promise(function(u) {
25
- e.subscribe(u), r = u;
26
- }).then(i);
10
+ const s = this;
11
+ this.promise.then((n) => {
12
+ if (!s._listeners)
13
+ return;
14
+ let t = s._listeners.length;
15
+ for (; t-- > 0; )
16
+ s._listeners[t](n);
17
+ s._listeners = null;
18
+ }), this.promise.then = (n) => {
19
+ let t;
20
+ const o = new Promise((i) => {
21
+ s.subscribe(i), t = i;
22
+ }).then(n);
27
23
  return o.cancel = function() {
28
- e.unsubscribe(r);
24
+ s.unsubscribe(t);
29
25
  }, o;
30
- }, t(function(r) {
31
- e.reason || (e.reason = new f(r), n(e.reason));
26
+ }, e(function(t, o, i) {
27
+ s.reason || (s.reason = new u(t, o, i), r(s.reason));
32
28
  });
33
29
  }
34
- return s.prototype.throwIfRequested = function() {
30
+ /**
31
+ * Throws a `CanceledError` if cancellation has been requested.
32
+ */
33
+ throwIfRequested() {
35
34
  if (this.reason)
36
35
  throw this.reason;
37
- }, s.prototype.subscribe = function(n) {
36
+ }
37
+ /**
38
+ * Subscribe to the cancel signal
39
+ */
40
+ subscribe(e) {
38
41
  if (this.reason) {
39
- n(this.reason);
42
+ e(this.reason);
40
43
  return;
41
44
  }
42
- this._listeners ? this._listeners.push(n) : this._listeners = [n];
43
- }, s.prototype.unsubscribe = function(n) {
44
- if (this._listeners) {
45
- var e = this._listeners.indexOf(n);
46
- e !== -1 && this._listeners.splice(e, 1);
47
- }
48
- }, s.source = function() {
49
- var n, e = new s(function(r) {
50
- n = r;
51
- });
45
+ this._listeners ? this._listeners.push(e) : this._listeners = [e];
46
+ }
47
+ /**
48
+ * Unsubscribe from the cancel signal
49
+ */
50
+ unsubscribe(e) {
51
+ if (!this._listeners)
52
+ return;
53
+ const r = this._listeners.indexOf(e);
54
+ r !== -1 && this._listeners.splice(r, 1);
55
+ }
56
+ /**
57
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
58
+ * cancels the `CancelToken`.
59
+ */
60
+ static source() {
61
+ let e;
52
62
  return {
53
- token: e,
54
- cancel: n
63
+ token: new c(function(n) {
64
+ e = n;
65
+ }),
66
+ cancel: e
55
67
  };
56
- }, c = s, c;
68
+ }
57
69
  }
70
+ const h = c;
58
71
  export {
59
- p as __require
72
+ h as default
60
73
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../core/AxiosError.cjs"),l=require("../utils.cjs");var e,o;function a(){if(o)return e;o=1;var r=u.AxiosError_1,t=l.utils;function i(n){r.call(this,n??"canceled",r.ERR_CANCELED),this.name="CanceledError"}return t.inherits(i,r,{__CANCEL__:!0}),e=i,e}exports.__require=a;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../core/AxiosError.cjs"),i=require("../utils.cjs");function t(r,l,u){e.default.call(this,r??"canceled",e.default.ERR_CANCELED,l,u),this.name="CanceledError"}i.default.inherits(t,e.default,{__CANCEL__:!0});exports.default=t;
@@ -1,18 +1,11 @@
1
- import { A as t } from "../core/AxiosError.js";
2
- import { u as l } from "../utils.js";
3
- var e, a;
4
- function c() {
5
- if (a)
6
- return e;
7
- a = 1;
8
- var r = t, n = l;
9
- function i(o) {
10
- r.call(this, o ?? "canceled", r.ERR_CANCELED), this.name = "CanceledError";
11
- }
12
- return n.inherits(i, r, {
13
- __CANCEL__: !0
14
- }), e = i, e;
1
+ import r from "../core/AxiosError.js";
2
+ import i from "../utils.js";
3
+ function l(o, t, e) {
4
+ r.call(this, o ?? "canceled", r.ERR_CANCELED, t, e), this.name = "CanceledError";
15
5
  }
6
+ i.inherits(l, r, {
7
+ __CANCEL__: !0
8
+ });
16
9
  export {
17
- c as __require
10
+ l as default
18
11
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e,n;function i(){return n||(n=1,e=function(r){return!!(r&&r.__CANCEL__)}),e}exports.__require=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(e){return!!(e&&e.__CANCEL__)}exports.default=t;
@@ -1,9 +1,6 @@
1
- var r, n;
2
- function a() {
3
- return n || (n = 1, r = function(e) {
4
- return !!(e && e.__CANCEL__);
5
- }), r;
1
+ function t(n) {
2
+ return !!(n && n.__CANCEL__);
6
3
  }
7
4
  export {
8
- a as __require
5
+ t as default
9
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("../utils.cjs"),C=require("../helpers/buildURL.cjs"),w=require("./InterceptorManager.cjs"),I=require("./dispatchRequest.cjs"),M=require("./mergeConfig.cjs"),E=require("./buildFullPath.cjs"),$=require("../helpers/validator.cjs");var q=R.utils,L=C.buildURL,c=w.InterceptorManager_1,m=I.dispatchRequest,f=M.mergeConfig,S=E.buildFullPath,y=$.validator,n=y.validators;function l(h){this.defaults=h,this.interceptors={request:new c,response:new c}}l.prototype.request=function(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=f(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var a=e.transitional;a!==void 0&&y.assertOptions(a,{silentJSONParsing:n.transitional(n.boolean),forcedJSONParsing:n.transitional(n.boolean),clarifyTimeoutError:n.transitional(n.boolean)},!1);var u=[],d=!0;this.interceptors.request.forEach(function(s){typeof s.runWhen=="function"&&s.runWhen(e)===!1||(d=d&&s.synchronous,u.unshift(s.fulfilled,s.rejected))});var o=[];this.interceptors.response.forEach(function(s){o.push(s.fulfilled,s.rejected)});var r;if(!d){var i=[m,void 0];for(Array.prototype.unshift.apply(i,u),i=i.concat(o),r=Promise.resolve(e);i.length;)r=r.then(i.shift(),i.shift());return r}for(var v=e;u.length;){var b=u.shift(),P=u.shift();try{v=b(v)}catch(p){P(p);break}}try{r=m(v)}catch(p){return Promise.reject(p)}for(;o.length;)r=r.then(o.shift(),o.shift());return r};l.prototype.getUri=function(t){t=f(this.defaults,t);var e=S(t.baseURL,t.url);return L(e,t.params,t.paramsSerializer)};q.forEach(["delete","get","head","options"],function(t){l.prototype[t]=function(e,a){return this.request(f(a||{},{method:t,url:e,data:(a||{}).data}))}});q.forEach(["post","put","patch"],function(t){function e(a){return function(d,o,r){return this.request(f(r||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:d,data:o}))}}l.prototype[t]=e(),l.prototype[t+"Form"]=e(!0)});var T=l;exports.Axios_1=T;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("../utils.cjs"),S=require("../helpers/buildURL.cjs"),w=require("./InterceptorManager.cjs"),M=require("./dispatchRequest.cjs"),p=require("./mergeConfig.cjs"),v=require("./buildFullPath.cjs"),E=require("../helpers/validator.cjs"),C=require("./AxiosHeaders.cjs"),l=E.default.validators;class m{constructor(t){this.defaults=t,this.interceptors={request:new w.default,response:new w.default}}request(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=p.default(this.defaults,e);const{transitional:o,paramsSerializer:h,headers:u}=e;o!==void 0&&E.default.assertOptions(o,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1),h!=null&&(f.default.isFunction(h)?e.paramsSerializer={serialize:h}:E.default.assertOptions(h,{encode:l.function,serialize:l.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let q=u&&f.default.merge(u.common,u[e.method]);u&&f.default.forEach(["delete","get","head","post","put","patch","common"],r=>{delete u[r]}),e.headers=C.default.concat(q,u);const i=[];let y=!0;this.interceptors.request.forEach(function(a){typeof a.runWhen=="function"&&a.runWhen(e)===!1||(y=y&&a.synchronous,i.unshift(a.fulfilled,a.rejected))});const c=[];this.interceptors.response.forEach(function(a){c.push(a.fulfilled,a.rejected)});let n,s=0,d;if(!y){const r=[M.default.bind(this),void 0];for(r.unshift.apply(r,i),r.push.apply(r,c),d=r.length,n=Promise.resolve(e);s<d;)n=n.then(r[s++],r[s++]);return n}d=i.length;let b=e;for(s=0;s<d;){const r=i[s++],a=i[s++];try{b=r(b)}catch(R){a.call(this,R);break}}try{n=M.default.call(this,b)}catch(r){return Promise.reject(r)}for(s=0,d=c.length;s<d;)n=n.then(c[s++],c[s++]);return n}getUri(t){t=p.default(this.defaults,t);const e=v.default(t.baseURL,t.url);return S.default(e,t.params,t.paramsSerializer)}}f.default.forEach(["delete","get","head","options"],function(t){m.prototype[t]=function(e,o){return this.request(p.default(o||{},{method:t,url:e,data:(o||{}).data}))}});f.default.forEach(["post","put","patch"],function(t){function e(o){return function(u,q,i){return this.request(p.default(i||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:u,data:q}))}}m.prototype[t]=e(),m.prototype[t+"Form"]=e(!0)});const I=m;exports.default=I;