@dodoex/wallet-web3 0.5.1 → 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 (61) hide show
  1. package/dist/{alchemy-provider-5870b6fa-344082e7.js → alchemy-provider-5870b6fa-1cd0b182.js} +1 -1
  2. package/dist/{alchemy-websocket-provider-213da986-16d1de52.js → alchemy-websocket-provider-213da986-a1e43b83.js} +1 -1
  3. package/dist/{blocto-d6430f01.js → blocto-203f9ec1.js} +1 -1
  4. package/dist/{ccip-2609ed44.js → ccip-f118a914.js} +1 -1
  5. package/dist/cjs/{alchemy-provider-5870b6fa-0062f56f.cjs → alchemy-provider-5870b6fa-8031f5e9.cjs} +1 -1
  6. package/dist/cjs/{alchemy-websocket-provider-213da986-09aec27a.cjs → alchemy-websocket-provider-213da986-ffd85fbf.cjs} +1 -1
  7. package/dist/cjs/{blocto-a73fcce0.cjs → blocto-fd5fce1b.cjs} +1 -1
  8. package/dist/cjs/{ccip-08f69062.cjs → ccip-5821aa76.cjs} +1 -1
  9. package/dist/cjs/{draggabilly-fded5132.cjs → draggabilly-534a06c4.cjs} +1 -1
  10. package/dist/cjs/id-20f6ce8c.cjs +1 -0
  11. package/dist/cjs/{index-7ecb5d0e.cjs → index-11beefa2.cjs} +1 -1
  12. package/dist/cjs/index-1cafa7ef.cjs +15 -0
  13. package/dist/cjs/{index-4d5278ce.cjs → index-2914fc1b.cjs} +1 -1
  14. package/dist/cjs/{index-13708edc.cjs → index-3c2f7ecb.cjs} +2 -2
  15. package/dist/cjs/{index-bcba1dc0.cjs → index-3e679370.cjs} +4 -4
  16. package/dist/cjs/{index-6a583dfa.cjs → index-7d28ccd9.cjs} +1 -1
  17. package/dist/cjs/{index-73fcc0af.cjs → index-83d6612a.cjs} +1 -1
  18. package/dist/cjs/{index-758649bf.cjs → index-8810c52e.cjs} +1 -1
  19. package/dist/cjs/{index-771863cd.cjs → index-da0f0dc4.cjs} +1 -1
  20. package/dist/cjs/{index-0bce296a.cjs → index-fe6d443a.cjs} +1 -1
  21. package/dist/cjs/index.cjs +1 -1
  22. package/dist/cjs/{index.es-d550ff97.cjs → index.es-1000eb22.cjs} +1 -1
  23. package/dist/cjs/{interface-4e3a18e3.cjs → interface-d2286c23.cjs} +1 -1
  24. package/dist/cjs/{lib-typedarrays-e6a8d4d9.cjs → lib-typedarrays-f0840aa6.cjs} +1 -1
  25. package/dist/cjs/{portis-e17268f4.cjs → portis-166a6955.cjs} +1 -1
  26. package/dist/cjs/{rainbow-72bdb588.cjs → rainbow-9e206ee7.cjs} +1 -1
  27. package/dist/cjs/{sha224-5442aa65.cjs → sha224-bc65dfff.cjs} +1 -1
  28. package/dist/cjs/{sha256-9e27be55.cjs → sha256-0636f669.cjs} +1 -1
  29. package/dist/cjs/{typed-data-b7e9617e.cjs → typed-data-8eaefdb5.cjs} +1 -1
  30. package/dist/cjs/{uAuth-efc566c6.cjs → uAuth-081ad6fc.cjs} +1 -1
  31. package/dist/cjs/{walletConnect-5f5a0d26.cjs → walletConnect-073ff8dd.cjs} +1 -1
  32. package/dist/cjs/{walletLink-6479277c.cjs → walletLink-101917c2.cjs} +2 -2
  33. package/dist/{draggabilly-a366a16f.js → draggabilly-5d335a04.js} +1 -1
  34. package/dist/id-b1749683.js +1 -0
  35. package/dist/{index-98d21a1d.js → index-0bf8d237.js} +1 -1
  36. package/dist/{index-d21d7af9.js → index-1ecaf2fe.js} +1 -1
  37. package/dist/{index-179fc68d.js → index-327eea25.js} +1 -1
  38. package/dist/{index-0ec2588e.js → index-540337a5.js} +1 -1
  39. package/dist/{index-56cfb91e.js → index-5732342d.js} +2 -2
  40. package/dist/{index-176bccde.js → index-8ed7d553.js} +1 -1
  41. package/dist/{index-8ed34e2c.js → index-b5f5db3c.js} +6 -6
  42. package/dist/{index-56e691a9.js → index-b8d0e86d.js} +1 -1
  43. package/dist/index-bfa2119a.js +15 -0
  44. package/dist/{index-d422a772.js → index-d59ad34c.js} +1 -1
  45. package/dist/{index.es-741ac2a7.js → index.es-5e0a68ed.js} +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/{interface-5a2b8c6d.js → interface-3f9d4a5c.js} +1 -1
  48. package/dist/{lib-typedarrays-fe2fd10b.js → lib-typedarrays-53c6b915.js} +1 -1
  49. package/dist/{portis-e325f944.js → portis-9bab3be5.js} +1 -1
  50. package/dist/{rainbow-f6997baf.js → rainbow-5e0452af.js} +1 -1
  51. package/dist/{sha224-e5675fdf.js → sha224-204aec1e.js} +1 -1
  52. package/dist/{sha256-5bf4e11a.js → sha256-940f00e6.js} +1 -1
  53. package/dist/{typed-data-802bfa08.js → typed-data-af5b29c1.js} +1 -1
  54. package/dist/{uAuth-6c28d203.js → uAuth-4d80b0ec.js} +1 -1
  55. package/dist/{walletConnect-3b17ffd7.js → walletConnect-ae596280.js} +1 -1
  56. package/dist/{walletLink-22997bb2.js → walletLink-0dd5c1e9.js} +2 -2
  57. package/package.json +5 -5
  58. package/dist/cjs/id-5c0edd93.cjs +0 -1
  59. package/dist/cjs/index-5380b1b2.cjs +0 -6
  60. package/dist/id-56f6d32e.js +0 -1
  61. package/dist/index-cf83e495.js +0 -6
@@ -1 +1 @@
1
- import{z as e,A as t}from"./index-8ed34e2c.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-741ac2a7.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};