@glacislabs/stablegenie-zerodelta 4.0.0 → 4.1.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.
@@ -1,5 +1,5 @@
1
- import { T as Token, Q as Quote, N as NormalizedOrder, q as PayOption, g as RouteResult, b as Chain, R as Route, a as Catalogue, F as FetchQuoteFn, r as SolveResult, O as OrderRequest, C as Compliance, s as BalanceTarget, t as BalanceEntry, u as ApiClient, P as Plan, v as SwapInput, w as PlannedTx, x as Verifier, f as ExchangeProduct, h as TxHistoryEntry, S as SanitizedTxEntry, E as EngineConfig } from '../verify-C9vzpm4T.cjs';
2
- export { y as Address, z as ApiError, A as Availability, D as BLOCK_LABEL_DEFAULT, B as BrokenLane, G as COMPLIANCE_CHECK_ORDER, H as COMPLIANCE_DENY_LABEL, I as CatalogueContext, J as CatalogueInput, c as ComplianceCheck, K as ComplianceCheckId, L as ComplianceDecision, d as ComplianceTone, e as ComplianceView, M as DIRECT_CHECK_IDS, U as DIRECT_SCOPE_NOTE, X as Destination, Y as FLOOR_CATEGORIES, Z as Hex, _ as PlannedTxKind, $ as QuoteBlock, a0 as ResolvedConfig, a1 as RouteHealth, a2 as RouteHealthLane, a3 as SCREENING_BUCKETS, a4 as ScreenProvider, a5 as ScreeningBucket, a6 as ScreeningOutcome, a7 as TUNABLE_CATEGORIES, a8 as TxPlan, V as VerifyResult, W as WalletScreen, a9 as apiError, i as assetClassOf, aa as blockLabelFor, ab as brokenLaneFor, j as brokenLaneReason, ac as buildCatalogue, ad as canAttachApiKey, ae as categoryLabel, af as classifyQuoteError, k as complianceChecks, ag as complianceControlsEvaluated, l as complianceControlsLine, ah as complianceReasonHead, ai as complianceReasonTag, aj as complianceTagOf, m as complianceView, n as counterpartTokens, ak as createApiClient, al as createVerifier, o as destinationAvailability, am as destinationKeys, an as directComplianceFromScreens, ao as distinctScreenedWallets, ap as executableRoutes, aq as executionChainIds, ar as hasReachableDestination, as as hubDeliverableSymbols, p as humanizeComplianceReason, at as isExecutableBridge, au as isKnownUnbridgeable, av as isSourceToken, aw as laneKey, ax as laneKeys, ay as parseAllowedApiBase, az as productAssets, aA as registryRpc, aB as resolveApiBase, aC as resolveConfig, aD as screeningOutcomeOf, aE as sourceKeys, aF as suppressedLanes, aG as tokenKey, aH as txMatchesPlan, aI as unattributedComplianceReasons } from '../verify-C9vzpm4T.cjs';
1
+ import { T as Token, Q as Quote, N as NormalizedOrder, r as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, s as RwaVault, F as FetchQuoteFn, t as SolveResult, O as OrderRequest, C as Compliance, u as BalanceTarget, v as BalanceEntry, w as ApiClient, P as Plan, x as SwapInput, y as PlannedTx, z as Verifier, f as ExchangeProduct, i as TxHistoryEntry, S as SanitizedTxEntry, E as EngineConfig } from '../verify-Bdw8-YWZ.cjs';
2
+ export { D as Address, G as ApiError, A as Availability, H as BLOCK_LABEL_DEFAULT, B as BrokenLane, I as COMPLIANCE_CHECK_ORDER, J as COMPLIANCE_DENY_LABEL, K as CatalogueContext, L as CatalogueInput, c as ComplianceCheck, M as ComplianceCheckId, U as ComplianceDecision, d as ComplianceTone, e as ComplianceView, X as DIRECT_CHECK_IDS, Y as DIRECT_SCOPE_NOTE, Z as Destination, _ as FLOOR_CATEGORIES, $ as Hex, a0 as PlannedTxKind, a1 as QuoteBlock, a2 as ResolvedConfig, a3 as RouteHealth, a4 as RouteHealthLane, g as RouteLeg, a5 as SCREENING_BUCKETS, a6 as ScreenProvider, a7 as ScreeningBucket, a8 as ScreeningOutcome, a9 as TUNABLE_CATEGORIES, aa as TxPlan, V as VerifyResult, W as WalletScreen, ab as apiError, j as assetClassOf, ac as blockLabelFor, ad as brokenLaneFor, k as brokenLaneReason, ae as buildCatalogue, af as canAttachApiKey, ag as categoryLabel, ah as classifyQuoteError, l as complianceChecks, ai as complianceControlsEvaluated, m as complianceControlsLine, aj as complianceReasonHead, ak as complianceReasonTag, al as complianceTagOf, n as complianceView, o as counterpartTokens, am as createApiClient, an as createVerifier, p as destinationAvailability, ao as destinationKeys, ap as directComplianceFromScreens, aq as distinctScreenedWallets, ar as executableRoutes, as as executionChainIds, at as hasReachableDestination, au as hubDeliverableSymbols, q as humanizeComplianceReason, av as isExecutableBridge, aw as isKnownUnbridgeable, ax as isSourceToken, ay as laneKey, az as laneKeys, aA as parseAllowedApiBase, aB as productAssets, aC as registryRpc, aD as resolveApiBase, aE as resolveConfig, aF as screeningOutcomeOf, aG as sourceKeys, aH as suppressedLanes, aI as tokenKey, aJ as txMatchesPlan, aK as unattributedComplianceReasons } from '../verify-Bdw8-YWZ.cjs';
3
3
 
4
4
  /** Default request base for the widget: the same-origin keyless custody proxy (server injects the
5
5
  * ZeroDelta key). A host may override to `/api/v1` + an apiKey for the demo-first fallback path. */
@@ -235,6 +235,24 @@ interface BuildPayOptionsArgs {
235
235
  */
236
236
  declare function buildPayOptions({ invoiceAsset, invoiceChainId, tokens, routes, chains, walletChainId, catalogue }: BuildPayOptionsArgs): PayOption[];
237
237
 
238
+ /**
239
+ * Turn the gateway's root-relative icon path into one the WIDGET can load.
240
+ *
241
+ * The dapp can use `/api/v1/rwa/icons/x.png` verbatim because it is served from the gateway's own
242
+ * origin. The widget is embedded in someone else's page, so the same string would resolve against
243
+ * the HOST and 404 — it has to go through the widget's `apiBase` (the keyless proxy), which relays
244
+ * the bytes same-origin. Returns undefined for anything that is not the gateway's icon route, so an
245
+ * `iconUrl` repointed at a third party by a hostile response never reaches an `<img>`.
246
+ */
247
+ declare function resolveVaultIcon(apiBase: string, iconPath: unknown): string | undefined;
248
+ /** Symbol key → widget-loadable icon URL. The MINI mark wins: it is the round badge the pickers want,
249
+ * and the full-size one is a card image. */
250
+ declare function vaultIconsBySymbol(apiBase: string, vaults: readonly RwaVault[]): Map<string, string>;
251
+ /** Fill in `logoUrl` on the deployments that have none. Registry artwork always wins — deJAAA and
252
+ * deSPXA already ship one — and a token whose vault publishes nothing is returned untouched, so it
253
+ * falls through to the letters disc exactly as before. */
254
+ declare function withVaultArtwork(tokens: readonly Token[], icons: ReadonlyMap<string, string>): Token[];
255
+
238
256
  interface SolveArgs {
239
257
  option: PayOption;
240
258
  destination: {
@@ -290,6 +308,9 @@ interface BuildRouteArgs {
290
308
  };
291
309
  destinationToken: Token;
292
310
  chains: Chain[];
311
+ /** The registry, used ONLY to name the intermediate hop of a chained order. Omit and a two-leg
312
+ * route still reports both legs — the middle asset simply goes unnamed. */
313
+ tokens?: Token[];
293
314
  payer: string;
294
315
  fetchQuote: FetchQuoteFn;
295
316
  solve?: typeof solveExactOut;
@@ -303,7 +324,7 @@ interface BuildRouteArgs {
303
324
  */
304
325
  compliance?: Compliance;
305
326
  }
306
- declare function buildRoute({ option, destination, destinationToken, chains, payer, fetchQuote, solve, amountInRaw, compliance }: BuildRouteArgs): Promise<RouteResult>;
327
+ declare function buildRoute({ option, destination, destinationToken, chains, tokens, payer, fetchQuote, solve, amountInRaw, compliance, }: BuildRouteArgs): Promise<RouteResult>;
307
328
 
308
329
  interface PayRequest {
309
330
  address: string;
@@ -501,4 +522,4 @@ interface Engine {
501
522
  /** Create an engine bound to a config. The 60s resource cache is per-engine. */
502
523
  declare function createEngine(config?: EngineConfig): Engine;
503
524
 
504
- export { API_CACHE_TTL_MS, ApiClient, type AssertQuoteArgs, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BalanceEntry, type BalanceReader, BalanceTarget, type BuildPayOptionsArgs, type BuildRouteArgs, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, Catalogue, Chain, Compliance, DEFAULT_WIDGET_API_BASE, type DecodedOrderRequest, type DecodedSubmitOrder, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, type Engine, EngineConfig, ExchangeProduct, FetchQuoteFn, 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, type NativeFeeCheck, NormalizedOrder, OrderRequest, PREVIEW_OWNER, PayOption, type PayRequest, type PaymentWalletContext, Plan, PlannedTx, QUOTE_BUFFER_BPS, Quote, Route, RouteResult, SAME_CLASS_STABLE, SCREEN_CACHE_TTL_MS, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SanitizedTxEntry, type SolveArgs, SolveResult, SwapInput, type SwapPreview, TRADEABLE_RWA_ASSETS, Token, TxHistoryEntry, type ValidatedSwap, Verifier, ZERO_ADDRESS, addressWord, allowanceCovers, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetDecimals, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, createEngine, decodeSubmitOrderCalldata, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, isAddress, isDeliverable, isHexAddress, isHexData, isHexQuantity, isLayerZeroRoute, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseUnitsDecimal, planErrorSummary, planMsgValueHex, quoteSwapPreview, requiresNativeBridgeFee, resolveSwapReceiver, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, stableGenieIntentSchema, strip0x, symbolKey, toHexQuantity, tokenEnabled, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap };
525
+ export { API_CACHE_TTL_MS, ApiClient, type AssertQuoteArgs, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BalanceEntry, type BalanceReader, BalanceTarget, type BuildPayOptionsArgs, type BuildRouteArgs, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, Catalogue, Chain, Compliance, DEFAULT_WIDGET_API_BASE, type DecodedOrderRequest, type DecodedSubmitOrder, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, type Engine, EngineConfig, ExchangeProduct, FetchQuoteFn, 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, type NativeFeeCheck, NormalizedOrder, OrderRequest, PREVIEW_OWNER, PayOption, type PayRequest, type PaymentWalletContext, Plan, PlannedTx, QUOTE_BUFFER_BPS, Quote, Route, RouteResult, RwaVault, SAME_CLASS_STABLE, SCREEN_CACHE_TTL_MS, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SanitizedTxEntry, type SolveArgs, SolveResult, SwapInput, type SwapPreview, TRADEABLE_RWA_ASSETS, Token, TxHistoryEntry, type ValidatedSwap, Verifier, ZERO_ADDRESS, addressWord, allowanceCovers, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetDecimals, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, createEngine, decodeSubmitOrderCalldata, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, isAddress, isDeliverable, isHexAddress, isHexData, isHexQuantity, isLayerZeroRoute, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseUnitsDecimal, planErrorSummary, planMsgValueHex, quoteSwapPreview, requiresNativeBridgeFee, resolveSwapReceiver, resolveVaultIcon, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, stableGenieIntentSchema, strip0x, symbolKey, toHexQuantity, tokenEnabled, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, withVaultArtwork };
@@ -1,5 +1,5 @@
1
- import { T as Token, Q as Quote, N as NormalizedOrder, q as PayOption, g as RouteResult, b as Chain, R as Route, a as Catalogue, F as FetchQuoteFn, r as SolveResult, O as OrderRequest, C as Compliance, s as BalanceTarget, t as BalanceEntry, u as ApiClient, P as Plan, v as SwapInput, w as PlannedTx, x as Verifier, f as ExchangeProduct, h as TxHistoryEntry, S as SanitizedTxEntry, E as EngineConfig } from '../verify-C9vzpm4T.js';
2
- export { y as Address, z as ApiError, A as Availability, D as BLOCK_LABEL_DEFAULT, B as BrokenLane, G as COMPLIANCE_CHECK_ORDER, H as COMPLIANCE_DENY_LABEL, I as CatalogueContext, J as CatalogueInput, c as ComplianceCheck, K as ComplianceCheckId, L as ComplianceDecision, d as ComplianceTone, e as ComplianceView, M as DIRECT_CHECK_IDS, U as DIRECT_SCOPE_NOTE, X as Destination, Y as FLOOR_CATEGORIES, Z as Hex, _ as PlannedTxKind, $ as QuoteBlock, a0 as ResolvedConfig, a1 as RouteHealth, a2 as RouteHealthLane, a3 as SCREENING_BUCKETS, a4 as ScreenProvider, a5 as ScreeningBucket, a6 as ScreeningOutcome, a7 as TUNABLE_CATEGORIES, a8 as TxPlan, V as VerifyResult, W as WalletScreen, a9 as apiError, i as assetClassOf, aa as blockLabelFor, ab as brokenLaneFor, j as brokenLaneReason, ac as buildCatalogue, ad as canAttachApiKey, ae as categoryLabel, af as classifyQuoteError, k as complianceChecks, ag as complianceControlsEvaluated, l as complianceControlsLine, ah as complianceReasonHead, ai as complianceReasonTag, aj as complianceTagOf, m as complianceView, n as counterpartTokens, ak as createApiClient, al as createVerifier, o as destinationAvailability, am as destinationKeys, an as directComplianceFromScreens, ao as distinctScreenedWallets, ap as executableRoutes, aq as executionChainIds, ar as hasReachableDestination, as as hubDeliverableSymbols, p as humanizeComplianceReason, at as isExecutableBridge, au as isKnownUnbridgeable, av as isSourceToken, aw as laneKey, ax as laneKeys, ay as parseAllowedApiBase, az as productAssets, aA as registryRpc, aB as resolveApiBase, aC as resolveConfig, aD as screeningOutcomeOf, aE as sourceKeys, aF as suppressedLanes, aG as tokenKey, aH as txMatchesPlan, aI as unattributedComplianceReasons } from '../verify-C9vzpm4T.js';
1
+ import { T as Token, Q as Quote, N as NormalizedOrder, r as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, s as RwaVault, F as FetchQuoteFn, t as SolveResult, O as OrderRequest, C as Compliance, u as BalanceTarget, v as BalanceEntry, w as ApiClient, P as Plan, x as SwapInput, y as PlannedTx, z as Verifier, f as ExchangeProduct, i as TxHistoryEntry, S as SanitizedTxEntry, E as EngineConfig } from '../verify-Bdw8-YWZ.js';
2
+ export { D as Address, G as ApiError, A as Availability, H as BLOCK_LABEL_DEFAULT, B as BrokenLane, I as COMPLIANCE_CHECK_ORDER, J as COMPLIANCE_DENY_LABEL, K as CatalogueContext, L as CatalogueInput, c as ComplianceCheck, M as ComplianceCheckId, U as ComplianceDecision, d as ComplianceTone, e as ComplianceView, X as DIRECT_CHECK_IDS, Y as DIRECT_SCOPE_NOTE, Z as Destination, _ as FLOOR_CATEGORIES, $ as Hex, a0 as PlannedTxKind, a1 as QuoteBlock, a2 as ResolvedConfig, a3 as RouteHealth, a4 as RouteHealthLane, g as RouteLeg, a5 as SCREENING_BUCKETS, a6 as ScreenProvider, a7 as ScreeningBucket, a8 as ScreeningOutcome, a9 as TUNABLE_CATEGORIES, aa as TxPlan, V as VerifyResult, W as WalletScreen, ab as apiError, j as assetClassOf, ac as blockLabelFor, ad as brokenLaneFor, k as brokenLaneReason, ae as buildCatalogue, af as canAttachApiKey, ag as categoryLabel, ah as classifyQuoteError, l as complianceChecks, ai as complianceControlsEvaluated, m as complianceControlsLine, aj as complianceReasonHead, ak as complianceReasonTag, al as complianceTagOf, n as complianceView, o as counterpartTokens, am as createApiClient, an as createVerifier, p as destinationAvailability, ao as destinationKeys, ap as directComplianceFromScreens, aq as distinctScreenedWallets, ar as executableRoutes, as as executionChainIds, at as hasReachableDestination, au as hubDeliverableSymbols, q as humanizeComplianceReason, av as isExecutableBridge, aw as isKnownUnbridgeable, ax as isSourceToken, ay as laneKey, az as laneKeys, aA as parseAllowedApiBase, aB as productAssets, aC as registryRpc, aD as resolveApiBase, aE as resolveConfig, aF as screeningOutcomeOf, aG as sourceKeys, aH as suppressedLanes, aI as tokenKey, aJ as txMatchesPlan, aK as unattributedComplianceReasons } from '../verify-Bdw8-YWZ.js';
3
3
 
4
4
  /** Default request base for the widget: the same-origin keyless custody proxy (server injects the
5
5
  * ZeroDelta key). A host may override to `/api/v1` + an apiKey for the demo-first fallback path. */
@@ -235,6 +235,24 @@ interface BuildPayOptionsArgs {
235
235
  */
236
236
  declare function buildPayOptions({ invoiceAsset, invoiceChainId, tokens, routes, chains, walletChainId, catalogue }: BuildPayOptionsArgs): PayOption[];
237
237
 
238
+ /**
239
+ * Turn the gateway's root-relative icon path into one the WIDGET can load.
240
+ *
241
+ * The dapp can use `/api/v1/rwa/icons/x.png` verbatim because it is served from the gateway's own
242
+ * origin. The widget is embedded in someone else's page, so the same string would resolve against
243
+ * the HOST and 404 — it has to go through the widget's `apiBase` (the keyless proxy), which relays
244
+ * the bytes same-origin. Returns undefined for anything that is not the gateway's icon route, so an
245
+ * `iconUrl` repointed at a third party by a hostile response never reaches an `<img>`.
246
+ */
247
+ declare function resolveVaultIcon(apiBase: string, iconPath: unknown): string | undefined;
248
+ /** Symbol key → widget-loadable icon URL. The MINI mark wins: it is the round badge the pickers want,
249
+ * and the full-size one is a card image. */
250
+ declare function vaultIconsBySymbol(apiBase: string, vaults: readonly RwaVault[]): Map<string, string>;
251
+ /** Fill in `logoUrl` on the deployments that have none. Registry artwork always wins — deJAAA and
252
+ * deSPXA already ship one — and a token whose vault publishes nothing is returned untouched, so it
253
+ * falls through to the letters disc exactly as before. */
254
+ declare function withVaultArtwork(tokens: readonly Token[], icons: ReadonlyMap<string, string>): Token[];
255
+
238
256
  interface SolveArgs {
239
257
  option: PayOption;
240
258
  destination: {
@@ -290,6 +308,9 @@ interface BuildRouteArgs {
290
308
  };
291
309
  destinationToken: Token;
292
310
  chains: Chain[];
311
+ /** The registry, used ONLY to name the intermediate hop of a chained order. Omit and a two-leg
312
+ * route still reports both legs — the middle asset simply goes unnamed. */
313
+ tokens?: Token[];
293
314
  payer: string;
294
315
  fetchQuote: FetchQuoteFn;
295
316
  solve?: typeof solveExactOut;
@@ -303,7 +324,7 @@ interface BuildRouteArgs {
303
324
  */
304
325
  compliance?: Compliance;
305
326
  }
306
- declare function buildRoute({ option, destination, destinationToken, chains, payer, fetchQuote, solve, amountInRaw, compliance }: BuildRouteArgs): Promise<RouteResult>;
327
+ declare function buildRoute({ option, destination, destinationToken, chains, tokens, payer, fetchQuote, solve, amountInRaw, compliance, }: BuildRouteArgs): Promise<RouteResult>;
307
328
 
308
329
  interface PayRequest {
309
330
  address: string;
@@ -501,4 +522,4 @@ interface Engine {
501
522
  /** Create an engine bound to a config. The 60s resource cache is per-engine. */
502
523
  declare function createEngine(config?: EngineConfig): Engine;
503
524
 
504
- export { API_CACHE_TTL_MS, ApiClient, type AssertQuoteArgs, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BalanceEntry, type BalanceReader, BalanceTarget, type BuildPayOptionsArgs, type BuildRouteArgs, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, Catalogue, Chain, Compliance, DEFAULT_WIDGET_API_BASE, type DecodedOrderRequest, type DecodedSubmitOrder, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, type Engine, EngineConfig, ExchangeProduct, FetchQuoteFn, 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, type NativeFeeCheck, NormalizedOrder, OrderRequest, PREVIEW_OWNER, PayOption, type PayRequest, type PaymentWalletContext, Plan, PlannedTx, QUOTE_BUFFER_BPS, Quote, Route, RouteResult, SAME_CLASS_STABLE, SCREEN_CACHE_TTL_MS, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SanitizedTxEntry, type SolveArgs, SolveResult, SwapInput, type SwapPreview, TRADEABLE_RWA_ASSETS, Token, TxHistoryEntry, type ValidatedSwap, Verifier, ZERO_ADDRESS, addressWord, allowanceCovers, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetDecimals, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, createEngine, decodeSubmitOrderCalldata, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, isAddress, isDeliverable, isHexAddress, isHexData, isHexQuantity, isLayerZeroRoute, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseUnitsDecimal, planErrorSummary, planMsgValueHex, quoteSwapPreview, requiresNativeBridgeFee, resolveSwapReceiver, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, stableGenieIntentSchema, strip0x, symbolKey, toHexQuantity, tokenEnabled, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap };
525
+ export { API_CACHE_TTL_MS, ApiClient, type AssertQuoteArgs, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BalanceEntry, type BalanceReader, BalanceTarget, type BuildPayOptionsArgs, type BuildRouteArgs, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, Catalogue, Chain, Compliance, DEFAULT_WIDGET_API_BASE, type DecodedOrderRequest, type DecodedSubmitOrder, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, type Engine, EngineConfig, ExchangeProduct, FetchQuoteFn, 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, type NativeFeeCheck, NormalizedOrder, OrderRequest, PREVIEW_OWNER, PayOption, type PayRequest, type PaymentWalletContext, Plan, PlannedTx, QUOTE_BUFFER_BPS, Quote, Route, RouteResult, RwaVault, SAME_CLASS_STABLE, SCREEN_CACHE_TTL_MS, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SanitizedTxEntry, type SolveArgs, SolveResult, SwapInput, type SwapPreview, TRADEABLE_RWA_ASSETS, Token, TxHistoryEntry, type ValidatedSwap, Verifier, ZERO_ADDRESS, addressWord, allowanceCovers, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetDecimals, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, createEngine, decodeSubmitOrderCalldata, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, isAddress, isDeliverable, isHexAddress, isHexData, isHexQuantity, isLayerZeroRoute, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseUnitsDecimal, planErrorSummary, planMsgValueHex, quoteSwapPreview, requiresNativeBridgeFee, resolveSwapReceiver, resolveVaultIcon, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, stableGenieIntentSchema, strip0x, symbolKey, toHexQuantity, tokenEnabled, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, withVaultArtwork };
@@ -1 +1 @@
1
- export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, 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, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, ZERO_ADDRESS, addressWord, allowanceCovers, apiError, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetClassOf, assetDecimals, blockLabelFor, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, canAttachApiKey, categoryLabel, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, classifyQuoteError, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, counterpartTokens, createApiClient, createEngine, createVerifier, decodeSubmitOrderCalldata, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, executableRoutes, executionChainIds, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, hasReachableDestination, hubDeliverableSymbols, humanizeComplianceReason, isAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isSourceToken, laneKey, laneKeys, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseAllowedApiBase, parseUnitsDecimal, planErrorSummary, planMsgValueHex, productAssets, quoteSwapPreview, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSwapReceiver, routeNativeValue, scaleDecimals, screeningOutcomeOf, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, toHexQuantity, tokenEnabled, tokenKey, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, validateDestination, validatePlannedTransaction, validateSwap } from '../chunk-FJQQLB2K.js';
1
+ export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, 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, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, ZERO_ADDRESS, addressWord, allowanceCovers, apiError, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetClassOf, assetDecimals, blockLabelFor, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, canAttachApiKey, categoryLabel, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, classifyQuoteError, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, counterpartTokens, createApiClient, createEngine, createVerifier, decodeSubmitOrderCalldata, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, executableRoutes, executionChainIds, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, hasReachableDestination, hubDeliverableSymbols, humanizeComplianceReason, isAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isSourceToken, laneKey, laneKeys, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseAllowedApiBase, parseUnitsDecimal, planErrorSummary, planMsgValueHex, productAssets, quoteSwapPreview, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSwapReceiver, resolveVaultIcon, routeNativeValue, scaleDecimals, screeningOutcomeOf, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, toHexQuantity, tokenEnabled, tokenKey, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, withVaultArtwork } from '../chunk-MQ4XLBVF.js';