@onekeyfe/onekey-scdo-provider 2.1.16 → 2.1.17
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.
|
@@ -99,8 +99,8 @@ export class ProviderScdo extends ProviderScdoBase {
|
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
request(props) {
|
|
102
|
-
var _a, _b;
|
|
103
102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
var _a, _b;
|
|
104
104
|
const reqParams = props.params;
|
|
105
105
|
let params;
|
|
106
106
|
if (props.method === ScdoRequestMethods.scdo_estimateGas) {
|
|
@@ -17,7 +17,7 @@ var PROVIDER_EVENTS;
|
|
|
17
17
|
PROVIDER_EVENTS["accountsChanged"] = "accountsChanged";
|
|
18
18
|
PROVIDER_EVENTS["disconnect"] = "disconnect";
|
|
19
19
|
PROVIDER_EVENTS["message_low_level"] = "message_low_level";
|
|
20
|
-
})(PROVIDER_EVENTS
|
|
20
|
+
})(PROVIDER_EVENTS || (exports.PROVIDER_EVENTS = PROVIDER_EVENTS = {}));
|
|
21
21
|
var ScdoRequestMethods;
|
|
22
22
|
(function (ScdoRequestMethods) {
|
|
23
23
|
ScdoRequestMethods["scdo_requestAccounts"] = "scdo_requestAccounts";
|
|
@@ -27,7 +27,7 @@ var ScdoRequestMethods;
|
|
|
27
27
|
ScdoRequestMethods["scdo_signTransaction"] = "scdo_signTransaction";
|
|
28
28
|
ScdoRequestMethods["scdo_estimateGas"] = "scdo_estimateGas";
|
|
29
29
|
ScdoRequestMethods["scdo_sendTransaction"] = "scdo_sendTransaction";
|
|
30
|
-
})(ScdoRequestMethods
|
|
30
|
+
})(ScdoRequestMethods || (exports.ScdoRequestMethods = ScdoRequestMethods = {}));
|
|
31
31
|
function isWalletEventMethodMatch({ method, name }) {
|
|
32
32
|
return method === `wallet_events_${name}`;
|
|
33
33
|
}
|
|
@@ -102,8 +102,8 @@ class ProviderScdo extends ProviderScdoBase_1.ProviderScdoBase {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
request(props) {
|
|
105
|
-
var _a, _b;
|
|
106
105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
var _a, _b;
|
|
107
107
|
const reqParams = props.params;
|
|
108
108
|
let params;
|
|
109
109
|
if (props.method === ScdoRequestMethods.scdo_estimateGas) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/onekey-scdo-provider",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.17",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"cross-inpage-provider"
|
|
6
6
|
],
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"start": "tsc --watch"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@onekeyfe/cross-inpage-provider-core": "2.1.
|
|
32
|
-
"@onekeyfe/cross-inpage-provider-errors": "2.1.
|
|
33
|
-
"@onekeyfe/cross-inpage-provider-types": "2.1.
|
|
34
|
-
"@onekeyfe/extension-bridge-injected": "2.1.
|
|
31
|
+
"@onekeyfe/cross-inpage-provider-core": "2.1.17",
|
|
32
|
+
"@onekeyfe/cross-inpage-provider-errors": "2.1.17",
|
|
33
|
+
"@onekeyfe/cross-inpage-provider-types": "2.1.17",
|
|
34
|
+
"@onekeyfe/extension-bridge-injected": "2.1.17"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "6b9e350734a850a60dbf9fa4406190900f8f13f2"
|
|
37
37
|
}
|