@upcoming/multichain-widget 0.8.4 → 0.9.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.
- package/dist/Flow.d.ts +2 -0
- package/dist/{add-Rtmd-2_c.mjs → add-B57B4_cK.mjs} +1 -1
- package/dist/{all-wallets-CyM8xVt9.mjs → all-wallets-Bntwwykb.mjs} +1 -1
- package/dist/{app-store-CZV3fhMP.mjs → app-store-CnSAMdBc.mjs} +1 -1
- package/dist/{apple-DrawCfn9.mjs → apple-5ztAvNyz.mjs} +1 -1
- package/dist/{arrow-bottom-CK6dre1A.mjs → arrow-bottom-DWQ1zgAG.mjs} +1 -1
- package/dist/{arrow-bottom-circle-DL-KSeto.mjs → arrow-bottom-circle-Cg1lD9H4.mjs} +1 -1
- package/dist/{arrow-left-CnOzgHTc.mjs → arrow-left-CJsFrbtC.mjs} +1 -1
- package/dist/{arrow-right-DRs-LPsc.mjs → arrow-right-DSKqqtmA.mjs} +1 -1
- package/dist/{arrow-top-DOKCjs7I.mjs → arrow-top-BOlq9Gb_.mjs} +1 -1
- package/dist/{bank-qaVJtnoX.mjs → bank-tHeSV2vq.mjs} +1 -1
- package/dist/{basic-CCn0Jp-j.mjs → basic-DpF6tq7l.mjs} +3 -3
- package/dist/{browser-BN8HZMno.mjs → browser-CXs9D3sH.mjs} +1 -1
- package/dist/{card-CZsmZz_E.mjs → card-xpwpgN6h.mjs} +1 -1
- package/dist/{ccip-BLZWN0O3.mjs → ccip-DmxaeKoZ.mjs} +1 -1
- package/dist/{checkmark-DscNdR9f.mjs → checkmark-Bj8wv5Mf.mjs} +1 -1
- package/dist/{checkmark-bold-gdrH4j8M.mjs → checkmark-bold-BjXKyse7.mjs} +1 -1
- package/dist/{chevron-bottom-DCJymOKo.mjs → chevron-bottom-bIFz_zM1.mjs} +1 -1
- package/dist/{chevron-left-C1CxZxSu.mjs → chevron-left-CoCt_FxQ.mjs} +1 -1
- package/dist/{chevron-right-BiKcNAKx.mjs → chevron-right-c_eY17Lv.mjs} +1 -1
- package/dist/{chevron-top-Dnnf-cdN.mjs → chevron-top-DFp0ogXK.mjs} +1 -1
- package/dist/{chrome-store-B16OEsPs.mjs → chrome-store-CqSMY7UV.mjs} +1 -1
- package/dist/{clock-B_6ejoBp.mjs → clock-D9_DnI7h.mjs} +1 -1
- package/dist/{close-CSzo_3bN.mjs → close-CU3SWgMQ.mjs} +1 -1
- package/dist/{coinPlaceholder-uoes0qE0.mjs → coinPlaceholder-lkg-1opg.mjs} +1 -1
- package/dist/{compass-DDsByZAU.mjs → compass-DnIs3q-S.mjs} +1 -1
- package/dist/{copy-BJso4Ygh.mjs → copy-DqErhbu_.mjs} +1 -1
- package/dist/{core-MliaMFp8.mjs → core-Bvk9zDY-.mjs} +3 -3
- package/dist/{cursor-hfV1YLUw.mjs → cursor-DGPIj2u8.mjs} +1 -1
- package/dist/{cursor-transparent-BY-5tK36.mjs → cursor-transparent-D8LF6Pnn.mjs} +1 -1
- package/dist/{desktop-DtHe_Rol.mjs → desktop-BBltz3Ic.mjs} +1 -1
- package/dist/{disconnect-DgtS8NDw.mjs → disconnect-DNkNuFcX.mjs} +1 -1
- package/dist/{discord-C-_RT2gs.mjs → discord-UGGHTlLy.mjs} +1 -1
- package/dist/en_US-Y4ZOVFV4-DBIHj2B4.mjs +4 -0
- package/dist/{etherscan-DJyphLp8.mjs → etherscan-xlh3ZtF5.mjs} +1 -1
- package/dist/{exclamation-triangle-Dz5xkRGk.mjs → exclamation-triangle-BzGTOa_V.mjs} +1 -1
- package/dist/{extension-629zZ7ua.mjs → extension-DW3uQGSC.mjs} +1 -1
- package/dist/{external-link-CsPVsVrJ.mjs → external-link-BmpjgLnF.mjs} +1 -1
- package/dist/{facebook-B60BQVip.mjs → facebook-BQGYA_Om.mjs} +1 -1
- package/dist/{farcaster-CMSWWvXk.mjs → farcaster-B8NsFTbz.mjs} +1 -1
- package/dist/{filters-BrhjKOP-.mjs → filters-B9Ene-rC.mjs} +1 -1
- package/dist/{github-BAB0dmTv.mjs → github-CiGecv2n.mjs} +1 -1
- package/dist/{google-jpjXfZ0O.mjs → google-DI8LnSD_.mjs} +1 -1
- package/dist/{help-circle-D8oujF4g.mjs → help-circle-BWLUcNlC.mjs} +1 -1
- package/dist/{id-CIOOUJ-3.mjs → id-B4zKZS3s.mjs} +1 -1
- package/dist/{image-D3wMOCJO.mjs → image-DXIlMQaT.mjs} +1 -1
- package/dist/{index-DqQPPjzU.mjs → index-CgMKLdl4.mjs} +14947 -14870
- package/dist/{index-CsnA_LsY.mjs → index-DTvFFZQW.mjs} +1 -1
- package/dist/{index-C14bvjmF.mjs → index-DVqsD5CJ.mjs} +1 -1
- package/dist/{index-CDY1PdfC.mjs → index-JK5s5saH.mjs} +1 -1
- package/dist/{index-ukC48BpT.mjs → index-rn9k_m1D.mjs} +78 -78
- package/dist/{index.es-BQtqpjUj.mjs → index.es-C1mpDsvJ.mjs} +3 -3
- package/dist/{info-CG5uYzLH.mjs → info-BQ6kcoSt.mjs} +1 -1
- package/dist/{info-circle-CTaP4Elx.mjs → info-circle-P8FhQVPI.mjs} +1 -1
- package/dist/{lightbulb-CEB3YDpi.mjs → lightbulb-B39_jrSP.mjs} +1 -1
- package/dist/{mail-99K2vmJe.mjs → mail-CGor_6kK.mjs} +1 -1
- package/dist/{metamask-sdk-CfZD6ojD.mjs → metamask-sdk-ZYiu3zg4.mjs} +1 -1
- package/dist/{mobile-CpOjJV9i.mjs → mobile-BTUE4N34.mjs} +1 -1
- package/dist/{more-BUXWUuqx.mjs → more-DZosqG2k.mjs} +1 -1
- package/dist/multichain-widget.es.js +1 -1
- package/dist/multichain-widget.umd.js +382 -382
- package/dist/{network-placeholder-Crps-kvX.mjs → network-placeholder-DZ9H8XuZ.mjs} +1 -1
- package/dist/{nftPlaceholder-ClvSDCtZ.mjs → nftPlaceholder-zDt_Ru-1.mjs} +1 -1
- package/dist/{off-DOu8a0pd.mjs → off-BT3H-J6y.mjs} +1 -1
- package/dist/{play-store-Czw2f2hS.mjs → play-store-DNrIpPKE.mjs} +1 -1
- package/dist/{plus-p6DrQFfn.mjs → plus-BsBwSjE9.mjs} +1 -1
- package/dist/{qr-code-C6O2Qf0w.mjs → qr-code-o_vjZKvq.mjs} +1 -1
- package/dist/{recycle-horizontal-BBcLkHa5.mjs → recycle-horizontal-CLVeQy7M.mjs} +1 -1
- package/dist/{refresh-BPzgT6AJ.mjs → refresh-CV6h3HFm.mjs} +1 -1
- package/dist/{reown-logo-Cip6u7DJ.mjs → reown-logo-DdyQXfXI.mjs} +1 -1
- package/dist/{search-RlPSx7vx.mjs → search-BVmOFpOJ.mjs} +1 -1
- package/dist/{secp256k1-DAjo_hHn.mjs → secp256k1-SXzI8daK.mjs} +1 -1
- package/dist/{send-DRpeEU1T.mjs → send-_EA_14Eg.mjs} +1 -1
- package/dist/steps/MockedApproveBzzStep.d.ts +11 -0
- package/dist/steps/MockedCreateBatchStep.d.ts +13 -0
- package/dist/steps/MockedRelayStep.d.ts +21 -0
- package/dist/steps/MockedRelaySyncStep.d.ts +10 -0
- package/dist/steps/MockedSushiStep.d.ts +13 -0
- package/dist/steps/MockedSushiSyncStep.d.ts +11 -0
- package/dist/steps/MockedTransferStep.d.ts +12 -0
- package/dist/steps/MockedTransferSyncStep.d.ts +11 -0
- package/dist/{swapHorizontal-Bb-ISTnT.mjs → swapHorizontal-Bc2hNR8Z.mjs} +1 -1
- package/dist/{swapHorizontalBold-CF6Z7J85.mjs → swapHorizontalBold-BjdHgctc.mjs} +1 -1
- package/dist/{swapHorizontalMedium-xcJJk9cY.mjs → swapHorizontalMedium-B6LmX4YB.mjs} +1 -1
- package/dist/{swapHorizontalRoundedBold-Bl-0Umng.mjs → swapHorizontalRoundedBold-BaETzRDg.mjs} +1 -1
- package/dist/{swapVertical-C6snuf0r.mjs → swapVertical-BtijfnZm.mjs} +1 -1
- package/dist/{telegram-BJdcYg6c.mjs → telegram-jaU7g1Sr.mjs} +1 -1
- package/dist/{three-dots-DQMcjfVP.mjs → three-dots-BhG7ao4T.mjs} +1 -1
- package/dist/{twitch-CoM7erl7.mjs → twitch-DrYOYRp8.mjs} +1 -1
- package/dist/{twitterIcon-D3H1dxHc.mjs → twitterIcon-DZ8TCPG1.mjs} +1 -1
- package/dist/{verify-Cx032XZB.mjs → verify-C0PUqPnr.mjs} +1 -1
- package/dist/{verify-filled-C5ym5N-I.mjs → verify-filled-cpLleURN.mjs} +1 -1
- package/dist/{w3m-modal-BvqY7cfI.mjs → w3m-modal-CDgPP8FL.mjs} +2 -2
- package/dist/{wallet-UTiUgxiD.mjs → wallet-CVAvMJ5c.mjs} +1 -1
- package/dist/{wallet-placeholder-D4U8540Z.mjs → wallet-placeholder-C1Xm8sJR.mjs} +1 -1
- package/dist/{walletconnect-C6MLKcIf.mjs → walletconnect-DbuPCqBw.mjs} +1 -1
- package/dist/{warning-circle-7KLFb1_r.mjs → warning-circle-qtHs9dx7.mjs} +1 -1
- package/dist/{x-ClbkxS5C.mjs → x-DrkPxWaQ.mjs} +1 -1
- package/package.json +1 -1
- package/dist/en_US-Y4ZOVFV4-D6ZIgWWk.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as C } from "./core-
|
|
1
|
+
import { w as C } from "./core-Bvk9zDY-.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 { 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-
|
|
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-C1mpDsvJ.mjs";
|
|
2
2
|
function ye(n, e, t, r) {
|
|
3
3
|
if (typeof n.setBigUint64 == "function")
|
|
4
4
|
return n.setBigUint64(e, t, r);
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { w as t } from "./core-
|
|
1
|
+
import { w as t } from "./core-Bvk9zDY-.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-
|
|
1
|
+
import { w as t } from "./core-Bvk9zDY-.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,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-
|
|
2
|
-
import { c as u, n as d, r as w, o as V, U as Ce } from "./index-
|
|
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-Bvk9zDY-.mjs";
|
|
2
|
+
import { c as u, n as d, r as w, o as V, U as Ce } from "./index-rn9k_m1D.mjs";
|
|
3
3
|
const p = me({
|
|
4
4
|
message: "",
|
|
5
5
|
open: !1,
|
package/package.json
CHANGED