@gardenfi/orderbook 3.1.3-beta.11 → 3.1.3-beta.13
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.
|
@@ -60,6 +60,7 @@ export type CreateOrderRequest = {
|
|
|
60
60
|
amount: string;
|
|
61
61
|
};
|
|
62
62
|
solver_id: string;
|
|
63
|
+
quote_id?: string;
|
|
63
64
|
slippage?: number;
|
|
64
65
|
secret_hash?: string;
|
|
65
66
|
nonce: number;
|
|
@@ -188,6 +189,14 @@ export type EvmOrderResponse = WithTypedData<BaseCreateOrderResponse & {
|
|
|
188
189
|
approval_transaction: EVMTransaction | null;
|
|
189
190
|
initiate_transaction: EVMTransaction;
|
|
190
191
|
}, EvmTypedData>;
|
|
192
|
+
export type EvmOrderResponseWithCoreTransfer = EvmOrderResponse & {
|
|
193
|
+
core_to_evm_transfer: {
|
|
194
|
+
to: string;
|
|
195
|
+
value: string;
|
|
196
|
+
data: string;
|
|
197
|
+
gas_limit: string;
|
|
198
|
+
} | null;
|
|
199
|
+
};
|
|
191
200
|
export type StarknetOrderResponse = WithTypedData<BaseCreateOrderResponse & {
|
|
192
201
|
approval_transaction: StarknetCall;
|
|
193
202
|
initiate_transaction: StarknetCall;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/orderbook",
|
|
3
|
-
"version": "3.1.3-beta.
|
|
3
|
+
"version": "3.1.3-beta.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@coral-xyz/anchor": "^0.31.1",
|
|
31
|
-
"@gardenfi/utils": "3.1.1-beta.
|
|
31
|
+
"@gardenfi/utils": "3.1.1-beta.11",
|
|
32
32
|
"bufferutil": "^4.0.8",
|
|
33
33
|
"node-cache": "^5.1.2",
|
|
34
34
|
"siwe": "^2.1.4",
|