@dodoex/wallet-web3 0.5.2 → 0.5.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 (64) hide show
  1. package/dist/{alchemy-provider-5870b6fa-1d4efe84.js → alchemy-provider-5870b6fa-7183581f.js} +1 -1
  2. package/dist/{alchemy-websocket-provider-213da986-d5cf3f6a.js → alchemy-websocket-provider-213da986-d5a91aac.js} +1 -1
  3. package/dist/{blocto-25c5c258.js → blocto-0ec2fc36.js} +1 -1
  4. package/dist/{ccip-3ac23092.js → ccip-d1141d3a.js} +1 -1
  5. package/dist/cjs/{alchemy-provider-5870b6fa-5cbe3e31.cjs → alchemy-provider-5870b6fa-94b8a05d.cjs} +1 -1
  6. package/dist/cjs/{alchemy-websocket-provider-213da986-7065cb3f.cjs → alchemy-websocket-provider-213da986-cb2dca69.cjs} +1 -1
  7. package/dist/cjs/{blocto-0c1d92db.cjs → blocto-c4470598.cjs} +1 -1
  8. package/dist/cjs/{ccip-fb501af5.cjs → ccip-466d4e59.cjs} +1 -1
  9. package/dist/cjs/{draggabilly-1a578eed.cjs → draggabilly-53856a31.cjs} +1 -1
  10. package/dist/cjs/id-07cfd31e.cjs +1 -0
  11. package/dist/cjs/{index-64ab7e4d.cjs → index-56fff369.cjs} +1 -1
  12. package/dist/cjs/{index-803e4f67.cjs → index-63b5eebb.cjs} +1 -1
  13. package/dist/cjs/{index-75b128c0.cjs → index-6aa1755b.cjs} +1 -1
  14. package/dist/cjs/{index-49dfe63f.cjs → index-76cccf0c.cjs} +1 -1
  15. package/dist/cjs/{index-d78c1ab4.cjs → index-86ef4f22.cjs} +1 -1
  16. package/dist/cjs/{index-b13bd062.cjs → index-9075d9c2.cjs} +1 -1
  17. package/dist/cjs/{index-e103a51b.cjs → index-9d9946f3.cjs} +4 -4
  18. package/dist/cjs/{index-a4906ebd.cjs → index-af8c9c8e.cjs} +2 -2
  19. package/dist/cjs/{index-9e59c9f8.cjs → index-b82ccec9.cjs} +1 -1
  20. package/dist/cjs/{index-1a823dfc.cjs → index-c4c73f44.cjs} +1 -1
  21. package/dist/cjs/index.cjs +1 -1
  22. package/dist/cjs/{index.es-cfbd4f15.cjs → index.es-d9e722ea.cjs} +1 -1
  23. package/dist/cjs/{interface-ef9016d3.cjs → interface-d5ec613a.cjs} +1 -1
  24. package/dist/cjs/{lib-typedarrays-22e0cfee.cjs → lib-typedarrays-afe9c8e7.cjs} +1 -1
  25. package/dist/cjs/{portis-265f03df.cjs → portis-9af3489b.cjs} +1 -1
  26. package/dist/cjs/providers/wallets/standalone.d.ts +1 -0
  27. package/dist/cjs/providers/wallets/types.d.ts +1 -0
  28. package/dist/cjs/{rainbow-48ed900d.cjs → rainbow-4b5d0839.cjs} +1 -1
  29. package/dist/cjs/{sha224-ba7123a0.cjs → sha224-8f3f5508.cjs} +1 -1
  30. package/dist/cjs/{sha256-00be81ad.cjs → sha256-6785be1d.cjs} +1 -1
  31. package/dist/cjs/{typed-data-f167a2be.cjs → typed-data-a102eb38.cjs} +1 -1
  32. package/dist/cjs/{uAuth-c82eed54.cjs → uAuth-22dae0a4.cjs} +1 -1
  33. package/dist/cjs/{walletConnect-68f635da.cjs → walletConnect-d4368503.cjs} +1 -1
  34. package/dist/cjs/{walletLink-77a9287f.cjs → walletLink-1b5e5056.cjs} +2 -2
  35. package/dist/{draggabilly-ed1ea22f.js → draggabilly-96bd4e8a.js} +1 -1
  36. package/dist/id-6dc2a6aa.js +1 -0
  37. package/dist/{index-76297fe2.js → index-0534a22e.js} +2 -2
  38. package/dist/{index-fe388941.js → index-25f5dd77.js} +1 -1
  39. package/dist/{index-61916df2.js → index-29d50f5e.js} +1 -1
  40. package/dist/{index-7152dee7.js → index-66392fdc.js} +1 -1
  41. package/dist/{index-ff33ebed.js → index-9a72391b.js} +1 -1
  42. package/dist/{index-9a6126a2.js → index-aa09ffe2.js} +1 -1
  43. package/dist/{index-bf37e2d0.js → index-b27ec2be.js} +1 -1
  44. package/dist/{index-113ad8f8.js → index-d9690f1f.js} +1 -1
  45. package/dist/{index-fc1b4c33.js → index-de489272.js} +6 -6
  46. package/dist/{index-91b1499d.js → index-ec77233b.js} +1 -1
  47. package/dist/{index.es-166481e0.js → index.es-d60f6859.js} +1 -1
  48. package/dist/index.js +1 -1
  49. package/dist/{interface-8965a045.js → interface-501ba1ce.js} +1 -1
  50. package/dist/{lib-typedarrays-c5e5759f.js → lib-typedarrays-5ac4ff04.js} +1 -1
  51. package/dist/{portis-174647af.js → portis-59e75b95.js} +1 -1
  52. package/dist/providers/wallets/standalone.d.ts +1 -0
  53. package/dist/providers/wallets/types.d.ts +1 -0
  54. package/dist/{rainbow-04d94d50.js → rainbow-2c04e9df.js} +1 -1
  55. package/dist/sha224-b20bdf3b.js +1 -0
  56. package/dist/{sha256-b7dd8a5a.js → sha256-cdb06d7c.js} +1 -1
  57. package/dist/{typed-data-d3d4124b.js → typed-data-d46cb643.js} +1 -1
  58. package/dist/{uAuth-ed5c6c9d.js → uAuth-a93ad1ec.js} +1 -1
  59. package/dist/{walletConnect-cd58a591.js → walletConnect-23af88ec.js} +1 -1
  60. package/dist/{walletLink-874673f7.js → walletLink-782b101e.js} +2 -2
  61. package/package.json +2 -2
  62. package/dist/cjs/id-833d54a1.cjs +0 -1
  63. package/dist/id-3ec4567b.js +0 -1
  64. 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-de489272.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-d60f6859.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};