@upcoming/multichain-widget 0.8.4 → 0.10.0

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 (114) hide show
  1. package/README.md +4 -0
  2. package/dist/Flow.d.ts +7 -0
  3. package/dist/Router.d.ts +1 -1
  4. package/dist/Tab1.d.ts +2 -1
  5. package/dist/Tab2.d.ts +2 -1
  6. package/dist/Utility.d.ts +1 -0
  7. package/dist/{add-Rtmd-2_c.mjs → add-EOE22xOj.mjs} +1 -1
  8. package/dist/{all-wallets-CyM8xVt9.mjs → all-wallets-BeiWiCZn.mjs} +1 -1
  9. package/dist/{app-store-CZV3fhMP.mjs → app-store-Dx4OC4sn.mjs} +1 -1
  10. package/dist/{apple-DrawCfn9.mjs → apple-DH2uFgRR.mjs} +1 -1
  11. package/dist/{arrow-bottom-CK6dre1A.mjs → arrow-bottom-BVB8ezUC.mjs} +1 -1
  12. package/dist/{arrow-bottom-circle-DL-KSeto.mjs → arrow-bottom-circle-yagP2WCu.mjs} +1 -1
  13. package/dist/{arrow-left-CnOzgHTc.mjs → arrow-left-BJDst4k-.mjs} +1 -1
  14. package/dist/{arrow-right-DRs-LPsc.mjs → arrow-right-ndtElVsr.mjs} +1 -1
  15. package/dist/{arrow-top-DOKCjs7I.mjs → arrow-top-CbC1OhvX.mjs} +1 -1
  16. package/dist/{bank-qaVJtnoX.mjs → bank-XL08o4c5.mjs} +1 -1
  17. package/dist/{basic-CCn0Jp-j.mjs → basic-YpsNl0MH.mjs} +3 -3
  18. package/dist/{browser-BN8HZMno.mjs → browser-BQ6hH8HP.mjs} +1 -1
  19. package/dist/{card-CZsmZz_E.mjs → card-OPUK-YhJ.mjs} +1 -1
  20. package/dist/{ccip-BLZWN0O3.mjs → ccip-Dq0ndzWD.mjs} +1 -1
  21. package/dist/{checkmark-DscNdR9f.mjs → checkmark-BQ9v3wRA.mjs} +1 -1
  22. package/dist/{checkmark-bold-gdrH4j8M.mjs → checkmark-bold-D5kBW2We.mjs} +1 -1
  23. package/dist/{chevron-bottom-DCJymOKo.mjs → chevron-bottom-OMTW9AmN.mjs} +1 -1
  24. package/dist/{chevron-left-C1CxZxSu.mjs → chevron-left-CEYVTXzZ.mjs} +1 -1
  25. package/dist/{chevron-right-BiKcNAKx.mjs → chevron-right-YYvHT5QO.mjs} +1 -1
  26. package/dist/{chevron-top-Dnnf-cdN.mjs → chevron-top-CW10GrJT.mjs} +1 -1
  27. package/dist/{chrome-store-B16OEsPs.mjs → chrome-store-CRbgeowz.mjs} +1 -1
  28. package/dist/{clock-B_6ejoBp.mjs → clock-YiCtw7lx.mjs} +1 -1
  29. package/dist/{close-CSzo_3bN.mjs → close-CuMQeSQ6.mjs} +1 -1
  30. package/dist/{coinPlaceholder-uoes0qE0.mjs → coinPlaceholder-Dahknvga.mjs} +1 -1
  31. package/dist/{compass-DDsByZAU.mjs → compass-XzNSi2m5.mjs} +1 -1
  32. package/dist/components/CreateBatchProgressTracker.d.ts +2 -1
  33. package/dist/components/FundingProgressTracker.d.ts +2 -1
  34. package/dist/components/ProgressStatus.d.ts +2 -1
  35. package/dist/{copy-BJso4Ygh.mjs → copy-CAR1NUcr.mjs} +1 -1
  36. package/dist/{core-MliaMFp8.mjs → core-CkrjeTIY.mjs} +3 -3
  37. package/dist/{cursor-hfV1YLUw.mjs → cursor-CIvWm0JZ.mjs} +1 -1
  38. package/dist/{cursor-transparent-BY-5tK36.mjs → cursor-transparent-Bbv-_bDT.mjs} +1 -1
  39. package/dist/{desktop-DtHe_Rol.mjs → desktop-HtYPUHdE.mjs} +1 -1
  40. package/dist/{disconnect-DgtS8NDw.mjs → disconnect-DsDnr-Zl.mjs} +1 -1
  41. package/dist/{discord-C-_RT2gs.mjs → discord-LblJHume.mjs} +1 -1
  42. package/dist/en_US-Y4ZOVFV4-iw1ppLMl.mjs +4 -0
  43. package/dist/{etherscan-DJyphLp8.mjs → etherscan-B9MlnssU.mjs} +1 -1
  44. package/dist/{exclamation-triangle-Dz5xkRGk.mjs → exclamation-triangle-CaQ1D9lF.mjs} +1 -1
  45. package/dist/{extension-629zZ7ua.mjs → extension-BLR0uQ0N.mjs} +1 -1
  46. package/dist/{external-link-CsPVsVrJ.mjs → external-link-DjddT3iT.mjs} +1 -1
  47. package/dist/{facebook-B60BQVip.mjs → facebook-UKyqHkSv.mjs} +1 -1
  48. package/dist/{farcaster-CMSWWvXk.mjs → farcaster-0ZDT41iK.mjs} +1 -1
  49. package/dist/{filters-BrhjKOP-.mjs → filters-DA3SuEVR.mjs} +1 -1
  50. package/dist/{github-BAB0dmTv.mjs → github-DnqQZUmV.mjs} +1 -1
  51. package/dist/{google-jpjXfZ0O.mjs → google-C7bbjGA3.mjs} +1 -1
  52. package/dist/{help-circle-D8oujF4g.mjs → help-circle-CsCrdSjc.mjs} +1 -1
  53. package/dist/{id-CIOOUJ-3.mjs → id-BvUnqPtH.mjs} +1 -1
  54. package/dist/{image-D3wMOCJO.mjs → image-DP2GKl_8.mjs} +1 -1
  55. package/dist/{index-DqQPPjzU.mjs → index-BLGY5Yeo.mjs} +18572 -18389
  56. package/dist/{index-CDY1PdfC.mjs → index-D1Yyfxft.mjs} +1 -1
  57. package/dist/{index-C14bvjmF.mjs → index-DEoel8wK.mjs} +1 -1
  58. package/dist/{index-ukC48BpT.mjs → index-DIBgysIn.mjs} +78 -78
  59. package/dist/{index-CsnA_LsY.mjs → index-DoXXJTpf.mjs} +1 -1
  60. package/dist/{index.es-BQtqpjUj.mjs → index.es-BRl6uBjN.mjs} +3 -3
  61. package/dist/{info-CG5uYzLH.mjs → info-DYrCGY9W.mjs} +1 -1
  62. package/dist/{info-circle-CTaP4Elx.mjs → info-circle-BkbRkC1X.mjs} +1 -1
  63. package/dist/{lightbulb-CEB3YDpi.mjs → lightbulb-DnpiYvb_.mjs} +1 -1
  64. package/dist/{mail-99K2vmJe.mjs → mail-CQ9ig43p.mjs} +1 -1
  65. package/dist/{metamask-sdk-CfZD6ojD.mjs → metamask-sdk-DEBMBd1m.mjs} +1 -1
  66. package/dist/{mobile-CpOjJV9i.mjs → mobile-Cip0uUxc.mjs} +1 -1
  67. package/dist/{more-BUXWUuqx.mjs → more-rJPLVHae.mjs} +1 -1
  68. package/dist/multichain-widget.es.js +1 -1
  69. package/dist/multichain-widget.umd.js +425 -425
  70. package/dist/{network-placeholder-Crps-kvX.mjs → network-placeholder-Dv-GGq1u.mjs} +1 -1
  71. package/dist/{nftPlaceholder-ClvSDCtZ.mjs → nftPlaceholder-Ca1lRI4e.mjs} +1 -1
  72. package/dist/{off-DOu8a0pd.mjs → off-Bq_HfRov.mjs} +1 -1
  73. package/dist/{play-store-Czw2f2hS.mjs → play-store-itP5-2_o.mjs} +1 -1
  74. package/dist/{plus-p6DrQFfn.mjs → plus-DBOIJmcq.mjs} +1 -1
  75. package/dist/{qr-code-C6O2Qf0w.mjs → qr-code-CYDT5Z13.mjs} +1 -1
  76. package/dist/{recycle-horizontal-BBcLkHa5.mjs → recycle-horizontal-DP4az7BU.mjs} +1 -1
  77. package/dist/{refresh-BPzgT6AJ.mjs → refresh-Bh4Fvlpz.mjs} +1 -1
  78. package/dist/{reown-logo-Cip6u7DJ.mjs → reown-logo-B3f8fqtD.mjs} +1 -1
  79. package/dist/{search-RlPSx7vx.mjs → search-_mMpIC2u.mjs} +1 -1
  80. package/dist/{secp256k1-DAjo_hHn.mjs → secp256k1-CHAblsmR.mjs} +1 -1
  81. package/dist/{send-DRpeEU1T.mjs → send-W1wIirps.mjs} +1 -1
  82. package/dist/steps/ApproveBzzStep.d.ts +2 -0
  83. package/dist/steps/CreateBatchStep.d.ts +2 -0
  84. package/dist/steps/MockedApproveBzzStep.d.ts +11 -0
  85. package/dist/steps/MockedCreateBatchStep.d.ts +13 -0
  86. package/dist/steps/MockedRelayStep.d.ts +21 -0
  87. package/dist/steps/MockedRelaySyncStep.d.ts +10 -0
  88. package/dist/steps/MockedSushiStep.d.ts +13 -0
  89. package/dist/steps/MockedSushiSyncStep.d.ts +11 -0
  90. package/dist/steps/MockedTransferStep.d.ts +12 -0
  91. package/dist/steps/MockedTransferSyncStep.d.ts +11 -0
  92. package/dist/steps/RelayStep.d.ts +4 -0
  93. package/dist/steps/RelaySyncStep.d.ts +1 -0
  94. package/dist/steps/SushiStep.d.ts +2 -0
  95. package/dist/steps/TransferStep.d.ts +2 -0
  96. package/dist/{swapHorizontal-Bb-ISTnT.mjs → swapHorizontal-D9ZLH56x.mjs} +1 -1
  97. package/dist/{swapHorizontalBold-CF6Z7J85.mjs → swapHorizontalBold-BsfFt_Up.mjs} +1 -1
  98. package/dist/{swapHorizontalMedium-xcJJk9cY.mjs → swapHorizontalMedium-pm6CBIcG.mjs} +1 -1
  99. package/dist/{swapHorizontalRoundedBold-Bl-0Umng.mjs → swapHorizontalRoundedBold-ljjgEpsl.mjs} +1 -1
  100. package/dist/{swapVertical-C6snuf0r.mjs → swapVertical-CNb7OcW7.mjs} +1 -1
  101. package/dist/{telegram-BJdcYg6c.mjs → telegram-DQPfJNPs.mjs} +1 -1
  102. package/dist/{three-dots-DQMcjfVP.mjs → three-dots-CrRUfbS4.mjs} +1 -1
  103. package/dist/{twitch-CoM7erl7.mjs → twitch-CeigdD3n.mjs} +1 -1
  104. package/dist/{twitterIcon-D3H1dxHc.mjs → twitterIcon-CHN0TgwC.mjs} +1 -1
  105. package/dist/{verify-Cx032XZB.mjs → verify-DxRamfFs.mjs} +1 -1
  106. package/dist/{verify-filled-C5ym5N-I.mjs → verify-filled-CVSaWu5v.mjs} +1 -1
  107. package/dist/{w3m-modal-BvqY7cfI.mjs → w3m-modal-DTd-Aga9.mjs} +2 -2
  108. package/dist/{wallet-UTiUgxiD.mjs → wallet-BRKjA4h5.mjs} +1 -1
  109. package/dist/{wallet-placeholder-D4U8540Z.mjs → wallet-placeholder-D8nouIM7.mjs} +1 -1
  110. package/dist/{walletconnect-C6MLKcIf.mjs → walletconnect-C4G5rKBm.mjs} +1 -1
  111. package/dist/{warning-circle-7KLFb1_r.mjs → warning-circle-DFpP49V5.mjs} +1 -1
  112. package/dist/{x-ClbkxS5C.mjs → x-ChJmT0-l.mjs} +1 -1
  113. package/package.json +3 -3
  114. package/dist/en_US-Y4ZOVFV4-D6ZIgWWk.mjs +0 -4
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.mjs";
2
2
  const e = l`<svg fill="none" viewBox="0 0 22 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as c } from "./core-MliaMFp8.mjs";
1
+ import { w as c } from "./core-CkrjeTIY.mjs";
2
2
  const a = c`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as o } from "./core-MliaMFp8.mjs";
1
+ import { w as o } from "./core-CkrjeTIY.mjs";
2
2
  const l = o`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as a } from "./core-MliaMFp8.mjs";
1
+ import { w as a } from "./core-CkrjeTIY.mjs";
2
2
  const t = a` <svg
3
3
  width="36"
4
4
  height="36"
@@ -1,4 +1,4 @@
1
- import { w as e } from "./core-MliaMFp8.mjs";
1
+ import { w as e } from "./core-CkrjeTIY.mjs";
2
2
  const o = e`<svg
3
3
  width="13"
4
4
  height="12"
@@ -1,4 +1,4 @@
1
- import { w as a } from "./core-MliaMFp8.mjs";
1
+ import { w as a } from "./core-CkrjeTIY.mjs";
2
2
  const o = a`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as C } from "./core-MliaMFp8.mjs";
1
+ import { w as C } from "./core-CkrjeTIY.mjs";
2
2
  const o = C`<svg
3
3
  fill="none"
4
4
  viewBox="0 0 21 20"
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 14 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as C } from "./core-MliaMFp8.mjs";
1
+ import { w as C } from "./core-CkrjeTIY.mjs";
2
2
  const l = C`<svg width="60" height="16" viewBox="0 0 60 16" fill="none"">
3
3
  <path d="M9.3335 4.66667C9.3335 2.08934 11.4229 0 14.0002 0H20.6669C23.2442 0 25.3335 2.08934 25.3335 4.66667V11.3333C25.3335 13.9106 23.2442 16 20.6669 16H14.0002C11.4229 16 9.3335 13.9106 9.3335 11.3333V4.66667Z" fill="#363636"/>
4
4
  <path d="M15.6055 11.0003L17.9448 4.66699H18.6316L16.2923 11.0003H15.6055Z" fill="#F6F6F6"/>
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.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 { H as Qt, c as It, a as xt, t as Jt, b as de, w as he, r as P, d as ge, e as we, f as pe, g as be } from "./index.es-BQtqpjUj.mjs";
1
+ import { H as Qt, c as It, a as xt, t as Jt, b as de, w as he, r as P, d as ge, e as we, f as pe, g as be } from "./index.es-BRl6uBjN.mjs";
2
2
  function ye(n, e, t, r) {
3
3
  if (typeof n.setBigUint64 == "function")
4
4
  return n.setBigUint64(e, t, r);
@@ -1,4 +1,4 @@
1
- import { w as C } from "./core-MliaMFp8.mjs";
1
+ import { w as C } from "./core-CkrjeTIY.mjs";
2
2
  const l = C`<svg fill="none" viewBox="0 0 21 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,8 +1,10 @@
1
1
  import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ import { Dispatch, SetStateAction } from 'react';
2
3
  interface Options {
3
4
  library: MultichainLibrary;
4
5
  temporaryAddress: `0x${string}`;
5
6
  temporaryPrivateKey: `0x${string}`;
7
+ setMetadata: Dispatch<SetStateAction<Record<string, string>>>;
6
8
  }
7
9
  export declare function createApproveBzzStep(options: Options): {
8
10
  name: string;
@@ -1,10 +1,12 @@
1
1
  import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ import { Dispatch, SetStateAction } from 'react';
2
3
  interface Options {
3
4
  library: MultichainLibrary;
4
5
  temporaryPrivateKey: `0x${string}`;
5
6
  targetAddress: `0x${string}`;
6
7
  batchAmount: string | bigint;
7
8
  batchDepth: number;
9
+ setMetadata: Dispatch<SetStateAction<Record<string, string>>>;
8
10
  }
9
11
  export declare function createCreateBatchStep(options: Options): {
10
12
  name: string;
@@ -0,0 +1,11 @@
1
+ import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ interface Options {
3
+ library: MultichainLibrary;
4
+ temporaryAddress: `0x${string}`;
5
+ temporaryPrivateKey: `0x${string}`;
6
+ }
7
+ export declare function createMockedApproveBzzStep(_options: Options): {
8
+ name: string;
9
+ action: (_context: Map<string, unknown>) => Promise<void>;
10
+ };
11
+ export {};
@@ -0,0 +1,13 @@
1
+ import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ interface Options {
3
+ library: MultichainLibrary;
4
+ temporaryPrivateKey: `0x${string}`;
5
+ targetAddress: `0x${string}`;
6
+ batchAmount: string | bigint;
7
+ batchDepth: number;
8
+ }
9
+ export declare function createMockedCreateBatchStep(options: Options): {
10
+ name: string;
11
+ action: (context: Map<string, unknown>) => Promise<void>;
12
+ };
13
+ export {};
@@ -0,0 +1,21 @@
1
+ import { Execute, RelayClient } from '@relayprotocol/relay-sdk';
2
+ import { MultichainLibrary } from '@upcoming/multichain-library';
3
+ import { FixedPointNumber } from 'cafe-utility';
4
+ import { WalletClient } from 'viem';
5
+ import { SendTransactionSignature } from '../Flow';
6
+ interface Options {
7
+ library: MultichainLibrary;
8
+ sourceChain: number;
9
+ sourceToken: string;
10
+ temporaryAddress: `0x${string}`;
11
+ sourceTokenAmount: FixedPointNumber;
12
+ sendTransactionAsync: SendTransactionSignature;
13
+ relayClient: RelayClient;
14
+ walletClient: WalletClient;
15
+ relayQuote: Execute;
16
+ }
17
+ export declare function createMockedRelayStep(_options: Options): {
18
+ name: string;
19
+ action: (_context: Map<string, unknown>) => Promise<void>;
20
+ };
21
+ export {};
@@ -0,0 +1,10 @@
1
+ import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ interface Options {
3
+ library: MultichainLibrary;
4
+ temporaryAddress: `0x${string}`;
5
+ }
6
+ export declare function createMockedRelaySyncStep(_options: Options): {
7
+ name: string;
8
+ action: (_context: Map<string, unknown>) => Promise<void>;
9
+ };
10
+ export {};
@@ -0,0 +1,13 @@
1
+ import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ interface Options {
3
+ library: MultichainLibrary;
4
+ bzzUsdValue: number;
5
+ temporaryAddress: `0x${string}`;
6
+ temporaryPrivateKey: `0x${string}`;
7
+ targetAddress: `0x${string}`;
8
+ }
9
+ export declare function createMockedSushiStep(_options: Options): {
10
+ name: string;
11
+ action: (_context: Map<string, unknown>) => Promise<void>;
12
+ };
13
+ export {};
@@ -0,0 +1,11 @@
1
+ import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ interface Options {
3
+ library: MultichainLibrary;
4
+ temporaryAddress: `0x${string}`;
5
+ targetAddress: `0x${string}`;
6
+ }
7
+ export declare function createMockedSushiSyncStep(_options: Options): {
8
+ name: string;
9
+ action: (_context: Map<string, unknown>) => Promise<void>;
10
+ };
11
+ export {};
@@ -0,0 +1,12 @@
1
+ import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ interface Options {
3
+ library: MultichainLibrary;
4
+ temporaryAddress: `0x${string}`;
5
+ temporaryPrivateKey: `0x${string}`;
6
+ targetAddress: `0x${string}`;
7
+ }
8
+ export declare function createMockedTransferStep(_options: Options): {
9
+ name: string;
10
+ action: (_context: Map<string, unknown>) => Promise<void>;
11
+ };
12
+ export {};
@@ -0,0 +1,11 @@
1
+ import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ interface Options {
3
+ library: MultichainLibrary;
4
+ temporaryAddress: `0x${string}`;
5
+ }
6
+ export declare function createMockedTransferSyncStep(_options: Options): {
7
+ name: string;
8
+ transientSkipStepName: string;
9
+ action: (_context: Map<string, unknown>) => Promise<void>;
10
+ };
11
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { Execute, RelayClient } from '@relayprotocol/relay-sdk';
2
2
  import { MultichainLibrary } from '@upcoming/multichain-library';
3
3
  import { FixedPointNumber } from 'cafe-utility';
4
+ import { Dispatch, SetStateAction } from 'react';
4
5
  import { WalletClient } from 'viem';
5
6
  import { SendTransactionSignature } from '../Flow';
6
7
  interface Options {
@@ -13,9 +14,12 @@ interface Options {
13
14
  relayClient: RelayClient;
14
15
  walletClient: WalletClient;
15
16
  relayQuote: Execute;
17
+ totalDaiValue: FixedPointNumber;
18
+ setMetadata: Dispatch<SetStateAction<Record<string, string>>>;
16
19
  }
17
20
  export declare function createRelayStep(options: Options): {
18
21
  name: string;
22
+ precondition: () => Promise<boolean>;
19
23
  action: (context: Map<string, unknown>) => Promise<void>;
20
24
  };
21
25
  export {};
@@ -5,6 +5,7 @@ interface Options {
5
5
  }
6
6
  export declare function createRelaySyncStep(options: Options): {
7
7
  name: string;
8
+ transientSkipStepName: string;
8
9
  action: (context: Map<string, unknown>) => Promise<void>;
9
10
  };
10
11
  export {};
@@ -1,10 +1,12 @@
1
1
  import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ import { Dispatch, SetStateAction } from 'react';
2
3
  interface Options {
3
4
  library: MultichainLibrary;
4
5
  bzzUsdValue: number;
5
6
  temporaryAddress: `0x${string}`;
6
7
  temporaryPrivateKey: `0x${string}`;
7
8
  targetAddress: `0x${string}`;
9
+ setMetadata: Dispatch<SetStateAction<Record<string, string>>>;
8
10
  }
9
11
  export declare function createSushiStep(options: Options): {
10
12
  name: string;
@@ -1,9 +1,11 @@
1
1
  import { MultichainLibrary } from '@upcoming/multichain-library';
2
+ import { Dispatch, SetStateAction } from 'react';
2
3
  interface Options {
3
4
  library: MultichainLibrary;
4
5
  temporaryAddress: `0x${string}`;
5
6
  temporaryPrivateKey: `0x${string}`;
6
7
  targetAddress: `0x${string}`;
8
+ setMetadata: Dispatch<SetStateAction<Record<string, string>>>;
7
9
  }
8
10
  export declare function createTransferStep(options: Options): {
9
11
  name: string;
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.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 { w as C } from "./core-MliaMFp8.mjs";
1
+ import { w as C } from "./core-CkrjeTIY.mjs";
2
2
  const e = C`<svg width="10" height="10" viewBox="0 0 10 10">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as C } from "./core-MliaMFp8.mjs";
1
+ import { w as C } from "./core-CkrjeTIY.mjs";
2
2
  const e = C`<svg
3
3
  width="14"
4
4
  height="14"
@@ -1,4 +1,4 @@
1
- import { w as C } from "./core-MliaMFp8.mjs";
1
+ import { w as C } from "./core-CkrjeTIY.mjs";
2
2
  const L = C`<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.mjs";
2
2
  const e = l`<svg fill="none" viewBox="0 0 14 14">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as t } from "./core-MliaMFp8.mjs";
1
+ import { w as t } from "./core-CkrjeTIY.mjs";
2
2
  const l = t`<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
3
3
  <g clip-path="url(#a)">
4
4
  <path fill="url(#b)" d="M0 0h32v32H0z"/>
@@ -1,4 +1,4 @@
1
- import { w as t } from "./core-MliaMFp8.mjs";
1
+ import { w as t } from "./core-CkrjeTIY.mjs";
2
2
  const l = t`<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path d="M7 3.71875C6.0335 3.71875 5.25 2.93525 5.25 1.96875C5.25 1.00225 6.0335 0.21875 7 0.21875C7.9665 0.21875 8.75 1.00225 8.75 1.96875C8.75 2.93525 7.9665 3.71875 7 3.71875Z" fill="#949E9E"/>
4
4
  <path d="M7 8.96875C6.0335 8.96875 5.25 8.18525 5.25 7.21875C5.25 6.25225 6.0335 5.46875 7 5.46875C7.9665 5.46875 8.75 6.25225 8.75 7.21875C8.75 8.18525 7.9665 8.96875 7 8.96875Z" fill="#949E9E"/>
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.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)">
@@ -1,4 +1,4 @@
1
- import { w as o } from "./core-MliaMFp8.mjs";
1
+ import { w as o } from "./core-CkrjeTIY.mjs";
2
2
  const c = o`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.mjs";
2
2
  const c = l`<svg fill="none" viewBox="0 0 28 28">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 14 14">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,5 +1,5 @@
1
- import { a as pe, p as me, s as he, b as ve, M as g, S as ee, R as l, i as v, r as E, c as f, d as a, A as j, e as te, f as ie, C as m, g as H, h as fe, j as k, E as G, O as T, k as M, l as F, m as $, n as D, T as ge, o as be, q as ye, t as xe } from "./core-MliaMFp8.mjs";
2
- import { c as u, n as d, r as w, o as V, U as Ce } from "./index-ukC48BpT.mjs";
1
+ import { a as pe, p as me, s as he, b as ve, M as g, S as ee, R as l, i as v, r as E, c as f, d as a, A as j, e as te, f as ie, C as m, g as H, h as fe, j as k, E as G, O as T, k as M, l as F, m as $, n as D, T as ge, o as be, q as ye, t as xe } from "./core-CkrjeTIY.mjs";
2
+ import { c as u, n as d, r as w, o as V, U as Ce } from "./index-DIBgysIn.mjs";
3
3
  const p = me({
4
4
  message: "",
5
5
  open: !1,
@@ -1,4 +1,4 @@
1
- import { w as c } from "./core-MliaMFp8.mjs";
1
+ import { w as c } from "./core-CkrjeTIY.mjs";
2
2
  const v = c`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as a } from "./core-MliaMFp8.mjs";
1
+ import { w as a } from "./core-CkrjeTIY.mjs";
2
2
  const v = a`
3
3
  <svg fill="none" viewBox="0 0 48 44">
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.mjs";
2
2
  const C = l`<svg fill="none" viewBox="0 0 96 67">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.mjs";
2
2
  const e = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { w as l } from "./core-MliaMFp8.mjs";
1
+ import { w as l } from "./core-CkrjeTIY.mjs";
2
2
  const h = l`<svg fill="none" viewBox="0 0 41 40">
3
3
  <g clip-path="url(#a)">
4
4
  <path fill="#000" d="M.8 0h40v40H.8z" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upcoming/multichain-widget",
3
- "version": "0.8.4",
3
+ "version": "0.10.0",
4
4
  "main": "dist/multichain-widget.umd.js",
5
5
  "module": "dist/multichain-widget.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,8 +26,8 @@
26
26
  "@relayprotocol/relay-kit-hooks": "^2.0.6",
27
27
  "@relayprotocol/relay-sdk": "^3.0.0",
28
28
  "@tanstack/react-query": "^5.90.2",
29
- "@upcoming/multichain-library": "^0.7.3",
30
- "cafe-utility": "^33.6.0",
29
+ "@upcoming/multichain-library": "^0.8.0",
30
+ "cafe-utility": "^33.7.0",
31
31
  "viem": "^2.38.1",
32
32
  "wagmi": "^2.17.5"
33
33
  },
@@ -1,4 +0,0 @@
1
- import { e as f } from "./index-DqQPPjzU.mjs";
2
- export {
3
- f as default
4
- };