@upcoming/multichain-widget 0.1.3 → 0.1.5

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 (99) hide show
  1. package/README.md +34 -8
  2. package/dist/ProgressStatus.d.ts +2 -1
  3. package/dist/Spinner.d.ts +1 -0
  4. package/dist/StatusIndicator.d.ts +5 -0
  5. package/dist/{add-BaaFGpjE.mjs → add-DCmjdKhv.mjs} +1 -1
  6. package/dist/{all-wallets-C4glPyDd.mjs → all-wallets-BenOl5cn.mjs} +1 -1
  7. package/dist/{app-store-D83eAZij.mjs → app-store-BAxV9Oss.mjs} +1 -1
  8. package/dist/{apple-D-am83__.mjs → apple-Js7x0n29.mjs} +1 -1
  9. package/dist/{arrow-bottom-Br5TDvbL.mjs → arrow-bottom-C8mDCNTG.mjs} +1 -1
  10. package/dist/{arrow-bottom-circle-DR_QyRKh.mjs → arrow-bottom-circle-Dr2y1qr6.mjs} +1 -1
  11. package/dist/{arrow-left-DVYN58EU.mjs → arrow-left-DHVTMU70.mjs} +1 -1
  12. package/dist/{arrow-right-CyzEFMvr.mjs → arrow-right-CIl_WFc-.mjs} +1 -1
  13. package/dist/{arrow-top-jqA3K6Zg.mjs → arrow-top-CLhr_7rE.mjs} +1 -1
  14. package/dist/{bank-ByHNwpc3.mjs → bank-9jFrSkdD.mjs} +1 -1
  15. package/dist/{basic-CSosNPWM.mjs → basic-BWB5d8iC.mjs} +3 -3
  16. package/dist/{browser-ySWxlHoa.mjs → browser-BOE99Y2D.mjs} +1 -1
  17. package/dist/{card-CRN66uYO.mjs → card-7au0qNmZ.mjs} +1 -1
  18. package/dist/{ccip-De2aDqcs.mjs → ccip-CDxxpPZc.mjs} +1 -1
  19. package/dist/{checkmark-B326mymW.mjs → checkmark-BI6X2oer.mjs} +1 -1
  20. package/dist/{checkmark-bold-CZsJD2Gr.mjs → checkmark-bold-Bi3X4ks1.mjs} +1 -1
  21. package/dist/{chevron-bottom-DkZc5wTP.mjs → chevron-bottom-AfWhEXZt.mjs} +1 -1
  22. package/dist/{chevron-left-o4mMwB-E.mjs → chevron-left-DMC2Idxg.mjs} +1 -1
  23. package/dist/{chevron-right-DkxYecAn.mjs → chevron-right-C0KBLzab.mjs} +1 -1
  24. package/dist/{chevron-top-CmqtU-3t.mjs → chevron-top-BCyXD5so.mjs} +1 -1
  25. package/dist/{chrome-store-BiNhwxXr.mjs → chrome-store-B4tbU_2j.mjs} +1 -1
  26. package/dist/{clock-Ca5tol9L.mjs → clock-DNeo7jWU.mjs} +1 -1
  27. package/dist/{close-DiXtNp7Z.mjs → close-Db-rUE7b.mjs} +1 -1
  28. package/dist/{coinPlaceholder-3mnOUj7X.mjs → coinPlaceholder-6nJSLCLq.mjs} +1 -1
  29. package/dist/{compass-BeTMfz74.mjs → compass-BpG_zXGe.mjs} +1 -1
  30. package/dist/{copy-Dsf3uZQO.mjs → copy-DbcHRukM.mjs} +1 -1
  31. package/dist/{core-C9zZKsa4.mjs → core-L3uBGNm9.mjs} +4 -4
  32. package/dist/{cursor-BdwdNQbq.mjs → cursor-DJPChK-X.mjs} +1 -1
  33. package/dist/{cursor-transparent-BQbUy-MI.mjs → cursor-transparent-So5kf6gj.mjs} +1 -1
  34. package/dist/{desktop-CZMhBJFb.mjs → desktop-DUIlnasS.mjs} +1 -1
  35. package/dist/{disconnect-DLhBZUoq.mjs → disconnect-ZL28HL8X.mjs} +1 -1
  36. package/dist/{discord-CdM4DmVY.mjs → discord-DzLsLKbK.mjs} +1 -1
  37. package/dist/en_US-RFN65H63-D5Jd76AN.mjs +4 -0
  38. package/dist/{etherscan-DRQI7jsG.mjs → etherscan-DcrP0jpt.mjs} +1 -1
  39. package/dist/{exclamation-triangle-C5nhoqtz.mjs → exclamation-triangle-DLef7KmF.mjs} +1 -1
  40. package/dist/{extension-aejRiJF7.mjs → extension-FJg24rxQ.mjs} +1 -1
  41. package/dist/{external-link-oWHbY6ff.mjs → external-link-BD7uWlTh.mjs} +1 -1
  42. package/dist/{facebook-FUrhPDsl.mjs → facebook-BkVFCPGV.mjs} +1 -1
  43. package/dist/{farcaster-fPZEqZwK.mjs → farcaster-DADgTeUQ.mjs} +1 -1
  44. package/dist/{filters-B1xTGafV.mjs → filters-apfONpDY.mjs} +1 -1
  45. package/dist/{github-Dp4K2Czx.mjs → github-DL9jQjc6.mjs} +1 -1
  46. package/dist/{google-ub7aEPpV.mjs → google-BxOOWfnV.mjs} +1 -1
  47. package/dist/{help-circle-BY3olasE.mjs → help-circle-Dlaxrxpk.mjs} +1 -1
  48. package/dist/{id-CcbGN1gV.mjs → id-q12cdS3E.mjs} +1 -1
  49. package/dist/{image-D4ynYkwO.mjs → image-DInRmCOf.mjs} +1 -1
  50. package/dist/{index-5rNVG-X1.mjs → index-7o-8-k6p.mjs} +1 -1
  51. package/dist/{index-CzXxUYUh.mjs → index-Bl2FnAAv.mjs} +11209 -11177
  52. package/dist/{index-CD3t4hnN.mjs → index-BqAwFqh4.mjs} +1 -1
  53. package/dist/{index-CDBq6imb.mjs → index-K9XDDbu6.mjs} +1 -1
  54. package/dist/{index-Bm8yUuPZ.mjs → index-T_kCRjgI.mjs} +78 -78
  55. package/dist/{index-Cm6VblFi.mjs → index-k2xI1AaR.mjs} +1 -1
  56. package/dist/{index.es-mDlOQVHq.mjs → index.es-BKOcc8jm.mjs} +3 -3
  57. package/dist/{info-DeimbgLd.mjs → info-BV067llH.mjs} +1 -1
  58. package/dist/{info-circle-CwTrbHls.mjs → info-circle-CC9X6OLr.mjs} +1 -1
  59. package/dist/{lightbulb-1S-xUrVG.mjs → lightbulb-DqJuyaT7.mjs} +1 -1
  60. package/dist/{mail-Bx6EPzBz.mjs → mail-D_9QwMJ6.mjs} +1 -1
  61. package/dist/{metamask-sdk-nVei8ADt.mjs → metamask-sdk-Da_Rt1Jd.mjs} +1 -1
  62. package/dist/{mobile-B8-sJxpC.mjs → mobile-Brxughbi.mjs} +1 -1
  63. package/dist/{more-B6z1a_a4.mjs → more-C26kIVIA.mjs} +1 -1
  64. package/dist/multichain-widget.css +1 -1
  65. package/dist/multichain-widget.es.js +1 -1
  66. package/dist/multichain-widget.umd.js +351 -351
  67. package/dist/{network-placeholder-Q6vZ0clE.mjs → network-placeholder-CE97HZT0.mjs} +1 -1
  68. package/dist/{nftPlaceholder-DaWpsRwT.mjs → nftPlaceholder-BEtN_Of9.mjs} +1 -1
  69. package/dist/{off-CoEljpqo.mjs → off-BjUo07j6.mjs} +1 -1
  70. package/dist/{play-store-CwE3M0eU.mjs → play-store-BC7_UIyg.mjs} +1 -1
  71. package/dist/{plus-1bFJ_g6P.mjs → plus-Dbij_8c7.mjs} +1 -1
  72. package/dist/preview.d.ts +1 -0
  73. package/dist/{qr-code-tlhzSQ7q.mjs → qr-code-DmoPQ4rD.mjs} +1 -1
  74. package/dist/{recycle-horizontal-DVabIaNj.mjs → recycle-horizontal-CiDJcSFJ.mjs} +1 -1
  75. package/dist/{refresh-BEzHm0St.mjs → refresh--wreWa7i.mjs} +1 -1
  76. package/dist/{reown-logo-ZGeC-Zjq.mjs → reown-logo-BmbhGWDB.mjs} +1 -1
  77. package/dist/{search-BQm4fL3J.mjs → search-C8Poxuvb.mjs} +1 -1
  78. package/dist/{secp256k1-sIPbOTrM.mjs → secp256k1-D1jtNaxO.mjs} +1 -1
  79. package/dist/{secp256k1-CzCNdoTs.mjs → secp256k1-D2ZbLApY.mjs} +1 -1
  80. package/dist/{send-B3VoVme5.mjs → send-Cm7nV_s1.mjs} +1 -1
  81. package/dist/{swapHorizontal-CX4jGdb-.mjs → swapHorizontal-eCgjN0ht.mjs} +1 -1
  82. package/dist/{swapHorizontalBold-BOgCYVbo.mjs → swapHorizontalBold-DRovEp8h.mjs} +1 -1
  83. package/dist/{swapHorizontalMedium-DB47Xtfo.mjs → swapHorizontalMedium-BYxIUheZ.mjs} +1 -1
  84. package/dist/{swapHorizontalRoundedBold-DlQi9SKq.mjs → swapHorizontalRoundedBold-BA2XWgcK.mjs} +1 -1
  85. package/dist/{swapVertical-0hWEwQ-0.mjs → swapVertical-DwFggi6x.mjs} +1 -1
  86. package/dist/{telegram-Cv_JwtKa.mjs → telegram-BTuHT8yc.mjs} +1 -1
  87. package/dist/{three-dots-BB9sWThR.mjs → three-dots-B-Hcg6Vv.mjs} +1 -1
  88. package/dist/{twitch-rc6Nwqz3.mjs → twitch-DHu4D8Jc.mjs} +1 -1
  89. package/dist/{twitterIcon-C0_NYbu8.mjs → twitterIcon-BZmT6kch.mjs} +1 -1
  90. package/dist/{verify-DOiQmnqA.mjs → verify-C9gAzN46.mjs} +1 -1
  91. package/dist/{verify-filled-BBBQPsk8.mjs → verify-filled-DR04DwDe.mjs} +1 -1
  92. package/dist/{w3m-modal-CJ9n0c2W.mjs → w3m-modal-Ik6-BhU0.mjs} +2 -2
  93. package/dist/{wallet-ERpC7VYY.mjs → wallet-BiV4Fy7L.mjs} +1 -1
  94. package/dist/{wallet-placeholder-ClAlPjuC.mjs → wallet-placeholder-D4-bUGBn.mjs} +1 -1
  95. package/dist/{walletconnect-np7_TJtf.mjs → walletconnect-FGvoBSQb.mjs} +1 -1
  96. package/dist/{warning-circle-D-7HoIeW.mjs → warning-circle-DZn0de2I.mjs} +1 -1
  97. package/dist/{x-BS4s0iBO.mjs → x-BmOwg8W9.mjs} +1 -1
  98. package/package.json +3 -4
  99. package/dist/en_US-RFN65H63-DaOvy-Ie.mjs +0 -4
package/README.md CHANGED
@@ -18,7 +18,7 @@ We use SushiSwap contracts and its API to swap xDAI to xBZZ.
18
18
 
19
19
  ## Theme
20
20
 
21
- Most styles can be overwritten by passing a `theme` prop to the `App` component.
21
+ Most styles can be overwritten by passing a `theme` prop to the `MultichainWidget` component.
22
22
 
23
23
  ## Temporary wallet persistence
24
24
 
@@ -26,17 +26,21 @@ A backup of every generated private key is stored in `localStorage` with a times
26
26
 
27
27
  ## Recoverability
28
28
 
29
- In `Tab2.tsx`, the `onSwap` function attempts to detect the current step and continue from there.
29
+ It is OK if the flow errors out or the user navigates away. The app can detect which steps have been completed and resume from there.
30
30
 
31
31
  ## Reactivity
32
32
 
33
- Hooks can be set by passing `hooks` prop to the `App` component. Currently supported hooks are:
33
+ Hooks can be set by passing `hooks` prop to the `MultichainWidget` component. Currently supported hooks are:
34
34
 
35
35
  - `beforeTransactionStart`
36
36
  - `onFatalError`
37
37
  - `onCompletion`
38
38
 
39
- # Known issues
39
+ # Known issues / Remaining tasks
40
+
41
+ ## Absolute amounts
42
+
43
+ The specified xBZZ amount is absolute, not relative. For example, if the user already has 90 xBZZ, they would have to specify 100 xBZZ to receive 10 more.
40
44
 
41
45
  ## No quote available on Relay
42
46
 
@@ -46,12 +50,34 @@ This can happen when the amount is too low or too high. May happen more frequent
46
50
 
47
51
  This can happen when Gnosis experiences a sudden spike in gas prices.
48
52
 
49
- # Remaining tasks
50
-
51
53
  ## xDAI source support
52
54
 
53
55
  The end user will not receive any quotes if they attempt to use xDAI as the source token. This is because in this case, we attempt to get a quote from xDAI to xDAI.
54
56
 
55
- ## Separate library
57
+ ## Add slippage and fee considerations
58
+
59
+ The resulting xBZZ and xDAI and currently lower than expected due to fees and slippage. This can never be fully eliminated, and for the MVP a fixed 5% buffer is recommended.
60
+
61
+ ## Network check
62
+
63
+ The app currently does not check if the user is on the correct network. This leads to failed transactions.
64
+
65
+ ## JSON-RPC provider array
66
+
67
+ Allow passing an array of JSON-RPC providers to increase reliability.
68
+
69
+ ## Retriable requests
70
+
71
+ Some requests can fail due to temporary JSON-RPC issues. These should be retried a few times before giving up.
72
+
73
+ ## Gas spike handling
74
+
75
+ There is an error which is easy to detect: `Details: FeeTooLow, EffectivePriorityFeePerGas too low 0 < 1, BaseFee: 2783571`. This should be handled by retrying the transaction with a higher gas price.
76
+
77
+ ## React version dependency
78
+
79
+ It seems that the app only works with React 18+. This may not be compatible with Bee Dashboard using React 17 (due to Material UI 4 dependency). It would be best to upgrade Bee Dashboard to React 18 and Material UI 5. React 18 is already 4 years old.
80
+
81
+ ## Implement other intents
56
82
 
57
- The `library` folder should be published as a separate package.
83
+ Only the "initial funding" intent is implemented. Other intents should be implemented as well, e.g. "get funds for postage batch", "free funding", etc.
@@ -1,8 +1,9 @@
1
+ import { ReactNode } from 'react';
1
2
  import { MultichainStepStatus } from './MultichainStep';
2
3
  import { MultichainTheme } from './MultichainTheme';
3
4
  interface Props {
4
5
  theme: MultichainTheme;
5
- children: string;
6
+ children: ReactNode;
6
7
  status: MultichainStepStatus;
7
8
  }
8
9
  export declare function ProgressStatus({ theme, children, status }: Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function Spinner(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ color: string;
3
+ }
4
+ export declare function StatusIndicator({ color }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const o = l`<svg
3
3
  width="14"
4
4
  height="14"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 24 24">
3
3
  <path
4
4
  style="fill: var(--wui-color-accent-100);"
@@ -1,4 +1,4 @@
1
- import { b as t } from "./core-C9zZKsa4.mjs";
1
+ import { b as t } from "./core-L3uBGNm9.mjs";
2
2
  const e = t`
3
3
  <svg width="36" height="36">
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const f = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- import { b as o } from "./core-C9zZKsa4.mjs";
1
+ import { b as o } from "./core-L3uBGNm9.mjs";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as C } from "./core-C9zZKsa4.mjs";
1
+ import { b as C } from "./core-L3uBGNm9.mjs";
2
2
  const e = C`<svg
3
3
  fill="none"
4
4
  viewBox="0 0 21 20"
@@ -1,4 +1,4 @@
1
- import { b as e } from "./core-C9zZKsa4.mjs";
1
+ import { b as e } from "./core-L3uBGNm9.mjs";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const e = l`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as o } from "./core-C9zZKsa4.mjs";
1
+ import { b as o } from "./core-L3uBGNm9.mjs";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as e } from "./core-C9zZKsa4.mjs";
1
+ import { b as e } from "./core-L3uBGNm9.mjs";
2
2
  const o = e`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,6 +1,6 @@
1
- import { k as N, n as G, l as q, m as O, x as c, y as M, D as z, O as ee, G as j, E as te, R as U, P as Me, q as K, Q as k, U as ft, I as Ci, W as pt, C as Zt, u as yn, T as en, B as Xe, M as oi, V as ri, b as Ne, L as xn, o as $i } from "./core-C9zZKsa4.mjs";
2
- import { n as u, c as P, o as E, r as _, U as he, e as Ri, f as _i, a as Ii } from "./index-Bm8yUuPZ.mjs";
3
- import { o as Ei } from "./index-CzXxUYUh.mjs";
1
+ import { k as N, n as G, l as q, m as O, x as c, y as M, D as z, O as ee, G as j, E as te, R as U, P as Me, q as K, Q as k, U as ft, I as Ci, W as pt, C as Zt, u as yn, T as en, B as Xe, M as oi, V as ri, b as Ne, L as xn, o as $i } from "./core-L3uBGNm9.mjs";
2
+ import { n as u, c as P, o as E, r as _, U as he, e as Ri, f as _i, a as Ii } from "./index-T_kCRjgI.mjs";
3
+ import { o as Ei } from "./index-Bl2FnAAv.mjs";
4
4
  const Wi = N`
5
5
  :host {
6
6
  position: relative;
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const a = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as C } from "./core-C9zZKsa4.mjs";
1
+ import { b as C } from "./core-L3uBGNm9.mjs";
2
2
  const l = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,4 +1,4 @@
1
- import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as R, b as E, f as x, H as y, h as M } from "./index-CzXxUYUh.mjs";
1
+ import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as R, b as E, f as x, H as y, h as M } from "./index-Bl2FnAAv.mjs";
2
2
  class S extends p {
3
3
  constructor({ callbackSelector: s, cause: e, data: o, extraData: n, sender: c, urls: t }) {
4
4
  super(e.shortMessage || "An error occurred while fetching for an offchain result.", {
@@ -1,4 +1,4 @@
1
- import { b as e } from "./core-C9zZKsa4.mjs";
1
+ import { b as e } from "./core-L3uBGNm9.mjs";
2
2
  const o = e`<svg
3
3
  width="28"
4
4
  height="28"
@@ -1,4 +1,4 @@
1
- import { b as e } from "./core-C9zZKsa4.mjs";
1
+ import { b as e } from "./core-L3uBGNm9.mjs";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 14">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as o } from "./core-C9zZKsa4.mjs";
1
+ import { b as o } from "./core-L3uBGNm9.mjs";
2
2
  const e = o`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as e } from "./core-C9zZKsa4.mjs";
1
+ import { b as e } from "./core-L3uBGNm9.mjs";
2
2
  const o = e`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as t } from "./core-C9zZKsa4.mjs";
1
+ import { b as t } from "./core-L3uBGNm9.mjs";
2
2
  const o = t`<svg width="36" height="36" fill="none">
3
3
  <path
4
4
  fill="#fff"
@@ -1,4 +1,4 @@
1
- import { b as C } from "./core-C9zZKsa4.mjs";
1
+ import { b as C } from "./core-L3uBGNm9.mjs";
2
2
  const l = C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
3
3
  <path
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as C } from "./core-C9zZKsa4.mjs";
1
+ import { b as C } from "./core-L3uBGNm9.mjs";
2
2
  const o = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="16"
@@ -1,5 +1,5 @@
1
- import { I as jr, h as _h, i as St, j as ut, k as U, l as as, C as Sh, m as Ph, n as hi, s as po, o as xl, p as Ys, q as Ti, A as $l, E as st, u as kh, v as Oh, y as bt, x as Bs, z as qr, O as Jo, B as Pt, D as Th, F as Yo, G as Xo, J as Cn, N as Zo, P as wa, Q as xh, K as $h, L as Rh, M as ya, R as Ar, S as Rl, T as ts, U as Wt, V as cs, W as Lt } from "./index.es-mDlOQVHq.mjs";
2
- import { p as Uh, q as ba, t as zi, u as va } from "./index-CzXxUYUh.mjs";
1
+ import { I as jr, h as _h, i as St, j as ut, k as U, l as as, C as Sh, m as Ph, n as hi, s as po, o as xl, p as Ys, q as Ti, A as $l, E as st, u as kh, v as Oh, y as bt, x as Bs, z as qr, O as Jo, B as Pt, D as Th, F as Yo, G as Xo, J as Cn, N as Zo, P as wa, Q as xh, K as $h, L as Rh, M as ya, R as Ar, S as Rl, T as ts, U as Wt, V as cs, W as Lt } from "./index.es-BKOcc8jm.mjs";
2
+ import { p as Uh, q as ba, t as zi, u as va } from "./index-Bl2FnAAv.mjs";
3
3
  const z = {
4
4
  WC_NAME_SUFFIX: ".reown.id",
5
5
  WC_NAME_SUFFIX_LEGACY: ".wcn.id",
@@ -4959,7 +4959,7 @@ function Mp(t) {
4959
4959
  return Lp(`0x${e}`);
4960
4960
  }
4961
4961
  async function Bp({ hash: t, signature: e }) {
4962
- const s = Ci(t) ? t : bo(t), { secp256k1: r } = await import("./secp256k1-sIPbOTrM.mjs");
4962
+ const s = Ci(t) ? t : bo(t), { secp256k1: r } = await import("./secp256k1-D1jtNaxO.mjs");
4963
4963
  return `0x${(() => {
4964
4964
  if (typeof e == "object" && "r" in e && "s" in e) {
4965
4965
  const { r: l, s: u, v: h, yParity: d } = e, g = Number(d ?? h), w = Ma(g);
@@ -15193,7 +15193,7 @@ class Nh extends W1 {
15193
15193
  }
15194
15194
  async injectModalUi() {
15195
15195
  if (!Tl && X.isClient()) {
15196
- if (await import("./basic-CSosNPWM.mjs"), await import("./w3m-modal-CJ9n0c2W.mjs"), !document.querySelector("w3m-modal")) {
15196
+ if (await import("./basic-BWB5d8iC.mjs"), await import("./w3m-modal-Ik6-BhU0.mjs"), !document.querySelector("w3m-modal")) {
15197
15197
  const s = document.createElement("w3m-modal");
15198
15198
  !S.state.disableAppend && !S.state.enableEmbedded && document.body.insertAdjacentElement("beforeend", s);
15199
15199
  }
@@ -1,4 +1,4 @@
1
- import { b as o } from "./core-C9zZKsa4.mjs";
1
+ import { b as o } from "./core-L3uBGNm9.mjs";
2
2
  const l = o` <svg fill="none" viewBox="0 0 13 4">
3
3
  <path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
4
4
  </svg>`;
@@ -1,4 +1,4 @@
1
- import { b as o } from "./core-C9zZKsa4.mjs";
1
+ import { b as o } from "./core-L3uBGNm9.mjs";
2
2
  const l = o`<svg fill="none" viewBox="0 0 14 6">
3
3
  <path style="fill: var(--wui-color-bg-150);" d="M0 1h14L9.21 5.12a3.31 3.31 0 0 1-4.49 0L0 1Z" />
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { b as c } from "./core-C9zZKsa4.mjs";
1
+ import { b as c } from "./core-L3uBGNm9.mjs";
2
2
  const l = c`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as a } from "./core-C9zZKsa4.mjs";
1
+ import { b as a } from "./core-L3uBGNm9.mjs";
2
2
  const e = a`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const i = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -0,0 +1,4 @@
1
+ import { e as f } from "./index-Bl2FnAAv.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { b as c } from "./core-C9zZKsa4.mjs";
1
+ import { b as c } from "./core-L3uBGNm9.mjs";
2
2
  const a = c`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as C } from "./core-C9zZKsa4.mjs";
1
+ import { b as C } from "./core-L3uBGNm9.mjs";
2
2
  const t = C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
4
4
  </svg>
@@ -1,4 +1,4 @@
1
- import { b as a } from "./core-C9zZKsa4.mjs";
1
+ import { b as a } from "./core-L3uBGNm9.mjs";
2
2
  const e = a`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const f = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- import { b as h } from "./core-C9zZKsa4.mjs";
1
+ import { b as h } from "./core-L3uBGNm9.mjs";
2
2
  const a = h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
3
3
  <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
4
4
  <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
@@ -1,4 +1,4 @@
1
- import { b as e } from "./core-C9zZKsa4.mjs";
1
+ import { b as e } from "./core-L3uBGNm9.mjs";
2
2
  const a = e`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const c = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <path
4
4
  fill="#4285F4"
@@ -1,4 +1,4 @@
1
- import { b as l } from "./core-C9zZKsa4.mjs";
1
+ import { b as l } from "./core-L3uBGNm9.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { b as c } from "./core-C9zZKsa4.mjs";
1
+ import { b as c } from "./core-L3uBGNm9.mjs";
2
2
  const v = c`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="28"
@@ -1,4 +1,4 @@
1
- import { b as C } from "./core-C9zZKsa4.mjs";
1
+ import { b as C } from "./core-L3uBGNm9.mjs";
2
2
  const l = C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
3
3
  <path d="M4.98926 3.73932C4.2989 3.73932 3.73926 4.29896 3.73926 4.98932C3.73926 5.67968 4.2989 6.23932 4.98926 6.23932C5.67962 6.23932 6.23926 5.67968 6.23926 4.98932C6.23926 4.29896 5.67962 3.73932 4.98926 3.73932Z" fill="currentColor"/>
4
4
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7.60497 0.500001H6.39504C5.41068 0.499977 4.59185 0.499958 3.93178 0.571471C3.24075 0.64634 2.60613 0.809093 2.04581 1.21619C1.72745 1.44749 1.44749 1.72745 1.21619 2.04581C0.809093 2.60613 0.64634 3.24075 0.571471 3.93178C0.499958 4.59185 0.499977 5.41065 0.500001 6.39501V7.57815C0.499998 8.37476 0.499995 9.05726 0.534869 9.62725C0.570123 10.2034 0.644114 10.7419 0.828442 11.2302C0.925651 11.4877 1.05235 11.7287 1.21619 11.9542C1.44749 12.2726 1.72745 12.5525 2.04581 12.7838C2.60613 13.1909 3.24075 13.3537 3.93178 13.4285C4.59185 13.5001 5.41066 13.5 6.39503 13.5H7.60496C8.58933 13.5 9.40815 13.5001 10.0682 13.4285C10.7593 13.3537 11.3939 13.1909 11.9542 12.7838C12.2726 12.5525 12.5525 12.2726 12.7838 11.9542C13.1909 11.3939 13.3537 10.7593 13.4285 10.0682C13.5 9.40816 13.5 8.58935 13.5 7.60497V6.39505C13.5 5.41068 13.5 4.59185 13.4285 3.93178C13.3537 3.24075 13.1909 2.60613 12.7838 2.04581C12.5525 1.72745 12.2726 1.44749 11.9542 1.21619C11.3939 0.809093 10.7593 0.64634 10.0682 0.571471C9.40816 0.499958 8.58933 0.499977 7.60497 0.500001ZM3.22138 2.83422C3.38394 2.71612 3.62634 2.61627 4.14721 2.55984C4.68679 2.50138 5.39655 2.5 6.45 2.5H7.55C8.60345 2.5 9.31322 2.50138 9.8528 2.55984C10.3737 2.61627 10.6161 2.71612 10.7786 2.83422C10.9272 2.94216 11.0578 3.07281 11.1658 3.22138C11.2839 3.38394 11.3837 3.62634 11.4402 4.14721C11.4986 4.68679 11.5 5.39655 11.5 6.45V6.49703C10.9674 6.11617 10.386 5.84936 9.74213 5.81948C8.40536 5.75745 7.3556 6.73051 6.40509 7.84229C6.33236 7.92737 6.27406 7.98735 6.22971 8.02911L6.1919 8.00514L6.17483 7.99427C6.09523 7.94353 5.98115 7.87083 5.85596 7.80302C5.56887 7.64752 5.18012 7.4921 4.68105 7.4921C4.66697 7.4921 4.6529 7.49239 4.63884 7.49299C3.79163 7.52878 3.09922 8.1106 2.62901 8.55472C2.58751 8.59392 2.54594 8.6339 2.50435 8.6745C2.50011 8.34653 2.5 7.97569 2.5 7.55V6.45C2.5 5.39655 2.50138 4.68679 2.55984 4.14721C2.61627 3.62634 2.71612 3.38394 2.83422 3.22138C2.94216 3.07281 3.07281 2.94216 3.22138 2.83422ZM10.3703 8.14825C10.6798 8.37526 11.043 8.71839 11.4832 9.20889C11.4744 9.44992 11.4608 9.662 11.4402 9.8528C11.3837 10.3737 11.2839 10.6161 11.1658 10.7786C11.0578 10.9272 10.9272 11.0578 10.7786 11.1658C10.6161 11.2839 10.3737 11.3837 9.8528 11.4402C9.31322 11.4986 8.60345 11.5 7.55 11.5H6.45C5.39655 11.5 4.68679 11.4986 4.14721 11.4402C3.62634 11.3837 3.38394 11.2839 3.22138 11.1658C3.15484 11.1174 3.0919 11.0645 3.03298 11.0075C3.10126 10.9356 3.16806 10.8649 3.23317 10.7959L3.29772 10.7276C3.55763 10.4525 3.78639 10.2126 4.00232 10.0087C4.22016 9.80294 4.39412 9.66364 4.53524 9.57742C4.63352 9.51738 4.69022 9.49897 4.71275 9.49345C4.76387 9.49804 4.81803 9.51537 4.90343 9.56162C4.96409 9.59447 5.02355 9.63225 5.11802 9.69238L5.12363 9.69595C5.20522 9.74789 5.32771 9.82587 5.46078 9.89278C5.76529 10.0459 6.21427 10.186 6.74977 10.0158C7.21485 9.86796 7.59367 9.52979 7.92525 9.14195C8.91377 7.98571 9.38267 7.80495 9.64941 7.81733C9.7858 7.82366 10.0101 7.884 10.3703 8.14825Z" fill="currentColor"/>
@@ -1,4 +1,4 @@
1
- import { v as tr, n as ot, ar as Ff, as as qf, o as Df } from "./index-CzXxUYUh.mjs";
1
+ import { v as tr, n as ot, ar as Ff, as as qf, o as Df } from "./index-Bl2FnAAv.mjs";
2
2
  import { p as jf, a as $f } from "./hooks.module-CsKUm6iL.mjs";
3
3
  import { r as gn } from "./events-BCEOhv4q.mjs";
4
4
  import { r as Uf } from "./browser-3VflZ6uC.mjs";