@ozdao/prometheus-framework 0.2.47 → 0.2.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (492) hide show
  1. package/dist/auth.server.js +27 -25
  2. package/dist/auth.server.mjs +27 -25
  3. package/dist/community.server.js +1 -1
  4. package/dist/community.server.mjs +1 -1
  5. package/dist/events.server.js +1 -1
  6. package/dist/events.server.mjs +1 -1
  7. package/dist/files.server.js +1 -1
  8. package/dist/files.server.mjs +1 -1
  9. package/dist/gallery.server.js +1 -1
  10. package/dist/gallery.server.mjs +1 -1
  11. package/dist/index-3981e903.mjs +217 -0
  12. package/dist/index-4eecfdb9.js +216 -0
  13. package/dist/main-203b36b6.mjs +13628 -0
  14. package/dist/main-610fd21a.mjs +13628 -0
  15. package/dist/main-669fac33.js +91 -0
  16. package/dist/main-_b1_i8mt.mjs +13606 -0
  17. package/dist/main-a7ae4ce5.js +91 -0
  18. package/dist/main-uiQFxEks.js +91 -0
  19. package/dist/main.css +1 -1
  20. package/dist/middlewares.server.js +1 -1
  21. package/dist/middlewares.server.mjs +1 -1
  22. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  23. package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
  24. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  25. package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
  26. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  27. package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
  28. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  29. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
  30. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
  33. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
  34. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
  35. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  36. package/dist/node_modules/ethereum-cryptography/esm/utils.js +4 -3
  37. package/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -3
  38. package/dist/node_modules/vue-select/dist/vue-select.es.js +49 -645
  39. package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
  40. package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
  41. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  42. package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
  43. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
  44. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
  45. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  46. package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
  47. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
  48. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
  49. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  50. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
  51. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
  52. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
  53. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
  54. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
  55. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  56. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
  57. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  58. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
  59. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  60. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
  61. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  62. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
  63. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  64. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
  65. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
  66. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
  67. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  68. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
  69. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  70. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
  71. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
  72. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
  73. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  74. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
  75. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  76. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
  77. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  78. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
  79. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  80. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
  81. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  82. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
  83. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
  84. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
  85. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  86. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
  87. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  88. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
  89. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  90. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
  91. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  92. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
  93. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
  94. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
  95. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
  96. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
  97. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  98. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
  99. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  100. package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
  101. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
  102. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
  103. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
  104. package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
  105. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
  106. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
  107. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
  108. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
  109. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
  110. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
  111. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
  112. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
  113. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
  114. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
  115. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
  116. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
  117. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  118. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
  119. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
  120. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
  121. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
  122. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
  123. package/dist/organizations.server.js +13 -27
  124. package/dist/organizations.server.mjs +13 -27
  125. package/dist/products.server.js +95 -15
  126. package/dist/products.server.mjs +95 -15
  127. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
  129. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
  131. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/Button/Button.vue.js +4 -1
  133. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  134. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +4 -1
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
  137. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  138. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
  139. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
  140. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
  141. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Field/Field.vue.js +4 -1
  143. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  145. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +4 -1
  147. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
  149. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -1
  151. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
  153. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
  155. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
  156. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +4 -1
  157. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
  159. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
  161. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
  163. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
  165. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  167. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  168. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
  169. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
  171. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
  173. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +6 -6
  175. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
  177. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
  179. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +4 -1
  181. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  182. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
  183. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  185. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  186. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -1
  187. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  189. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  191. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +4 -1
  193. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +42 -30
  195. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +4 -1
  197. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +4 -1
  199. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +4 -1
  201. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +4 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +4 -1
  205. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/store/auth.js +47 -46
  207. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/store/invites.js +5 -5
  209. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  211. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +4 -1
  213. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  215. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +4 -1
  219. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  221. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  223. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +4 -1
  225. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +4 -1
  227. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  229. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  231. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +4 -1
  233. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  235. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  236. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  237. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  238. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  239. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +4 -1
  243. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  245. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +4 -4
  247. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +4 -1
  249. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  251. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -1
  253. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +4 -1
  255. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -1
  257. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  259. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  261. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +4 -1
  265. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  267. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +4 -1
  269. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  271. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/globals/store/globals.js +22 -21
  273. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +4 -1
  275. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  277. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +4 -1
  279. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
  281. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  283. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  285. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
  287. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +4 -1
  289. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
  291. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  293. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +17 -17
  295. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +4 -1
  297. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  299. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +50 -43
  301. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +4 -1
  303. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +4 -1
  305. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +4 -1
  307. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +47 -15
  309. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +4 -1
  311. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +38 -37
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +249 -61
  315. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +4 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +78 -45
  319. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +161 -86
  321. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +4 -1
  323. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  325. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +4 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +52 -54
  333. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +19 -25
  337. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +4 -1
  339. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +4 -1
  341. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +4 -1
  343. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +40 -46
  345. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +35 -31
  347. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  349. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +30 -28
  351. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  353. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +4 -1
  355. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +4 -1
  357. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +17 -17
  359. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +50 -47
  361. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -1
  363. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +4 -1
  365. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +4 -1
  369. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +4 -1
  371. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -1
  373. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +4 -1
  375. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +4 -1
  377. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -1
  381. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +4 -1
  383. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +33 -28
  385. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +4 -1
  387. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +123 -113
  389. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +4 -1
  391. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -1
  393. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  395. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +4 -1
  397. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -1
  399. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -1
  401. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  403. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  405. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/products/store/products.js +2 -2
  407. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  409. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  411. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +4 -1
  413. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  415. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  417. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +4 -1
  419. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +4 -1
  421. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  423. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
  425. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
  427. package/dist/prometheus-framework.cjs.js +1 -1
  428. package/dist/prometheus-framework.es.js +1 -1
  429. package/dist/reports.server.js +1 -1
  430. package/dist/reports.server.mjs +1 -1
  431. package/dist/style.css +1 -1
  432. package/dist/web-0410cac1.js +1 -0
  433. package/dist/web-7p76PGnO.mjs +55 -0
  434. package/dist/web-c1619455.mjs +55 -0
  435. package/dist/web-c63f0ecc.js +1 -0
  436. package/dist/web-d8173758.mjs +55 -0
  437. package/dist/web-dn8vgptQ.js +1 -0
  438. package/package.json +1 -1
  439. package/src/components/SelectMulti/SelectMulti.vue +1 -1
  440. package/src/modules/auth/components/pages/Invite.vue +17 -6
  441. package/src/modules/auth/controllers/auth.controller.js +24 -16
  442. package/src/modules/auth/controllers/invites.controller.js +17 -8
  443. package/src/modules/auth/store/auth.js +8 -1
  444. package/src/modules/auth/store/invites.js +1 -0
  445. package/src/modules/globals/store/globals.js +5 -1
  446. package/src/modules/landing/components/blocks/MapBlock.vue +37 -0
  447. package/src/modules/landing/components/pages/404.vue +3 -0
  448. package/src/modules/landing/components/pages/Governance.vue +155 -0
  449. package/src/modules/landing/components/pages/Home.vue +52 -0
  450. package/src/modules/landing/components/pages/Hotel.vue +54 -0
  451. package/src/modules/landing/components/pages/Page.vue +184 -0
  452. package/src/modules/landing/components/sections/AboutSection.vue +69 -0
  453. package/src/modules/landing/components/sections/Examples.vue +90 -0
  454. package/src/modules/landing/components/sections/FeatureSection.vue +80 -0
  455. package/src/modules/landing/components/sections/GiftSection.vue +63 -0
  456. package/src/modules/landing/components/sections/HeroSection.vue +74 -0
  457. package/src/modules/landing/components/sections/HowItWorksSection.vue +88 -0
  458. package/src/modules/landing/components/sections/HowToBuyWDR.vue +131 -0
  459. package/src/modules/landing/components/sections/InstagramSection.vue +181 -0
  460. package/src/modules/landing/components/sections/MapSection.vue +91 -0
  461. package/src/modules/landing/components/sections/SectionsSection.vue +69 -0
  462. package/src/modules/landing/components/sections/SliderFeatures.vue +131 -0
  463. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +116 -0
  464. package/src/modules/landing/router/landing.js +34 -0
  465. package/src/modules/middlewares/server/verifySignUp.js +4 -0
  466. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  467. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +52 -44
  468. package/src/modules/organizations/components/blocks/User.vue +42 -10
  469. package/src/modules/organizations/components/pages/Department.vue +7 -6
  470. package/src/modules/organizations/components/pages/DepartmentEdit.vue +110 -134
  471. package/src/modules/organizations/components/pages/Members.vue +85 -26
  472. package/src/modules/organizations/components/pages/Organization.vue +60 -4
  473. package/src/modules/organizations/components/sections/MembersAdd.vue +27 -34
  474. package/src/modules/organizations/components/sections/Organizations.vue +0 -1
  475. package/src/modules/organizations/controllers/memberships.controller.js +6 -2
  476. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  477. package/src/modules/organizations/models/department.model.js +0 -19
  478. package/src/modules/organizations/models/membership.model.js +4 -0
  479. package/src/modules/organizations/organizations.client.js +1 -6
  480. package/src/modules/organizations/store/departments.js +48 -44
  481. package/src/modules/organizations/store/memberships.js +11 -3
  482. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  483. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  484. package/src/modules/products/components/pages/Product.vue +6 -1
  485. package/src/modules/products/components/pages/ProductEdit.vue +48 -28
  486. package/src/modules/products/controllers/products.controller.js +87 -24
  487. package/src/modules/products/models/product.model.js +16 -1
  488. package/src/modules/products/store/products.js +1 -1
  489. package/src/modules/users/components/pages/ProfileOrganizations.vue +41 -7
  490. package/src/modules/organizations/components/sections/FeedDepartments.vue +0 -64
  491. package/src/modules/organizations/components/sections/MembersList.vue +0 -85
  492. package/src/modules/organizations/store/invites.js +0 -93
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-eth-contract/lib/esm/contract.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");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-eth-abi/lib/esm/coders/base/number.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const w=require("./abi/ens/ENSRegistry.cjs"),v=require("./abi/ens/PublicResolver.cjs"),y=require("./config.cjs"),c=require("./utils.cjs");var u=function(a,e,r,n){function l(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function d(t){try{s(n.next(t))}catch(h){o(h)}}function f(t){try{s(n.throw(t))}catch(h){o(h)}}function s(t){t.done?i(t.value):l(t.value).then(d,f)}s((n=n.apply(a,e||[])).next())})};class m{constructor(e,r){this.contract=new q.Contract(w.ENSRegistryAbi,r??y.registryAddresses.main,e),this.context=e}getOwner(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.owner(c.namehash(e)).call()}catch{throw new Error}})}getTTL(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.ttl(c.namehash(e)).call()}catch{throw new Error}})}recordExists(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.recordExists(c.namehash(e)).call()}catch{throw new Error}})}getResolver(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.resolver(c.namehash(e)).call().then(r=>{if(typeof r=="string")return new q.Contract(v.PublicResolverAbi,r,this.context);throw new Error})}catch{throw new Error}})}get events(){return this.contract.events}}exports.Registry=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../web3-eth-contract/lib/esm/contract.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");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-eth-abi/lib/esm/coders/base/number.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const d=require("./abi/ens/ENSRegistry.cjs"),v=require("./abi/ens/PublicResolver.cjs"),y=require("./config.cjs"),c=require("./utils.cjs");var u=globalThis&&globalThis.__awaiter||function(a,e,r,i){function q(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function w(t){try{s(i.next(t))}catch(h){o(h)}}function f(t){try{s(i.throw(t))}catch(h){o(h)}}function s(t){t.done?n(t.value):q(t.value).then(w,f)}s((i=i.apply(a,e||[])).next())})};class m{constructor(e,r){this.contract=new l.Contract(d.ENSRegistryAbi,r??y.registryAddresses.main,e),this.context=e}getOwner(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.owner(c.namehash(e)).call()}catch{throw new Error}})}getTTL(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.ttl(c.namehash(e)).call()}catch{throw new Error}})}recordExists(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.recordExists(c.namehash(e)).call()}catch{throw new Error}})}getResolver(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.resolver(c.namehash(e)).call().then(r=>{if(typeof r=="string")return new l.Contract(v.PublicResolverAbi,r,this.context);throw new Error})}catch{throw new Error}})}get events(){return this.contract.events}}exports.Registry=m;
@@ -21,40 +21,40 @@ import "../../../web3-core/lib/esm/web3_batch_request.js";
21
21
  import "../../../web3-eth-iban/lib/esm/iban.js";
22
22
  import "../../../web3-core/lib/esm/web3_promi_event.js";
23
23
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
24
- import { ENSRegistryAbi as d } from "./abi/ens/ENSRegistry.js";
25
- import { PublicResolverAbi as w } from "./abi/ens/PublicResolver.js";
24
+ import { ENSRegistryAbi as w } from "./abi/ens/ENSRegistry.js";
25
+ import { PublicResolverAbi as d } from "./abi/ens/PublicResolver.js";
26
26
  import { registryAddresses as v } from "./config.js";
27
27
  import { namehash as c } from "./utils.js";
28
- var m = function(h, r, t, i) {
28
+ var m = globalThis && globalThis.__awaiter || function(h, r, t, i) {
29
29
  function u(n) {
30
30
  return n instanceof t ? n : new t(function(e) {
31
31
  e(n);
32
32
  });
33
33
  }
34
34
  return new (t || (t = Promise))(function(n, e) {
35
- function f(o) {
35
+ function l(o) {
36
36
  try {
37
- p(i.next(o));
38
- } catch (s) {
39
- e(s);
37
+ s(i.next(o));
38
+ } catch (p) {
39
+ e(p);
40
40
  }
41
41
  }
42
- function l(o) {
42
+ function f(o) {
43
43
  try {
44
- p(i.throw(o));
45
- } catch (s) {
46
- e(s);
44
+ s(i.throw(o));
45
+ } catch (p) {
46
+ e(p);
47
47
  }
48
48
  }
49
- function p(o) {
50
- o.done ? n(o.value) : u(o.value).then(f, l);
49
+ function s(o) {
50
+ o.done ? n(o.value) : u(o.value).then(l, f);
51
51
  }
52
- p((i = i.apply(h, r || [])).next());
52
+ s((i = i.apply(h, r || [])).next());
53
53
  });
54
54
  };
55
55
  class Q {
56
56
  constructor(r, t) {
57
- this.contract = new a(d, t ?? v.main, r), this.context = r;
57
+ this.contract = new a(w, t ?? v.main, r), this.context = r;
58
58
  }
59
59
  getOwner(r) {
60
60
  return m(this, void 0, void 0, function* () {
@@ -88,7 +88,7 @@ class Q {
88
88
  try {
89
89
  return this.contract.methods.resolver(c(r)).call().then((t) => {
90
90
  if (typeof t == "string")
91
- return new a(w, t, this.context);
91
+ return new a(d, t, this.context);
92
92
  throw new Error();
93
93
  });
94
94
  } catch {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../web3-errors/lib/esm/errors/contract_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");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("./config.cjs"),h=require("./utils.cjs"),I=require("../../../web3-utils/lib/esm/hash.cjs"),g=require("../../../web3-utils/lib/esm/validation.cjs");var s=function(l,t,e,r){function o(n){return n instanceof e?n:new e(function(d){d(n)})}return new(e||(e=Promise))(function(n,d){function v(i){try{u(r.next(i))}catch(a){d(a)}}function p(i){try{u(r.throw(i))}catch(a){d(a)}}function u(i){i.done?n(i.value):o(i.value).then(v,p)}u((r=r.apply(l,t||[])).next())})};class q{constructor(t){this.registry=t}getResolverContractAdapter(t){return s(this,void 0,void 0,function*(){return this.registry.getResolver(t)})}checkInterfaceSupport(t,e){var r,o;return s(this,void 0,void 0,function*(){if(g.isNullish(c.interfaceIds[e]))throw new f.ResolverMethodMissingError((r=t.options.address)!==null&&r!==void 0?r:"",e);if(!(yield t.methods.supportsInterface(c.interfaceIds[e]).call()))throw new f.ResolverMethodMissingError((o=t.options.address)!==null&&o!==void 0?o:"",e)})}supportsInterface(t,e){var r;return s(this,void 0,void 0,function*(){const o=yield this.getResolverContractAdapter(t);let n=e;if(!y.isHexStrict(n)){if(n=(r=I.sha3(e))!==null&&r!==void 0?r:"",e==="")throw new Error("Invalid interface Id");n=n.slice(0,10)}return o.methods.supportsInterface(n).call()})}getAddress(t,e=60){return s(this,void 0,void 0,function*(){const r=yield this.getResolverContractAdapter(t);return yield this.checkInterfaceSupport(r,c.methodsInInterface.addr),r.methods.addr(h.namehash(t),e).call()})}getPubkey(t){return s(this,void 0,void 0,function*(){const e=yield this.getResolverContractAdapter(t);return yield this.checkInterfaceSupport(e,c.methodsInInterface.pubkey),e.methods.pubkey(h.namehash(t)).call()})}getContenthash(t){return s(this,void 0,void 0,function*(){const e=yield this.getResolverContractAdapter(t);return yield this.checkInterfaceSupport(e,c.methodsInInterface.contenthash),e.methods.contenthash(h.namehash(t)).call()})}}exports.Resolver=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../web3-errors/lib/esm/errors/contract_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");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("./config.cjs"),l=require("./utils.cjs"),g=require("../../../web3-utils/lib/esm/hash.cjs"),I=require("../../../web3-utils/lib/esm/validation.cjs");var s=globalThis&&globalThis.__awaiter||function(h,t,e,r){function o(n){return n instanceof e?n:new e(function(a){a(n)})}return new(e||(e=Promise))(function(n,a){function v(i){try{u(r.next(i))}catch(d){a(d)}}function p(i){try{u(r.throw(i))}catch(d){a(d)}}function u(i){i.done?n(i.value):o(i.value).then(v,p)}u((r=r.apply(h,t||[])).next())})};class q{constructor(t){this.registry=t}getResolverContractAdapter(t){return s(this,void 0,void 0,function*(){return this.registry.getResolver(t)})}checkInterfaceSupport(t,e){var r,o;return s(this,void 0,void 0,function*(){if(I.isNullish(c.interfaceIds[e]))throw new f.ResolverMethodMissingError((r=t.options.address)!==null&&r!==void 0?r:"",e);if(!(yield t.methods.supportsInterface(c.interfaceIds[e]).call()))throw new f.ResolverMethodMissingError((o=t.options.address)!==null&&o!==void 0?o:"",e)})}supportsInterface(t,e){var r;return s(this,void 0,void 0,function*(){const o=yield this.getResolverContractAdapter(t);let n=e;if(!y.isHexStrict(n)){if(n=(r=g.sha3(e))!==null&&r!==void 0?r:"",e==="")throw new Error("Invalid interface Id");n=n.slice(0,10)}return o.methods.supportsInterface(n).call()})}getAddress(t,e=60){return s(this,void 0,void 0,function*(){const r=yield this.getResolverContractAdapter(t);return yield this.checkInterfaceSupport(r,c.methodsInInterface.addr),r.methods.addr(l.namehash(t),e).call()})}getPubkey(t){return s(this,void 0,void 0,function*(){const e=yield this.getResolverContractAdapter(t);return yield this.checkInterfaceSupport(e,c.methodsInInterface.pubkey),e.methods.pubkey(l.namehash(t)).call()})}getContenthash(t){return s(this,void 0,void 0,function*(){const e=yield this.getResolverContractAdapter(t);return yield this.checkInterfaceSupport(e,c.methodsInInterface.contenthash),e.methods.contenthash(l.namehash(t)).call()})}}exports.Resolver=q;
@@ -1,4 +1,4 @@
1
- import { ResolverMethodMissingError as h } from "../../../web3-errors/lib/esm/errors/contract_errors.js";
1
+ import { ResolverMethodMissingError as u } from "../../../web3-errors/lib/esm/errors/contract_errors.js";
2
2
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
3
3
  import "../../../web3-validator/lib/esm/formats.js";
4
4
  import { isHexStrict as y } from "../../../web3-validator/lib/esm/validation/string.js";
@@ -6,38 +6,38 @@ import "../../../web3-validator/lib/esm/default_validator.js";
6
6
  import "../../../web3-types/lib/esm/data_format_types.js";
7
7
  import "../../../web3-types/lib/esm/eth_types.js";
8
8
  import "../../../web3-types/lib/esm/web3_base_provider.js";
9
- import { interfaceIds as f, methodsInInterface as p } from "./config.js";
10
- import { namehash as u } from "./utils.js";
11
- import { sha3 as w } from "../../../web3-utils/lib/esm/hash.js";
12
- import { isNullish as I } from "../../../web3-utils/lib/esm/validation.js";
13
- var s = function(l, r, t, e) {
14
- function n(o) {
9
+ import { interfaceIds as f, methodsInInterface as l } from "./config.js";
10
+ import { namehash as p } from "./utils.js";
11
+ import { sha3 as g } from "../../../web3-utils/lib/esm/hash.js";
12
+ import { isNullish as w } from "../../../web3-utils/lib/esm/validation.js";
13
+ var s = globalThis && globalThis.__awaiter || function(h, r, t, e) {
14
+ function i(o) {
15
15
  return o instanceof t ? o : new t(function(c) {
16
16
  c(o);
17
17
  });
18
18
  }
19
19
  return new (t || (t = Promise))(function(o, c) {
20
- function v(i) {
20
+ function v(n) {
21
21
  try {
22
- d(e.next(i));
22
+ d(e.next(n));
23
23
  } catch (a) {
24
24
  c(a);
25
25
  }
26
26
  }
27
- function m(i) {
27
+ function m(n) {
28
28
  try {
29
- d(e.throw(i));
29
+ d(e.throw(n));
30
30
  } catch (a) {
31
31
  c(a);
32
32
  }
33
33
  }
34
- function d(i) {
35
- i.done ? o(i.value) : n(i.value).then(v, m);
34
+ function d(n) {
35
+ n.done ? o(n.value) : i(n.value).then(v, m);
36
36
  }
37
- d((e = e.apply(l, r || [])).next());
37
+ d((e = e.apply(h, r || [])).next());
38
38
  });
39
39
  };
40
- class q {
40
+ class j {
41
41
  constructor(r) {
42
42
  this.registry = r;
43
43
  }
@@ -49,47 +49,47 @@ class q {
49
49
  // https://eips.ethereum.org/EIPS/eip-165
50
50
  // eslint-disable-next-line class-methods-use-this
51
51
  checkInterfaceSupport(r, t) {
52
- var e, n;
52
+ var e, i;
53
53
  return s(this, void 0, void 0, function* () {
54
- if (I(f[t]))
55
- throw new h((e = r.options.address) !== null && e !== void 0 ? e : "", t);
54
+ if (w(f[t]))
55
+ throw new u((e = r.options.address) !== null && e !== void 0 ? e : "", t);
56
56
  if (!(yield r.methods.supportsInterface(f[t]).call()))
57
- throw new h((n = r.options.address) !== null && n !== void 0 ? n : "", t);
57
+ throw new u((i = r.options.address) !== null && i !== void 0 ? i : "", t);
58
58
  });
59
59
  }
60
60
  supportsInterface(r, t) {
61
61
  var e;
62
62
  return s(this, void 0, void 0, function* () {
63
- const n = yield this.getResolverContractAdapter(r);
63
+ const i = yield this.getResolverContractAdapter(r);
64
64
  let o = t;
65
65
  if (!y(o)) {
66
- if (o = (e = w(t)) !== null && e !== void 0 ? e : "", t === "")
66
+ if (o = (e = g(t)) !== null && e !== void 0 ? e : "", t === "")
67
67
  throw new Error("Invalid interface Id");
68
68
  o = o.slice(0, 10);
69
69
  }
70
- return n.methods.supportsInterface(o).call();
70
+ return i.methods.supportsInterface(o).call();
71
71
  });
72
72
  }
73
73
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
74
74
  getAddress(r, t = 60) {
75
75
  return s(this, void 0, void 0, function* () {
76
76
  const e = yield this.getResolverContractAdapter(r);
77
- return yield this.checkInterfaceSupport(e, p.addr), e.methods.addr(u(r), t).call();
77
+ return yield this.checkInterfaceSupport(e, l.addr), e.methods.addr(p(r), t).call();
78
78
  });
79
79
  }
80
80
  getPubkey(r) {
81
81
  return s(this, void 0, void 0, function* () {
82
82
  const t = yield this.getResolverContractAdapter(r);
83
- return yield this.checkInterfaceSupport(t, p.pubkey), t.methods.pubkey(u(r)).call();
83
+ return yield this.checkInterfaceSupport(t, l.pubkey), t.methods.pubkey(p(r)).call();
84
84
  });
85
85
  }
86
86
  getContenthash(r) {
87
87
  return s(this, void 0, void 0, function* () {
88
88
  const t = yield this.getResolverContractAdapter(r);
89
- return yield this.checkInterfaceSupport(t, p.contenthash), t.methods.contenthash(u(r)).call();
89
+ return yield this.checkInterfaceSupport(t, l.contenthash), t.methods.contenthash(p(r)).call();
90
90
  });
91
91
  }
92
92
  }
93
93
  export {
94
- q as Resolver
94
+ j as Resolver
95
95
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../web3-errors/lib/esm/errors/utils_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 l=require("../../../web3-validator/lib/esm/validation/address.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 d=require("../../../web3-utils/lib/esm/string_manipulation.cjs"),a=require("../../../web3-utils/lib/esm/converters.cjs");class e{constructor(t){if(this.toAddress=()=>{if(this.isDirect()){const r=this._iban.slice(4),i=e._parseInt(r,36),n=d.leftPad(i,40);return a.toChecksumAddress(n)}throw new Error("Iban is indirect and cannot be converted. Must be length of 34 or 35")},e.isIndirect(t)||e.isDirect(t))this._iban=t;else throw new Error("Invalid IBAN was provided")}static isDirect(t){return t.length===34||t.length===35}isDirect(){return e.isDirect(this._iban)}static isIndirect(t){return t.length===20}isIndirect(){return e.isIndirect(this._iban)}static isValid(t){return/^XE[0-9]{2}(ETH[0-9A-Z]{13}|[0-9A-Z]{30,31})$/.test(t)&&e._mod9710(e._iso13616Prepare(t))===1}isValid(){return e.isValid(this._iban)}static fromBban(t){const r="XE",n=`0${(98-this._mod9710(this._iso13616Prepare(`${r}00${t}`))).toString()}`.slice(-2);return new e(`${r}${n}${t}`)}static createIndirect(t){return e.fromBban(`ETH${t.institution}${t.identifier}`)}static fromAddress(t){if(!l.isAddress(t))throw new u.InvalidAddressError(t);const i=BigInt(a.hexToNumber(t)).toString(36),n=d.leftPad(i,15);return e.fromBban(n.toUpperCase())}static toIban(t){return e.fromAddress(t).toString()}client(){return this.isIndirect()?this._iban.slice(11):""}checksum(){return this._iban.slice(2,4)}institution(){return this.isIndirect()?this._iban.slice(7,11):""}toString(){return this._iban}}e._iso13616Prepare=s=>{const i=s.toUpperCase();return`${i.slice(4)}${i.slice(0,4)}`.split("").map(c=>{const o=c.charCodeAt(0);return o>=65&&o<=90?o-65+10:c}).join("")};e._parseInt=(s,t)=>[...s].reduce((r,i)=>BigInt(parseInt(i,t))+BigInt(t)*r,BigInt(0));e._mod9710=s=>{let t=s,r;for(;t.length>2;)r=t.slice(0,9),t=`${(parseInt(r,10)%97).toString()}${t.slice(r.length)}`;return parseInt(t,10)%97};e.toAddress=s=>new e(s).toAddress();exports.Iban=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../../web3-errors/lib/esm/errors/utils_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 l=require("../../../web3-validator/lib/esm/validation/address.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 d=require("../../../web3-utils/lib/esm/string_manipulation.cjs"),a=require("../../../web3-utils/lib/esm/converters.cjs");class e{constructor(t){if(this.toAddress=()=>{if(this.isDirect()){const r=this._iban.slice(4),i=e._parseInt(r,36),n=d.leftPad(i,40);return a.toChecksumAddress(n)}throw new Error("Iban is indirect and cannot be converted. Must be length of 34 or 35")},e.isIndirect(t)||e.isDirect(t))this._iban=t;else throw new Error("Invalid IBAN was provided")}static isDirect(t){return t.length===34||t.length===35}isDirect(){return e.isDirect(this._iban)}static isIndirect(t){return t.length===20}isIndirect(){return e.isIndirect(this._iban)}static isValid(t){return/^XE[0-9]{2}(ETH[0-9A-Z]{13}|[0-9A-Z]{30,31})$/.test(t)&&e._mod9710(e._iso13616Prepare(t))===1}isValid(){return e.isValid(this._iban)}static fromBban(t){const r="XE",n=`0${(98-this._mod9710(this._iso13616Prepare(`${r}00${t}`))).toString()}`.slice(-2);return new e(`${r}${n}${t}`)}static createIndirect(t){return e.fromBban(`ETH${t.institution}${t.identifier}`)}static fromAddress(t){if(!l.isAddress(t))throw new u.InvalidAddressError(t);const i=BigInt(a.hexToNumber(t)).toString(36),n=d.leftPad(i,15);return e.fromBban(n.toUpperCase())}static toIban(t){return e.fromAddress(t).toString()}client(){return this.isIndirect()?this._iban.slice(11):""}checksum(){return this._iban.slice(2,4)}institution(){return this.isIndirect()?this._iban.slice(7,11):""}toString(){return this._iban}}e._iso13616Prepare=s=>{const t="A".charCodeAt(0),r="Z".charCodeAt(0),i=s.toUpperCase();return`${i.slice(4)}${i.slice(0,4)}`.split("").map(c=>{const o=c.charCodeAt(0);return o>=t&&o<=r?o-t+10:c}).join("")};e._parseInt=(s,t)=>[...s].reduce((r,i)=>BigInt(parseInt(i,t))+BigInt(t)*r,BigInt(0));e._mod9710=s=>{let t=s,r;for(;t.length>2;)r=t.slice(0,9),t=`${(parseInt(r,10)%97).toString()}${t.slice(r.length)}`;return parseInt(t,10)%97};e.toAddress=s=>new e(s).toAddress();exports.Iban=e;
@@ -264,10 +264,10 @@ class r {
264
264
  }
265
265
  }
266
266
  r._iso13616Prepare = (s) => {
267
- const e = s.toUpperCase();
267
+ const t = "A".charCodeAt(0), i = "Z".charCodeAt(0), e = s.toUpperCase();
268
268
  return `${e.slice(4)}${e.slice(0, 4)}`.split("").map((c) => {
269
269
  const o = c.charCodeAt(0);
270
- return o >= 65 && o <= 90 ? o - 65 + 10 : c;
270
+ return o >= t && o <= i ? o - t + 10 : c;
271
271
  }).join("");
272
272
  };
273
273
  r._parseInt = (s, t) => [...s].reduce((i, e) => BigInt(parseInt(e, t)) + BigInt(t) * i, BigInt(0));
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const v=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.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");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const r=require("./rpc_method_wrappers.cjs");var t=function(d,e,n,i){function q(o){return o instanceof n?o:new n(function(c){c(o)})}return new(n||(n=Promise))(function(o,c){function h(u){try{s(i.next(u))}catch(a){c(a)}}function f(u){try{s(i.throw(u))}catch(a){c(a)}}function s(u){u.done?o(u.value):q(u.value).then(h,f)}s((i=i.apply(d,e||[])).next())})};class g extends v.Web3Context{getAccounts(){return t(this,void 0,void 0,function*(){return r.getAccounts(this.requestManager)})}newAccount(e){return t(this,void 0,void 0,function*(){return r.newAccount(this.requestManager,e)})}unlockAccount(e,n,i){return t(this,void 0,void 0,function*(){return r.unlockAccount(this.requestManager,e,n,i)})}lockAccount(e){return t(this,void 0,void 0,function*(){return r.lockAccount(this.requestManager,e)})}importRawKey(e,n){return t(this,void 0,void 0,function*(){return r.importRawKey(this.requestManager,e,n)})}sendTransaction(e,n){return t(this,void 0,void 0,function*(){return r.sendTransaction(this.requestManager,e,n)})}signTransaction(e,n){return t(this,void 0,void 0,function*(){return r.signTransaction(this.requestManager,e,n)})}sign(e,n,i){return t(this,void 0,void 0,function*(){return r.sign(this.requestManager,e,n,i)})}ecRecover(e,n){return t(this,void 0,void 0,function*(){return r.ecRecover(this.requestManager,e,n)})}}exports.Personal=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const f=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.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");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const n=require("./rpc_method_wrappers.cjs");var t=globalThis&&globalThis.__awaiter||function(d,e,r,i){function h(o){return o instanceof r?o:new r(function(c){c(o)})}return new(r||(r=Promise))(function(o,c){function q(u){try{s(i.next(u))}catch(a){c(a)}}function v(u){try{s(i.throw(u))}catch(a){c(a)}}function s(u){u.done?o(u.value):h(u.value).then(q,v)}s((i=i.apply(d,e||[])).next())})};class g extends f.Web3Context{getAccounts(){return t(this,void 0,void 0,function*(){return n.getAccounts(this.requestManager)})}newAccount(e){return t(this,void 0,void 0,function*(){return n.newAccount(this.requestManager,e)})}unlockAccount(e,r,i){return t(this,void 0,void 0,function*(){return n.unlockAccount(this.requestManager,e,r,i)})}lockAccount(e){return t(this,void 0,void 0,function*(){return n.lockAccount(this.requestManager,e)})}importRawKey(e,r){return t(this,void 0,void 0,function*(){return n.importRawKey(this.requestManager,e,r)})}sendTransaction(e,r){return t(this,void 0,void 0,function*(){return n.sendTransaction(this.requestManager,e,r)})}signTransaction(e,r){return t(this,void 0,void 0,function*(){return n.signTransaction(this.requestManager,e,r)})}sign(e,r,i){return t(this,void 0,void 0,function*(){return n.sign(this.requestManager,e,r,i)})}ecRecover(e,r){return t(this,void 0,void 0,function*(){return n.ecRecover(this.requestManager,e,r)})}}exports.Personal=g;
@@ -2,7 +2,7 @@ import "../../../web3-core/lib/esm/web3_config.js";
2
2
  import "../../../web3-core/lib/esm/web3_request_manager.js";
3
3
  import "../../../web3-core/lib/esm/web3_subscription_manager.js";
4
4
  import "../../../web3-core/lib/esm/web3_subscriptions.js";
5
- import { Web3Context as p } from "../../../web3-core/lib/esm/web3_context.js";
5
+ import { Web3Context as f } from "../../../web3-core/lib/esm/web3_context.js";
6
6
  import "../../../web3-core/lib/esm/web3_batch_request.js";
7
7
  import "../../../web3-types/lib/esm/data_format_types.js";
8
8
  import "../../../web3-types/lib/esm/eth_types.js";
@@ -12,35 +12,35 @@ import "../../../web3-eth-iban/lib/esm/iban.js";
12
12
  import "../../../web3-validator/lib/esm/formats.js";
13
13
  import "../../../web3-validator/lib/esm/default_validator.js";
14
14
  import "../../../web3-core/lib/esm/web3_promi_event.js";
15
- import { getAccounts as v, newAccount as m, unlockAccount as g, lockAccount as q, importRawKey as w, sendTransaction as M, signTransaction as l, sign as A, ecRecover as x } from "./rpc_method_wrappers.js";
16
- var i = function(a, t, n, r) {
17
- function d(o) {
18
- return o instanceof n ? o : new n(function(u) {
19
- u(o);
15
+ import { getAccounts as v, newAccount as m, unlockAccount as g, lockAccount as l, importRawKey as q, sendTransaction as w, signTransaction as M, sign as A, ecRecover as T } from "./rpc_method_wrappers.js";
16
+ var i = globalThis && globalThis.__awaiter || function(a, t, n, r) {
17
+ function d(e) {
18
+ return e instanceof n ? e : new n(function(u) {
19
+ u(e);
20
20
  });
21
21
  }
22
- return new (n || (n = Promise))(function(o, u) {
23
- function f(e) {
22
+ return new (n || (n = Promise))(function(e, u) {
23
+ function h(o) {
24
24
  try {
25
- c(r.next(e));
25
+ c(r.next(o));
26
26
  } catch (s) {
27
27
  u(s);
28
28
  }
29
29
  }
30
- function h(e) {
30
+ function p(o) {
31
31
  try {
32
- c(r.throw(e));
32
+ c(r.throw(o));
33
33
  } catch (s) {
34
34
  u(s);
35
35
  }
36
36
  }
37
- function c(e) {
38
- e.done ? o(e.value) : d(e.value).then(f, h);
37
+ function c(o) {
38
+ o.done ? e(o.value) : d(o.value).then(h, p);
39
39
  }
40
40
  c((r = r.apply(a, t || [])).next());
41
41
  });
42
42
  };
43
- class G extends p {
43
+ class G extends f {
44
44
  /**
45
45
  *Returns a list of accounts the node controls by using the provider and calling the RPC method personal_listAccounts. Using `web3.eth.accounts.create()` will not add accounts into this list. For that use `web3.eth.personal.newAccount()`.
46
46
  * @returns - An array of addresses controlled by the node.
@@ -116,7 +116,7 @@ class G extends p {
116
116
  */
117
117
  lockAccount(t) {
118
118
  return i(this, void 0, void 0, function* () {
119
- return q(this.requestManager, t);
119
+ return l(this.requestManager, t);
120
120
  });
121
121
  }
122
122
  /**
@@ -137,7 +137,7 @@ class G extends p {
137
137
  */
138
138
  importRawKey(t, n) {
139
139
  return i(this, void 0, void 0, function* () {
140
- return w(this.requestManager, t, n);
140
+ return q(this.requestManager, t, n);
141
141
  });
142
142
  }
143
143
  /**
@@ -166,7 +166,7 @@ class G extends p {
166
166
  */
167
167
  sendTransaction(t, n) {
168
168
  return i(this, void 0, void 0, function* () {
169
- return M(this.requestManager, t, n);
169
+ return w(this.requestManager, t, n);
170
170
  });
171
171
  }
172
172
  /**
@@ -213,7 +213,7 @@ class G extends p {
213
213
  */
214
214
  signTransaction(t, n) {
215
215
  return i(this, void 0, void 0, function* () {
216
- return l(this.requestManager, t, n);
216
+ return M(this.requestManager, t, n);
217
217
  });
218
218
  }
219
219
  /**
@@ -256,7 +256,7 @@ class G extends p {
256
256
  */
257
257
  ecRecover(t, n) {
258
258
  return i(this, void 0, void 0, function* () {
259
- return x(this.requestManager, t, n);
259
+ return T(this.requestManager, t, n);
260
260
  });
261
261
  }
262
262
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");const q=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-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const A=require("../../../web3-validator/lib/esm/validation/string.cjs"),u=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");const T=require("../../../web3-eth/lib/esm/utils/format_transaction.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");const r=require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs"),a=require("../../../web3-utils/lib/esm/converters.cjs");var o=function(e,t,n,i){function v(d){return d instanceof n?d:new n(function(s){s(d)})}return new(n||(n=Promise))(function(d,s){function g(c){try{f(i.next(c))}catch(l){s(l)}}function m(c){try{f(i.throw(c))}catch(l){s(l)}}function f(c){c.done?d(c.value):v(c.value).then(g,m)}f((i=i.apply(e,t||[])).next())})};const _=e=>o(void 0,void 0,void 0,function*(){return(yield r.getAccounts(e)).map(a.toChecksumAddress)}),y=(e,t)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string"],[t]);const n=yield r.newAccount(e,t);return a.toChecksumAddress(n)}),w=(e,t,n,i)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["address","string","uint"],[t,n,i]),r.unlockAccount(e,t,n,i)}),x=(e,t)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["address"],[t]),r.lockAccount(e,t)}),R=(e,t,n)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["string","string"],[t,n]),r.importRawKey(e,t,n)}),k=(e,t,n)=>o(void 0,void 0,void 0,function*(){const i=T.formatTransaction(t,q.ETH_DATA_FORMAT);return r.sendTransaction(e,i,n)}),p=(e,t,n)=>o(void 0,void 0,void 0,function*(){const i=T.formatTransaction(t,q.ETH_DATA_FORMAT);return r.signTransaction(e,i,n)}),H=(e,t,n,i)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string","address","string"],[t,n,i]);const v=A.isHexStrict(t)?t:a.utf8ToHex(t);return r.sign(e,v,n,i)}),S=(e,t,n)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string","string"],[t,n]);const i=A.isHexStrict(t)?t:a.utf8ToHex(t);return r.ecRecover(e,i,n)});exports.ecRecover=S;exports.getAccounts=_;exports.importRawKey=R;exports.lockAccount=x;exports.newAccount=y;exports.sendTransaction=k;exports.sign=H;exports.signTransaction=p;exports.unlockAccount=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");const q=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-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const T=require("../../../web3-validator/lib/esm/validation/string.cjs"),u=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");const A=require("../../../web3-eth/lib/esm/utils/format_transaction.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");const e=require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs"),a=require("../../../web3-utils/lib/esm/converters.cjs");var o=globalThis&&globalThis.__awaiter||function(n,t,i,r){function v(s){return s instanceof i?s:new i(function(d){d(s)})}return new(i||(i=Promise))(function(s,d){function g(c){try{l(r.next(c))}catch(f){d(f)}}function m(c){try{l(r.throw(c))}catch(f){d(f)}}function l(c){c.done?s(c.value):v(c.value).then(g,m)}l((r=r.apply(n,t||[])).next())})};const _=n=>o(void 0,void 0,void 0,function*(){return(yield e.getAccounts(n)).map(a.toChecksumAddress)}),y=(n,t)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string"],[t]);const i=yield e.newAccount(n,t);return a.toChecksumAddress(i)}),w=(n,t,i,r)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["address","string","uint"],[t,i,r]),e.unlockAccount(n,t,i,r)}),x=(n,t)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["address"],[t]),e.lockAccount(n,t)}),R=(n,t,i)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["string","string"],[t,i]),e.importRawKey(n,t,i)}),h=(n,t,i)=>o(void 0,void 0,void 0,function*(){const r=A.formatTransaction(t,q.ETH_DATA_FORMAT);return e.sendTransaction(n,r,i)}),k=(n,t,i)=>o(void 0,void 0,void 0,function*(){const r=A.formatTransaction(t,q.ETH_DATA_FORMAT);return e.signTransaction(n,r,i)}),p=(n,t,i,r)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string","address","string"],[t,i,r]);const v=T.isHexStrict(t)?t:a.utf8ToHex(t);return e.sign(n,v,i,r)}),H=(n,t,i)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string","string"],[t,i]);const r=T.isHexStrict(t)?t:a.utf8ToHex(t);return e.ecRecover(n,r,i)});exports.ecRecover=H;exports.getAccounts=_;exports.importRawKey=R;exports.lockAccount=x;exports.newAccount=y;exports.sendTransaction=h;exports.sign=p;exports.signTransaction=k;exports.unlockAccount=w;
@@ -5,12 +5,12 @@ import "../../../web3-types/lib/esm/eth_types.js";
5
5
  import "../../../web3-types/lib/esm/web3_base_provider.js";
6
6
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
7
7
  import "../../../web3-validator/lib/esm/formats.js";
8
- import { isHexStrict as f } from "../../../web3-validator/lib/esm/validation/string.js";
8
+ import { isHexStrict as p } from "../../../web3-validator/lib/esm/validation/string.js";
9
9
  import { validator as e } from "../../../web3-validator/lib/esm/default_validator.js";
10
10
  import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
11
11
  import "../../../web3-eth/lib/esm/schemas.js";
12
12
  import "../../../web3-eth/lib/esm/constants.js";
13
- import { formatTransaction as p } from "../../../web3-eth/lib/esm/utils/format_transaction.js";
13
+ import { formatTransaction as f } from "../../../web3-eth/lib/esm/utils/format_transaction.js";
14
14
  import "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
15
15
  import "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
16
16
  import "../../../web3-core/lib/esm/web3_config.js";
@@ -24,10 +24,10 @@ import "../../../web3-core/lib/esm/web3_promi_event.js";
24
24
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
25
25
  import "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
26
26
  import "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
27
- import { getAccounts as w, newAccount as $, unlockAccount as x, lockAccount as y, importRawKey as R, sendTransaction as _, signTransaction as k, sign as h, ecRecover as H } from "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
27
+ import { getAccounts as w, newAccount as $, unlockAccount as x, lockAccount as y, importRawKey as R, sendTransaction as _, signTransaction as h, sign as k, ecRecover as H } from "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
28
28
  import { toChecksumAddress as l, utf8ToHex as A } from "../../../web3-utils/lib/esm/converters.js";
29
- var r = function(n, o, t, i) {
30
- function d(s) {
29
+ var r = globalThis && globalThis.__awaiter || function(i, o, t, n) {
30
+ function m(s) {
31
31
  return s instanceof t ? s : new t(function(u) {
32
32
  u(s);
33
33
  });
@@ -35,57 +35,57 @@ var r = function(n, o, t, i) {
35
35
  return new (t || (t = Promise))(function(s, u) {
36
36
  function T(c) {
37
37
  try {
38
- m(i.next(c));
38
+ d(n.next(c));
39
39
  } catch (v) {
40
40
  u(v);
41
41
  }
42
42
  }
43
43
  function g(c) {
44
44
  try {
45
- m(i.throw(c));
45
+ d(n.throw(c));
46
46
  } catch (v) {
47
47
  u(v);
48
48
  }
49
49
  }
50
- function m(c) {
51
- c.done ? s(c.value) : d(c.value).then(T, g);
50
+ function d(c) {
51
+ c.done ? s(c.value) : m(c.value).then(T, g);
52
52
  }
53
- m((i = i.apply(n, o || [])).next());
53
+ d((n = n.apply(i, o || [])).next());
54
54
  });
55
55
  };
56
- const no = (n) => r(void 0, void 0, void 0, function* () {
57
- return (yield w(n)).map(l);
58
- }), io = (n, o) => r(void 0, void 0, void 0, function* () {
56
+ const io = (i) => r(void 0, void 0, void 0, function* () {
57
+ return (yield w(i)).map(l);
58
+ }), no = (i, o) => r(void 0, void 0, void 0, function* () {
59
59
  e.validate(["string"], [o]);
60
- const t = yield $(n, o);
60
+ const t = yield $(i, o);
61
61
  return l(t);
62
- }), ro = (n, o, t, i) => r(void 0, void 0, void 0, function* () {
63
- return e.validate(["address", "string", "uint"], [o, t, i]), x(n, o, t, i);
64
- }), co = (n, o) => r(void 0, void 0, void 0, function* () {
65
- return e.validate(["address"], [o]), y(n, o);
66
- }), eo = (n, o, t) => r(void 0, void 0, void 0, function* () {
67
- return e.validate(["string", "string"], [o, t]), R(n, o, t);
68
- }), so = (n, o, t) => r(void 0, void 0, void 0, function* () {
69
- const i = p(o, a);
70
- return _(n, i, t);
71
- }), uo = (n, o, t) => r(void 0, void 0, void 0, function* () {
72
- const i = p(o, a);
73
- return k(n, i, t);
74
- }), mo = (n, o, t, i) => r(void 0, void 0, void 0, function* () {
75
- e.validate(["string", "address", "string"], [o, t, i]);
76
- const d = f(o) ? o : A(o);
77
- return h(n, d, t, i);
78
- }), vo = (n, o, t) => r(void 0, void 0, void 0, function* () {
62
+ }), ro = (i, o, t, n) => r(void 0, void 0, void 0, function* () {
63
+ return e.validate(["address", "string", "uint"], [o, t, n]), x(i, o, t, n);
64
+ }), co = (i, o) => r(void 0, void 0, void 0, function* () {
65
+ return e.validate(["address"], [o]), y(i, o);
66
+ }), eo = (i, o, t) => r(void 0, void 0, void 0, function* () {
67
+ return e.validate(["string", "string"], [o, t]), R(i, o, t);
68
+ }), so = (i, o, t) => r(void 0, void 0, void 0, function* () {
69
+ const n = f(o, a);
70
+ return _(i, n, t);
71
+ }), uo = (i, o, t) => r(void 0, void 0, void 0, function* () {
72
+ const n = f(o, a);
73
+ return h(i, n, t);
74
+ }), mo = (i, o, t, n) => r(void 0, void 0, void 0, function* () {
75
+ e.validate(["string", "address", "string"], [o, t, n]);
76
+ const m = p(o) ? o : A(o);
77
+ return k(i, m, t, n);
78
+ }), vo = (i, o, t) => r(void 0, void 0, void 0, function* () {
79
79
  e.validate(["string", "string"], [o, t]);
80
- const i = f(o) ? o : A(o);
81
- return H(n, i, t);
80
+ const n = p(o) ? o : A(o);
81
+ return H(i, n, t);
82
82
  });
83
83
  export {
84
84
  vo as ecRecover,
85
- no as getAccounts,
85
+ io as getAccounts,
86
86
  eo as importRawKey,
87
87
  co as lockAccount,
88
- io as newAccount,
88
+ no as newAccount,
89
89
  so as sendTransaction,
90
90
  mo as sign,
91
91
  uo as signTransaction,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const p=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const q=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-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const d=require("./rpc_method_wrappers.cjs");var s=function(f,t,i,n){function a(r){return r instanceof i?r:new i(function(u){u(r)})}return new(i||(i=Promise))(function(r,u){function _(e){try{o(n.next(e))}catch(c){u(c)}}function h(e){try{o(n.throw(e))}catch(c){u(c)}}function o(e){e.done?r(e.value):a(e.value).then(_,h)}o((n=n.apply(f,t||[])).next())})};class v extends p.Web3Context{getId(t=q.DEFAULT_RETURN_FORMAT){return s(this,void 0,void 0,function*(){return d.getId(this,t)})}getPeerCount(t=q.DEFAULT_RETURN_FORMAT){return s(this,void 0,void 0,function*(){return d.getPeerCount(this,t)})}isListening(){return s(this,void 0,void 0,function*(){return d.isListening(this)})}}exports.Net=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const l=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const f=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-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const s=require("./rpc_method_wrappers.cjs");var d=globalThis&&globalThis.__awaiter||function(a,t,i,n){function q(r){return r instanceof i?r:new i(function(u){u(r)})}return new(i||(i=Promise))(function(r,u){function h(e){try{o(n.next(e))}catch(c){u(c)}}function _(e){try{o(n.throw(e))}catch(c){u(c)}}function o(e){e.done?r(e.value):q(e.value).then(h,_)}o((n=n.apply(a,t||[])).next())})};class p extends l.Web3Context{getId(t=f.DEFAULT_RETURN_FORMAT){return d(this,void 0,void 0,function*(){return s.getId(this,t)})}getPeerCount(t=f.DEFAULT_RETURN_FORMAT){return d(this,void 0,void 0,function*(){return s.getPeerCount(this,t)})}isListening(){return d(this,void 0,void 0,function*(){return s.isListening(this)})}}exports.Net=p;
@@ -4,7 +4,7 @@ import "../../../web3-core/lib/esm/web3_subscription_manager.js";
4
4
  import "../../../web3-core/lib/esm/web3_subscriptions.js";
5
5
  import { Web3Context as a } from "../../../web3-core/lib/esm/web3_context.js";
6
6
  import "../../../web3-core/lib/esm/web3_batch_request.js";
7
- import { DEFAULT_RETURN_FORMAT as d } from "../../../web3-types/lib/esm/data_format_types.js";
7
+ import { DEFAULT_RETURN_FORMAT as f } from "../../../web3-types/lib/esm/data_format_types.js";
8
8
  import "../../../web3-types/lib/esm/eth_types.js";
9
9
  import "../../../web3-types/lib/esm/web3_base_provider.js";
10
10
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
@@ -12,32 +12,32 @@ import "../../../web3-eth-iban/lib/esm/iban.js";
12
12
  import "../../../web3-validator/lib/esm/formats.js";
13
13
  import "../../../web3-validator/lib/esm/default_validator.js";
14
14
  import "../../../web3-core/lib/esm/web3_promi_event.js";
15
- import { getId as v, getPeerCount as _, isListening as w } from "./rpc_method_wrappers.js";
16
- var m = function(f, i, o, r) {
17
- function c(n) {
18
- return n instanceof o ? n : new o(function(e) {
19
- e(n);
15
+ import { getId as l, getPeerCount as v, isListening as _ } from "./rpc_method_wrappers.js";
16
+ var u = globalThis && globalThis.__awaiter || function(c, i, n, r) {
17
+ function s(o) {
18
+ return o instanceof n ? o : new n(function(e) {
19
+ e(o);
20
20
  });
21
21
  }
22
- return new (o || (o = Promise))(function(n, e) {
23
- function s(t) {
22
+ return new (n || (n = Promise))(function(o, e) {
23
+ function d(t) {
24
24
  try {
25
- u(r.next(t));
26
- } catch (p) {
27
- e(p);
25
+ p(r.next(t));
26
+ } catch (m) {
27
+ e(m);
28
28
  }
29
29
  }
30
30
  function h(t) {
31
31
  try {
32
- u(r.throw(t));
33
- } catch (p) {
34
- e(p);
32
+ p(r.throw(t));
33
+ } catch (m) {
34
+ e(m);
35
35
  }
36
36
  }
37
- function u(t) {
38
- t.done ? n(t.value) : c(t.value).then(s, h);
37
+ function p(t) {
38
+ t.done ? o(t.value) : s(t.value).then(d, h);
39
39
  }
40
- u((r = r.apply(f, i || [])).next());
40
+ p((r = r.apply(c, i || [])).next());
41
41
  });
42
42
  };
43
43
  class D extends a {
@@ -53,9 +53,9 @@ class D extends a {
53
53
  * > 1
54
54
  * ```
55
55
  */
56
- getId(i = d) {
57
- return m(this, void 0, void 0, function* () {
58
- return v(this, i);
56
+ getId(i = f) {
57
+ return u(this, void 0, void 0, function* () {
58
+ return l(this, i);
59
59
  });
60
60
  }
61
61
  /**
@@ -70,9 +70,9 @@ class D extends a {
70
70
  * > 0
71
71
  * ```
72
72
  */
73
- getPeerCount(i = d) {
74
- return m(this, void 0, void 0, function* () {
75
- return _(this, i);
73
+ getPeerCount(i = f) {
74
+ return u(this, void 0, void 0, function* () {
75
+ return v(this, i);
76
76
  });
77
77
  }
78
78
  /**
@@ -87,8 +87,8 @@ class D extends a {
87
87
  * ```
88
88
  */
89
89
  isListening() {
90
- return m(this, void 0, void 0, function* () {
91
- return w(this);
90
+ return u(this, void 0, void 0, function* () {
91
+ return _(this);
92
92
  });
93
93
  }
94
94
  }