@0xmonaco/core 1.0.87 → 1.0.88
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/api/vault/api.js +6 -2
- package/package.json +3 -3
package/dist/api/vault/api.js
CHANGED
|
@@ -28,8 +28,12 @@ import { ApproveTokenSchema, DepositSchema, validate, WithdrawSchema } from "@0x
|
|
|
28
28
|
import { erc20Abi } from "viem";
|
|
29
29
|
import { APIError, ContractError, InvalidConfigError } from "../../errors";
|
|
30
30
|
import { BaseAPI } from "../base";
|
|
31
|
-
/**
|
|
32
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Default delay between polls while waiting for a withdrawal's proof. The proof
|
|
33
|
+
* lands a few seconds after initiate, so a longer interval would add most of
|
|
34
|
+
* itself to every withdrawal's end-to-end time.
|
|
35
|
+
*/
|
|
36
|
+
const DEFAULT_WITHDRAWAL_POLL_INTERVAL_MS = 500;
|
|
33
37
|
/**
|
|
34
38
|
* Default total wait for a withdrawal's proof (5 minutes). A withdrawal's merkle
|
|
35
39
|
* proof only lands after its root is confirmed on-chain, which on a healthy
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xmonaco/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.88",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://docs.0xmonaco.com/sdk/typescript",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"viem": "^2.45.2"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@0xmonaco/contracts": "1.0.
|
|
23
|
-
"@0xmonaco/types": "1.0.
|
|
22
|
+
"@0xmonaco/contracts": "1.0.88",
|
|
23
|
+
"@0xmonaco/types": "1.0.88",
|
|
24
24
|
"@noble/curves": "^1.9.1",
|
|
25
25
|
"@noble/hashes": "^2.4.0",
|
|
26
26
|
"http-status-codes": "^2.3.0"
|