@silentswap/sdk 0.1.47 → 0.1.49
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/bridge.d.ts +2 -0
- package/dist/bridge.js +2 -0
- package/package.json +1 -1
package/dist/bridge.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ export interface BridgeStatus {
|
|
|
65
65
|
txHashes?: (Hex | string)[];
|
|
66
66
|
details?: string;
|
|
67
67
|
requestId?: string;
|
|
68
|
+
/** Actual bridge provider used during execution (may differ from quote if fallback occurred) */
|
|
69
|
+
provider?: BridgeProvider;
|
|
68
70
|
}
|
|
69
71
|
/**
|
|
70
72
|
* Bridge quote parameters
|
package/dist/bridge.js
CHANGED
|
@@ -127,6 +127,7 @@ export async function executeRelayBridge(quote, executeTransaction, switchChain,
|
|
|
127
127
|
status: 'pending',
|
|
128
128
|
txHashes: txHashes, // Type assertion for compatibility
|
|
129
129
|
requestId,
|
|
130
|
+
provider: 'relay',
|
|
130
131
|
};
|
|
131
132
|
}
|
|
132
133
|
/**
|
|
@@ -159,6 +160,7 @@ export async function executeDebridgeBridge(quote, executeTransaction, switchCha
|
|
|
159
160
|
status: 'pending',
|
|
160
161
|
txHashes: txHashes, // Type assertion for compatibility
|
|
161
162
|
requestId: quote.route.orderId,
|
|
163
|
+
provider: 'debridge',
|
|
162
164
|
};
|
|
163
165
|
}
|
|
164
166
|
/**
|