@rhea-finance/cross-chain-aggregation-dex 2.0.3 → 2.0.4
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 +24 -2
- package/dist/executors/aptos.d.mts +1 -1
- package/dist/executors/aptos.d.ts +1 -1
- package/dist/executors/bitcoin.d.mts +1 -1
- package/dist/executors/bitcoin.d.ts +1 -1
- package/dist/executors/evm.d.mts +1 -1
- package/dist/executors/evm.d.ts +1 -1
- package/dist/executors/near.d.mts +1 -1
- package/dist/executors/near.d.ts +1 -1
- package/dist/executors/solana.d.mts +1 -1
- package/dist/executors/solana.d.ts +1 -1
- package/dist/executors/sui.d.mts +1 -1
- package/dist/executors/sui.d.ts +1 -1
- package/dist/executors/tron.d.mts +1 -1
- package/dist/executors/tron.d.ts +1 -1
- package/dist/executors/zcash.d.mts +1 -1
- package/dist/executors/zcash.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{shared-BEZXY_BM.d.mts → shared-D0_DbMT2.d.mts} +7 -2
- package/dist/{shared-BEZXY_BM.d.ts → shared-D0_DbMT2.d.ts} +7 -2
- package/package.json +1 -1
|
@@ -55,7 +55,8 @@ interface SwapQuoteDataRaw {
|
|
|
55
55
|
isCrossChain: boolean;
|
|
56
56
|
chainType: string;
|
|
57
57
|
bestQuote: Record<string, unknown>;
|
|
58
|
-
|
|
58
|
+
/** Optional route alternatives. Some quote responses only return bestQuote. */
|
|
59
|
+
allQuotes?: Record<string, unknown>[];
|
|
59
60
|
errors?: unknown;
|
|
60
61
|
nearDepositTx?: unknown;
|
|
61
62
|
nearDepositTxError?: string;
|
|
@@ -353,7 +354,11 @@ interface QuoteRequest {
|
|
|
353
354
|
tokenOut: AssetRef;
|
|
354
355
|
amountIn: BaseUnitAmount;
|
|
355
356
|
slippageBps: number;
|
|
356
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* Frontend-configurable Near Intents route-quote wait in milliseconds.
|
|
359
|
+
* Must be a non-negative integer. Defaults to 3000 when omitted.
|
|
360
|
+
* This is not an HTTP, wallet, settlement, or order-polling timeout.
|
|
361
|
+
*/
|
|
357
362
|
quoteWaitingTimeMs?: number;
|
|
358
363
|
sender: string;
|
|
359
364
|
recipient?: string;
|
|
@@ -55,7 +55,8 @@ interface SwapQuoteDataRaw {
|
|
|
55
55
|
isCrossChain: boolean;
|
|
56
56
|
chainType: string;
|
|
57
57
|
bestQuote: Record<string, unknown>;
|
|
58
|
-
|
|
58
|
+
/** Optional route alternatives. Some quote responses only return bestQuote. */
|
|
59
|
+
allQuotes?: Record<string, unknown>[];
|
|
59
60
|
errors?: unknown;
|
|
60
61
|
nearDepositTx?: unknown;
|
|
61
62
|
nearDepositTxError?: string;
|
|
@@ -353,7 +354,11 @@ interface QuoteRequest {
|
|
|
353
354
|
tokenOut: AssetRef;
|
|
354
355
|
amountIn: BaseUnitAmount;
|
|
355
356
|
slippageBps: number;
|
|
356
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* Frontend-configurable Near Intents route-quote wait in milliseconds.
|
|
359
|
+
* Must be a non-negative integer. Defaults to 3000 when omitted.
|
|
360
|
+
* This is not an HTTP, wallet, settlement, or order-polling timeout.
|
|
361
|
+
*/
|
|
357
362
|
quoteWaitingTimeMs?: number;
|
|
358
363
|
sender: string;
|
|
359
364
|
recipient?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhea-finance/cross-chain-aggregation-dex",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "TypeScript SDK for a unified multi-chain Swap API with quote, transaction building, execution adapters, status, reporting, and history.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|