@upcoming/multichain-widget 0.9.0 → 0.10.1
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/README.md +4 -0
- package/dist/Flow.d.ts +5 -0
- package/dist/Router.d.ts +1 -1
- package/dist/Tab1.d.ts +2 -1
- package/dist/Tab2.d.ts +2 -1
- package/dist/Utility.d.ts +1 -0
- package/dist/{add-B57B4_cK.mjs → add-DE53QxSp.mjs} +1 -1
- package/dist/{all-wallets-Bntwwykb.mjs → all-wallets-CteELwAg.mjs} +1 -1
- package/dist/{app-store-CnSAMdBc.mjs → app-store-BHUgXOFe.mjs} +1 -1
- package/dist/{apple-5ztAvNyz.mjs → apple-D5ExkIw5.mjs} +1 -1
- package/dist/{arrow-bottom-DWQ1zgAG.mjs → arrow-bottom-Bxe1X8Ft.mjs} +1 -1
- package/dist/{arrow-bottom-circle-Cg1lD9H4.mjs → arrow-bottom-circle-Cl8_63Uo.mjs} +1 -1
- package/dist/{arrow-left-CJsFrbtC.mjs → arrow-left-kgOh6tzR.mjs} +1 -1
- package/dist/{arrow-right-DSKqqtmA.mjs → arrow-right-Dka6fnod.mjs} +1 -1
- package/dist/{arrow-top-BOlq9Gb_.mjs → arrow-top-D4AK1PMR.mjs} +1 -1
- package/dist/{bank-tHeSV2vq.mjs → bank-DpFegJ8C.mjs} +1 -1
- package/dist/{basic-DpF6tq7l.mjs → basic-zMLGXQ-7.mjs} +3 -3
- package/dist/{browser-CXs9D3sH.mjs → browser-Bk92n9sI.mjs} +1 -1
- package/dist/{card-xpwpgN6h.mjs → card-BoeVTlMI.mjs} +1 -1
- package/dist/{ccip-DmxaeKoZ.mjs → ccip-B6zBg_p_.mjs} +1 -1
- package/dist/{checkmark-bold-BjXKyse7.mjs → checkmark-bold-3k6XUuCl.mjs} +1 -1
- package/dist/{checkmark-Bj8wv5Mf.mjs → checkmark-n4S_131s.mjs} +1 -1
- package/dist/{chevron-bottom-bIFz_zM1.mjs → chevron-bottom-BMC51oMU.mjs} +1 -1
- package/dist/{chevron-left-CoCt_FxQ.mjs → chevron-left-B5jb9i9b.mjs} +1 -1
- package/dist/{chevron-right-c_eY17Lv.mjs → chevron-right-C9C0UoJ1.mjs} +1 -1
- package/dist/{chevron-top-DFp0ogXK.mjs → chevron-top-BcTgsepu.mjs} +1 -1
- package/dist/{chrome-store-CqSMY7UV.mjs → chrome-store-WXrI-Tkt.mjs} +1 -1
- package/dist/{clock-D9_DnI7h.mjs → clock-D9nTCmjg.mjs} +1 -1
- package/dist/{close-CU3SWgMQ.mjs → close-CgscCwPZ.mjs} +1 -1
- package/dist/{coinPlaceholder-lkg-1opg.mjs → coinPlaceholder-DeeMAnhk.mjs} +1 -1
- package/dist/{compass-DnIs3q-S.mjs → compass-9Eb1Xxkc.mjs} +1 -1
- package/dist/components/CreateBatchProgressTracker.d.ts +2 -1
- package/dist/components/FundingProgressTracker.d.ts +2 -1
- package/dist/components/ProgressStatus.d.ts +2 -1
- package/dist/{copy-DqErhbu_.mjs → copy-ByrFB7di.mjs} +1 -1
- package/dist/{core-Bvk9zDY-.mjs → core-DX5IuvGC.mjs} +3 -3
- package/dist/{cursor-DGPIj2u8.mjs → cursor-Cxu00D0l.mjs} +1 -1
- package/dist/{cursor-transparent-D8LF6Pnn.mjs → cursor-transparent-BL5Zh-T_.mjs} +1 -1
- package/dist/{desktop-BBltz3Ic.mjs → desktop-BawpgFYO.mjs} +1 -1
- package/dist/{disconnect-DNkNuFcX.mjs → disconnect-D0-qeq9_.mjs} +1 -1
- package/dist/{discord-UGGHTlLy.mjs → discord-DU7Ij6Vl.mjs} +1 -1
- package/dist/en_US-Y4ZOVFV4-BD_y3bJ_.mjs +4 -0
- package/dist/{etherscan-xlh3ZtF5.mjs → etherscan-Dt1-OKFP.mjs} +1 -1
- package/dist/{exclamation-triangle-BzGTOa_V.mjs → exclamation-triangle-BfhuffN9.mjs} +1 -1
- package/dist/{extension-DW3uQGSC.mjs → extension-CyGc0Xy4.mjs} +1 -1
- package/dist/{external-link-BmpjgLnF.mjs → external-link-Clkat-lP.mjs} +1 -1
- package/dist/{facebook-BQGYA_Om.mjs → facebook-CaQnghRI.mjs} +1 -1
- package/dist/{farcaster-B8NsFTbz.mjs → farcaster-eSAyc1fK.mjs} +1 -1
- package/dist/{filters-B9Ene-rC.mjs → filters-BOe_PAWi.mjs} +1 -1
- package/dist/{github-CiGecv2n.mjs → github-3_e9w-ZE.mjs} +1 -1
- package/dist/{google-DI8LnSD_.mjs → google-iWEmC7dE.mjs} +1 -1
- package/dist/{help-circle-BWLUcNlC.mjs → help-circle-B86971Ht.mjs} +1 -1
- package/dist/{id-B4zKZS3s.mjs → id-B2qbMi2k.mjs} +1 -1
- package/dist/{image-DXIlMQaT.mjs → image-tNFlh5Ux.mjs} +1 -1
- package/dist/{index-DVqsD5CJ.mjs → index-CEpQu6CG.mjs} +1 -1
- package/dist/{index-JK5s5saH.mjs → index-CPno-OV1.mjs} +1 -1
- package/dist/{index-DTvFFZQW.mjs → index-D88HSu31.mjs} +1 -1
- package/dist/{index-rn9k_m1D.mjs → index-DHv6paAa.mjs} +78 -78
- package/dist/{index-CgMKLdl4.mjs → index-MELUWAgy.mjs} +18530 -18422
- package/dist/{index.es-C1mpDsvJ.mjs → index.es-B_RGPlx7.mjs} +3 -3
- package/dist/{info-BQ6kcoSt.mjs → info-CzQXgtjD.mjs} +1 -1
- package/dist/{info-circle-P8FhQVPI.mjs → info-circle-C3-_IXLl.mjs} +1 -1
- package/dist/{lightbulb-B39_jrSP.mjs → lightbulb-BwH0t5G2.mjs} +1 -1
- package/dist/{mail-CGor_6kK.mjs → mail-BaH3gRvz.mjs} +1 -1
- package/dist/{metamask-sdk-ZYiu3zg4.mjs → metamask-sdk-B_uW8Oup.mjs} +1 -1
- package/dist/{mobile-BTUE4N34.mjs → mobile-DWyj9Z6Q.mjs} +1 -1
- package/dist/{more-DZosqG2k.mjs → more-Fg_jvtG4.mjs} +1 -1
- package/dist/multichain-widget.es.js +1 -1
- package/dist/multichain-widget.umd.js +407 -407
- package/dist/{network-placeholder-DZ9H8XuZ.mjs → network-placeholder-CP6NHhFn.mjs} +1 -1
- package/dist/{nftPlaceholder-zDt_Ru-1.mjs → nftPlaceholder-BzE8kw3N.mjs} +1 -1
- package/dist/{off-BT3H-J6y.mjs → off-BsACIGMc.mjs} +1 -1
- package/dist/{play-store-DNrIpPKE.mjs → play-store-DX5vPbL_.mjs} +1 -1
- package/dist/{plus-BsBwSjE9.mjs → plus-DvUSu-S0.mjs} +1 -1
- package/dist/{qr-code-o_vjZKvq.mjs → qr-code-Bgnx6XIK.mjs} +1 -1
- package/dist/{recycle-horizontal-CLVeQy7M.mjs → recycle-horizontal-DYO1090w.mjs} +1 -1
- package/dist/{refresh-CV6h3HFm.mjs → refresh-Do8jS5dK.mjs} +1 -1
- package/dist/{reown-logo-DdyQXfXI.mjs → reown-logo-DUVkjiL5.mjs} +1 -1
- package/dist/{search-BVmOFpOJ.mjs → search-BnOAynmg.mjs} +1 -1
- package/dist/{secp256k1-SXzI8daK.mjs → secp256k1-DFDQ8pAq.mjs} +1 -1
- package/dist/{send-_EA_14Eg.mjs → send-Dz9nkOEb.mjs} +1 -1
- package/dist/steps/ApproveBzzStep.d.ts +2 -0
- package/dist/steps/CreateBatchStep.d.ts +2 -0
- package/dist/steps/RelayStep.d.ts +4 -0
- package/dist/steps/RelaySyncStep.d.ts +1 -0
- package/dist/steps/SushiStep.d.ts +2 -0
- package/dist/steps/TransferStep.d.ts +2 -0
- package/dist/{swapHorizontal-Bc2hNR8Z.mjs → swapHorizontal-CjukvG0L.mjs} +1 -1
- package/dist/{swapHorizontalBold-BjdHgctc.mjs → swapHorizontalBold-QT4T-P-o.mjs} +1 -1
- package/dist/{swapHorizontalMedium-B6LmX4YB.mjs → swapHorizontalMedium-7_B4j6_1.mjs} +1 -1
- package/dist/{swapHorizontalRoundedBold-BaETzRDg.mjs → swapHorizontalRoundedBold-BDodccvu.mjs} +1 -1
- package/dist/{swapVertical-BtijfnZm.mjs → swapVertical-B__r4jfk.mjs} +1 -1
- package/dist/{telegram-jaU7g1Sr.mjs → telegram-DlfTmgNl.mjs} +1 -1
- package/dist/{three-dots-BhG7ao4T.mjs → three-dots-CFM0v9oI.mjs} +1 -1
- package/dist/{twitch-DrYOYRp8.mjs → twitch-CgMl79dC.mjs} +1 -1
- package/dist/{twitterIcon-DZ8TCPG1.mjs → twitterIcon-Cy3adzpv.mjs} +1 -1
- package/dist/{verify-C0PUqPnr.mjs → verify-CzsqePpt.mjs} +1 -1
- package/dist/{verify-filled-cpLleURN.mjs → verify-filled-DoDKOidC.mjs} +1 -1
- package/dist/{w3m-modal-CDgPP8FL.mjs → w3m-modal-CSmz5YRi.mjs} +2 -2
- package/dist/{wallet-CVAvMJ5c.mjs → wallet-Br1UHYPp.mjs} +1 -1
- package/dist/{wallet-placeholder-C1Xm8sJR.mjs → wallet-placeholder-MFZzj6E4.mjs} +1 -1
- package/dist/{walletconnect-DbuPCqBw.mjs → walletconnect-DHisyWJy.mjs} +1 -1
- package/dist/{warning-circle-qtHs9dx7.mjs → warning-circle-CaaxDMlK.mjs} +1 -1
- package/dist/{x-DrkPxWaQ.mjs → x-B-MOUhUZ.mjs} +1 -1
- package/package.json +3 -3
- package/dist/en_US-Y4ZOVFV4-DBIHj2B4.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as C } from "./core-
|
|
1
|
+
import { w as C } from "./core-DX5IuvGC.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-B_RGPlx7.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,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;
|
|
@@ -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 {};
|
|
@@ -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 t } from "./core-
|
|
1
|
+
import { w as t } from "./core-DX5IuvGC.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-DX5IuvGC.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-DX5IuvGC.mjs";
|
|
2
|
+
import { c as u, n as d, r as w, o as V, U as Ce } from "./index-DHv6paAa.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.10.1",
|
|
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.
|
|
30
|
-
"cafe-utility": "^33.
|
|
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
|
},
|