@upcoming/multichain-widget 0.8.3 → 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/Lock.d.ts +2 -0
- package/dist/{add-kZYzXtSt.mjs → add-B57B4_cK.mjs} +1 -1
- package/dist/{all-wallets-Cjc-8Yil.mjs → all-wallets-Bntwwykb.mjs} +1 -1
- package/dist/{app-store-Bz0ucjqU.mjs → app-store-CnSAMdBc.mjs} +1 -1
- package/dist/{apple-CQMyToA9.mjs → apple-5ztAvNyz.mjs} +1 -1
- package/dist/{arrow-bottom-B-ANc0N6.mjs → arrow-bottom-DWQ1zgAG.mjs} +1 -1
- package/dist/{arrow-bottom-circle-DPLFKFIb.mjs → arrow-bottom-circle-Cg1lD9H4.mjs} +1 -1
- package/dist/{arrow-left-Dm_JJduF.mjs → arrow-left-CJsFrbtC.mjs} +1 -1
- package/dist/{arrow-right-DFRguNHt.mjs → arrow-right-DSKqqtmA.mjs} +1 -1
- package/dist/{arrow-top-BL7J0fRh.mjs → arrow-top-BOlq9Gb_.mjs} +1 -1
- package/dist/{bank-Kwv7HCO5.mjs → bank-tHeSV2vq.mjs} +1 -1
- package/dist/{basic-DkCL_fUg.mjs → basic-DpF6tq7l.mjs} +3 -3
- package/dist/{browser-Dni3BTVK.mjs → browser-CXs9D3sH.mjs} +1 -1
- package/dist/{card-CJjfkOMC.mjs → card-xpwpgN6h.mjs} +1 -1
- package/dist/{ccip-BQkOxRli.mjs → ccip-DmxaeKoZ.mjs} +1 -1
- package/dist/{checkmark-DyrRRt7X.mjs → checkmark-Bj8wv5Mf.mjs} +1 -1
- package/dist/{checkmark-bold-C9d_Xmgu.mjs → checkmark-bold-BjXKyse7.mjs} +1 -1
- package/dist/{chevron-bottom-B-bAiCwG.mjs → chevron-bottom-bIFz_zM1.mjs} +1 -1
- package/dist/{chevron-left-DvzaJ4Q8.mjs → chevron-left-CoCt_FxQ.mjs} +1 -1
- package/dist/{chevron-right-Cz-yfq5X.mjs → chevron-right-c_eY17Lv.mjs} +1 -1
- package/dist/{chevron-top-CBiILuar.mjs → chevron-top-DFp0ogXK.mjs} +1 -1
- package/dist/{chrome-store-Dym1ikkO.mjs → chrome-store-CqSMY7UV.mjs} +1 -1
- package/dist/{clock-zaA9_tTl.mjs → clock-D9_DnI7h.mjs} +1 -1
- package/dist/{close-BONQ_jgr.mjs → close-CU3SWgMQ.mjs} +1 -1
- package/dist/{coinPlaceholder-D58oBuBC.mjs → coinPlaceholder-lkg-1opg.mjs} +1 -1
- package/dist/{compass-K6BY06zn.mjs → compass-DnIs3q-S.mjs} +1 -1
- package/dist/{copy-CuDEDpY3.mjs → copy-DqErhbu_.mjs} +1 -1
- package/dist/{core-DdDdc5Dc.mjs → core-Bvk9zDY-.mjs} +3 -3
- package/dist/{cursor-CjvaCwo6.mjs → cursor-DGPIj2u8.mjs} +1 -1
- package/dist/{cursor-transparent-C83m81BF.mjs → cursor-transparent-D8LF6Pnn.mjs} +1 -1
- package/dist/{desktop-DOCVI7bw.mjs → desktop-BBltz3Ic.mjs} +1 -1
- package/dist/{disconnect-DdG2pwsw.mjs → disconnect-DNkNuFcX.mjs} +1 -1
- package/dist/{discord-BbCKjvR0.mjs → discord-UGGHTlLy.mjs} +1 -1
- package/dist/en_US-Y4ZOVFV4-DBIHj2B4.mjs +4 -0
- package/dist/{etherscan-g-jJuWjt.mjs → etherscan-xlh3ZtF5.mjs} +1 -1
- package/dist/{exclamation-triangle-BkWOmF22.mjs → exclamation-triangle-BzGTOa_V.mjs} +1 -1
- package/dist/{extension-DQvhklpA.mjs → extension-DW3uQGSC.mjs} +1 -1
- package/dist/{external-link-DvskKtUq.mjs → external-link-BmpjgLnF.mjs} +1 -1
- package/dist/{facebook-CXCPQkc2.mjs → facebook-BQGYA_Om.mjs} +1 -1
- package/dist/{farcaster-Cw8ska4M.mjs → farcaster-B8NsFTbz.mjs} +1 -1
- package/dist/{filters-BGjCM3Sw.mjs → filters-B9Ene-rC.mjs} +1 -1
- package/dist/{github-DtOQkxu-.mjs → github-CiGecv2n.mjs} +1 -1
- package/dist/{google-DZUok6ma.mjs → google-DI8LnSD_.mjs} +1 -1
- package/dist/{help-circle-B_ujvRJf.mjs → help-circle-BWLUcNlC.mjs} +1 -1
- package/dist/{id-B8a5vgqJ.mjs → id-B4zKZS3s.mjs} +1 -1
- package/dist/{image-CPqrSCL0.mjs → image-DXIlMQaT.mjs} +1 -1
- package/dist/{index-25S5eYIS.mjs → index-CgMKLdl4.mjs} +15994 -15878
- package/dist/{index-DJKfY9CX.mjs → index-DTvFFZQW.mjs} +1 -1
- package/dist/{index-DnTu-5HZ.mjs → index-DVqsD5CJ.mjs} +1 -1
- package/dist/{index-Bk_G722d.mjs → index-JK5s5saH.mjs} +1 -1
- package/dist/{index-I7CdJO_0.mjs → index-rn9k_m1D.mjs} +78 -78
- package/dist/{index.es-DrZjaZNE.mjs → index.es-C1mpDsvJ.mjs} +3 -3
- package/dist/{info-C6uj7OSV.mjs → info-BQ6kcoSt.mjs} +1 -1
- package/dist/{info-circle-C0swwkHM.mjs → info-circle-P8FhQVPI.mjs} +1 -1
- package/dist/{lightbulb-GsA92zN_.mjs → lightbulb-B39_jrSP.mjs} +1 -1
- package/dist/{mail-SiumbgRO.mjs → mail-CGor_6kK.mjs} +1 -1
- package/dist/{metamask-sdk-D_W46s6j.mjs → metamask-sdk-ZYiu3zg4.mjs} +1 -1
- package/dist/{mobile-C9Zi1xxz.mjs → mobile-BTUE4N34.mjs} +1 -1
- package/dist/{more-BZtt4JYx.mjs → more-DZosqG2k.mjs} +1 -1
- package/dist/multichain-widget.es.js +1 -1
- package/dist/multichain-widget.umd.js +385 -385
- package/dist/{network-placeholder-BJzCRbI-.mjs → network-placeholder-DZ9H8XuZ.mjs} +1 -1
- package/dist/{nftPlaceholder-DWo8oFGL.mjs → nftPlaceholder-zDt_Ru-1.mjs} +1 -1
- package/dist/{off-nsoQpBgE.mjs → off-BT3H-J6y.mjs} +1 -1
- package/dist/{play-store-BL12Ptb-.mjs → play-store-DNrIpPKE.mjs} +1 -1
- package/dist/{plus-9WpUq8Ff.mjs → plus-BsBwSjE9.mjs} +1 -1
- package/dist/{qr-code-DAJFwCDw.mjs → qr-code-o_vjZKvq.mjs} +1 -1
- package/dist/{recycle-horizontal-Bmy8kGks.mjs → recycle-horizontal-CLVeQy7M.mjs} +1 -1
- package/dist/{refresh-B2N7Tmp5.mjs → refresh-CV6h3HFm.mjs} +1 -1
- package/dist/{reown-logo-D5JzIPaF.mjs → reown-logo-DdyQXfXI.mjs} +1 -1
- package/dist/{search-Bktr0fIA.mjs → search-BVmOFpOJ.mjs} +1 -1
- package/dist/{secp256k1-CyYqkOe3.mjs → secp256k1-SXzI8daK.mjs} +1 -1
- package/dist/{send-BEuPO2pA.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-5C6LCpDj.mjs → swapHorizontal-Bc2hNR8Z.mjs} +1 -1
- package/dist/{swapHorizontalBold-C3wWxHWe.mjs → swapHorizontalBold-BjdHgctc.mjs} +1 -1
- package/dist/{swapHorizontalMedium-DF5yutlt.mjs → swapHorizontalMedium-B6LmX4YB.mjs} +1 -1
- package/dist/{swapHorizontalRoundedBold-DJWPLQnV.mjs → swapHorizontalRoundedBold-BaETzRDg.mjs} +1 -1
- package/dist/{swapVertical-CrU-lkhg.mjs → swapVertical-BtijfnZm.mjs} +1 -1
- package/dist/{telegram-Dhr-lwkj.mjs → telegram-jaU7g1Sr.mjs} +1 -1
- package/dist/{three-dots-C-Hwnx_B.mjs → three-dots-BhG7ao4T.mjs} +1 -1
- package/dist/{twitch-kcCl6_ji.mjs → twitch-DrYOYRp8.mjs} +1 -1
- package/dist/{twitterIcon-xcQW-sbm.mjs → twitterIcon-DZ8TCPG1.mjs} +1 -1
- package/dist/{verify-BuwZOoTJ.mjs → verify-C0PUqPnr.mjs} +1 -1
- package/dist/{verify-filled-8G958AUz.mjs → verify-filled-cpLleURN.mjs} +1 -1
- package/dist/{w3m-modal-D9qciXge.mjs → w3m-modal-CDgPP8FL.mjs} +2 -2
- package/dist/{wallet-CisYbiuK.mjs → wallet-CVAvMJ5c.mjs} +1 -1
- package/dist/{wallet-placeholder-DgT22Rk0.mjs → wallet-placeholder-C1Xm8sJR.mjs} +1 -1
- package/dist/{walletconnect-DA6v18t0.mjs → walletconnect-DbuPCqBw.mjs} +1 -1
- package/dist/{warning-circle-HDIk8EWW.mjs → warning-circle-qtHs9dx7.mjs} +1 -1
- package/dist/{x-CAqHZoKL.mjs → x-DrkPxWaQ.mjs} +1 -1
- package/package.json +2 -2
- package/dist/en_US-Y4ZOVFV4-D50Uc9Q8.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upcoming/multichain-widget",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"main": "dist/multichain-widget.umd.js",
|
|
5
5
|
"module": "dist/multichain-widget.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@relayprotocol/relay-sdk": "^3.0.0",
|
|
28
28
|
"@tanstack/react-query": "^5.90.2",
|
|
29
29
|
"@upcoming/multichain-library": "^0.7.3",
|
|
30
|
-
"cafe-utility": "^33.
|
|
30
|
+
"cafe-utility": "^33.6.0",
|
|
31
31
|
"viem": "^2.38.1",
|
|
32
32
|
"wagmi": "^2.17.5"
|
|
33
33
|
},
|