@glacislabs/stablegenie-zerodelta 4.14.1 → 4.15.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/{chunk-B74WAUBW.js → chunk-3U5Z5CC3.js} +105 -46
- package/dist/{chunk-43VO6XXW.js → chunk-GWQKWJJA.js} +6 -2
- package/dist/core/index.cjs +6 -2
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +110 -47
- package/dist/index.js +2 -2
- package/dist/mount.cjs +110 -47
- package/dist/mount.js +2 -2
- package/dist/standalone.global.js +29 -18
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CHAIN_DISPLAY_NAMES, EXECUTABLE_STABLE_ASSETS, STABLE_ASSETS, SUPPORTED_ASSETS, complianceView, complianceTagOf, symbolKey, normalizeDecimalText, findToken, laneLimitFor, laneLimitSymbol, tokenTicker, exceedsLaneLimit, assetDecimals, parseUnitsDecimal, counterpartTokens, assetClassOf, brokenLaneFor, brokenLaneReason, destinationAvailability, laneLimitHint, tickerOn, laneLimitError, routeNativeValue, formatNative, nativeSymbol, isSolanaChainId, isSellableRwa, formatUnits, amountFieldError, solanaQuoteCompliance, directComplianceFromScreens, SUPPORTED_CHAIN_IDS, complianceChecks, DIRECT_CHECK_IDS, isSolanaAddress, createEngine, isAddress, checkNativeFee, nativeFeeShortLabel, nativeFeeShortMessage, allowanceCovers, validatePlannedTransaction, TRACKING, mergeHistory, solanaPlanNeedsPreparation, SOLANA_CHAIN_ID, unattributedComplianceReasons, distinctScreenedWallets, formatJurisdiction, humanizeComplianceReason, DIRECT_SCOPE_NOTE, categoryLabel, SCREENING_BUCKETS, BUNDLED_RPC, foldTicker } from './chunk-
|
|
1
|
+
import { CHAIN_DISPLAY_NAMES, EXECUTABLE_STABLE_ASSETS, STABLE_ASSETS, SUPPORTED_ASSETS, complianceView, complianceTagOf, symbolKey, normalizeDecimalText, findToken, laneLimitFor, laneLimitSymbol, tokenTicker, exceedsLaneLimit, assetDecimals, parseUnitsDecimal, counterpartTokens, assetClassOf, brokenLaneFor, brokenLaneReason, destinationAvailability, laneLimitHint, tickerOn, laneLimitError, routeNativeValue, formatNative, nativeSymbol, isSolanaChainId, isSellableRwa, formatUnits, amountFieldError, solanaQuoteCompliance, directComplianceFromScreens, SUPPORTED_CHAIN_IDS, complianceChecks, DIRECT_CHECK_IDS, isSolanaAddress, createEngine, isAddress, checkNativeFee, nativeFeeShortLabel, nativeFeeShortMessage, allowanceCovers, validatePlannedTransaction, TRACKING, mergeHistory, solanaPlanNeedsPreparation, SOLANA_CHAIN_ID, unattributedComplianceReasons, distinctScreenedWallets, formatJurisdiction, humanizeComplianceReason, DIRECT_SCOPE_NOTE, categoryLabel, SCREENING_BUCKETS, BUNDLED_RPC, foldTicker } from './chunk-GWQKWJJA.js';
|
|
2
2
|
import { createContext, useState, useRef, useMemo, useEffect, useCallback, useId, useLayoutEffect, createElement, useContext, useSyncExternalStore, useReducer } from 'react';
|
|
3
3
|
import { createRoot } from 'react-dom/client';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1597,13 +1597,13 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
|
|
|
1597
1597
|
.sg-ws-back:hover{color:var(--sg-text)}
|
|
1598
1598
|
.sg-ws-close{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:#a7a9be;cursor:pointer}
|
|
1599
1599
|
.sg-ws-close:hover{color:var(--sg-text)}
|
|
1600
|
-
.sg-ws-back:focus-visible,.sg-ws-close:focus-visible,.sg-ws-icon-btn:focus-visible,.sg-ws-action:focus-visible,.sg-ws-sum:focus-visible,.sg-rcp-opt:focus-visible,.sg-rcp-custom:focus-visible
|
|
1600
|
+
.sg-ws-back:focus-visible,.sg-ws-close:focus-visible,.sg-ws-icon-btn:focus-visible,.sg-ws-action:focus-visible,.sg-ws-sum:focus-visible,.sg-rcp-opt:focus-visible,.sg-rcp-custom:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
|
|
1601
1601
|
.sg-ws-main{display:flex;flex-direction:column;gap:16px}
|
|
1602
1602
|
.sg-ws-title{margin:0;font-family:var(--sg-font-display);font-size:16px;font-weight:600;line-height:1.2;letter-spacing:.32px;color:var(--sg-t90)}
|
|
1603
1603
|
.sg-ws[data-wide]{gap:16px}
|
|
1604
1604
|
.sg-ws[data-wide] .sg-ws-sum-lead{min-width:0}
|
|
1605
1605
|
.sg-ws[data-wide] .sg-ws-sum-text{overflow:hidden;text-overflow:ellipsis}
|
|
1606
|
-
.sg-widget[data-sg-mode="dark"] :is(.sg-ws-action,.sg-rcp-custom,.sg-rcp-
|
|
1606
|
+
.sg-widget[data-sg-mode="dark"] :is(.sg-ws-action,.sg-rcp-custom,.sg-rcp-value[data-tone="choose"],.sg-ws-icon-btn,.sg-rcp-tick){color:var(--sg-info)}
|
|
1607
1607
|
.sg-ws[data-wide] .sg-ws-back{font-size:12px;font-weight:400}
|
|
1608
1608
|
.sg-ws[data-wide] .sg-ws-title{font-family:var(--sg-font);font-size:18px;font-weight:500;letter-spacing:0}
|
|
1609
1609
|
.sg-ws-list{display:flex;flex-direction:column;gap:4px}
|
|
@@ -1648,16 +1648,20 @@ button.sg-ws-sum{cursor:pointer}
|
|
|
1648
1648
|
.sg-ws-foot{flex:0 0 auto}
|
|
1649
1649
|
.sg-btn.sg-ws-cta{height:44px;min-height:44px;padding:0 24px}
|
|
1650
1650
|
.sg-btn.sg-ws-cta:disabled{opacity:.2;cursor:not-allowed}
|
|
1651
|
-
.sg-rcp-row{display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;width:100%;padding:12px 16px;border-radius:24px;background:var(--sg-a4);font-size:12px;line-height:1.2;white-space:nowrap}
|
|
1651
|
+
.sg-rcp-row{display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;width:100%;padding:12px 16px;border:0;border-radius:24px;background:var(--sg-a4);color:inherit;font:inherit;font-size:12px;line-height:1.2;text-align:left;white-space:nowrap}
|
|
1652
|
+
button.sg-rcp-row{cursor:pointer}
|
|
1653
|
+
button.sg-rcp-row:hover:not(:disabled){background:color-mix(in srgb,var(--sg-accent) 8%,transparent)}
|
|
1654
|
+
button.sg-rcp-row[data-wide]:hover:not(:disabled){background:var(--sg-a4)}
|
|
1655
|
+
button.sg-rcp-row:disabled{cursor:not-allowed;opacity:.6}
|
|
1656
|
+
button.sg-rcp-row:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
|
|
1652
1657
|
.sg-rcp-row[data-wide]{background:transparent;border:1px solid var(--sg-a12);padding:12px 16px}
|
|
1653
1658
|
.sg-rcp-row[data-tone="error"]{white-space:normal;color:var(--sg-danger);background:color-mix(in srgb,var(--sg-danger) 8%,transparent)}
|
|
1654
1659
|
.sg-rcp-label{color:var(--sg-t60)}
|
|
1655
|
-
.sg-rcp-end{display:inline-flex;align-items:center;gap:
|
|
1656
|
-
.sg-rcp-
|
|
1657
|
-
.sg-rcp-value
|
|
1658
|
-
.sg-rcp-
|
|
1659
|
-
.sg-rcp-
|
|
1660
|
-
.sg-rcp-change:disabled{opacity:.5;cursor:not-allowed}
|
|
1660
|
+
.sg-rcp-end{display:inline-flex;align-items:center;gap:4px;min-width:0}
|
|
1661
|
+
.sg-rcp-end svg{flex:0 0 auto;color:var(--sg-t80)}
|
|
1662
|
+
.sg-rcp-value{color:var(--sg-t90);font-weight:500;overflow:hidden;text-overflow:ellipsis}
|
|
1663
|
+
.sg-rcp-value[data-tone="choose"]{color:var(--sg-accent)}
|
|
1664
|
+
.sg-rcp-value[data-empty]{color:var(--sg-t50);font-weight:400}
|
|
1661
1665
|
.sg-rcp-opt{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;padding:18px 16px;border:1px solid var(--sg-a12);border-radius:24px;background:transparent;color:var(--sg-text);font:inherit;text-align:left;cursor:pointer}
|
|
1662
1666
|
.sg-rcp-opt[data-selected]{border-color:transparent;background:var(--sg-a4)}
|
|
1663
1667
|
.sg-rcp-opt:hover:not(:disabled):not([data-selected]){border-color:color-mix(in srgb,var(--sg-accent) 40%,transparent)}
|
|
@@ -1668,10 +1672,17 @@ button.sg-ws-sum{cursor:pointer}
|
|
|
1668
1672
|
.sg-rcp-custom[data-open]{flex-direction:column;align-items:stretch;gap:8px;border-color:transparent;background:var(--sg-a4);cursor:default}
|
|
1669
1673
|
.sg-rcp-custom-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
|
|
1670
1674
|
.sg-rcp-custom-head label{cursor:text}
|
|
1671
|
-
.sg-rcp-input{box-sizing:border-box;width:100%;padding:11px
|
|
1675
|
+
.sg-rcp-input{display:block;box-sizing:border-box;width:100%;margin:0;padding:11px 12px;border:1px solid var(--sg-a12);border-radius:12px;background:var(--sg-bg);color:var(--sg-t90);font:inherit;font-size:12px;font-weight:400;line-height:1.2;outline:none;resize:none;overflow:hidden;word-break:break-all;overflow-wrap:anywhere}
|
|
1672
1676
|
.sg-rcp-input::placeholder{color:var(--sg-t50)}
|
|
1673
1677
|
.sg-rcp-input:focus{border-color:var(--sg-accent)}
|
|
1674
|
-
.sg-rcp-input[aria-invalid="true"]{border-color:var(--sg-
|
|
1678
|
+
.sg-rcp-input[aria-invalid="true"]{border-color:color-mix(in srgb,var(--sg-flag) 12%,transparent)}
|
|
1679
|
+
.sg-rcp-input[aria-invalid="true"]:focus{border-color:color-mix(in srgb,var(--sg-flag) 40%,transparent)}
|
|
1680
|
+
.sg-rcp-custom[data-invalid]{background:color-mix(in srgb,var(--sg-flag) 6%,transparent)}
|
|
1681
|
+
.sg-rcp-custom[data-invalid] .sg-rcp-custom-head label{color:var(--sg-t90)}
|
|
1682
|
+
.sg-rcp-custom[data-invalid] .sg-ws-error{font-size:11px;line-height:1.2;color:var(--sg-flag)}
|
|
1683
|
+
.sg-rcp-bad{display:flex;color:var(--sg-flag);opacity:.8;flex:0 0 auto}
|
|
1684
|
+
/* The wide card beside an open sheet draws its disabled CTA like the sheet's own (Figma 3155:50731, 20%). */
|
|
1685
|
+
.sg-duo .sg-cta-wrap .sg-btn:disabled{opacity:.2}
|
|
1675
1686
|
.sg-rcp-hint{margin:0;font-size:12px;font-weight:400;line-height:1.2;color:var(--sg-t60)}
|
|
1676
1687
|
.sg-widget[data-sg-takeover]{display:flex;flex-direction:column}
|
|
1677
1688
|
.sg-widget[data-sg-takeover]>.sg-head,.sg-widget[data-sg-takeover]>.sg-foot{display:none}
|
|
@@ -3966,8 +3977,8 @@ function ShieldTickBold() {
|
|
|
3966
3977
|
}
|
|
3967
3978
|
) });
|
|
3968
3979
|
}
|
|
3969
|
-
function CloseCircleBold() {
|
|
3970
|
-
return /* @__PURE__ */ jsx("svg", { width:
|
|
3980
|
+
function CloseCircleBold({ size = 14 }) {
|
|
3981
|
+
return /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
|
|
3971
3982
|
"path",
|
|
3972
3983
|
{
|
|
3973
3984
|
fill: "currentColor",
|
|
@@ -4056,9 +4067,7 @@ function SheetFrame(props) {
|
|
|
4056
4067
|
}
|
|
4057
4068
|
function WalletChip(props) {
|
|
4058
4069
|
const count = props.addresses.length;
|
|
4059
|
-
if (!count)
|
|
4060
|
-
return /* @__PURE__ */ jsx("button", { type: "button", className: "sg-wallet", onClick: props.onConnect, disabled: props.connecting, children: props.connecting ? "Connecting\u2026" : "Connect wallet" });
|
|
4061
|
-
}
|
|
4070
|
+
if (!count) return null;
|
|
4062
4071
|
const label2 = count === 1 ? chipShort(props.addresses[0]) : `${count} wallets`;
|
|
4063
4072
|
return /* @__PURE__ */ jsxs("button", { type: "button", ref: props.btnRef, className: "sg-wallet", "data-connected": "true", onClick: props.onOpen, disabled: props.disabled, "aria-haspopup": "dialog", "aria-label": `Wallets: ${label2}`, children: [
|
|
4064
4073
|
/* @__PURE__ */ jsx("span", { className: "sg-wallet-dot", "aria-hidden": "true" }),
|
|
@@ -4133,19 +4142,44 @@ function RecipientRow({ state, disabled, wide }) {
|
|
|
4133
4142
|
if (state.error) return /* @__PURE__ */ jsx("div", { className: "sg-rcp-row", "data-wide": wide || void 0, "data-tone": "error", role: "alert", children: state.error });
|
|
4134
4143
|
const address = state.shown;
|
|
4135
4144
|
if (!address && !state.managed) return null;
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
] })
|
|
4146
|
-
|
|
4145
|
+
const value = address ? /* @__PURE__ */ jsxs("span", { className: "sg-rcp-value", title: address, children: [
|
|
4146
|
+
FAMILY_LABEL[state.recipientFamily],
|
|
4147
|
+
" \xB7 ",
|
|
4148
|
+
chipShort(address)
|
|
4149
|
+
] }) : state.missing ? /* @__PURE__ */ jsx("span", { className: "sg-rcp-value", "data-tone": "choose", children: "Choose" }) : /* @__PURE__ */ jsx("span", { className: "sg-rcp-value", "data-empty": "true", children: "--" });
|
|
4150
|
+
if (!state.managed) {
|
|
4151
|
+
return /* @__PURE__ */ jsxs("div", { className: "sg-rcp-row", "data-wide": wide || void 0, children: [
|
|
4152
|
+
/* @__PURE__ */ jsx("span", { className: "sg-rcp-label", children: "Recipient" }),
|
|
4153
|
+
/* @__PURE__ */ jsx("span", { className: "sg-rcp-end", children: value })
|
|
4154
|
+
] });
|
|
4155
|
+
}
|
|
4156
|
+
return /* @__PURE__ */ jsxs(
|
|
4157
|
+
"button",
|
|
4158
|
+
{
|
|
4159
|
+
ref: state.triggerRef,
|
|
4160
|
+
type: "button",
|
|
4161
|
+
className: "sg-rcp-row",
|
|
4162
|
+
"data-wide": wide || void 0,
|
|
4163
|
+
onClick: state.show,
|
|
4164
|
+
disabled,
|
|
4165
|
+
"aria-haspopup": "dialog",
|
|
4166
|
+
"aria-label": address ? `Recipient: ${FAMILY_LABEL[state.recipientFamily]} ${chipShort(address)}. Change recipient` : "Choose recipient",
|
|
4167
|
+
children: [
|
|
4168
|
+
/* @__PURE__ */ jsx("span", { className: "sg-rcp-label", children: "Recipient" }),
|
|
4169
|
+
/* @__PURE__ */ jsxs("span", { className: "sg-rcp-end", children: [
|
|
4170
|
+
value,
|
|
4171
|
+
/* @__PURE__ */ jsx(ChevronRight, {})
|
|
4172
|
+
] })
|
|
4173
|
+
]
|
|
4174
|
+
}
|
|
4175
|
+
);
|
|
4147
4176
|
}
|
|
4148
|
-
function RecipientSheet({
|
|
4177
|
+
function RecipientSheet({
|
|
4178
|
+
state,
|
|
4179
|
+
wide,
|
|
4180
|
+
minHeight,
|
|
4181
|
+
onPending
|
|
4182
|
+
}) {
|
|
4149
4183
|
const family = state.recipientFamily;
|
|
4150
4184
|
const label2 = FAMILY_LABEL[family];
|
|
4151
4185
|
const eligible = state.wallets.filter((w) => w.eligible);
|
|
@@ -4155,7 +4189,6 @@ function RecipientSheet({ state, wide, minHeight }) {
|
|
|
4155
4189
|
return current ? { kind: "wallet", address: current.address } : { kind: "custom" };
|
|
4156
4190
|
});
|
|
4157
4191
|
const [draft, setDraft] = useState(state.typed);
|
|
4158
|
-
const [editing, setEditing] = useState(false);
|
|
4159
4192
|
const id = useId();
|
|
4160
4193
|
const inputRef = useRef(null);
|
|
4161
4194
|
const noWallet = family === "solana" && !state.familyWallet.address && !state.familyWallet.wallets.length;
|
|
@@ -4167,6 +4200,30 @@ function RecipientSheet({ state, wide, minHeight }) {
|
|
|
4167
4200
|
const chosenWallet = choice.kind === "wallet" ? eligible.find((w) => w.address === choice.address) : void 0;
|
|
4168
4201
|
const ready = choice.kind === "wallet" ? Boolean(chosenWallet) : valid;
|
|
4169
4202
|
const custom = choice.kind === "custom";
|
|
4203
|
+
const appliedWallet = state.typed ? null : state.recipient ?? state.shown ?? null;
|
|
4204
|
+
const pending = choice.kind === "custom" ? !state.typed || draft.trim() !== state.typed : choice.address !== appliedWallet;
|
|
4205
|
+
const pendingRef = useRef(onPending);
|
|
4206
|
+
pendingRef.current = onPending;
|
|
4207
|
+
useEffect(() => pendingRef.current?.(pending), [pending]);
|
|
4208
|
+
useEffect(() => () => pendingRef.current?.(false), []);
|
|
4209
|
+
useLayoutEffect(() => {
|
|
4210
|
+
const el = inputRef.current;
|
|
4211
|
+
if (!el) return;
|
|
4212
|
+
const fit = () => {
|
|
4213
|
+
el.style.height = "auto";
|
|
4214
|
+
el.style.height = `${el.scrollHeight + (el.offsetHeight - el.clientHeight)}px`;
|
|
4215
|
+
};
|
|
4216
|
+
fit();
|
|
4217
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
4218
|
+
let width = el.clientWidth;
|
|
4219
|
+
const observer = new ResizeObserver(() => {
|
|
4220
|
+
if (el.clientWidth === width) return;
|
|
4221
|
+
width = el.clientWidth;
|
|
4222
|
+
fit();
|
|
4223
|
+
});
|
|
4224
|
+
observer.observe(el);
|
|
4225
|
+
return () => observer.disconnect();
|
|
4226
|
+
}, [draft, custom, wide]);
|
|
4170
4227
|
useEffect(() => {
|
|
4171
4228
|
if (custom) inputRef.current?.focus();
|
|
4172
4229
|
}, [custom]);
|
|
@@ -4223,33 +4280,35 @@ function RecipientSheet({ state, wide, minHeight }) {
|
|
|
4223
4280
|
/* @__PURE__ */ jsx("span", { children: wallet.name }),
|
|
4224
4281
|
/* @__PURE__ */ jsx(AddCircle, {})
|
|
4225
4282
|
] }, wallet.name)) : null,
|
|
4226
|
-
custom ? /* @__PURE__ */ jsxs("div", { className: "sg-rcp-custom", "data-open": "true", children: [
|
|
4283
|
+
custom ? /* @__PURE__ */ jsxs("div", { className: "sg-rcp-custom", "data-open": "true", "data-invalid": invalid || void 0, children: [
|
|
4227
4284
|
/* @__PURE__ */ jsxs("div", { className: "sg-rcp-custom-head", children: [
|
|
4228
4285
|
/* @__PURE__ */ jsx("label", { htmlFor: id, children: "Add another address" }),
|
|
4229
|
-
/* @__PURE__ */ jsx("span", { className: "sg-rcp-tick", children: /* @__PURE__ */ jsx(Tick2, {}) })
|
|
4286
|
+
invalid ? /* @__PURE__ */ jsx("span", { className: "sg-rcp-bad", children: /* @__PURE__ */ jsx(CloseCircleBold, { size: 16 }) }) : /* @__PURE__ */ jsx("span", { className: "sg-rcp-tick", children: /* @__PURE__ */ jsx(Tick2, {}) })
|
|
4230
4287
|
] }),
|
|
4231
4288
|
/* @__PURE__ */ jsx(
|
|
4232
|
-
"
|
|
4289
|
+
"textarea",
|
|
4233
4290
|
{
|
|
4234
4291
|
ref: inputRef,
|
|
4292
|
+
rows: 1,
|
|
4235
4293
|
id,
|
|
4236
4294
|
className: "sg-rcp-input",
|
|
4237
4295
|
placeholder: family === "solana" ? "Solana recipient address" : "0x...Recipient address",
|
|
4238
4296
|
"aria-label": `${label2} recipient address`,
|
|
4239
4297
|
"aria-invalid": invalid || void 0,
|
|
4240
4298
|
"aria-describedby": invalid ? `${id}-error` : void 0,
|
|
4241
|
-
value:
|
|
4242
|
-
|
|
4243
|
-
onBlur: () => setEditing(false),
|
|
4244
|
-
onChange: (event) => setDraft(event.target.value),
|
|
4299
|
+
value: draft,
|
|
4300
|
+
onChange: (event) => setDraft(event.target.value.replace(/\s+/g, "")),
|
|
4245
4301
|
onKeyDown: (event) => {
|
|
4246
|
-
if (event.key === "Enter")
|
|
4302
|
+
if (event.key === "Enter") {
|
|
4303
|
+
event.preventDefault();
|
|
4304
|
+
confirm();
|
|
4305
|
+
}
|
|
4247
4306
|
},
|
|
4248
4307
|
spellCheck: false,
|
|
4249
4308
|
autoComplete: "off"
|
|
4250
4309
|
}
|
|
4251
4310
|
),
|
|
4252
|
-
invalid ? /* @__PURE__ */ jsx("p", { id: `${id}-error`, className: "sg-ws-error", children: shapeOk && !checksumOk ? "Checksum does not match. Check the address for a typo." : `
|
|
4311
|
+
invalid ? /* @__PURE__ */ jsx("p", { id: `${id}-error`, className: "sg-ws-error", children: shapeOk && !checksumOk ? "Checksum does not match. Check the address for a typo." : `Enter a valid ${label2} address` }) : null,
|
|
4253
4312
|
noWallet ? /* @__PURE__ */ jsxs("p", { className: "sg-rcp-hint", children: [
|
|
4254
4313
|
"No ",
|
|
4255
4314
|
label2,
|
|
@@ -6400,6 +6459,8 @@ function ExchangeCard(props) {
|
|
|
6400
6459
|
const title = config.title || (mode === "onramp" ? "Buy stablecoins" : mode === "offramp" ? "Cash out" : "Exchange");
|
|
6401
6460
|
const soonLabel = mode === "onramp" ? "On-ramp coming soon" : "Off-ramp coming soon";
|
|
6402
6461
|
const quotePaused = solActive ? false : addressed ? flow.quotePaused : idle2 && preview.status === "ready";
|
|
6462
|
+
const [recipientPending, setRecipientPending] = useState(false);
|
|
6463
|
+
const recipientLocked = wide && recipientState.open && recipientPending;
|
|
6403
6464
|
const ctaLabel = rampMode ? soonLabel : submitting ? "Exchanging\u2026" : connected2 && flow.quoteStale ? flow.quotePaused ? "Refresh quote" : "Refreshing quote\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall || "Exchange";
|
|
6404
6465
|
const selected = addressed ? flow.selected : null;
|
|
6405
6466
|
const hasQuote = Boolean(quotable && !quoting && !quoteError && receive);
|
|
@@ -6433,8 +6494,6 @@ function ExchangeCard(props) {
|
|
|
6433
6494
|
WalletChip,
|
|
6434
6495
|
{
|
|
6435
6496
|
addresses: sheetWallets.map((w) => w.address),
|
|
6436
|
-
connecting: wallet.connecting,
|
|
6437
|
-
onConnect: wallet.connect,
|
|
6438
6497
|
btnRef: walletChipRef,
|
|
6439
6498
|
disabled: submitting,
|
|
6440
6499
|
onOpen: () => {
|
|
@@ -6503,7 +6562,7 @@ function ExchangeCard(props) {
|
|
|
6503
6562
|
connect: !wallet.account ? { family: "evm", onClick: () => void wallet.connect(), busy: wallet.connecting } : !solanaWallet.address ? { family: "solana", onClick: (name) => void solanaWallet.connect(name), busy: solanaWallet.status === "connecting", choices: solanaWallet.wallets.map((w) => w.name) } : void 0,
|
|
6504
6563
|
error: solanaWallet.error || wallet.error
|
|
6505
6564
|
}
|
|
6506
|
-
) : recipientState.open ? /* @__PURE__ */ jsx(RecipientSheet, { state: recipientState, wide }) : sheet === "compliance" ? /* @__PURE__ */ jsx(ComplianceSheet, { compliance, direct: selected?.state === "DIRECT", hasQuote: complianceHasQuote, onClose: closeSheet }) : sheet === "quote" && hasQuote ? /* @__PURE__ */ jsx(
|
|
6565
|
+
) : recipientState.open ? /* @__PURE__ */ jsx(RecipientSheet, { state: recipientState, wide, onPending: wide ? setRecipientPending : void 0 }) : sheet === "compliance" ? /* @__PURE__ */ jsx(ComplianceSheet, { compliance, direct: selected?.state === "DIRECT", hasQuote: complianceHasQuote, onClose: closeSheet }) : sheet === "quote" && hasQuote ? /* @__PURE__ */ jsx(
|
|
6507
6566
|
QuoteSheet,
|
|
6508
6567
|
{
|
|
6509
6568
|
onClose: closeSheet,
|
|
@@ -6540,7 +6599,7 @@ function ExchangeCard(props) {
|
|
|
6540
6599
|
{
|
|
6541
6600
|
onClick: solFlow.run,
|
|
6542
6601
|
busy: submitting,
|
|
6543
|
-
disabled: !quotable || !cryptoReady || !!recipientState.error || !solFlow.plan || solFlow.insufficient || solFlow.solShort || solFlow.status === "quoting",
|
|
6602
|
+
disabled: recipientLocked || !quotable || !cryptoReady || !!recipientState.error || !solFlow.plan || solFlow.insufficient || solFlow.solShort || solFlow.status === "quoting",
|
|
6544
6603
|
children: solFlow.status === "preparing" ? "Preparing order\u2026" : solFlow.status === "submitting" ? "Submitting\u2026" : solFlow.insufficient ? "Insufficient balance" : solFlow.solShort ? "Not enough SOL for network fees" : solFlow.status === "failed" ? "Try again" : !solFlow.plan ? "Exchange" : solFlow.needsPreparation ? "Continue in wallet" : "Submit"
|
|
6545
6604
|
}
|
|
6546
6605
|
);
|
|
@@ -6634,7 +6693,7 @@ function ExchangeCard(props) {
|
|
|
6634
6693
|
"Connect ",
|
|
6635
6694
|
recipientState.recipientFamily === "solana" ? "Solana" : "EVM",
|
|
6636
6695
|
" wallet"
|
|
6637
|
-
] }) : /* @__PURE__ */ jsx(Button, { onClick: rampMode ? void 0 : flow.submit, busy: submitting, disabled: needsRecipient || rampMode || !quotable || !cryptoReady || connected2 && (!flow.selected || flow.insufficient || !!flow.nativeShortfall || flow.status === "loading"), children: ctaLabel }),
|
|
6696
|
+
] }) : /* @__PURE__ */ jsx(Button, { onClick: rampMode ? void 0 : flow.submit, busy: submitting, disabled: needsRecipient || recipientLocked || rampMode || !quotable || !cryptoReady || connected2 && (!flow.selected || flow.insufficient || !!flow.nativeShortfall || flow.status === "loading"), children: ctaLabel }),
|
|
6638
6697
|
wallet.error ? /* @__PURE__ */ jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
|
|
6639
6698
|
] });
|
|
6640
6699
|
const notices = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -6655,7 +6714,7 @@ function ExchangeCard(props) {
|
|
|
6655
6714
|
] }),
|
|
6656
6715
|
amountField,
|
|
6657
6716
|
amountNoteEl,
|
|
6658
|
-
/* @__PURE__ */ jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode
|
|
6717
|
+
/* @__PURE__ */ jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode === "onramp" ? null : fromBal ? shortBalance(fromBal.formatted) : connected2 ? null : "--" })
|
|
6659
6718
|
] })
|
|
6660
6719
|
] }),
|
|
6661
6720
|
notices,
|
|
@@ -6673,7 +6732,7 @@ function ExchangeCard(props) {
|
|
|
6673
6732
|
payToken
|
|
6674
6733
|
] }),
|
|
6675
6734
|
amountNoteEl,
|
|
6676
|
-
/* @__PURE__ */ jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode
|
|
6735
|
+
/* @__PURE__ */ jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode === "onramp" ? null : fromBal ? shortBalance(fromBal.formatted) : connected2 ? null : "--" })
|
|
6677
6736
|
] }),
|
|
6678
6737
|
/* @__PURE__ */ jsx(FlipButton, { onClick: flip, disabled: !flippable }),
|
|
6679
6738
|
/* @__PURE__ */ jsxs("div", { className: "sg-pane", "data-kind": "receive", children: [
|
|
@@ -1688,6 +1688,8 @@ var FAILED = /* @__PURE__ */ new Set(["cancelled", "fill_failed", "delivery_fail
|
|
|
1688
1688
|
var ATTENTION = /* @__PURE__ */ new Set(["cancel_pending", "awaiting_claim"]);
|
|
1689
1689
|
var TRACKING = Object.freeze({ phase: "tracking", status: "", steps: [] });
|
|
1690
1690
|
var word = (v) => typeof v === "string" ? v.trim().toLowerCase() : "";
|
|
1691
|
+
var STEP_ORDER = { submitted: 0, arrived: 1, filled: 2, delivered: 3 };
|
|
1692
|
+
var STATUS_REACHED = { in_progress: 1, outbound_bridging: 2, delivery_failed: 2, delivered: 3 };
|
|
1691
1693
|
function normalizeDelivery(raw2) {
|
|
1692
1694
|
const row = raw2 && typeof raw2 === "object" && !Array.isArray(raw2) ? raw2.data ?? raw2 : null;
|
|
1693
1695
|
if (!row || typeof row !== "object" || Array.isArray(row)) return TRACKING;
|
|
@@ -1697,7 +1699,9 @@ function normalizeDelivery(raw2) {
|
|
|
1697
1699
|
const own = word(r.status);
|
|
1698
1700
|
const status = journey || own;
|
|
1699
1701
|
const rawSteps = Array.isArray(r.steps) ? r.steps : [];
|
|
1700
|
-
const
|
|
1702
|
+
const listed = rawSteps.filter((s) => s && typeof s === "object" && typeof s.stepName === "string").sort((a, b) => Number(a.stepNumber ?? 0) - Number(b.stepNumber ?? 0)).slice(0, 8).map((s) => ({ name: String(s.stepName).slice(0, 32), done: s.stepStatus === "completed" }));
|
|
1703
|
+
const reached = Math.max(STATUS_REACHED[own] ?? -1, ...listed.filter((s) => s.done).map((s) => STEP_ORDER[s.name] ?? -1));
|
|
1704
|
+
const steps = listed.map((s) => (STEP_ORDER[s.name] ?? Infinity) <= reached ? { ...s, done: true } : s);
|
|
1701
1705
|
if (!status) return TRACKING;
|
|
1702
1706
|
if (FAILED.has(status)) return { phase: "failed", status, steps };
|
|
1703
1707
|
if (ATTENTION.has(status)) return { phase: "attention", status, steps };
|
|
@@ -2899,7 +2903,7 @@ var CHANNEL_HEADER = "x-zd-channel";
|
|
|
2899
2903
|
var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
|
|
2900
2904
|
var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
|
|
2901
2905
|
var WIDGET_CHANNEL = "widget";
|
|
2902
|
-
var WIDGET_VERSION = "4.
|
|
2906
|
+
var WIDGET_VERSION = "4.15.0" ;
|
|
2903
2907
|
var MAX_CHANNEL_VERSION_LEN = 32;
|
|
2904
2908
|
function sanitizeVersion(raw2) {
|
|
2905
2909
|
const v = String(raw2).trim();
|
package/dist/core/index.cjs
CHANGED
|
@@ -2260,6 +2260,8 @@ var FAILED = /* @__PURE__ */ new Set(["cancelled", "fill_failed", "delivery_fail
|
|
|
2260
2260
|
var ATTENTION = /* @__PURE__ */ new Set(["cancel_pending", "awaiting_claim"]);
|
|
2261
2261
|
var TRACKING = Object.freeze({ phase: "tracking", status: "", steps: [] });
|
|
2262
2262
|
var word = (v) => typeof v === "string" ? v.trim().toLowerCase() : "";
|
|
2263
|
+
var STEP_ORDER = { submitted: 0, arrived: 1, filled: 2, delivered: 3 };
|
|
2264
|
+
var STATUS_REACHED = { in_progress: 1, outbound_bridging: 2, delivery_failed: 2, delivered: 3 };
|
|
2263
2265
|
function normalizeDelivery(raw2) {
|
|
2264
2266
|
const row = raw2 && typeof raw2 === "object" && !Array.isArray(raw2) ? raw2.data ?? raw2 : null;
|
|
2265
2267
|
if (!row || typeof row !== "object" || Array.isArray(row)) return TRACKING;
|
|
@@ -2269,7 +2271,9 @@ function normalizeDelivery(raw2) {
|
|
|
2269
2271
|
const own = word(r.status);
|
|
2270
2272
|
const status = journey || own;
|
|
2271
2273
|
const rawSteps = Array.isArray(r.steps) ? r.steps : [];
|
|
2272
|
-
const
|
|
2274
|
+
const listed = rawSteps.filter((s) => s && typeof s === "object" && typeof s.stepName === "string").sort((a, b) => Number(a.stepNumber ?? 0) - Number(b.stepNumber ?? 0)).slice(0, 8).map((s) => ({ name: String(s.stepName).slice(0, 32), done: s.stepStatus === "completed" }));
|
|
2275
|
+
const reached = Math.max(STATUS_REACHED[own] ?? -1, ...listed.filter((s) => s.done).map((s) => STEP_ORDER[s.name] ?? -1));
|
|
2276
|
+
const steps = listed.map((s) => (STEP_ORDER[s.name] ?? Infinity) <= reached ? { ...s, done: true } : s);
|
|
2273
2277
|
if (!status) return TRACKING;
|
|
2274
2278
|
if (FAILED.has(status)) return { phase: "failed", status, steps };
|
|
2275
2279
|
if (ATTENTION.has(status)) return { phase: "attention", status, steps };
|
|
@@ -3471,7 +3475,7 @@ var CHANNEL_HEADER = "x-zd-channel";
|
|
|
3471
3475
|
var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
|
|
3472
3476
|
var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
|
|
3473
3477
|
var WIDGET_CHANNEL = "widget";
|
|
3474
|
-
var WIDGET_VERSION = "4.
|
|
3478
|
+
var WIDGET_VERSION = "4.15.0" ;
|
|
3475
3479
|
var MAX_CHANNEL_VERSION_LEN = 32;
|
|
3476
3480
|
function sanitizeVersion(raw2) {
|
|
3477
3481
|
const v = String(raw2).trim();
|
package/dist/core/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CANONICAL_SOLANA_PROGRAM, CHAIN_DISPLAY_NAMES, COMPLIANCE_CHECK_ORDER, COMPLIANCE_DENY_LABEL, DEFAULT_WIDGET_API_BASE, DIRECT_CHECK_IDS, DIRECT_SCOPE_NOTE, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, FLOOR_CATEGORIES, LZ_FEE_BUFFER_BPS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, PREVIEW_OWNER, QUOTE_BUFFER_BPS, SAME_CLASS_STABLE, SCREENING_BUCKETS, SCREEN_CACHE_TTL_MS, SOLANA_CHAIN_ID, SOLANA_DESTINATION_ASSETS, SOL_SHORTFALL_MESSAGE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_DISCRIMINATOR, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SolanaSendError, TRACKING, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, WALLET_HISTORY_LIMIT, ZERO_ADDRESS, addressWord, allowanceCovers, amountFieldError, apiError, applyLayerZeroBuffer, askCovers, askTokenDecimals, assertAddress, assertChainAddress, assertQuoteMatchesSelection, assertWalletMessage, assetClassOf, assetDecimals, associatedTokenAddress, base58Decode, base58Encode, base64Decode, base64Encode, blockLabelFor, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSolanaSourcePlan, buildSwapPlan, bytes32Word, bytesEqual, bytesPayload, canAttachApiKey, categoryLabel, chainAddressKey, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, checkSolanaPlan as checkPlan, checkSolanaPlan, checkSolanaProgram, checkSolanaReceiver, checkSolanaRouteBuffer, classifyQuoteError, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, cosignSolanaEvent, counterpartTokens, createApiClient, createEngine, createSolanaRpc, createVerifier, decodeSolanaSubmitOrder, decodeSolanaSubmitOrder as decodeSubmitOrder, decodeSubmitOrderCalldata, deriveSolanaEvent, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeNextSolanaOrders, encodeSubmitOrder, encodeTransfer, exceedsLaneLimit, executableRoutes, executeSolanaPlan, executeSolanaPlanStaged, executionChainIds, expectedSolanaDelivery, fetchDelivery, fetchPaymentPlan, fetchWalletHistory, finalOf, findProgramAddress, findToken, foldTicker, formatJurisdiction, formatNative, formatUnits, hasReachableDestination, hexBytes, hexToSolanaKey, historyEntryFromOrder, historyKey, hubDeliverableSymbols, humanizeComplianceReason, isAddress, isChainAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isOnEd25519Curve, isPreparationInstruction, isSellableRwa, isSolanaAddress, isSolanaChainId, isSourceToken, isSubmitOrder, laneAvailabilityState, laneKey, laneKeys, laneLimitAmount, laneLimitError, laneLimitFor, laneLimitHint, laneLimitSymbol, limitedLanes, maxDeadlineSeconds, maxNativeFeeWei, mergeHistory, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeDelivery, normalizeOrderRequest, normalizeOrderRequests, overwriteBlockhash, parseAddressLookupTable, parseAllowedApiBase, parseSolanaTransaction, parseUnitsDecimal, placeSignature, planErrorSummary, planMsgValueHex, pollSolanaConfirmation, previewSolanaSource, productAssets, quotePartnerId, quotePayOption, quoteSolanaSource, quoteSwapPreview, readSolanaBalance, recommendedDeadlineSeconds, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSolanaKeys, resolveSwapReceiver, resolveVaultIcon, routeNativeValue, safeTicker, scaleDecimals, screeningOutcomeOf, serializeSolanaTransaction, sha256, simulateSolanaCost, solanaBridgeOf, solanaDestinationAsset, solanaKeyBytes, solanaKeyHex, solanaLamportShortfall, solanaPlanNeedsPreparation, solanaQuoteCompliance, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, tickerOn, toHexQuantity, tokenEnabled, tokenKey, tokenTicker, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, verifySolanaSubmit, verifySolanaTransaction, verifySolanaSubmit as verifySubmit, verifySolanaTransaction as verifyTransaction, withVaultArtwork } from '../chunk-
|
|
1
|
+
export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CANONICAL_SOLANA_PROGRAM, CHAIN_DISPLAY_NAMES, COMPLIANCE_CHECK_ORDER, COMPLIANCE_DENY_LABEL, DEFAULT_WIDGET_API_BASE, DIRECT_CHECK_IDS, DIRECT_SCOPE_NOTE, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, FLOOR_CATEGORIES, LZ_FEE_BUFFER_BPS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, PREVIEW_OWNER, QUOTE_BUFFER_BPS, SAME_CLASS_STABLE, SCREENING_BUCKETS, SCREEN_CACHE_TTL_MS, SOLANA_CHAIN_ID, SOLANA_DESTINATION_ASSETS, SOL_SHORTFALL_MESSAGE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_DISCRIMINATOR, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SolanaSendError, TRACKING, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, WALLET_HISTORY_LIMIT, ZERO_ADDRESS, addressWord, allowanceCovers, amountFieldError, apiError, applyLayerZeroBuffer, askCovers, askTokenDecimals, assertAddress, assertChainAddress, assertQuoteMatchesSelection, assertWalletMessage, assetClassOf, assetDecimals, associatedTokenAddress, base58Decode, base58Encode, base64Decode, base64Encode, blockLabelFor, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSolanaSourcePlan, buildSwapPlan, bytes32Word, bytesEqual, bytesPayload, canAttachApiKey, categoryLabel, chainAddressKey, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, checkSolanaPlan as checkPlan, checkSolanaPlan, checkSolanaProgram, checkSolanaReceiver, checkSolanaRouteBuffer, classifyQuoteError, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, cosignSolanaEvent, counterpartTokens, createApiClient, createEngine, createSolanaRpc, createVerifier, decodeSolanaSubmitOrder, decodeSolanaSubmitOrder as decodeSubmitOrder, decodeSubmitOrderCalldata, deriveSolanaEvent, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeNextSolanaOrders, encodeSubmitOrder, encodeTransfer, exceedsLaneLimit, executableRoutes, executeSolanaPlan, executeSolanaPlanStaged, executionChainIds, expectedSolanaDelivery, fetchDelivery, fetchPaymentPlan, fetchWalletHistory, finalOf, findProgramAddress, findToken, foldTicker, formatJurisdiction, formatNative, formatUnits, hasReachableDestination, hexBytes, hexToSolanaKey, historyEntryFromOrder, historyKey, hubDeliverableSymbols, humanizeComplianceReason, isAddress, isChainAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isOnEd25519Curve, isPreparationInstruction, isSellableRwa, isSolanaAddress, isSolanaChainId, isSourceToken, isSubmitOrder, laneAvailabilityState, laneKey, laneKeys, laneLimitAmount, laneLimitError, laneLimitFor, laneLimitHint, laneLimitSymbol, limitedLanes, maxDeadlineSeconds, maxNativeFeeWei, mergeHistory, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeDelivery, normalizeOrderRequest, normalizeOrderRequests, overwriteBlockhash, parseAddressLookupTable, parseAllowedApiBase, parseSolanaTransaction, parseUnitsDecimal, placeSignature, planErrorSummary, planMsgValueHex, pollSolanaConfirmation, previewSolanaSource, productAssets, quotePartnerId, quotePayOption, quoteSolanaSource, quoteSwapPreview, readSolanaBalance, recommendedDeadlineSeconds, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSolanaKeys, resolveSwapReceiver, resolveVaultIcon, routeNativeValue, safeTicker, scaleDecimals, screeningOutcomeOf, serializeSolanaTransaction, sha256, simulateSolanaCost, solanaBridgeOf, solanaDestinationAsset, solanaKeyBytes, solanaKeyHex, solanaLamportShortfall, solanaPlanNeedsPreparation, solanaQuoteCompliance, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, tickerOn, toHexQuantity, tokenEnabled, tokenKey, tokenTicker, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, verifySolanaSubmit, verifySolanaTransaction, verifySolanaSubmit as verifySubmit, verifySolanaTransaction as verifyTransaction, withVaultArtwork } from '../chunk-GWQKWJJA.js';
|