@ozdao/prometheus-framework 0.2.43 → 0.2.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main-2247448a.js +91 -0
- package/dist/main-6c51a895.mjs +13628 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +4 -3
- package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
- package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
- package/dist/products.server.js +875 -0
- package/dist/products.server.mjs +875 -0
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -225
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +227 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +63 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +2 -76
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +78 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +18 -18
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +4 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
- 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/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -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/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +2 -2
- 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/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +4 -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 +5 -5
- 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/components/sections/HotPosts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +4 -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/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +4 -1
- 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/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.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 +7 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -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/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +4 -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/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +13 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
- 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/blocks/CardDepartment.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.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 +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +4 -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 +4 -4
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +4 -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.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.js +43 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +4 -1
- 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/blocks/ImagesThumbnails.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +41 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +4 -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 +5 -5
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +87 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +138 -0
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +114 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +53 -0
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/products.client.js +56 -0
- 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 +3 -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 +3 -3
- 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/components/blocks/CardSpot.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +4 -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/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +4 -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 +3 -3
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/web-65c35f46.mjs +55 -0
- package/dist/web-adbe95b6.js +1 -0
- package/package.json +1 -1
- package/src/modules/products/components/pages/ProductRecommmendation.vue +2 -2
- package/src/modules/products/products.client.js +76 -20
- package/src/modules/products/products.server.js +10 -6
- package/src/modules/products/router/products.router.js +4 -2
@@ -1,8 +1,8 @@
|
|
1
|
-
import { TransactionRevertedWithoutReasonError as
|
1
|
+
import { TransactionRevertedWithoutReasonError as m, TransactionRevertInstructionError as l, TransactionRevertWithCustomError as h } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
|
2
2
|
import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
3
|
-
import { parseTransactionError as
|
4
|
-
var
|
5
|
-
function
|
3
|
+
import { parseTransactionError as E, getRevertReason as g } from "./get_revert_reason.js";
|
4
|
+
var w = globalThis && globalThis.__awaiter || function(s, f, e, o) {
|
5
|
+
function d(t) {
|
6
6
|
return t instanceof e ? t : new e(function(n) {
|
7
7
|
n(t);
|
8
8
|
});
|
@@ -23,28 +23,28 @@ var p = function(f, d, e, o) {
|
|
23
23
|
}
|
24
24
|
}
|
25
25
|
function a(u) {
|
26
|
-
u.done ? t(u.value) :
|
26
|
+
u.done ? t(u.value) : d(u.value).then(i, r);
|
27
27
|
}
|
28
|
-
a((o = o.apply(
|
28
|
+
a((o = o.apply(s, f || [])).next());
|
29
29
|
});
|
30
30
|
};
|
31
|
-
function
|
32
|
-
return
|
31
|
+
function y(s, f, e, o, d, t) {
|
32
|
+
return w(this, void 0, void 0, function* () {
|
33
33
|
let n = t;
|
34
|
-
n === void 0 && (o !== void 0 ? n =
|
34
|
+
n === void 0 && (o !== void 0 ? n = E(o) : s.handleRevert && f !== void 0 && (n = yield g(s, f, d)));
|
35
35
|
let i;
|
36
36
|
if (n === void 0)
|
37
|
-
i = new
|
37
|
+
i = new m(e);
|
38
38
|
else if (typeof n == "string")
|
39
|
-
i = new
|
39
|
+
i = new l(n, void 0, e);
|
40
40
|
else if (n.customErrorName !== void 0 && n.customErrorDecodedSignature !== void 0 && n.customErrorArguments !== void 0) {
|
41
41
|
const r = n;
|
42
|
-
i = new
|
42
|
+
i = new h(r.reason, r.customErrorName, r.customErrorDecodedSignature, r.customErrorArguments, r.signature, e, r.data);
|
43
43
|
} else
|
44
|
-
i = new
|
44
|
+
i = new l(n.reason, n.signature, e, n.data);
|
45
45
|
return i;
|
46
46
|
});
|
47
47
|
}
|
48
48
|
export {
|
49
|
-
|
49
|
+
y as getTransactionError
|
50
50
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");const c=require("../../../../web3-validator/lib/esm/validation/object.cjs"),p=require("../rpc_method_wrappers.cjs"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");const c=require("../../../../web3-validator/lib/esm/validation/object.cjs"),p=require("../rpc_method_wrappers.cjs"),G=require("./transaction_builder.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs");var g=globalThis&&globalThis.__awaiter||function(i,n,r,e){function o(t){return t instanceof r?t:new r(function(a){a(t)})}return new(r||(r=Promise))(function(t,a){function u(s){try{f(e.next(s))}catch(l){a(l)}}function y(s){try{f(e.throw(s))}catch(l){a(l)}}function f(s){s.done?t(s.value):o(s.value).then(u,y)}f((e=e.apply(i,n||[])).next())})};function h(i,n,r){var e,o,t;return g(this,void 0,void 0,function*(){const a=yield p.getBlock(n,n.defaultBlock,!1,r);if(c.isNullish(a.baseFeePerGas))throw new P.Eip1559NotSupportedError;if(!c.isNullish(i.gasPrice)){const u=d.format({format:"uint"},i.gasPrice,r);return{maxPriorityFeePerGas:u,maxFeePerGas:u}}return{maxPriorityFeePerGas:d.format({format:"uint"},(e=i.maxPriorityFeePerGas)!==null&&e!==void 0?e:n.defaultMaxPriorityFeePerGas,r),maxFeePerGas:d.format({format:"uint"},(o=i.maxFeePerGas)!==null&&o!==void 0?o:BigInt(a.baseFeePerGas)*BigInt(2)+BigInt((t=i.maxPriorityFeePerGas)!==null&&t!==void 0?t:n.defaultMaxPriorityFeePerGas),r)}})}function m(i,n,r){return g(this,void 0,void 0,function*(){const e=G.getTransactionType(i,n);if(!c.isNullish(e)){if(e.startsWith("-"))throw new P.UnsupportedTransactionTypeError(e);if(Number(e)<0||Number(e)>127)throw new P.UnsupportedTransactionTypeError(e);if(c.isNullish(i.gasPrice)&&(e==="0x0"||e==="0x1"))return{gasPrice:yield p.getGasPrice(n,r),maxPriorityFeePerGas:void 0,maxFeePerGas:void 0};if(e==="0x2")return Object.assign({gasPrice:void 0},yield h(i,n,r))}})}exports.getTransactionGasPricing=m;
|
@@ -5,72 +5,72 @@ import "../../../../web3-validator/lib/esm/default_validator.js";
|
|
5
5
|
import "../../../../web3-types/lib/esm/data_format_types.js";
|
6
6
|
import "../../../../web3-types/lib/esm/eth_types.js";
|
7
7
|
import "../../../../web3-types/lib/esm/web3_base_provider.js";
|
8
|
-
import { isNullish as
|
8
|
+
import { isNullish as c } from "../../../../web3-validator/lib/esm/validation/object.js";
|
9
9
|
import { getGasPrice as y, getBlock as g } from "../rpc_method_wrappers.js";
|
10
|
-
import { getTransactionType as
|
10
|
+
import { getTransactionType as h } from "./transaction_builder.js";
|
11
11
|
import { format as m } from "../../../../web3-utils/lib/esm/formatter.js";
|
12
|
-
var p = function(r,
|
13
|
-
function
|
14
|
-
return
|
15
|
-
o
|
12
|
+
var p = globalThis && globalThis.__awaiter || function(r, t, e, i) {
|
13
|
+
function s(o) {
|
14
|
+
return o instanceof e ? o : new e(function(n) {
|
15
|
+
n(o);
|
16
16
|
});
|
17
17
|
}
|
18
|
-
return new (
|
19
|
-
function
|
18
|
+
return new (e || (e = Promise))(function(o, n) {
|
19
|
+
function f(a) {
|
20
20
|
try {
|
21
|
-
|
21
|
+
u(i.next(a));
|
22
22
|
} catch (d) {
|
23
|
-
|
23
|
+
n(d);
|
24
24
|
}
|
25
25
|
}
|
26
26
|
function l(a) {
|
27
27
|
try {
|
28
|
-
|
28
|
+
u(i.throw(a));
|
29
29
|
} catch (d) {
|
30
|
-
|
30
|
+
n(d);
|
31
31
|
}
|
32
32
|
}
|
33
|
-
function
|
34
|
-
a.done ?
|
33
|
+
function u(a) {
|
34
|
+
a.done ? o(a.value) : s(a.value).then(f, l);
|
35
35
|
}
|
36
|
-
|
36
|
+
u((i = i.apply(r, t || [])).next());
|
37
37
|
});
|
38
38
|
};
|
39
|
-
function
|
40
|
-
var
|
39
|
+
function x(r, t, e) {
|
40
|
+
var i, s, o;
|
41
41
|
return p(this, void 0, void 0, function* () {
|
42
|
-
const
|
43
|
-
if (
|
42
|
+
const n = yield g(t, t.defaultBlock, !1, e);
|
43
|
+
if (c(n.baseFeePerGas))
|
44
44
|
throw new G();
|
45
|
-
if (!
|
46
|
-
const
|
45
|
+
if (!c(r.gasPrice)) {
|
46
|
+
const f = m({ format: "uint" }, r.gasPrice, e);
|
47
47
|
return {
|
48
|
-
maxPriorityFeePerGas:
|
49
|
-
maxFeePerGas:
|
48
|
+
maxPriorityFeePerGas: f,
|
49
|
+
maxFeePerGas: f
|
50
50
|
};
|
51
51
|
}
|
52
52
|
return {
|
53
|
-
maxPriorityFeePerGas: m({ format: "uint" }, (
|
54
|
-
maxFeePerGas: m({ format: "uint" }, (
|
53
|
+
maxPriorityFeePerGas: m({ format: "uint" }, (i = r.maxPriorityFeePerGas) !== null && i !== void 0 ? i : t.defaultMaxPriorityFeePerGas, e),
|
54
|
+
maxFeePerGas: m({ format: "uint" }, (s = r.maxFeePerGas) !== null && s !== void 0 ? s : BigInt(n.baseFeePerGas) * BigInt(2) + BigInt((o = r.maxPriorityFeePerGas) !== null && o !== void 0 ? o : t.defaultMaxPriorityFeePerGas), e)
|
55
55
|
};
|
56
56
|
});
|
57
57
|
}
|
58
|
-
function M(r,
|
58
|
+
function M(r, t, e) {
|
59
59
|
return p(this, void 0, void 0, function* () {
|
60
|
-
const
|
61
|
-
if (!
|
62
|
-
if (
|
63
|
-
throw new P(
|
64
|
-
if (Number(
|
65
|
-
throw new P(
|
66
|
-
if (
|
60
|
+
const i = h(r, t);
|
61
|
+
if (!c(i)) {
|
62
|
+
if (i.startsWith("-"))
|
63
|
+
throw new P(i);
|
64
|
+
if (Number(i) < 0 || Number(i) > 127)
|
65
|
+
throw new P(i);
|
66
|
+
if (c(r.gasPrice) && (i === "0x0" || i === "0x1"))
|
67
67
|
return {
|
68
|
-
gasPrice: yield y(
|
68
|
+
gasPrice: yield y(t, e),
|
69
69
|
maxPriorityFeePerGas: void 0,
|
70
70
|
maxFeePerGas: void 0
|
71
71
|
};
|
72
|
-
if (
|
73
|
-
return Object.assign({ gasPrice: void 0 }, yield
|
72
|
+
if (i === "0x2")
|
73
|
+
return Object.assign({ gasPrice: void 0 }, yield x(r, t, e));
|
74
74
|
}
|
75
75
|
});
|
76
76
|
}
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../web3-eth-accounts/lib/esm/account.cjs");const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../web3-eth-accounts/lib/esm/account.cjs");const N=require("../../../../web3-eth-accounts/lib/esm/common/common.cjs");require("../../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const f=require("../../../../web3-validator/lib/esm/validation/object.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../@ethereumjs/rlp/dist/index.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/types.cjs");const S=require("../../../../web3-eth-accounts/lib/esm/tx/transactionFactory.cjs"),w=require("../validation.cjs"),O=require("./format_transaction.cjs"),G=require("./transaction_builder.cjs"),h=require("../../../../web3-utils/lib/esm/converters.cjs");var L=globalThis&&globalThis.__awaiter||function(e,i,o,l){function m(d){return d instanceof o?d:new o(function(u){u(d)})}return new(o||(o=Promise))(function(d,u){function s(r){try{v(l.next(r))}catch(a){u(a)}}function c(r){try{v(l.throw(r))}catch(a){u(a)}}function v(r){r.done?d(r.value):m(r.value).then(s,c)}v((l=l.apply(e,i||[])).next())})};const A=e=>{var i,o;return{nonce:e.nonce,gasPrice:e.gasPrice,gasLimit:(i=e.gasLimit)!==null&&i!==void 0?i:e.gas,to:e.to,value:e.value,data:(o=e.data)!==null&&o!==void 0?o:e.input,type:e.type,chainId:e.chainId,accessList:e.accessList,maxPriorityFeePerGas:e.maxPriorityFeePerGas,maxFeePerGas:e.maxFeePerGas}},D=(e,i)=>{var o,l,m,d,u,s,c,v,r,a,t,_,q,k,g,p,T,y;const C=!f.isNullish(e.chain)&&!f.isNullish(e.hardfork)||!f.isNullish(e.common);let n;if(!C)i.defaultCommon?(n=Object.assign({},i.defaultCommon),f.isNullish(n.hardfork)&&(n.hardfork=(o=e.hardfork)!==null&&o!==void 0?o:i.defaultHardfork),f.isNullish(n.baseChain)&&(n.baseChain=i.defaultChain)):n=N.Common.custom({name:"custom-network",chainId:h.toNumber(e.chainId),networkId:f.isNullish(e.networkId)?void 0:h.toNumber(e.networkId),defaultHardfork:(l=e.hardfork)!==null&&l!==void 0?l:i.defaultHardfork},{baseChain:i.defaultChain});else{const I=(s=(u=(d=(m=e==null?void 0:e.common)===null||m===void 0?void 0:m.customChain)===null||d===void 0?void 0:d.name)!==null&&u!==void 0?u:e.chain)!==null&&s!==void 0?s:"custom-network",F=h.toNumber((r=(v=(c=e==null?void 0:e.common)===null||c===void 0?void 0:c.customChain)===null||v===void 0?void 0:v.chainId)!==null&&r!==void 0?r:e==null?void 0:e.chainId),b=h.toNumber((_=(t=(a=e==null?void 0:e.common)===null||a===void 0?void 0:a.customChain)===null||t===void 0?void 0:t.networkId)!==null&&_!==void 0?_:e==null?void 0:e.networkId),P=(g=(k=(q=e==null?void 0:e.common)===null||q===void 0?void 0:q.hardfork)!==null&&k!==void 0?k:e==null?void 0:e.hardfork)!==null&&g!==void 0?g:i.defaultHardfork,j=(y=(T=(p=e.common)===null||p===void 0?void 0:p.baseChain)!==null&&T!==void 0?T:e.chain)!==null&&y!==void 0?y:i.defaultChain;F&&b&&I&&(n=N.Common.custom({name:I,chainId:F,networkId:b,defaultHardfork:P},{baseChain:j}))}return{common:n}},E=(e,i,o,l=!1,m=!0)=>L(void 0,void 0,void 0,function*(){const d=yield G.transactionBuilder({transaction:e,web3Context:i,privateKey:o,fillGasPrice:l,fillGasLimit:m}),u=O.formatTransaction(d,H.ETH_DATA_FORMAT);return w.validateTransactionForSigning(u),S.TransactionFactory.fromTxData(A(u),D(u,i))});exports.prepareTransactionForSigning=E;
|
@@ -16,11 +16,11 @@ import "../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.js";
|
|
16
16
|
import "../../../../@ethereumjs/rlp/dist/index.js";
|
17
17
|
import "../../../../web3-eth-accounts/lib/esm/tx/types.js";
|
18
18
|
import { TransactionFactory as O } from "../../../../web3-eth-accounts/lib/esm/tx/transactionFactory.js";
|
19
|
-
import { validateTransactionForSigning as
|
20
|
-
import { formatTransaction as
|
21
|
-
import { transactionBuilder as
|
19
|
+
import { validateTransactionForSigning as b } from "../validation.js";
|
20
|
+
import { formatTransaction as A } from "./format_transaction.js";
|
21
|
+
import { transactionBuilder as D } from "./transaction_builder.js";
|
22
22
|
import { toNumber as c } from "../../../../web3-utils/lib/esm/converters.js";
|
23
|
-
var
|
23
|
+
var E = globalThis && globalThis.__awaiter || function(o, i, d, u) {
|
24
24
|
function f(m) {
|
25
25
|
return m instanceof d ? m : new d(function(l) {
|
26
26
|
l(m);
|
@@ -29,25 +29,25 @@ var S = function(o, i, d, u) {
|
|
29
29
|
return new (d || (d = Promise))(function(m, l) {
|
30
30
|
function p(e) {
|
31
31
|
try {
|
32
|
-
|
33
|
-
} catch (
|
34
|
-
l(
|
32
|
+
v(u.next(e));
|
33
|
+
} catch (n) {
|
34
|
+
l(n);
|
35
35
|
}
|
36
36
|
}
|
37
37
|
function a(e) {
|
38
38
|
try {
|
39
|
-
|
40
|
-
} catch (
|
41
|
-
l(
|
39
|
+
v(u.throw(e));
|
40
|
+
} catch (n) {
|
41
|
+
l(n);
|
42
42
|
}
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function v(e) {
|
45
45
|
e.done ? m(e.value) : f(e.value).then(p, a);
|
46
46
|
}
|
47
|
-
|
47
|
+
v((u = u.apply(o, i || [])).next());
|
48
48
|
});
|
49
49
|
};
|
50
|
-
const
|
50
|
+
const S = (o) => {
|
51
51
|
var i, d;
|
52
52
|
return {
|
53
53
|
nonce: o.nonce,
|
@@ -62,8 +62,8 @@ const N = (o) => {
|
|
62
62
|
maxPriorityFeePerGas: o.maxPriorityFeePerGas,
|
63
63
|
maxFeePerGas: o.maxFeePerGas
|
64
64
|
};
|
65
|
-
},
|
66
|
-
var d, u, f, m, l, p, a,
|
65
|
+
}, N = (o, i) => {
|
66
|
+
var d, u, f, m, l, p, a, v, e, n, _, k, s, t, T, g, I, y;
|
67
67
|
const w = !h(o.chain) && !h(o.hardfork) || !h(o.common);
|
68
68
|
let r;
|
69
69
|
if (!w)
|
@@ -76,7 +76,7 @@ const N = (o) => {
|
|
76
76
|
baseChain: i.defaultChain
|
77
77
|
});
|
78
78
|
else {
|
79
|
-
const F = (p = (l = (m = (f = o == null ? void 0 : o.common) === null || f === void 0 ? void 0 : f.customChain) === null || m === void 0 ? void 0 : m.name) !== null && l !== void 0 ? l : o.chain) !== null && p !== void 0 ? p : "custom-network", C = c((e = (
|
79
|
+
const F = (p = (l = (m = (f = o == null ? void 0 : o.common) === null || f === void 0 ? void 0 : f.customChain) === null || m === void 0 ? void 0 : m.name) !== null && l !== void 0 ? l : o.chain) !== null && p !== void 0 ? p : "custom-network", C = c((e = (v = (a = o == null ? void 0 : o.common) === null || a === void 0 ? void 0 : a.customChain) === null || v === void 0 ? void 0 : v.chainId) !== null && e !== void 0 ? e : o == null ? void 0 : o.chainId), H = c((k = (_ = (n = o == null ? void 0 : o.common) === null || n === void 0 ? void 0 : n.customChain) === null || _ === void 0 ? void 0 : _.networkId) !== null && k !== void 0 ? k : o == null ? void 0 : o.networkId), j = (T = (t = (s = o == null ? void 0 : o.common) === null || s === void 0 ? void 0 : s.hardfork) !== null && t !== void 0 ? t : o == null ? void 0 : o.hardfork) !== null && T !== void 0 ? T : i.defaultHardfork, G = (y = (I = (g = o.common) === null || g === void 0 ? void 0 : g.baseChain) !== null && I !== void 0 ? I : o.chain) !== null && y !== void 0 ? y : i.defaultChain;
|
80
80
|
C && H && F && (r = P.custom({
|
81
81
|
name: F,
|
82
82
|
chainId: C,
|
@@ -87,15 +87,15 @@ const N = (o) => {
|
|
87
87
|
}));
|
88
88
|
}
|
89
89
|
return { common: r };
|
90
|
-
}, ro = (o, i, d, u = !1, f = !0) =>
|
91
|
-
const m = yield
|
90
|
+
}, ro = (o, i, d, u = !1, f = !0) => E(void 0, void 0, void 0, function* () {
|
91
|
+
const m = yield D({
|
92
92
|
transaction: o,
|
93
93
|
web3Context: i,
|
94
94
|
privateKey: d,
|
95
95
|
fillGasPrice: u,
|
96
96
|
fillGasLimit: f
|
97
|
-
}), l =
|
98
|
-
return
|
97
|
+
}), l = A(m, L);
|
98
|
+
return b(l), O.fromTxData(S(l), N(l, i));
|
99
99
|
});
|
100
100
|
export {
|
101
101
|
ro as prepareTransactionForSigning
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const T=require("../constants.cjs"),h=require("../rpc_method_wrappers.cjs"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const T=require("../constants.cjs"),h=require("../rpc_method_wrappers.cjs"),_=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var v=globalThis&&globalThis.__awaiter||function(r,u,t,o){function s(n){return n instanceof t?n:new t(function(c){c(n)})}return new(t||(t=Promise))(function(n,c){function a(e){try{l(o.next(e))}catch(i){c(i)}}function d(e){try{l(o.throw(e))}catch(i){c(i)}}function l(e){e.done?n(e.value):s(e.value).then(a,d)}l((o=o.apply(r,u||[])).next())})};function p(r,u,t){const o=r.transactionPollingInterval,[s,n]=_.rejectIfConditionAtInterval(()=>v(this,void 0,void 0,function*(){let a;try{a=yield h.getBlockNumber(r,T.NUMBER_DATA_FORMAT)}catch(l){console.warn("An error happen while trying to get the block number",l);return}const d=a-u;if(d>=r.transactionBlockTimeout)return new m.TransactionBlockTimeoutError({starterBlockNumber:u,numberOfBlocks:d,transactionHash:t})}),o);return[n,{clean:()=>{clearInterval(s)}}]}function y(r,u,t){var o;return v(this,void 0,void 0,function*(){let s=!0,n,c;function a(l,e){e&&console.warn("error happened at subscription. So revert to polling...",e),c.clean(),s=!1;const[i,f]=p(r,u,t);c.clean=f.clean,i.catch(g=>l(g))}try{n=yield(o=r.subscriptionManager)===null||o===void 0?void 0:o.subscribe("newHeads"),c={clean:()=>{var l;n.id&&((l=r.subscriptionManager)===null||l===void 0||l.removeSubscription(n).then(()=>{}).catch(()=>{}))}}}catch{return p(r,u,t)}return[new Promise((l,e)=>{try{n.on("data",i=>{if(s=!1,!(i!=null&&i.number))return;const f=Number(BigInt(i.number)-BigInt(u));f>=r.transactionBlockTimeout&&e(new m.TransactionBlockTimeoutError({starterBlockNumber:u,numberOfBlocks:f,transactionHash:t}))}),n.on("error",i=>{a(e,i)})}catch(i){a(e,i)}setTimeout(()=>{s&&a(e)},r.blockHeaderTimeout*1e3)}),c]})}function b(r,u){var t,o;return v(this,void 0,void 0,function*(){const{provider:s}=r.requestManager;let n;const c=yield h.getBlockNumber(r,T.NUMBER_DATA_FORMAT);return!((o=(t=s).supportsSubscriptions)===null||o===void 0)&&o.call(t)&&r.enableExperimentalFeatures.useSubscriptionWhenCheckingBlockTimeout?n=yield y(r,c,u):n=p(r,c,u),n})}exports.rejectIfBlockTimeout=b;
|
@@ -2,36 +2,36 @@ import { TransactionBlockTimeoutError as v } from "../../../../web3-errors/lib/e
|
|
2
2
|
import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
3
3
|
import { NUMBER_DATA_FORMAT as h } from "../constants.js";
|
4
4
|
import { getBlockNumber as T } from "../rpc_method_wrappers.js";
|
5
|
-
import { rejectIfConditionAtInterval as
|
6
|
-
var m = function(n, u, t,
|
5
|
+
import { rejectIfConditionAtInterval as y } from "../../../../web3-utils/lib/esm/promise_helpers.js";
|
6
|
+
var m = globalThis && globalThis.__awaiter || function(n, u, t, i) {
|
7
7
|
function a(r) {
|
8
8
|
return r instanceof t ? r : new t(function(c) {
|
9
9
|
c(r);
|
10
10
|
});
|
11
11
|
}
|
12
12
|
return new (t || (t = Promise))(function(r, c) {
|
13
|
-
function s(
|
13
|
+
function s(o) {
|
14
14
|
try {
|
15
|
-
l(
|
15
|
+
l(i.next(o));
|
16
16
|
} catch (e) {
|
17
17
|
c(e);
|
18
18
|
}
|
19
19
|
}
|
20
|
-
function f(
|
20
|
+
function f(o) {
|
21
21
|
try {
|
22
|
-
l(
|
22
|
+
l(i.throw(o));
|
23
23
|
} catch (e) {
|
24
24
|
c(e);
|
25
25
|
}
|
26
26
|
}
|
27
|
-
function l(
|
28
|
-
|
27
|
+
function l(o) {
|
28
|
+
o.done ? r(o.value) : a(o.value).then(s, f);
|
29
29
|
}
|
30
|
-
l((
|
30
|
+
l((i = i.apply(n, u || [])).next());
|
31
31
|
});
|
32
32
|
};
|
33
33
|
function p(n, u, t) {
|
34
|
-
const
|
34
|
+
const i = n.transactionPollingInterval, [a, r] = y(() => m(this, void 0, void 0, function* () {
|
35
35
|
let s;
|
36
36
|
try {
|
37
37
|
s = yield T(n, h);
|
@@ -46,22 +46,22 @@ function p(n, u, t) {
|
|
46
46
|
numberOfBlocks: f,
|
47
47
|
transactionHash: t
|
48
48
|
});
|
49
|
-
}),
|
49
|
+
}), i);
|
50
50
|
return [r, { clean: () => {
|
51
51
|
clearInterval(a);
|
52
52
|
} }];
|
53
53
|
}
|
54
54
|
function _(n, u, t) {
|
55
|
-
var
|
55
|
+
var i;
|
56
56
|
return m(this, void 0, void 0, function* () {
|
57
57
|
let a = !0, r, c;
|
58
|
-
function s(l,
|
59
|
-
|
58
|
+
function s(l, o) {
|
59
|
+
o && console.warn("error happened at subscription. So revert to polling...", o), c.clean(), a = !1;
|
60
60
|
const [e, d] = p(n, u, t);
|
61
|
-
c.clean = d.clean, e.catch((
|
61
|
+
c.clean = d.clean, e.catch((g) => l(g));
|
62
62
|
}
|
63
63
|
try {
|
64
|
-
r = yield (
|
64
|
+
r = yield (i = n.subscriptionManager) === null || i === void 0 ? void 0 : i.subscribe("newHeads"), c = {
|
65
65
|
clean: () => {
|
66
66
|
var l;
|
67
67
|
r.id && ((l = n.subscriptionManager) === null || l === void 0 || l.removeSubscription(r).then(() => {
|
@@ -72,36 +72,36 @@ function _(n, u, t) {
|
|
72
72
|
} catch {
|
73
73
|
return p(n, u, t);
|
74
74
|
}
|
75
|
-
return [new Promise((l,
|
75
|
+
return [new Promise((l, o) => {
|
76
76
|
try {
|
77
77
|
r.on("data", (e) => {
|
78
78
|
if (a = !1, !(e != null && e.number))
|
79
79
|
return;
|
80
80
|
const d = Number(BigInt(e.number) - BigInt(u));
|
81
|
-
d >= n.transactionBlockTimeout &&
|
81
|
+
d >= n.transactionBlockTimeout && o(new v({
|
82
82
|
starterBlockNumber: u,
|
83
83
|
numberOfBlocks: d,
|
84
84
|
transactionHash: t
|
85
85
|
}));
|
86
86
|
}), r.on("error", (e) => {
|
87
|
-
s(
|
87
|
+
s(o, e);
|
88
88
|
});
|
89
89
|
} catch (e) {
|
90
|
-
s(
|
90
|
+
s(o, e);
|
91
91
|
}
|
92
92
|
setTimeout(() => {
|
93
|
-
a && s(
|
93
|
+
a && s(o);
|
94
94
|
}, n.blockHeaderTimeout * 1e3);
|
95
95
|
}), c];
|
96
96
|
});
|
97
97
|
}
|
98
98
|
function A(n, u) {
|
99
|
-
var t,
|
99
|
+
var t, i;
|
100
100
|
return m(this, void 0, void 0, function* () {
|
101
101
|
const { provider: a } = n.requestManager;
|
102
102
|
let r;
|
103
103
|
const c = yield T(n, h);
|
104
|
-
return !((
|
104
|
+
return !((i = (t = a).supportsSubscriptions) === null || i === void 0) && i.call(t) && n.enableExperimentalFeatures.useSubscriptionWhenCheckingBlockTimeout ? r = yield _(n, c, u) : r = p(n, c, u), r;
|
105
105
|
});
|
106
106
|
}
|
107
107
|
export {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");const f=require("../../../../web3-errors/lib/esm/errors/contract_errors.cjs"),c=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs"),b=require("../../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");const f=require("../../../../web3-errors/lib/esm/errors/contract_errors.cjs"),c=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs"),b=require("../../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const d=require("../../../../web3-validator/lib/esm/validation/object.cjs"),p=require("../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const T=require("./get_transaction_gas_pricing.cjs"),g=require("./try_send_transaction.cjs"),C=require("./watch_transaction_for_confirmations.cjs"),q=require("../constants.cjs"),v=require("./get_transaction_error.cjs"),w=require("./get_revert_reason.cjs"),x=require("./decoding.cjs");var a=globalThis&&globalThis.__awaiter||function(l,t,n,i){function e(r){return r instanceof n?r:new n(function(o){o(r)})}return new(n||(n=Promise))(function(r,o){function m(s){try{u(i.next(s))}catch(h){o(h)}}function _(s){try{u(i.throw(s))}catch(h){o(h)}}function u(s){s.done?r(s.value):e(s.value).then(m,_)}u((i=i.apply(l,t||[])).next())})};class R{constructor({options:t,web3Context:n,promiEvent:i,returnFormat:e}){this.options={checkRevertBeforeSending:!0},this.options=t,this.web3Context=n,this.promiEvent=i,this.returnFormat=e}getReceiptWithEvents(t){var n,i;const e=Object.assign({},t??{});if(!((n=this.options)===null||n===void 0)&&n.contractAbi&&e.logs&&e.logs.length>0){e.events={};for(const r of e.logs){const o=x.decodeEventABI(q.ALL_EVENTS_ABI,r,(i=this.options)===null||i===void 0?void 0:i.contractAbi,this.returnFormat);o.event&&(e.events[o.event]=o)}}return e}checkRevertBeforeSending(t){return a(this,void 0,void 0,function*(){if(this.options.checkRevertBeforeSending!==!1){const n=yield w.getRevertReason(this.web3Context,t,this.options.contractAbi);if(n!==void 0)throw yield v.getTransactionError(this.web3Context,t,void 0,void 0,this.options.contractAbi,n)}})}emitSending(t){this.promiEvent.listenerCount("sending")>0&&this.promiEvent.emit("sending",t)}populateGasPrice({transactionFormatted:t,transaction:n}){var i;return a(this,void 0,void 0,function*(){let e=t;return!(!((i=this.options)===null||i===void 0)&&i.ignoreGasPricing)&&d.isNullish(t.gasPrice)&&(d.isNullish(n.maxPriorityFeePerGas)||d.isNullish(n.maxFeePerGas))&&(e=Object.assign(Object.assign({},t),yield T.getTransactionGasPricing(t,this.web3Context,E.ETH_DATA_FORMAT))),e})}signAndSend({wallet:t,tx:n}){return a(this,void 0,void 0,function*(){if(t){const i=yield t.signTransaction(n);return g.trySendTransaction(this.web3Context,()=>a(this,void 0,void 0,function*(){return p.sendRawTransaction(this.web3Context.requestManager,i.rawTransaction)}),i.transactionHash)}return g.trySendTransaction(this.web3Context,()=>a(this,void 0,void 0,function*(){return p.sendTransaction(this.web3Context.requestManager,n)}))})}emitSent(t){this.promiEvent.listenerCount("sent")>0&&this.promiEvent.emit("sent",t)}emitTransactionHash(t){this.promiEvent.listenerCount("transactionHash")>0&&this.promiEvent.emit("transactionHash",t)}emitReceipt(t){this.promiEvent.listenerCount("receipt")>0&&this.promiEvent.emit("receipt",t)}handleError({error:t,tx:n}){var i;return a(this,void 0,void 0,function*(){let e=t;return e instanceof f.ContractExecutionError&&this.web3Context.handleRevert&&(e=yield v.getTransactionError(this.web3Context,n,void 0,void 0,(i=this.options)===null||i===void 0?void 0:i.contractAbi)),(e instanceof b.InvalidResponseError||e instanceof f.ContractExecutionError||e instanceof c.TransactionRevertWithCustomError||e instanceof c.TransactionRevertedWithoutReasonError||e instanceof c.TransactionRevertInstructionError||e instanceof c.TransactionPollingTimeoutError)&&this.promiEvent.listenerCount("error")>0&&this.promiEvent.emit("error",e),e})}emitConfirmation({receipt:t,transactionHash:n}){this.promiEvent.listenerCount("confirmation")>0&&C.watchTransactionForConfirmations(this.web3Context,this.promiEvent,t,n,this.returnFormat)}handleResolve({receipt:t,tx:n}){var i,e,r;return a(this,void 0,void 0,function*(){if(!((i=this.options)===null||i===void 0)&&i.transactionResolver)return(e=this.options)===null||e===void 0?void 0:e.transactionResolver(t);if(t.status===BigInt(0)){const o=yield v.getTransactionError(this.web3Context,n,t,void 0,(r=this.options)===null||r===void 0?void 0:r.contractAbi);throw this.promiEvent.listenerCount("error")>0&&this.promiEvent.emit("error",o),o}else return t})}}exports.SendTxHelper=R;
|
@@ -1,38 +1,38 @@
|
|
1
1
|
import { ETH_DATA_FORMAT as E } from "../../../../web3-types/lib/esm/data_format_types.js";
|
2
2
|
import "../../../../web3-types/lib/esm/eth_types.js";
|
3
3
|
import "../../../../web3-types/lib/esm/web3_base_provider.js";
|
4
|
-
import { ContractExecutionError as
|
5
|
-
import { TransactionRevertWithCustomError as g, TransactionRevertedWithoutReasonError as b, TransactionRevertInstructionError as C, TransactionPollingTimeoutError as
|
6
|
-
import { InvalidResponseError as
|
4
|
+
import { ContractExecutionError as u } from "../../../../web3-errors/lib/esm/errors/contract_errors.js";
|
5
|
+
import { TransactionRevertWithCustomError as g, TransactionRevertedWithoutReasonError as b, TransactionRevertInstructionError as C, TransactionPollingTimeoutError as T } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
|
6
|
+
import { InvalidResponseError as w } from "../../../../web3-errors/lib/esm/errors/response_errors.js";
|
7
7
|
import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
8
8
|
import "../../../../web3-validator/lib/esm/formats.js";
|
9
9
|
import "../../../../web3-validator/lib/esm/default_validator.js";
|
10
|
-
import { isNullish as
|
10
|
+
import { isNullish as f } from "../../../../web3-validator/lib/esm/validation/object.js";
|
11
11
|
import { sendRawTransaction as R, sendTransaction as x } from "../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
|
12
12
|
import "../../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
|
13
13
|
import "../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
|
14
14
|
import { getTransactionGasPricing as _ } from "./get_transaction_gas_pricing.js";
|
15
|
-
import { trySendTransaction as
|
15
|
+
import { trySendTransaction as d } from "./try_send_transaction.js";
|
16
16
|
import { watchTransactionForConfirmations as A } from "./watch_transaction_for_confirmations.js";
|
17
17
|
import { ALL_EVENTS_ABI as y } from "../constants.js";
|
18
|
-
import { getTransactionError as
|
18
|
+
import { getTransactionError as v } from "./get_transaction_error.js";
|
19
19
|
import { getRevertReason as S } from "./get_revert_reason.js";
|
20
20
|
import { decodeEventABI as B } from "./decoding.js";
|
21
|
-
var a = function(
|
21
|
+
var a = globalThis && globalThis.__awaiter || function(m, t, n, e) {
|
22
22
|
function i(o) {
|
23
23
|
return o instanceof n ? o : new n(function(r) {
|
24
24
|
r(o);
|
25
25
|
});
|
26
26
|
}
|
27
27
|
return new (n || (n = Promise))(function(o, r) {
|
28
|
-
function
|
28
|
+
function l(s) {
|
29
29
|
try {
|
30
30
|
c(e.next(s));
|
31
31
|
} catch (h) {
|
32
32
|
r(h);
|
33
33
|
}
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function p(s) {
|
36
36
|
try {
|
37
37
|
c(e.throw(s));
|
38
38
|
} catch (h) {
|
@@ -40,9 +40,9 @@ var a = function(u, t, n, e) {
|
|
40
40
|
}
|
41
41
|
}
|
42
42
|
function c(s) {
|
43
|
-
s.done ? o(s.value) : i(s.value).then(
|
43
|
+
s.done ? o(s.value) : i(s.value).then(l, p);
|
44
44
|
}
|
45
|
-
c((e = e.apply(
|
45
|
+
c((e = e.apply(m, t || [])).next());
|
46
46
|
});
|
47
47
|
};
|
48
48
|
class X {
|
@@ -68,7 +68,7 @@ class X {
|
|
68
68
|
if (this.options.checkRevertBeforeSending !== !1) {
|
69
69
|
const n = yield S(this.web3Context, t, this.options.contractAbi);
|
70
70
|
if (n !== void 0)
|
71
|
-
throw yield
|
71
|
+
throw yield v(this.web3Context, t, void 0, void 0, this.options.contractAbi, n);
|
72
72
|
}
|
73
73
|
});
|
74
74
|
}
|
@@ -79,18 +79,18 @@ class X {
|
|
79
79
|
var e;
|
80
80
|
return a(this, void 0, void 0, function* () {
|
81
81
|
let i = t;
|
82
|
-
return !(!((e = this.options) === null || e === void 0) && e.ignoreGasPricing) &&
|
82
|
+
return !(!((e = this.options) === null || e === void 0) && e.ignoreGasPricing) && f(t.gasPrice) && (f(n.maxPriorityFeePerGas) || f(n.maxFeePerGas)) && (i = Object.assign(Object.assign({}, t), yield _(t, this.web3Context, E))), i;
|
83
83
|
});
|
84
84
|
}
|
85
85
|
signAndSend({ wallet: t, tx: n }) {
|
86
86
|
return a(this, void 0, void 0, function* () {
|
87
87
|
if (t) {
|
88
88
|
const e = yield t.signTransaction(n);
|
89
|
-
return
|
89
|
+
return d(this.web3Context, () => a(this, void 0, void 0, function* () {
|
90
90
|
return R(this.web3Context.requestManager, e.rawTransaction);
|
91
91
|
}), e.transactionHash);
|
92
92
|
}
|
93
|
-
return
|
93
|
+
return d(this.web3Context, () => a(this, void 0, void 0, function* () {
|
94
94
|
return x(this.web3Context.requestManager, n);
|
95
95
|
}));
|
96
96
|
});
|
@@ -112,7 +112,7 @@ class X {
|
|
112
112
|
var e;
|
113
113
|
return a(this, void 0, void 0, function* () {
|
114
114
|
let i = t;
|
115
|
-
return i instanceof
|
115
|
+
return i instanceof u && this.web3Context.handleRevert && (i = yield v(this.web3Context, n, void 0, void 0, (e = this.options) === null || e === void 0 ? void 0 : e.contractAbi)), (i instanceof w || i instanceof u || i instanceof g || i instanceof b || i instanceof C || i instanceof T) && this.promiEvent.listenerCount("error") > 0 && this.promiEvent.emit("error", i), i;
|
116
116
|
});
|
117
117
|
}
|
118
118
|
emitConfirmation({ receipt: t, transactionHash: n }) {
|
@@ -124,7 +124,7 @@ class X {
|
|
124
124
|
if (!((e = this.options) === null || e === void 0) && e.transactionResolver)
|
125
125
|
return (i = this.options) === null || i === void 0 ? void 0 : i.transactionResolver(t);
|
126
126
|
if (t.status === BigInt(0)) {
|
127
|
-
const r = yield
|
127
|
+
const r = yield v(
|
128
128
|
this.web3Context,
|
129
129
|
n,
|
130
130
|
// @ts-expect-error unknown type fix
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../../web3-eth-accounts/lib/esm/wallet.cjs");const v=require("../../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../../crc-32/crc32.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");const l=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");const y=require("../../../../web3-validator/lib/esm/validation/string.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../../web3-validator/lib/esm/validation/address.cjs"),O=require("../../../../web3-validator/lib/esm/validation/numbers.cjs"),n=require("../../../../web3-validator/lib/esm/validation/object.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../@ethereumjs/rlp/dist/index.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../web3-net/lib/esm/net.cjs");const x=require("../../../../web3-net/lib/esm/rpc_method_wrappers.cjs"),C=require("../constants.cjs"),m=require("../rpc_method_wrappers.cjs"),E=require("./detect_transaction_type.cjs"),R=require("../schemas.cjs"),I=require("./get_transaction_gas_pricing.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs"),A=require("../../../../web3-utils/lib/esm/converters.cjs");var _=function(i,r,t,e){function a(u){return u instanceof t?u:new t(function(c){c(u)})}return new(t||(t=Promise))(function(u,c){function f(o){try{T(e.next(o))}catch(h){c(h)}}function b(o){try{T(e.throw(o))}catch(h){c(h)}}function T(o){o.done?u(o.value):a(o.value).then(f,b)}T((e=e.apply(i,r||[])).next())})};const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../../web3-eth-accounts/lib/esm/wallet.cjs");const v=require("../../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../../crc-32/crc32.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");const l=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");const y=require("../../../../web3-validator/lib/esm/validation/string.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../../web3-validator/lib/esm/validation/address.cjs"),O=require("../../../../web3-validator/lib/esm/validation/numbers.cjs"),n=require("../../../../web3-validator/lib/esm/validation/object.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../@ethereumjs/rlp/dist/index.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../web3-net/lib/esm/net.cjs");const x=require("../../../../web3-net/lib/esm/rpc_method_wrappers.cjs"),C=require("../constants.cjs"),m=require("../rpc_method_wrappers.cjs"),E=require("./detect_transaction_type.cjs"),R=require("../schemas.cjs"),I=require("./get_transaction_gas_pricing.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs"),A=require("../../../../web3-utils/lib/esm/converters.cjs");var _=globalThis&&globalThis.__awaiter||function(i,r,t,e){function a(u){return u instanceof t?u:new t(function(c){c(u)})}return new(t||(t=Promise))(function(u,c){function f(o){try{T(e.next(o))}catch(h){c(h)}}function b(o){try{T(e.throw(o))}catch(h){c(h)}}function T(o){o.done?u(o.value):a(o.value).then(f,b)}T((e=e.apply(i,r||[])).next())})};const g=(i,r,t,e)=>{if(t!==void 0&&i in t&&t[i]!==void 0){if(typeof t[i]=="string"&&p.isAddress(t[i]))return t[i];if(!y.isHexStrict(t[i])&&O.isNumber(t[i])){if(r.wallet){const a=r.wallet.get(d.format({format:"uint"},t[i],C.NUMBER_DATA_FORMAT));if(!n.isNullish(a))return a.address;throw new l.LocalWalletNotAvailableError}throw new l.LocalWalletNotAvailableError}else throw i==="from"?new l.InvalidTransactionWithSender(t.from):new l.InvalidTransactionWithReceiver(t.to)}if(i==="from"){if(!n.isNullish(e))return v.privateKeyToAddress(e);if(!n.isNullish(r.defaultAccount))return r.defaultAccount}},N=(i,r,t=s.DEFAULT_RETURN_FORMAT)=>_(void 0,void 0,void 0,function*(){if(n.isNullish(r))throw new l.UnableToPopulateNonceError;return m.getTransactionCount(i,r,i.defaultBlock,t)}),w=(i,r)=>{const t=E.detectTransactionType(i,r);if(!n.isNullish(t))return t;if(!n.isNullish(r.defaultTransactionType))return d.format({format:"uint"},r.defaultTransactionType,s.ETH_DATA_FORMAT)};function q(i){var r,t;return _(this,void 0,void 0,function*(){let e=d.format(R.transactionSchema,i.transaction,s.DEFAULT_RETURN_FORMAT);if(n.isNullish(e.from)&&(e.from=g("from",i.web3Context,void 0,i.privateKey)),n.isNullish(e.nonce)&&(e.nonce=yield N(i.web3Context,e.from,s.ETH_DATA_FORMAT)),n.isNullish(e.value)&&(e.value="0x0"),n.isNullish(e.data))n.isNullish(e.input)?e.input="0x":e.input.startsWith("0x")||(e.input=`0x${e.input}`);else{if(!n.isNullish(e.input)&&e.data!==e.input)throw new l.TransactionDataAndInputError({data:A.bytesToHex(e.data),input:A.bytesToHex(e.input)});e.data.startsWith("0x")||(e.data=`0x${e.data}`)}if(n.isNullish(e.common)){if(i.web3Context.defaultCommon){const a=i.web3Context.defaultCommon,u=a.customChain.chainId,c=a.customChain.networkId,f=a.customChain.name;e.common=Object.assign(Object.assign({},a),{customChain:{chainId:u,networkId:c,name:f}})}n.isNullish(e.chain)&&(e.chain=i.web3Context.defaultChain),n.isNullish(e.hardfork)&&(e.hardfork=i.web3Context.defaultHardfork)}if(n.isNullish(e.chainId)&&n.isNullish((r=e.common)===null||r===void 0?void 0:r.customChain.chainId)&&(e.chainId=yield m.getChainId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.networkId)&&(e.networkId=(t=i.web3Context.defaultNetworkId)!==null&&t!==void 0?t:yield x.getId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.gasLimit)&&!n.isNullish(e.gas)&&(e.gasLimit=e.gas),e.type=w(e,i.web3Context),n.isNullish(e.accessList)&&(e.type==="0x1"||e.type==="0x2")&&(e.accessList=[]),i.fillGasPrice&&(e=Object.assign(Object.assign({},e),yield I.getTransactionGasPricing(e,i.web3Context,s.ETH_DATA_FORMAT))),n.isNullish(e.gas)&&n.isNullish(e.gasLimit)&&i.fillGasLimit){const a=yield m.estimateGas(i.web3Context,e,"latest",s.ETH_DATA_FORMAT);e=Object.assign(Object.assign({},e),{gas:d.format({format:"uint"},a,s.ETH_DATA_FORMAT)})}return e})}const F=i=>_(void 0,void 0,void 0,function*(){var r;return((r=i.web3Context.transactionBuilder)!==null&&r!==void 0?r:q)(Object.assign(Object.assign({},i),{transaction:i.transaction}))});exports.defaultTransactionBuilder=q;exports.getTransactionFromOrToAttr=g;exports.getTransactionNonce=N;exports.getTransactionType=w;exports.transactionBuilder=F;
|