@dfns/lib-ethersjs6 0.1.0-beta.3 → 0.1.0-beta.5
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/index.js +2 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -54,7 +54,8 @@ class DfnsWallet extends ethers_1.AbstractSigner {
|
|
|
54
54
|
}
|
|
55
55
|
maxRetries -= 1;
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
const waitedSeconds = Math.floor((this.options.maxRetries * retryInterval) / 1000);
|
|
58
|
+
throw new Error(`Signature request ${signatureId} took more than ${waitedSeconds}s to complete, stopping polling. Please update options "maxRetries" or "retryIntervals" to wait longer.`);
|
|
58
59
|
}
|
|
59
60
|
async signTransaction(tx) {
|
|
60
61
|
// replace any Addressable or ENS name with an address
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dfns/lib-ethersjs6",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.5",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"buffer": "6.0.3",
|
|
6
6
|
"cross-fetch": "3.1.6",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"uuid": "9.0.0"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@dfns/sdk": "0.1.0-beta.
|
|
11
|
+
"@dfns/sdk": "0.1.0-beta.5"
|
|
12
12
|
},
|
|
13
13
|
"main": "./index.js",
|
|
14
14
|
"types": "./index.d.ts"
|