@dodoex/wallet-web3 0.5.2 → 0.5.3

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 (60) hide show
  1. package/dist/{alchemy-provider-5870b6fa-1d4efe84.js → alchemy-provider-5870b6fa-1cd0b182.js} +1 -1
  2. package/dist/{alchemy-websocket-provider-213da986-d5cf3f6a.js → alchemy-websocket-provider-213da986-a1e43b83.js} +1 -1
  3. package/dist/{blocto-25c5c258.js → blocto-203f9ec1.js} +1 -1
  4. package/dist/{ccip-3ac23092.js → ccip-f118a914.js} +1 -1
  5. package/dist/cjs/{alchemy-provider-5870b6fa-5cbe3e31.cjs → alchemy-provider-5870b6fa-8031f5e9.cjs} +1 -1
  6. package/dist/cjs/{alchemy-websocket-provider-213da986-7065cb3f.cjs → alchemy-websocket-provider-213da986-ffd85fbf.cjs} +1 -1
  7. package/dist/cjs/{blocto-0c1d92db.cjs → blocto-fd5fce1b.cjs} +1 -1
  8. package/dist/cjs/{ccip-fb501af5.cjs → ccip-5821aa76.cjs} +1 -1
  9. package/dist/cjs/{draggabilly-1a578eed.cjs → draggabilly-534a06c4.cjs} +1 -1
  10. package/dist/cjs/id-20f6ce8c.cjs +1 -0
  11. package/dist/cjs/{index-b13bd062.cjs → index-11beefa2.cjs} +1 -1
  12. package/dist/cjs/{index-75b128c0.cjs → index-1cafa7ef.cjs} +1 -1
  13. package/dist/cjs/{index-803e4f67.cjs → index-2914fc1b.cjs} +1 -1
  14. package/dist/cjs/{index-a4906ebd.cjs → index-3c2f7ecb.cjs} +2 -2
  15. package/dist/cjs/{index-e103a51b.cjs → index-3e679370.cjs} +4 -4
  16. package/dist/cjs/{index-9e59c9f8.cjs → index-7d28ccd9.cjs} +1 -1
  17. package/dist/cjs/{index-49dfe63f.cjs → index-83d6612a.cjs} +1 -1
  18. package/dist/cjs/{index-64ab7e4d.cjs → index-8810c52e.cjs} +1 -1
  19. package/dist/cjs/{index-d78c1ab4.cjs → index-da0f0dc4.cjs} +1 -1
  20. package/dist/cjs/{index-1a823dfc.cjs → index-fe6d443a.cjs} +1 -1
  21. package/dist/cjs/index.cjs +1 -1
  22. package/dist/cjs/{index.es-cfbd4f15.cjs → index.es-1000eb22.cjs} +1 -1
  23. package/dist/cjs/{interface-ef9016d3.cjs → interface-d2286c23.cjs} +1 -1
  24. package/dist/cjs/{lib-typedarrays-22e0cfee.cjs → lib-typedarrays-f0840aa6.cjs} +1 -1
  25. package/dist/cjs/{portis-265f03df.cjs → portis-166a6955.cjs} +1 -1
  26. package/dist/cjs/{rainbow-48ed900d.cjs → rainbow-9e206ee7.cjs} +1 -1
  27. package/dist/cjs/{sha224-ba7123a0.cjs → sha224-bc65dfff.cjs} +1 -1
  28. package/dist/cjs/{sha256-00be81ad.cjs → sha256-0636f669.cjs} +1 -1
  29. package/dist/cjs/{typed-data-f167a2be.cjs → typed-data-8eaefdb5.cjs} +1 -1
  30. package/dist/cjs/{uAuth-c82eed54.cjs → uAuth-081ad6fc.cjs} +1 -1
  31. package/dist/cjs/{walletConnect-68f635da.cjs → walletConnect-073ff8dd.cjs} +1 -1
  32. package/dist/cjs/{walletLink-77a9287f.cjs → walletLink-101917c2.cjs} +1 -1
  33. package/dist/{draggabilly-ed1ea22f.js → draggabilly-5d335a04.js} +1 -1
  34. package/dist/id-b1749683.js +1 -0
  35. package/dist/{index-61916df2.js → index-0bf8d237.js} +1 -1
  36. package/dist/{index-fe388941.js → index-1ecaf2fe.js} +1 -1
  37. package/dist/{index-7152dee7.js → index-327eea25.js} +1 -1
  38. package/dist/{index-ff33ebed.js → index-540337a5.js} +1 -1
  39. package/dist/{index-76297fe2.js → index-5732342d.js} +2 -2
  40. package/dist/{index-bf37e2d0.js → index-8ed7d553.js} +1 -1
  41. package/dist/{index-fc1b4c33.js → index-b5f5db3c.js} +6 -6
  42. package/dist/{index-113ad8f8.js → index-b8d0e86d.js} +1 -1
  43. package/dist/{index-91b1499d.js → index-bfa2119a.js} +1 -1
  44. package/dist/{index-9a6126a2.js → index-d59ad34c.js} +1 -1
  45. package/dist/{index.es-166481e0.js → index.es-5e0a68ed.js} +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/{interface-8965a045.js → interface-3f9d4a5c.js} +1 -1
  48. package/dist/{lib-typedarrays-c5e5759f.js → lib-typedarrays-53c6b915.js} +1 -1
  49. package/dist/{portis-174647af.js → portis-9bab3be5.js} +1 -1
  50. package/dist/{rainbow-04d94d50.js → rainbow-5e0452af.js} +1 -1
  51. package/dist/sha224-204aec1e.js +1 -0
  52. package/dist/{sha256-b7dd8a5a.js → sha256-940f00e6.js} +1 -1
  53. package/dist/{typed-data-d3d4124b.js → typed-data-af5b29c1.js} +1 -1
  54. package/dist/{uAuth-ed5c6c9d.js → uAuth-4d80b0ec.js} +1 -1
  55. package/dist/{walletConnect-cd58a591.js → walletConnect-ae596280.js} +1 -1
  56. package/dist/{walletLink-874673f7.js → walletLink-0dd5c1e9.js} +1 -1
  57. package/package.json +2 -2
  58. package/dist/cjs/id-833d54a1.cjs +0 -1
  59. package/dist/id-3ec4567b.js +0 -1
  60. package/dist/sha224-76431e37.js +0 -1
@@ -1 +1 @@
1
- import{z as e,A as t}from"./index-fc1b4c33.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";async function r({chainId:t,rpcUrl:r,rpc:o,walletConnectParams:a,darkMode:n},c){let s,i,p="wss://relay.walletconnect.com",d=!0;a&&(p=a.bridge||p,d=void 0!==a.qrcode?a.qrcode:d,a.infuraId,i=a.qrModalOptions||void 0),o?s=o:t&&r&&(s={[t]:r});const h=(await await import("./index.es-166481e0.js")).default;a?.projectId||console.warn("walletConnectParams.projectId is required");const l=await h.init({projectId:a?.projectId,chains:t?[t]:a?.chainIdList??[],showQrModal:a?.showQrModal??!0,rpcMap:s,qrModalOptions:{themeMode:n?"dark":"light",...i}});return l.on("display_uri",(e=>{i?.openCallback&&i.openCallback(e)})),await l.enable(),l.on("connect",c.connect),l.on("disconnect",(e=>{c.disconnect(e),c.accountsChanged([])})),l.on("accountsChanged",c.accountsChanged),l.on("chainChanged",c.chainChanged),l.on("message",(({type:e,data:t})=>c.message(e,t))),e(l)}function o(){const e=t.getState().provider?.provider;if(e)return e.disconnect()}export{r as default,o as disconnect};
1
+ import{z as e,A as t}from"./index-b5f5db3c.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";async function r({chainId:t,rpcUrl:r,rpc:o,walletConnectParams:a,darkMode:n},c){let s,i,d="wss://relay.walletconnect.com",p=!0;a&&(d=a.bridge||d,p=void 0!==a.qrcode?a.qrcode:p,a.infuraId,i=a.qrModalOptions||void 0),o?s=o:t&&r&&(s={[t]:r});const h=(await await import("./index.es-5e0a68ed.js")).default;a?.projectId||console.warn("walletConnectParams.projectId is required");const l=await h.init({projectId:a?.projectId,chains:t?[t]:a?.chainIdList??[],showQrModal:a?.showQrModal??!0,rpcMap:s,qrModalOptions:{themeMode:n?"dark":"light",...i}});return l.on("display_uri",(e=>{i?.openCallback&&i.openCallback(e)})),await l.enable(),l.on("connect",c.connect),l.on("disconnect",(e=>{c.disconnect(e),c.accountsChanged([])})),l.on("accountsChanged",c.accountsChanged),l.on("chainChanged",c.chainChanged),l.on("message",(({type:e,data:t})=>c.message(e,t))),e(l)}function o(){const e=t.getState().provider?.provider;if(e)return e.disconnect()}export{r as default,o as disconnect};