@0xsequence/relayer 2.1.6 → 2.1.8
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.
|
@@ -977,7 +977,6 @@ const FAILED_STATUSES = [ETHTxnStatus.DROPPED, ETHTxnStatus.PARTIALLY_FAILED, ET
|
|
|
977
977
|
function isRpcRelayerOptions(obj) {
|
|
978
978
|
return obj.url !== undefined && typeof obj.url === 'string' && obj.provider !== undefined && isAbstractProvider(obj.provider);
|
|
979
979
|
}
|
|
980
|
-
const fetch = globalThis.fetch;
|
|
981
980
|
|
|
982
981
|
// TODO: rename to SequenceRelayer
|
|
983
982
|
class RpcRelayer {
|
|
@@ -977,7 +977,6 @@ const FAILED_STATUSES = [ETHTxnStatus.DROPPED, ETHTxnStatus.PARTIALLY_FAILED, ET
|
|
|
977
977
|
function isRpcRelayerOptions(obj) {
|
|
978
978
|
return obj.url !== undefined && typeof obj.url === 'string' && obj.provider !== undefined && isAbstractProvider(obj.provider);
|
|
979
979
|
}
|
|
980
|
-
const fetch = globalThis.fetch;
|
|
981
980
|
|
|
982
981
|
// TODO: rename to SequenceRelayer
|
|
983
982
|
class RpcRelayer {
|
|
@@ -973,7 +973,6 @@ const FAILED_STATUSES = [ETHTxnStatus.DROPPED, ETHTxnStatus.PARTIALLY_FAILED, ET
|
|
|
973
973
|
function isRpcRelayerOptions(obj) {
|
|
974
974
|
return obj.url !== undefined && typeof obj.url === 'string' && obj.provider !== undefined && isAbstractProvider(obj.provider);
|
|
975
975
|
}
|
|
976
|
-
const fetch = globalThis.fetch;
|
|
977
976
|
|
|
978
977
|
// TODO: rename to SequenceRelayer
|
|
979
978
|
class RpcRelayer {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/relayer",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "relayer sub-package for Sequence",
|
|
5
5
|
"repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/relayer",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"ethers": ">=6"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@0xsequence/abi": "2.1.
|
|
16
|
-
"@0xsequence/core": "2.1.
|
|
17
|
-
"@0xsequence/utils": "2.1.
|
|
15
|
+
"@0xsequence/abi": "2.1.8",
|
|
16
|
+
"@0xsequence/core": "2.1.8",
|
|
17
|
+
"@0xsequence/utils": "2.1.8"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@0xsequence/wallet-contracts": "^3.0.1",
|
|
21
21
|
"ethers": "6.13.4",
|
|
22
|
-
"@0xsequence/
|
|
23
|
-
"@0xsequence/
|
|
22
|
+
"@0xsequence/tests": "2.1.8",
|
|
23
|
+
"@0xsequence/signhub": "2.1.8"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"src",
|
package/src/rpc-relayer/index.ts
CHANGED
|
@@ -26,8 +26,6 @@ export function isRpcRelayerOptions(obj: any): obj is RpcRelayerOptions {
|
|
|
26
26
|
return obj.url !== undefined && typeof obj.url === 'string' && obj.provider !== undefined && isAbstractProvider(obj.provider)
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
const fetch = globalThis.fetch
|
|
30
|
-
|
|
31
29
|
// TODO: rename to SequenceRelayer
|
|
32
30
|
export class RpcRelayer implements Relayer {
|
|
33
31
|
private readonly service: proto.Relayer
|