@dodoex/wallet-web3 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/{alchemy-provider-5870b6fa-582a640f.js → alchemy-provider-5870b6fa-d73f10c3.js} +1 -1
  2. package/dist/{alchemy-websocket-provider-213da986-c0551558.js → alchemy-websocket-provider-213da986-5548964b.js} +1 -1
  3. package/dist/{blocto-53f39077.js → blocto-087ab98b.js} +1 -1
  4. package/dist/{ccip-04509abb.js → ccip-b0d2cb9b.js} +1 -1
  5. package/dist/cjs/{alchemy-provider-5870b6fa-8cb568cf.cjs → alchemy-provider-5870b6fa-13c38c30.cjs} +1 -1
  6. package/dist/cjs/{alchemy-websocket-provider-213da986-2b8a5b5b.cjs → alchemy-websocket-provider-213da986-9c2a561f.cjs} +1 -1
  7. package/dist/cjs/{blocto-9ec96bed.cjs → blocto-59170006.cjs} +1 -1
  8. package/dist/cjs/{ccip-9f20cc76.cjs → ccip-f9b919b2.cjs} +1 -1
  9. package/dist/cjs/core/index.d.ts +1 -0
  10. package/dist/cjs/{draggabilly-1bdcce66.cjs → draggabilly-b2bd6560.cjs} +1 -1
  11. package/dist/cjs/id-6aec2278.cjs +1 -0
  12. package/dist/cjs/{index-08556903.cjs → index-4088da7a.cjs} +1 -1
  13. package/dist/cjs/{index-c32786f0.cjs → index-5fba0284.cjs} +4 -4
  14. package/dist/cjs/{index-77968de1.cjs → index-6cb01ff5.cjs} +1 -1
  15. package/dist/cjs/{index-5a8b4666.cjs → index-7e2b99b8.cjs} +1 -1
  16. package/dist/cjs/{index-53652cdf.cjs → index-8f9c08b7.cjs} +1 -1
  17. package/dist/cjs/{index-3ab53f10.cjs → index-909ed09f.cjs} +1 -1
  18. package/dist/cjs/{index-48b1d8c3.cjs → index-a9e41217.cjs} +1 -1
  19. package/dist/cjs/{index-96697ffb.cjs → index-afede0c1.cjs} +1 -1
  20. package/dist/cjs/{index-c2b082cf.cjs → index-c8776c7e.cjs} +3 -3
  21. package/dist/cjs/{index-81124395.cjs → index-e3a09800.cjs} +1 -1
  22. package/dist/cjs/index.cjs +1 -1
  23. package/dist/cjs/{index.es-ea695e6e.cjs → index.es-5658402e.cjs} +1 -1
  24. package/dist/cjs/{interface-a1a17489.cjs → interface-f8513d40.cjs} +1 -1
  25. package/dist/cjs/lib-typedarrays-0c53ed3f.cjs +1 -0
  26. package/dist/cjs/{portis-f905cd29.cjs → portis-f1e438bd.cjs} +1 -1
  27. package/dist/cjs/{provider-8050f28e.cjs → provider-1469a098.cjs} +1 -1
  28. package/dist/cjs/{rainbow-f806c8ec.cjs → rainbow-3dc6f968.cjs} +1 -1
  29. package/dist/cjs/sha224-a96222a0.cjs +1 -0
  30. package/dist/cjs/{sha256-31446480.cjs → sha256-981f903c.cjs} +1 -1
  31. package/dist/cjs/{typed-data-ee274cd6.cjs → typed-data-d4238233.cjs} +1 -1
  32. package/dist/cjs/uAuth-89a23338.cjs +1 -0
  33. package/dist/cjs/{walletConnect-626853f6.cjs → walletConnect-e69e2a9a.cjs} +1 -1
  34. package/dist/cjs/{walletLink-a92c515b.cjs → walletLink-0560c895.cjs} +1 -1
  35. package/dist/core/index.d.ts +1 -0
  36. package/dist/{draggabilly-0f1b6158.js → draggabilly-4433218d.js} +1 -1
  37. package/dist/id-b18759a6.js +1 -0
  38. package/dist/{index-599539c3.js → index-08b24f87.js} +1 -1
  39. package/dist/{index-2190f2fa.js → index-43cf1b4a.js} +1 -1
  40. package/dist/{index-0198196a.js → index-4ce5e1ef.js} +1 -1
  41. package/dist/{index-778bb352.js → index-8d387984.js} +4 -4
  42. package/dist/{index-6bbdff17.js → index-8d7041e4.js} +3 -3
  43. package/dist/{index-16104535.js → index-98e3a5b7.js} +1 -1
  44. package/dist/{index-4a8d6591.js → index-a02313f2.js} +1 -1
  45. package/dist/{index-d438e073.js → index-e23ece16.js} +1 -1
  46. package/dist/{index-4a2e6698.js → index-e8d823f4.js} +1 -1
  47. package/dist/{index-a141fd92.js → index-fe2d0915.js} +1 -1
  48. package/dist/{index.es-6f9c1b70.js → index.es-0097b19b.js} +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/{interface-c1032414.js → interface-6ba1137a.js} +1 -1
  51. package/dist/lib-typedarrays-72196011.js +1 -0
  52. package/dist/{portis-00740ca1.js → portis-37b07247.js} +1 -1
  53. package/dist/{provider-57b79d3b.js → provider-db4424b4.js} +1 -1
  54. package/dist/{rainbow-aed3b90e.js → rainbow-367d8171.js} +1 -1
  55. package/dist/sha224-4183d3c7.js +1 -0
  56. package/dist/{sha256-d1565de9.js → sha256-d65763b0.js} +1 -1
  57. package/dist/{typed-data-12ebdb94.js → typed-data-a771d851.js} +1 -1
  58. package/dist/uAuth-2c8aeeba.js +1 -0
  59. package/dist/{walletConnect-4afb2633.js → walletConnect-c14d2cb7.js} +1 -1
  60. package/dist/{walletLink-d1421f74.js → walletLink-062c2a28.js} +1 -1
  61. package/package.json +1 -1
  62. package/dist/cjs/id-23b4533d.cjs +0 -1
  63. package/dist/cjs/lib-typedarrays-58540578.cjs +0 -1
  64. package/dist/cjs/sha224-c710f991.cjs +0 -1
  65. package/dist/cjs/uAuth-f1ef5e63.cjs +0 -1
  66. package/dist/id-cbee0510.js +0 -1
  67. package/dist/lib-typedarrays-4c8868ca.js +0 -1
  68. package/dist/sha224-12e17b6e.js +0 -1
  69. package/dist/uAuth-a31a7b4d.js +0 -1
@@ -1 +1 @@
1
- import{_ as e,A as o,C as t}from"./index-778bb352.js";import"@ethersproject/providers";import"zustand";import"@ethersproject/bytes";import"@ethersproject/properties";import"@ethersproject/address";import"@ethersproject/abstract-signer";import"buffer";import"@ethersproject/abstract-provider";import"@ethersproject/contracts";import"events";import"@ethersproject/constants";import"@ethersproject/transactions";function r({chainId:t,rpcUrl:r,rpc:n,walletConnectParams:i,darkMode:c},a){var s,d;return e(this,void 0,void 0,(function*(){let e,p,l="wss://relay.walletconnect.com",h=!0;i&&(l=i.bridge||l,h=void 0!==i.qrcode?i.qrcode:h,i.infuraId,p=i.qrModalOptions||void 0),n?e=n:t&&r&&(e={[t]:r});const u=(yield yield import("./index.es-6f9c1b70.js")).default;(null==i?void 0:i.projectId)||console.warn("walletConnectParams.projectId is required");const m=yield u.init({projectId:null==i?void 0:i.projectId,chains:t?[t]:null!==(s=null==i?void 0:i.chainIdList)&&void 0!==s?s:[],showQrModal:null===(d=null==i?void 0:i.showQrModal)||void 0===d||d,rpcMap:e,qrModalOptions:Object.assign({themeMode:c?"dark":"light"},p)});return m.on("display_uri",(e=>{(null==p?void 0:p.openCallback)&&p.openCallback(e)})),yield m.enable(),m.on("connect",a.connect),m.on("disconnect",(e=>{a.disconnect(e),a.accountsChanged([])})),m.on("accountsChanged",a.accountsChanged),m.on("chainChanged",a.chainChanged),m.on("message",(({type:e,data:o})=>a.message(e,o))),o(m)}))}function n(){var e;const o=null===(e=t.getState().provider)||void 0===e?void 0:e.provider;if(o)return o.disconnect()}export{r as default,n as disconnect};
1
+ import{_ as e,A as o,C as t}from"./index-8d387984.js";import"@ethersproject/providers";import"zustand";import"@ethersproject/bytes";import"@ethersproject/properties";import"@ethersproject/address";import"@ethersproject/abstract-signer";import"buffer";import"@ethersproject/abstract-provider";import"@ethersproject/contracts";import"events";import"@ethersproject/constants";import"@ethersproject/transactions";function r({chainId:t,rpcUrl:r,rpc:n,walletConnectParams:i,darkMode:a},c){var s,d;return e(this,void 0,void 0,(function*(){let e,p,l="wss://relay.walletconnect.com",h=!0;i&&(l=i.bridge||l,h=void 0!==i.qrcode?i.qrcode:h,i.infuraId,p=i.qrModalOptions||void 0),n?e=n:t&&r&&(e={[t]:r});const u=(yield yield import("./index.es-0097b19b.js")).default;(null==i?void 0:i.projectId)||console.warn("walletConnectParams.projectId is required");const m=yield u.init({projectId:null==i?void 0:i.projectId,chains:t?[t]:null!==(s=null==i?void 0:i.chainIdList)&&void 0!==s?s:[],showQrModal:null===(d=null==i?void 0:i.showQrModal)||void 0===d||d,rpcMap:e,qrModalOptions:Object.assign({themeMode:a?"dark":"light"},p)});return m.on("display_uri",(e=>{(null==p?void 0:p.openCallback)&&p.openCallback(e)})),yield m.enable(),m.on("connect",c.connect),m.on("disconnect",(e=>{c.disconnect(e),c.accountsChanged([])})),m.on("accountsChanged",c.accountsChanged),m.on("chainChanged",c.chainChanged),m.on("message",(({type:e,data:o})=>c.message(e,o))),o(m)}))}function n(){var e;const o=null===(e=t.getState().provider)||void 0===e?void 0:e.provider;if(o)return o.disconnect()}export{r as default,n as disconnect};