@dodoex/wallet-web3 0.5.3 → 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-1cd0b182.js → alchemy-provider-5870b6fa-7183581f.js} +1 -1
  2. package/dist/{alchemy-websocket-provider-213da986-a1e43b83.js → alchemy-websocket-provider-213da986-d5a91aac.js} +1 -1
  3. package/dist/{blocto-203f9ec1.js → blocto-0ec2fc36.js} +1 -1
  4. package/dist/{ccip-f118a914.js → ccip-d1141d3a.js} +1 -1
  5. package/dist/cjs/{alchemy-provider-5870b6fa-8031f5e9.cjs → alchemy-provider-5870b6fa-94b8a05d.cjs} +1 -1
  6. package/dist/cjs/{alchemy-websocket-provider-213da986-ffd85fbf.cjs → alchemy-websocket-provider-213da986-cb2dca69.cjs} +1 -1
  7. package/dist/cjs/{blocto-fd5fce1b.cjs → blocto-c4470598.cjs} +1 -1
  8. package/dist/cjs/{ccip-5821aa76.cjs → ccip-466d4e59.cjs} +1 -1
  9. package/dist/cjs/{draggabilly-534a06c4.cjs → draggabilly-53856a31.cjs} +1 -1
  10. package/dist/cjs/id-07cfd31e.cjs +1 -0
  11. package/dist/cjs/{index-8810c52e.cjs → index-56fff369.cjs} +1 -1
  12. package/dist/cjs/{index-2914fc1b.cjs → index-63b5eebb.cjs} +1 -1
  13. package/dist/cjs/{index-1cafa7ef.cjs → index-6aa1755b.cjs} +1 -1
  14. package/dist/cjs/{index-83d6612a.cjs → index-76cccf0c.cjs} +1 -1
  15. package/dist/cjs/{index-da0f0dc4.cjs → index-86ef4f22.cjs} +1 -1
  16. package/dist/cjs/{index-11beefa2.cjs → index-9075d9c2.cjs} +1 -1
  17. package/dist/cjs/{index-3e679370.cjs → index-9d9946f3.cjs} +4 -4
  18. package/dist/cjs/{index-3c2f7ecb.cjs → index-af8c9c8e.cjs} +2 -2
  19. package/dist/cjs/{index-7d28ccd9.cjs → index-b82ccec9.cjs} +1 -1
  20. package/dist/cjs/{index-fe6d443a.cjs → index-c4c73f44.cjs} +1 -1
  21. package/dist/cjs/index.cjs +1 -1
  22. package/dist/cjs/{index.es-1000eb22.cjs → index.es-d9e722ea.cjs} +1 -1
  23. package/dist/cjs/{interface-d2286c23.cjs → interface-d5ec613a.cjs} +1 -1
  24. package/dist/cjs/{lib-typedarrays-f0840aa6.cjs → lib-typedarrays-afe9c8e7.cjs} +1 -1
  25. package/dist/cjs/{portis-166a6955.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-9e206ee7.cjs → rainbow-4b5d0839.cjs} +1 -1
  29. package/dist/cjs/{sha224-bc65dfff.cjs → sha224-8f3f5508.cjs} +1 -1
  30. package/dist/cjs/{sha256-0636f669.cjs → sha256-6785be1d.cjs} +1 -1
  31. package/dist/cjs/{typed-data-8eaefdb5.cjs → typed-data-a102eb38.cjs} +1 -1
  32. package/dist/cjs/{uAuth-081ad6fc.cjs → uAuth-22dae0a4.cjs} +1 -1
  33. package/dist/cjs/{walletConnect-073ff8dd.cjs → walletConnect-d4368503.cjs} +1 -1
  34. package/dist/cjs/{walletLink-101917c2.cjs → walletLink-1b5e5056.cjs} +2 -2
  35. package/dist/{draggabilly-5d335a04.js → draggabilly-96bd4e8a.js} +1 -1
  36. package/dist/id-6dc2a6aa.js +1 -0
  37. package/dist/{index-5732342d.js → index-0534a22e.js} +2 -2
  38. package/dist/{index-1ecaf2fe.js → index-25f5dd77.js} +1 -1
  39. package/dist/{index-0bf8d237.js → index-29d50f5e.js} +1 -1
  40. package/dist/{index-327eea25.js → index-66392fdc.js} +1 -1
  41. package/dist/{index-540337a5.js → index-9a72391b.js} +1 -1
  42. package/dist/{index-d59ad34c.js → index-aa09ffe2.js} +1 -1
  43. package/dist/{index-8ed7d553.js → index-b27ec2be.js} +1 -1
  44. package/dist/{index-b8d0e86d.js → index-d9690f1f.js} +1 -1
  45. package/dist/{index-b5f5db3c.js → index-de489272.js} +6 -6
  46. package/dist/{index-bfa2119a.js → index-ec77233b.js} +1 -1
  47. package/dist/{index.es-5e0a68ed.js → index.es-d60f6859.js} +1 -1
  48. package/dist/index.js +1 -1
  49. package/dist/{interface-3f9d4a5c.js → interface-501ba1ce.js} +1 -1
  50. package/dist/{lib-typedarrays-53c6b915.js → lib-typedarrays-5ac4ff04.js} +1 -1
  51. package/dist/{portis-9bab3be5.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-5e0452af.js → rainbow-2c04e9df.js} +1 -1
  55. package/dist/sha224-b20bdf3b.js +1 -0
  56. package/dist/{sha256-940f00e6.js → sha256-cdb06d7c.js} +1 -1
  57. package/dist/{typed-data-af5b29c1.js → typed-data-d46cb643.js} +1 -1
  58. package/dist/{uAuth-4d80b0ec.js → uAuth-a93ad1ec.js} +1 -1
  59. package/dist/{walletConnect-ae596280.js → walletConnect-23af88ec.js} +1 -1
  60. package/dist/{walletLink-0dd5c1e9.js → walletLink-782b101e.js} +2 -2
  61. package/package.json +1 -1
  62. package/dist/cjs/id-20f6ce8c.cjs +0 -1
  63. package/dist/id-b1749683.js +0 -1
  64. package/dist/sha224-204aec1e.js +0 -1
@@ -1 +1 @@
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};
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};