@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.
- package/dist/_virtual/_commonjsHelpers.cjs +1 -1
- package/dist/_virtual/_commonjsHelpers.js +5 -3
- package/dist/_virtual/browser-ponyfill.cjs +1 -0
- package/dist/_virtual/browser-ponyfill.js +4 -0
- package/dist/_virtual/crc32.cjs +1 -0
- package/dist/_virtual/crc32.js +4 -0
- package/dist/_virtual/events.cjs +1 -0
- package/dist/_virtual/events.js +4 -0
- package/dist/_virtual/index.cjs +1 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -0
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +557 -0
- package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +1 -0
- package/dist/node_modules/@ethereumjs/rlp/dist/index.js +164 -0
- package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +1 -0
- package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +19 -0
- package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +1 -0
- package/dist/node_modules/@noble/curves/esm/abstract/curve.js +88 -0
- package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -0
- package/dist/node_modules/@noble/curves/esm/abstract/modular.js +210 -0
- package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -0
- package/dist/node_modules/@noble/curves/esm/abstract/utils.js +178 -0
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -0
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +581 -0
- package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -0
- package/dist/node_modules/@noble/curves/esm/secp256k1.js +47 -0
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/_assert.js +48 -0
- package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/_sha2.js +61 -0
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/_u64.js +48 -0
- package/dist/node_modules/@noble/hashes/esm/crypto.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/crypto.js +4 -0
- package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/hmac.js +43 -0
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +32 -0
- package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/scrypt.js +73 -0
- package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/sha256.js +120 -0
- package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/sha3.js +118 -0
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/sha512.js +144 -0
- package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -0
- package/dist/node_modules/@noble/hashes/esm/utils.js +64 -0
- package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +1 -0
- package/dist/node_modules/abitype/dist/chunk-NHABU752.js +4 -0
- package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +1 -0
- package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +11 -0
- package/dist/node_modules/abitype/dist/index.cjs +2 -0
- package/dist/node_modules/abitype/dist/index.js +299 -0
- package/dist/node_modules/crc-32/crc32.cjs +1 -0
- package/dist/node_modules/crc-32/crc32.js +51 -0
- package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +2 -0
- package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +320 -0
- package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +1 -0
- package/dist/node_modules/ethereum-cryptography/esm/aes.js +61 -0
- package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +1 -0
- package/dist/node_modules/ethereum-cryptography/esm/keccak.js +9 -0
- package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +1 -0
- package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +15 -0
- package/dist/node_modules/ethereum-cryptography/esm/random.cjs +1 -0
- package/dist/node_modules/ethereum-cryptography/esm/random.js +7 -0
- package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +1 -0
- package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +8 -0
- package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +1 -0
- package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +4 -0
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -0
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +35 -0
- package/dist/node_modules/events/events.cjs +1 -0
- package/dist/node_modules/events/events.js +229 -0
- package/dist/node_modules/isomorphic-ws/browser.cjs +1 -0
- package/dist/node_modules/isomorphic-ws/browser.js +6 -0
- package/dist/node_modules/setimmediate/setImmediate.cjs +1 -0
- package/dist/node_modules/setimmediate/setImmediate.js +99 -0
- package/dist/node_modules/web3/lib/esm/abi.cjs +1 -0
- package/dist/node_modules/web3/lib/esm/abi.js +24 -0
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -0
- package/dist/node_modules/web3/lib/esm/accounts.js +101 -0
- package/dist/node_modules/web3/lib/esm/index.cjs +1 -0
- package/dist/node_modules/web3/lib/esm/index.js +76 -0
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -0
- package/dist/node_modules/web3/lib/esm/version.js +4 -0
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -0
- package/dist/node_modules/web3/lib/esm/web3.js +89 -0
- package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/utils.js +14 -0
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +83 -0
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +343 -0
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +227 -0
- package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +39 -0
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +58 -0
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +240 -0
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +155 -0
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -0
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +111 -0
- package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/error_codes.js +106 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +58 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +37 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +49 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +16 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +16 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +49 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +28 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +30 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +161 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +129 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +13 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +10 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +5 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +256 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +76 -0
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -0
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +28 -0
- package/dist/node_modules/web3-eth/lib/esm/constants.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/constants.js +14 -0
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +413 -0
- package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/schemas.js +570 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +31 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +34 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +90 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +30 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +77 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +50 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +79 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +102 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +109 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +143 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +131 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +52 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +61 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_pooling.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_pooling.js +51 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +77 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +42 -0
- package/dist/node_modules/web3-eth/lib/esm/validation.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/validation.js +111 -0
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +1512 -0
- package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +65 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +13 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +13 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +20 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +14 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +22 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +47 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +72 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +37 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +66 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +59 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +85 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +15 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +22 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +77 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +15 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +16 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +23 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +58 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +18 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +1 -0
- package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +39 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +219 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +99 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +115 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +102 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +741 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +25 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +29 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +28 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +181 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +20 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +14 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +87 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +24 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +20 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +29 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +16 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +15 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +20 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +16 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +16 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +16 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +16 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +21 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +26 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +20 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +16 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +20 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +49 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +27 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +14 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +10 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +59 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +441 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +71 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +13 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +14 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +18 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +39 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +90 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +10 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +15 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +10 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +18 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +42 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +10 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +23 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +46 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +7 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +277 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +25 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +57 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +272 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +11 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +285 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +268 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +256 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +89 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +18 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +80 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -0
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +361 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +510 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +80 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/index.js +27 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +36 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +90 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +1 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +168 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +1 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +578 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +1 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/config.js +27 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +241 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +105 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +95 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +1 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +19 -0
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -0
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +283 -0
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -0
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +265 -0
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -0
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +93 -0
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -0
- package/dist/node_modules/web3-net/lib/esm/net.js +97 -0
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -0
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +51 -0
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -0
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +98 -0
- package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +1 -0
- package/dist/node_modules/web3-providers-ws/lib/esm/index.js +70 -0
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -0
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +407 -0
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -0
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +56 -0
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -0
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +84 -0
- package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +1 -0
- package/dist/node_modules/web3-types/lib/esm/data_format_types.js +15 -0
- package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +1 -0
- package/dist/node_modules/web3-types/lib/esm/eth_types.js +12 -0
- package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +1 -0
- package/dist/node_modules/web3-types/lib/esm/primitives_types.js +4 -0
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -0
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +89 -0
- package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +1 -0
- package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +8 -0
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +37 -0
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/converters.js +177 -0
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +91 -0
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +134 -0
- package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/hash.js +107 -0
- package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/index.js +107 -0
- package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +41 -0
- package/dist/node_modules/web3-utils/lib/esm/objects.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/objects.js +20 -0
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +104 -0
- package/dist/node_modules/web3-utils/lib/esm/random.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/random.js +7 -0
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +195 -0
- package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +48 -0
- package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/uint8array.js +21 -0
- package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/uuid.js +17 -0
- package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/validation.js +50 -0
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +114 -0
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -0
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +86 -0
- package/dist/node_modules/web3-validator/lib/esm/constants.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/constants.js +4 -0
- package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/default_validator.js +5 -0
- package/dist/node_modules/web3-validator/lib/esm/errors.cjs +3 -0
- package/dist/node_modules/web3-validator/lib/esm/errors.js +17 -0
- package/dist/node_modules/web3-validator/lib/esm/formats.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/formats.js +31 -0
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/utils.js +178 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +4 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/address.js +22 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/block.js +10 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +29 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +5 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +27 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +26 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +52 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/object.js +13 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/string.js +23 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +6 -0
- package/dist/node_modules/web3-validator/lib/esm/validator.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/validator.js +84 -0
- package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +1 -0
- package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +31 -0
- package/dist/node_modules/zod/lib/index.cjs +1 -0
- package/dist/node_modules/zod/lib/index.js +2854 -0
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +3 -0
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +51 -0
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +105 -79
- package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/axios.js +41 -35
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +57 -44
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +8 -15
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +3 -6
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +101 -72
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +19 -19
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +56 -22
- package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +6 -6
- package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +23 -38
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +62 -58
- package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +11 -18
- package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +11 -9
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +49 -48
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +2 -2
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +2 -7
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +4 -6
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +13 -24
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +4 -4
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +30 -40
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +30 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +3 -3
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +4 -11
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +34 -39
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +2 -5
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -2
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +28 -38
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +4 -7
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +5 -8
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +79 -32
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +33 -31
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +7 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +1 -0
- package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/utils.js +212 -140
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -72
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -2
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +30 -61
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +20 -21
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +28 -33
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +6 -41
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +75 -33
- package/dist/prometheus-framework.cjs.js +29 -30
- package/dist/prometheus-framework.es.js +3953 -3225
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/modules/payments/components/pages/Payments.vue +32 -34
- package/src/modules/products/components/blocks/CardLeftover.vue +1 -2
- package/src/modules/products/components/blocks/CardProduct.vue +1 -17
- package/src/modules/products/components/sections/EditProductInfo.vue +3 -5
@@ -0,0 +1,28 @@
|
|
1
|
+
import { ERR_INVALID_CLIENT as o, ERR_WS_PROVIDER as t, ERR_PROVIDER as c, ERR_SUBSCRIPTION as i } from "../error_codes.js";
|
2
|
+
import { BaseWeb3Error as r } from "../web3_error_base.js";
|
3
|
+
class d extends r {
|
4
|
+
constructor() {
|
5
|
+
super(...arguments), this.code = c;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
class u extends r {
|
9
|
+
constructor(e) {
|
10
|
+
super(`Client URL "${e}" is invalid.`), this.code = o;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
class E extends r {
|
14
|
+
constructor() {
|
15
|
+
super(...arguments), this.code = i;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
class a extends r {
|
19
|
+
constructor() {
|
20
|
+
super(...arguments), this.code = t;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
export {
|
24
|
+
u as InvalidClientError,
|
25
|
+
d as ProviderError,
|
26
|
+
E as SubscriptionError,
|
27
|
+
a as Web3WSProviderError
|
28
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../web3_error_base.cjs"),c=require("../error_codes.cjs"),s=i=>!Array.isArray(i)&&i.jsonrpc==="2.0"&&!!i&&(i.result===void 0||i.result===null)&&"error"in i&&(typeof i.id=="number"||typeof i.id=="string"),u=i=>s(i)?i.error.message:"";class l extends E.BaseWeb3Error{constructor(r,t,o){var a;super(t??`Returned error: ${Array.isArray(r)?r.map(e=>u(e)).join(","):u(r)}`),this.code=c.ERR_RESPONSE,t||(this.data=Array.isArray(r)?r.map(e=>{var n;return(n=e.error)===null||n===void 0?void 0:n.data}):(a=r==null?void 0:r.error)===null||a===void 0?void 0:a.data),this.request=o;let d;"error"in r?d=r.error:r instanceof Array&&(d=r.map(e=>e.error)),this.innerError=d}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{data:this.data,request:this.request})}}class f extends l{constructor(r,t){super(r,void 0,t),this.code=c.ERR_INVALID_RESPONSE;let o;"error"in r?o=r.error:r instanceof Array&&(o=r.map(a=>a.error)),this.innerError=o}}exports.InvalidResponseError=f;exports.ResponseError=l;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { BaseWeb3Error as l } from "../web3_error_base.js";
|
2
|
+
import { ERR_INVALID_RESPONSE as c, ERR_RESPONSE as E } from "../error_codes.js";
|
3
|
+
const f = (i) => !Array.isArray(i) && i.jsonrpc === "2.0" && !!i && // eslint-disable-next-line no-null/no-null
|
4
|
+
(i.result === void 0 || i.result === null) && // JSON RPC consider "null" as valid response
|
5
|
+
"error" in i && (typeof i.id == "number" || typeof i.id == "string"), u = (i) => f(i) ? i.error.message : "";
|
6
|
+
class v extends l {
|
7
|
+
constructor(r, t, o) {
|
8
|
+
var a;
|
9
|
+
super(t ?? `Returned error: ${Array.isArray(r) ? r.map((d) => u(d)).join(",") : u(r)}`), this.code = E, t || (this.data = Array.isArray(r) ? r.map((d) => {
|
10
|
+
var e;
|
11
|
+
return (e = d.error) === null || e === void 0 ? void 0 : e.data;
|
12
|
+
}) : (a = r == null ? void 0 : r.error) === null || a === void 0 ? void 0 : a.data), this.request = o;
|
13
|
+
let n;
|
14
|
+
"error" in r ? n = r.error : r instanceof Array && (n = r.map((d) => d.error)), this.innerError = n;
|
15
|
+
}
|
16
|
+
toJSON() {
|
17
|
+
return Object.assign(Object.assign({}, super.toJSON()), { data: this.data, request: this.request });
|
18
|
+
}
|
19
|
+
}
|
20
|
+
class h extends v {
|
21
|
+
constructor(r, t) {
|
22
|
+
super(r, void 0, t), this.code = c;
|
23
|
+
let o;
|
24
|
+
"error" in r ? o = r.error : r instanceof Array && (o = r.map((a) => a.error)), this.innerError = o;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
export {
|
28
|
+
h as InvalidResponseError,
|
29
|
+
v as ResponseError
|
30
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../error_codes.cjs"),t="An Rpc error has occured with a code of *code*",s={[e.ERR_RPC_INVALID_JSON]:{message:"Parse error",description:"Invalid JSON"},[e.ERR_RPC_INVALID_REQUEST]:{message:"Invalid request",description:"JSON is not a valid request object "},[e.ERR_RPC_INVALID_METHOD]:{message:"Method not found",description:"Method does not exist "},[e.ERR_RPC_INVALID_PARAMS]:{message:"Invalid params",description:"Invalid method parameters"},[e.ERR_RPC_INTERNAL_ERROR]:{message:"Internal error",description:"Internal JSON-RPC error"},[e.ERR_RPC_INVALID_INPUT]:{message:"Invalid input",description:"Missing or invalid parameters"},[e.ERR_RPC_MISSING_RESOURCE]:{message:"Resource not found",description:"Requested resource not found"},[e.ERR_RPC_UNAVAILABLE_RESOURCE]:{message:"Resource unavailable",description:"Requested resource not available"},[e.ERR_RPC_TRANSACTION_REJECTED]:{message:"Transaction rejected",description:"Transaction creation failed"},[e.ERR_RPC_UNSUPPORTED_METHOD]:{message:"Method not supported",description:"Method is not implemented"},[e.ERR_RPC_LIMIT_EXCEEDED]:{message:"Limit exceeded",description:"Request exceeds defined limit"},[e.ERR_RPC_NOT_SUPPORTED]:{message:"JSON-RPC version not supported",description:"Version of JSON-RPC protocol is not supported"},[e.JSONRPC_ERR_REJECTED_REQUEST]:{name:"User Rejected Request",message:"The user rejected the request."},[e.JSONRPC_ERR_UNAUTHORIZED]:{name:"Unauthorized",message:"The requested method and/or account has not been authorized by the user."},[e.JSONRPC_ERR_UNSUPPORTED_METHOD]:{name:"Unsupported Method",message:"The Provider does not support the requested method."},[e.JSONRPC_ERR_DISCONNECTED]:{name:"Disconnected",message:"The Provider is disconnected from all chains."},[e.JSONRPC_ERR_CHAIN_DISCONNECTED]:{name:"Chain Disconnected",message:"The Provider is not connected to the requested chain."},"0-999":{name:"",message:"Not used."},1e3:{name:"Normal Closure",message:"The connection successfully completed the purpose for which it was created."},1001:{name:"Going Away",message:"The endpoint is going away, either because of a server failure or because the browser is navigating away from the page that opened the connection."},1002:{name:"Protocol error",message:"The endpoint is terminating the connection due to a protocol error."},1003:{name:"Unsupported Data",message:"The connection is being terminated because the endpoint received data of a type it cannot accept. (For example, a text-only endpoint received binary data.)"},1004:{name:"Reserved",message:"Reserved. A meaning might be defined in the future."},1005:{name:"No Status Rcvd",message:"Reserved. Indicates that no status code was provided even though one was expected."},1006:{name:"Abnormal Closure",message:"Reserved. Indicates that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected."},1007:{name:"Invalid frame payload data",message:"The endpoint is terminating the connection because a message was received that contained inconsistent data (e.g., non-UTF-8 data within a text message)."},1008:{name:"Policy Violation",message:"The endpoint is terminating the connection because it received a message that violates its policy. This is a generic status code, used when codes 1003 and 1009 are not suitable."},1009:{name:"Message Too Big",message:"The endpoint is terminating the connection because a data frame was received that is too large."},1010:{name:"Mandatory Ext.",message:"The client is terminating the connection because it expected the server to negotiate one or more extension, but the server didn't."},1011:{name:"Internal Error",message:"The server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request."},1012:{name:"Service Restart",message:"The server is terminating the connection because it is restarting."},1013:{name:"Try Again Later",message:"The server is terminating the connection due to a temporary condition, e.g. it is overloaded and is casting off some of its clients."},1014:{name:"Bad Gateway",message:"The server was acting as a gateway or proxy and received an invalid response from the upstream server. This is similar to 502 HTTP Status Code."},1015:{name:"TLS handshake",message:"Reserved. Indicates that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified)."},"1016-2999":{name:"",message:"For definition by future revisions of the WebSocket Protocol specification, and for definition by extension specifications."},"3000-3999":{name:"",message:"For use by libraries, frameworks, and applications. These status codes are registered directly with IANA. The interpretation of these codes is undefined by the WebSocket protocol."},"4000-4999":{name:"",message:"For private use, and thus can't be registered. Such codes can be used by prior agreements between WebSocket applications. The interpretation of these codes is undefined by the WebSocket protocol."}};exports.RpcErrorMessages=s;exports.genericRpcErrorMessageTemplate=t;
|
@@ -0,0 +1,161 @@
|
|
1
|
+
import { ERR_RPC_INVALID_JSON as e, ERR_RPC_INVALID_REQUEST as t, ERR_RPC_INVALID_METHOD as s, ERR_RPC_INVALID_PARAMS as a, ERR_RPC_INTERNAL_ERROR as n, ERR_RPC_INVALID_INPUT as o, ERR_RPC_MISSING_RESOURCE as i, ERR_RPC_UNAVAILABLE_RESOURCE as r, ERR_RPC_TRANSACTION_REJECTED as d, ERR_RPC_UNSUPPORTED_METHOD as c, ERR_RPC_LIMIT_EXCEEDED as m, ERR_RPC_NOT_SUPPORTED as h, JSONRPC_ERR_REJECTED_REQUEST as R, JSONRPC_ERR_UNAUTHORIZED as g, JSONRPC_ERR_UNSUPPORTED_METHOD as p, JSONRPC_ERR_DISCONNECTED as u, JSONRPC_ERR_CHAIN_DISCONNECTED as l } from "../error_codes.js";
|
2
|
+
const T = "An Rpc error has occured with a code of *code*", _ = {
|
3
|
+
// EIP-1474 & JSON RPC 2.0
|
4
|
+
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md
|
5
|
+
[e]: {
|
6
|
+
message: "Parse error",
|
7
|
+
description: "Invalid JSON"
|
8
|
+
},
|
9
|
+
[t]: {
|
10
|
+
message: "Invalid request",
|
11
|
+
description: "JSON is not a valid request object "
|
12
|
+
},
|
13
|
+
[s]: {
|
14
|
+
message: "Method not found",
|
15
|
+
description: "Method does not exist "
|
16
|
+
},
|
17
|
+
[a]: {
|
18
|
+
message: "Invalid params",
|
19
|
+
description: "Invalid method parameters"
|
20
|
+
},
|
21
|
+
[n]: {
|
22
|
+
message: "Internal error",
|
23
|
+
description: "Internal JSON-RPC error"
|
24
|
+
},
|
25
|
+
[o]: {
|
26
|
+
message: "Invalid input",
|
27
|
+
description: "Missing or invalid parameters"
|
28
|
+
},
|
29
|
+
[i]: {
|
30
|
+
message: "Resource not found",
|
31
|
+
description: "Requested resource not found"
|
32
|
+
},
|
33
|
+
[r]: {
|
34
|
+
message: "Resource unavailable",
|
35
|
+
description: "Requested resource not available"
|
36
|
+
},
|
37
|
+
[d]: {
|
38
|
+
message: "Transaction rejected",
|
39
|
+
description: "Transaction creation failed"
|
40
|
+
},
|
41
|
+
[c]: {
|
42
|
+
message: "Method not supported",
|
43
|
+
description: "Method is not implemented"
|
44
|
+
},
|
45
|
+
[m]: {
|
46
|
+
message: "Limit exceeded",
|
47
|
+
description: "Request exceeds defined limit"
|
48
|
+
},
|
49
|
+
[h]: {
|
50
|
+
message: "JSON-RPC version not supported",
|
51
|
+
description: "Version of JSON-RPC protocol is not supported"
|
52
|
+
},
|
53
|
+
// EIP-1193
|
54
|
+
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md#provider-errors
|
55
|
+
[R]: {
|
56
|
+
name: "User Rejected Request",
|
57
|
+
message: "The user rejected the request."
|
58
|
+
},
|
59
|
+
[g]: {
|
60
|
+
name: "Unauthorized",
|
61
|
+
message: "The requested method and/or account has not been authorized by the user."
|
62
|
+
},
|
63
|
+
[p]: {
|
64
|
+
name: "Unsupported Method",
|
65
|
+
message: "The Provider does not support the requested method."
|
66
|
+
},
|
67
|
+
[u]: {
|
68
|
+
name: "Disconnected",
|
69
|
+
message: "The Provider is disconnected from all chains."
|
70
|
+
},
|
71
|
+
[l]: {
|
72
|
+
name: "Chain Disconnected",
|
73
|
+
message: "The Provider is not connected to the requested chain."
|
74
|
+
},
|
75
|
+
// EIP-1193 - CloseEvent
|
76
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code
|
77
|
+
"0-999": {
|
78
|
+
name: "",
|
79
|
+
message: "Not used."
|
80
|
+
},
|
81
|
+
1e3: {
|
82
|
+
name: "Normal Closure",
|
83
|
+
message: "The connection successfully completed the purpose for which it was created."
|
84
|
+
},
|
85
|
+
1001: {
|
86
|
+
name: "Going Away",
|
87
|
+
message: "The endpoint is going away, either because of a server failure or because the browser is navigating away from the page that opened the connection."
|
88
|
+
},
|
89
|
+
1002: {
|
90
|
+
name: "Protocol error",
|
91
|
+
message: "The endpoint is terminating the connection due to a protocol error."
|
92
|
+
},
|
93
|
+
1003: {
|
94
|
+
name: "Unsupported Data",
|
95
|
+
message: "The connection is being terminated because the endpoint received data of a type it cannot accept. (For example, a text-only endpoint received binary data.)"
|
96
|
+
},
|
97
|
+
1004: {
|
98
|
+
name: "Reserved",
|
99
|
+
message: "Reserved. A meaning might be defined in the future."
|
100
|
+
},
|
101
|
+
1005: {
|
102
|
+
name: "No Status Rcvd",
|
103
|
+
message: "Reserved. Indicates that no status code was provided even though one was expected."
|
104
|
+
},
|
105
|
+
1006: {
|
106
|
+
name: "Abnormal Closure",
|
107
|
+
message: "Reserved. Indicates that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected."
|
108
|
+
},
|
109
|
+
1007: {
|
110
|
+
name: "Invalid frame payload data",
|
111
|
+
message: "The endpoint is terminating the connection because a message was received that contained inconsistent data (e.g., non-UTF-8 data within a text message)."
|
112
|
+
},
|
113
|
+
1008: {
|
114
|
+
name: "Policy Violation",
|
115
|
+
message: "The endpoint is terminating the connection because it received a message that violates its policy. This is a generic status code, used when codes 1003 and 1009 are not suitable."
|
116
|
+
},
|
117
|
+
1009: {
|
118
|
+
name: "Message Too Big",
|
119
|
+
message: "The endpoint is terminating the connection because a data frame was received that is too large."
|
120
|
+
},
|
121
|
+
1010: {
|
122
|
+
name: "Mandatory Ext.",
|
123
|
+
message: "The client is terminating the connection because it expected the server to negotiate one or more extension, but the server didn't."
|
124
|
+
},
|
125
|
+
1011: {
|
126
|
+
name: "Internal Error",
|
127
|
+
message: "The server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request."
|
128
|
+
},
|
129
|
+
1012: {
|
130
|
+
name: "Service Restart",
|
131
|
+
message: "The server is terminating the connection because it is restarting."
|
132
|
+
},
|
133
|
+
1013: {
|
134
|
+
name: "Try Again Later",
|
135
|
+
message: "The server is terminating the connection due to a temporary condition, e.g. it is overloaded and is casting off some of its clients."
|
136
|
+
},
|
137
|
+
1014: {
|
138
|
+
name: "Bad Gateway",
|
139
|
+
message: "The server was acting as a gateway or proxy and received an invalid response from the upstream server. This is similar to 502 HTTP Status Code."
|
140
|
+
},
|
141
|
+
1015: {
|
142
|
+
name: "TLS handshake",
|
143
|
+
message: "Reserved. Indicates that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified)."
|
144
|
+
},
|
145
|
+
"1016-2999": {
|
146
|
+
name: "",
|
147
|
+
message: "For definition by future revisions of the WebSocket Protocol specification, and for definition by extension specifications."
|
148
|
+
},
|
149
|
+
"3000-3999": {
|
150
|
+
name: "",
|
151
|
+
message: "For use by libraries, frameworks, and applications. These status codes are registered directly with IANA. The interpretation of these codes is undefined by the WebSocket protocol."
|
152
|
+
},
|
153
|
+
"4000-4999": {
|
154
|
+
name: "",
|
155
|
+
message: "For private use, and thus can't be registered. Such codes can be used by prior agreements between WebSocket applications. The interpretation of these codes is undefined by the WebSocket protocol."
|
156
|
+
}
|
157
|
+
};
|
158
|
+
export {
|
159
|
+
_ as RpcErrorMessages,
|
160
|
+
T as genericRpcErrorMessageTemplate
|
161
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("../web3_error_base.cjs"),e=require("../error_codes.cjs"),s=require("./rpc_error_messages.cjs");class o extends I.BaseWeb3Error{constructor(r,t){super(t??s.genericRpcErrorMessageTemplate.replace("*code*",r.error.code.toString())),this.code=r.error.code,this.id=r.id,this.jsonrpc=r.jsonrpc,this.jsonRpcError=r.error}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{error:this.jsonRpcError,id:this.id,jsonRpc:this.jsonrpc})}}class O extends I.BaseWeb3Error{constructor(r,t){var _,c,a,n;if(!r)super();else if(!((_=s.RpcErrorMessages[r])===null||_===void 0)&&_.message)super(s.RpcErrorMessages[r].message);else{const i=Object.keys(s.RpcErrorMessages).find(d=>typeof d=="string"&&r>=parseInt(d.split("-")[0],10)&&r<=parseInt(d.split("-")[1],10));super((a=(c=s.RpcErrorMessages[i??""])===null||c===void 0?void 0:c.message)!==null&&a!==void 0?a:s.genericRpcErrorMessageTemplate.replace("*code*",(n=r==null?void 0:r.toString())!==null&&n!==void 0?n:'""'))}this.code=r,this.data=t}}class p extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_INVALID_JSON].message),this.code=e.ERR_RPC_INVALID_JSON}}class P extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_INVALID_REQUEST].message),this.code=e.ERR_RPC_INVALID_REQUEST}}class u extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_INVALID_METHOD].message),this.code=e.ERR_RPC_INVALID_METHOD}}class N extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_INVALID_PARAMS].message),this.code=e.ERR_RPC_INVALID_PARAMS}}class l extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_INTERNAL_ERROR].message),this.code=e.ERR_RPC_INTERNAL_ERROR}}class C extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_INVALID_INPUT].message),this.code=e.ERR_RPC_INVALID_INPUT}}class g extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_UNSUPPORTED_METHOD].message),this.code=e.ERR_RPC_UNSUPPORTED_METHOD}}class M extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_UNAVAILABLE_RESOURCE].message),this.code=e.ERR_RPC_UNAVAILABLE_RESOURCE}}class T extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_MISSING_RESOURCE].message),this.code=e.ERR_RPC_MISSING_RESOURCE}}class S extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_NOT_SUPPORTED].message),this.code=e.ERR_RPC_NOT_SUPPORTED}}class A extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_TRANSACTION_REJECTED].message),this.code=e.ERR_RPC_TRANSACTION_REJECTED}}class D extends o{constructor(r){super(r,s.RpcErrorMessages[e.ERR_RPC_LIMIT_EXCEEDED].message),this.code=e.ERR_RPC_LIMIT_EXCEEDED}}const E=new Map;E.set(e.ERR_RPC_INVALID_JSON,{error:p});E.set(e.ERR_RPC_INVALID_REQUEST,{error:P});E.set(e.ERR_RPC_INVALID_METHOD,{error:u});E.set(e.ERR_RPC_INVALID_PARAMS,{error:N});E.set(e.ERR_RPC_INTERNAL_ERROR,{error:l});E.set(e.ERR_RPC_INVALID_INPUT,{error:C});E.set(e.ERR_RPC_UNSUPPORTED_METHOD,{error:g});E.set(e.ERR_RPC_UNAVAILABLE_RESOURCE,{error:M});E.set(e.ERR_RPC_TRANSACTION_REJECTED,{error:A});E.set(e.ERR_RPC_MISSING_RESOURCE,{error:T});E.set(e.ERR_RPC_NOT_SUPPORTED,{error:S});E.set(e.ERR_RPC_LIMIT_EXCEEDED,{error:D});exports.EIP1193ProviderRpcError=O;exports.InternalError=l;exports.InvalidInputError=C;exports.InvalidParamsError=N;exports.InvalidRequestError=P;exports.LimitExceededError=D;exports.MethodNotFoundError=u;exports.MethodNotSupported=g;exports.ParseError=p;exports.ResourceUnavailableError=M;exports.ResourcesNotFoundError=T;exports.RpcError=o;exports.TransactionRejectedError=A;exports.VersionNotSupportedError=S;exports.rpcErrorsMap=E;
|
@@ -0,0 +1,129 @@
|
|
1
|
+
import { BaseWeb3Error as C } from "../web3_error_base.js";
|
2
|
+
import { ERR_RPC_INVALID_JSON as u, ERR_RPC_INVALID_REQUEST as p, ERR_RPC_INVALID_METHOD as l, ERR_RPC_INVALID_PARAMS as _, ERR_RPC_INTERNAL_ERROR as I, ERR_RPC_INVALID_INPUT as h, ERR_RPC_UNSUPPORTED_METHOD as g, ERR_RPC_UNAVAILABLE_RESOURCE as m, ERR_RPC_TRANSACTION_REJECTED as P, ERR_RPC_MISSING_RESOURCE as N, ERR_RPC_NOT_SUPPORTED as v, ERR_RPC_LIMIT_EXCEEDED as x } from "../error_codes.js";
|
3
|
+
import { RpcErrorMessages as s, genericRpcErrorMessageTemplate as S } from "./rpc_error_messages.js";
|
4
|
+
class o extends C {
|
5
|
+
constructor(r, c) {
|
6
|
+
super(c ?? S.replace("*code*", r.error.code.toString())), this.code = r.error.code, this.id = r.id, this.jsonrpc = r.jsonrpc, this.jsonRpcError = r.error;
|
7
|
+
}
|
8
|
+
toJSON() {
|
9
|
+
return Object.assign(Object.assign({}, super.toJSON()), { error: this.jsonRpcError, id: this.id, jsonRpc: this.jsonrpc });
|
10
|
+
}
|
11
|
+
}
|
12
|
+
class H extends C {
|
13
|
+
constructor(r, c) {
|
14
|
+
var n, R, i, a;
|
15
|
+
if (!r)
|
16
|
+
super();
|
17
|
+
else if (!((n = s[r]) === null || n === void 0) && n.message)
|
18
|
+
super(s[r].message);
|
19
|
+
else {
|
20
|
+
const d = Object.keys(s).find((E) => typeof E == "string" && r >= parseInt(E.split("-")[0], 10) && r <= parseInt(E.split("-")[1], 10));
|
21
|
+
super((i = (R = s[d ?? ""]) === null || R === void 0 ? void 0 : R.message) !== null && i !== void 0 ? i : S.replace("*code*", (a = r == null ? void 0 : r.toString()) !== null && a !== void 0 ? a : '""'));
|
22
|
+
}
|
23
|
+
this.code = r, this.data = c;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
class O extends o {
|
27
|
+
constructor(r) {
|
28
|
+
super(r, s[u].message), this.code = u;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
class T extends o {
|
32
|
+
constructor(r) {
|
33
|
+
super(r, s[p].message), this.code = p;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
class A extends o {
|
37
|
+
constructor(r) {
|
38
|
+
super(r, s[l].message), this.code = l;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
class D extends o {
|
42
|
+
constructor(r) {
|
43
|
+
super(r, s[_].message), this.code = _;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
class M extends o {
|
47
|
+
constructor(r) {
|
48
|
+
super(r, s[I].message), this.code = I;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
class j extends o {
|
52
|
+
constructor(r) {
|
53
|
+
super(r, s[h].message), this.code = h;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
class L extends o {
|
57
|
+
constructor(r) {
|
58
|
+
super(r, s[g].message), this.code = g;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
class U extends o {
|
62
|
+
constructor(r) {
|
63
|
+
super(r, s[m].message), this.code = m;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
class f extends o {
|
67
|
+
constructor(r) {
|
68
|
+
super(r, s[N].message), this.code = N;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
class V extends o {
|
72
|
+
constructor(r) {
|
73
|
+
super(r, s[v].message), this.code = v;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
class b extends o {
|
77
|
+
constructor(r) {
|
78
|
+
super(r, s[P].message), this.code = P;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
class J extends o {
|
82
|
+
constructor(r) {
|
83
|
+
super(r, s[x].message), this.code = x;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
const t = /* @__PURE__ */ new Map();
|
87
|
+
t.set(u, { error: O });
|
88
|
+
t.set(p, {
|
89
|
+
error: T
|
90
|
+
});
|
91
|
+
t.set(l, {
|
92
|
+
error: A
|
93
|
+
});
|
94
|
+
t.set(_, { error: D });
|
95
|
+
t.set(I, { error: M });
|
96
|
+
t.set(h, { error: j });
|
97
|
+
t.set(g, {
|
98
|
+
error: L
|
99
|
+
});
|
100
|
+
t.set(m, {
|
101
|
+
error: U
|
102
|
+
});
|
103
|
+
t.set(P, {
|
104
|
+
error: b
|
105
|
+
});
|
106
|
+
t.set(N, {
|
107
|
+
error: f
|
108
|
+
});
|
109
|
+
t.set(v, {
|
110
|
+
error: V
|
111
|
+
});
|
112
|
+
t.set(x, { error: J });
|
113
|
+
export {
|
114
|
+
H as EIP1193ProviderRpcError,
|
115
|
+
M as InternalError,
|
116
|
+
j as InvalidInputError,
|
117
|
+
D as InvalidParamsError,
|
118
|
+
T as InvalidRequestError,
|
119
|
+
J as LimitExceededError,
|
120
|
+
A as MethodNotFoundError,
|
121
|
+
L as MethodNotSupported,
|
122
|
+
O as ParseError,
|
123
|
+
U as ResourceUnavailableError,
|
124
|
+
f as ResourcesNotFoundError,
|
125
|
+
o as RpcError,
|
126
|
+
b as TransactionRejectedError,
|
127
|
+
V as VersionNotSupportedError,
|
128
|
+
t as rpcErrorsMap
|
129
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../error_codes.cjs"),t=require("../web3_error_base.cjs");class o extends t.BaseWeb3Error{constructor(r){super(`Format for the type ${r} is unsupported`),this.type=r,this.code=e.ERR_SCHEMA_FORMAT}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{type:this.type})}}exports.SchemaFormatError=o;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { ERR_SCHEMA_FORMAT as t } from "../error_codes.js";
|
2
|
+
import { BaseWeb3Error as e } from "../web3_error_base.js";
|
3
|
+
class i extends e {
|
4
|
+
constructor(r) {
|
5
|
+
super(`Format for the type ${r} is unsupported`), this.type = r, this.code = t;
|
6
|
+
}
|
7
|
+
toJSON() {
|
8
|
+
return Object.assign(Object.assign({}, super.toJSON()), { type: this.type });
|
9
|
+
}
|
10
|
+
}
|
11
|
+
export {
|
12
|
+
i as SchemaFormatError
|
13
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../error_codes.cjs"),e=require("../web3_error_base.cjs");class o extends e.InvalidValueError{constructor(){super(...arguments),this.code=r.ERR_SIGNATURE_FAILED}}exports.SignatureError=o;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../error_codes.cjs"),t=require("../web3_error_base.cjs");class c extends t.BaseWeb3Error{constructor(r,s){super(r),this.receipt=s,this.code=o.ERR_TX}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{receipt:this.receipt})}}class d extends t.BaseWeb3Error{constructor(r,s,e,a){super(`Transaction has been reverted by the EVM${e===void 0?"":`:
|
2
|
+
${t.BaseWeb3Error.convertToString(e)}`}`),this.reason=r,this.signature=s,this.receipt=e,this.data=a,this.code=o.ERR_TX_REVERT_TRANSACTION}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reason:this.reason,signature:this.signature,receipt:this.receipt,data:this.data})}}class T extends d{constructor(r,s,e,a,i,h,_){super(r),this.reason=r,this.customErrorName=s,this.customErrorDecodedSignature=e,this.customErrorArguments=a,this.signature=i,this.receipt=h,this.data=_,this.code=o.ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reason:this.reason,customErrorName:this.customErrorName,customErrorDecodedSignature:this.customErrorDecodedSignature,customErrorArguments:this.customErrorArguments,signature:this.signature,receipt:this.receipt,data:this.data})}}class p extends c{constructor(r){super(`Transaction has been reverted by the EVM${r===void 0?"":`:
|
3
|
+
${t.BaseWeb3Error.convertToString(r)}`}`,r),this.code=o.ERR_TX_REVERT_WITHOUT_REASON}}class I extends c{constructor(){super("Raw transaction undefined"),this.code=o.ERR_RAW_TX_UNDEFINED}}class R extends c{constructor(){super("Transaction not found"),this.code=o.ERR_TX_NOT_FOUND}}class m extends t.InvalidValueError{constructor(r){super(r,"invalid transaction with invalid sender"),this.code=o.ERR_TX_INVALID_SENDER}}class v extends t.InvalidValueError{constructor(r){super(r,"invalid transaction with invalid receiver"),this.code=o.ERR_TX_INVALID_RECEIVER}}class N extends t.InvalidValueError{constructor(){super("MissingCustomChainError","If tx.common is provided it must have tx.common.customChain"),this.code=o.ERR_TX_MISSING_CUSTOM_CHAIN}}class g extends t.InvalidValueError{constructor(){super("MissingCustomChainIdError","If tx.common is provided it must have tx.common.customChain and tx.common.customChain.chainId"),this.code=o.ERR_TX_MISSING_CUSTOM_CHAIN_ID}}class P extends t.InvalidValueError{constructor(r){super(JSON.stringify(r),"Chain Id doesnt match in tx.chainId tx.common.customChain.chainId"),this.code=o.ERR_TX_CHAIN_ID_MISMATCH}}class x extends t.InvalidValueError{constructor(r){super(JSON.stringify(r),"Chain doesnt match in tx.chain tx.common.basechain"),this.code=o.ERR_TX_CHAIN_MISMATCH}}class b extends t.InvalidValueError{constructor(r){super(JSON.stringify(r),"hardfork doesnt match in tx.hardfork tx.common.hardfork"),this.code=o.ERR_TX_HARDFORK_MISMATCH}}class O extends t.InvalidValueError{constructor(){super("CommonOrChainAndHardforkError","Please provide the common object or the chain and hardfork property but not all together."),this.code=o.ERR_TX_INVALID_CHAIN_INFO}}class S extends t.InvalidValueError{constructor(r){var s,e;super("MissingChainOrHardforkError",`When specifying chain and hardfork, both values must be defined. Received "chain": ${(s=r.chain)!==null&&s!==void 0?s:"undefined"}, "hardfork": ${(e=r.hardfork)!==null&&e!==void 0?e:"undefined"}`),this.code=o.ERR_TX_MISSING_CHAIN_INFO}}class u extends t.BaseWeb3Error{constructor(){super('Missing properties in transaction, either define "gas" and "gasPrice" for type 0 transactions or "gas", "maxPriorityFeePerGas" and "maxFeePerGas" for type 2 transactions'),this.code=o.ERR_TX_MISSING_GAS_INNER_ERROR}}class f extends t.InvalidValueError{constructor(r){var s,e,a,i;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}, maxPriorityFeePerGas: ${(a=r.maxPriorityFeePerGas)!==null&&a!==void 0?a:"undefined"}, maxFeePerGas: ${(i=r.maxFeePerGas)!==null&&i!==void 0?i:"undefined"}`,'"gas" is missing'),this.code=o.ERR_TX_MISSING_GAS,this.innerError=new u}}class E extends t.BaseWeb3Error{constructor(){super('Missing properties in transaction, either define "gas" and "gasPrice" for type 0 transactions or "gas", "maxPriorityFeePerGas" and "maxFeePerGas" for type 2 transactions, not both'),this.code=o.ERR_TX_GAS_MISMATCH_INNER_ERROR}}class C extends t.InvalidValueError{constructor(r){var s,e,a,i;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}, maxPriorityFeePerGas: ${(a=r.maxPriorityFeePerGas)!==null&&a!==void 0?a:"undefined"}, maxFeePerGas: ${(i=r.maxFeePerGas)!==null&&i!==void 0?i:"undefined"}`,"transaction must specify legacy or fee market gas properties, not both"),this.code=o.ERR_TX_GAS_MISMATCH,this.innerError=new E}}class M extends t.InvalidValueError{constructor(r){var s,e;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}`,"Gas or gasPrice is lower than 0"),this.code=o.ERR_TX_INVALID_LEGACY_GAS}}class A extends t.InvalidValueError{constructor(r){var s,e;super(`maxPriorityFeePerGas: ${(s=r.maxPriorityFeePerGas)!==null&&s!==void 0?s:"undefined"}, maxFeePerGas: ${(e=r.maxFeePerGas)!==null&&e!==void 0?e:"undefined"}`,"maxPriorityFeePerGas or maxFeePerGas is lower than 0"),this.code=o.ERR_TX_INVALID_FEE_MARKET_GAS}}class G extends t.InvalidValueError{constructor(r){super(r,"eip-1559 transactions don't support gasPrice"),this.code=o.ERR_TX_INVALID_FEE_MARKET_GAS_PRICE}}class y extends t.InvalidValueError{constructor(r){var s,e;super(`maxPriorityFeePerGas: ${(s=r.maxPriorityFeePerGas)!==null&&s!==void 0?s:"undefined"}, maxFeePerGas: ${(e=r.maxFeePerGas)!==null&&e!==void 0?e:"undefined"}`,"pre-eip-1559 transaction don't support maxFeePerGas/maxPriorityFeePerGas"),this.code=o.ERR_TX_INVALID_LEGACY_FEE_MARKET}}class F extends t.InvalidValueError{constructor(r){super(r,"invalid transaction object"),this.code=o.ERR_TX_INVALID_OBJECT}}class V extends t.InvalidValueError{constructor(r){var s,e;super(`nonce: ${(s=r.nonce)!==null&&s!==void 0?s:"undefined"}, chainId: ${(e=r.chainId)!==null&&e!==void 0?e:"undefined"}`,"Nonce or chainId is lower than 0"),this.code=o.ERR_TX_INVALID_NONCE_OR_CHAIN_ID}}class $ extends t.InvalidValueError{constructor(){super("UnableToPopulateNonceError","unable to populate nonce, no from address available"),this.code=o.ERR_TX_UNABLE_TO_POPULATE_NONCE}}class H extends t.InvalidValueError{constructor(){super("Eip1559NotSupportedError","Network doesn't support eip-1559"),this.code=o.ERR_TX_UNSUPPORTED_EIP_1559}}class X extends t.InvalidValueError{constructor(r){super(r,"unsupported transaction type"),this.code=o.ERR_TX_UNSUPPORTED_TYPE}}class k extends t.InvalidValueError{constructor(r){var s,e;super(`data: ${(s=r.data)!==null&&s!==void 0?s:"undefined"}, input: ${(e=r.input)!==null&&e!==void 0?e:"undefined"}`,`You can't have "data" and "input" as properties of transactions at the same time, please use either "data" or "input" instead.`),this.code=o.ERR_TX_DATA_AND_INPUT}}class L extends t.BaseWeb3Error{constructor(r){super(`The connected Ethereum Node did not respond within ${r.numberOfSeconds} seconds, please make sure your transaction was properly sent and you are connected to a healthy Node. Be aware that transaction might still be pending or mined!
|
4
|
+
Transaction Hash: ${r.transactionHash?r.transactionHash.toString():"not available"}`),this.code=o.ERR_TX_SEND_TIMEOUT}}function l(n){return`Please make sure your transaction was properly sent and there are no previous pending transaction for the same account. However, be aware that it might still be mined!
|
5
|
+
Transaction Hash: ${n?n.toString():"not available"}`}class D extends t.BaseWeb3Error{constructor(r){super(`Transaction was not mined within ${r.numberOfSeconds} seconds. ${l(r.transactionHash)}`),this.code=o.ERR_TX_POLLING_TIMEOUT}}class B extends t.BaseWeb3Error{constructor(r){super(`Transaction started at ${r.starterBlockNumber} but was not mined within ${r.numberOfBlocks} blocks. ${l(r.transactionHash)}`),this.code=o.ERR_TX_BLOCK_TIMEOUT}}class U extends t.InvalidValueError{constructor(r){var s,e;super(`receipt: ${JSON.stringify(r.receipt)}, blockHash: ${(s=r.blockHash)===null||s===void 0?void 0:s.toString()}, transactionHash: ${(e=r.transactionHash)===null||e===void 0?void 0:e.toString()}`,"Receipt missing or blockHash null"),this.code=o.ERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL}}class w extends t.InvalidValueError{constructor(r){super(`receipt: ${JSON.stringify(r.receipt)}`,"Receipt missing block number"),this.code=o.ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER}}class W extends t.BaseWeb3Error{constructor(r){super(`Invalid signature. "${r}"`),this.code=o.ERR_TX_SIGNING}}class j extends t.InvalidValueError{constructor(){super("LocalWalletNotAvailableError","Attempted to index account in local wallet, but no wallet is available"),this.code=o.ERR_TX_LOCAL_WALLET_NOT_AVAILABLE}}class J extends t.BaseWeb3Error{constructor(r,s){const e=[];r.forEach(a=>e.push(a.keyword)),super(`The following properties are invalid for the transaction type ${s}: ${e.join(", ")}`),this.code=o.ERR_TX_INVALID_PROPERTIES_FOR_TYPE}}exports.ChainIdMismatchError=P;exports.ChainMismatchError=x;exports.CommonOrChainAndHardforkError=O;exports.Eip1559GasPriceError=G;exports.Eip1559NotSupportedError=H;exports.HardforkMismatchError=b;exports.InvalidGasOrGasPrice=M;exports.InvalidMaxPriorityFeePerGasOrMaxFeePerGas=A;exports.InvalidNonceOrChainIdError=V;exports.InvalidPropertiesForTransactionTypeError=J;exports.InvalidTransactionObjectError=F;exports.InvalidTransactionWithReceiver=v;exports.InvalidTransactionWithSender=m;exports.LocalWalletNotAvailableError=j;exports.MissingChainOrHardforkError=S;exports.MissingCustomChainError=N;exports.MissingCustomChainIdError=g;exports.MissingGasError=f;exports.MissingGasInnerError=u;exports.TransactionBlockTimeoutError=B;exports.TransactionDataAndInputError=k;exports.TransactionError=c;exports.TransactionGasMismatchError=C;exports.TransactionGasMismatchInnerError=E;exports.TransactionMissingReceiptOrBlockHashError=U;exports.TransactionNotFound=R;exports.TransactionPollingTimeoutError=D;exports.TransactionReceiptMissingBlockNumberError=w;exports.TransactionRevertInstructionError=d;exports.TransactionRevertWithCustomError=T;exports.TransactionRevertedWithoutReasonError=p;exports.TransactionSendTimeoutError=L;exports.TransactionSigningError=W;exports.UnableToPopulateNonceError=$;exports.UndefinedRawTransactionError=I;exports.UnsupportedFeeMarketError=y;exports.UnsupportedTransactionTypeError=X;
|