@toruslabs/ethereum-controllers 9.1.0 → 9.2.0
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.
|
@@ -28,6 +28,7 @@ function createProviderConfigMiddleware(providerConfig) {
|
|
|
28
28
|
next
|
|
29
29
|
}) => {
|
|
30
30
|
if (request.method === "eth_provider_config") {
|
|
31
|
+
// can't do the direct cast because `interface ProviderConfig` doesn't satisfy the `Json` type
|
|
31
32
|
return providerConfig;
|
|
32
33
|
}
|
|
33
34
|
return next();
|
|
@@ -26,6 +26,7 @@ function createProviderConfigMiddleware(providerConfig) {
|
|
|
26
26
|
next
|
|
27
27
|
}) => {
|
|
28
28
|
if (request.method === "eth_provider_config") {
|
|
29
|
+
// can't do the direct cast because `interface ProviderConfig` doesn't satisfy the `Json` type
|
|
29
30
|
return providerConfig;
|
|
30
31
|
}
|
|
31
32
|
return next();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toruslabs/ethereum-controllers",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"homepage": "https://github.com/torusresearch/controllers#readme",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@metamask/smart-accounts-kit": "~0.4.0-beta.1",
|
|
24
|
-
"@toruslabs/base-controllers": "^9.
|
|
24
|
+
"@toruslabs/base-controllers": "^9.2.0",
|
|
25
25
|
"@toruslabs/http-helpers": "^9.0.0",
|
|
26
26
|
"@toruslabs/metadata-helpers": "^8.2.0",
|
|
27
|
-
"@web3auth/auth": "^11.
|
|
27
|
+
"@web3auth/auth": "^11.3.0",
|
|
28
28
|
"async-mutex": "^0.5.0",
|
|
29
29
|
"bignumber.js": "^9.3.1",
|
|
30
30
|
"deepmerge": "^4.3.1",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "22ee9ad111b222c956e2fbc525fa2ced6f54ba57",
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/uuid": "^10.0.0",
|
|
70
70
|
"typechain": "^8.3.2"
|