@onekeyfe/onekey-aptos-provider 2.2.34 → 2.2.36
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/StandardProvider.js
CHANGED
|
@@ -105,6 +105,7 @@ export class AptosStandardProvider {
|
|
|
105
105
|
});
|
|
106
106
|
});
|
|
107
107
|
this.signAndSubmitTransaction = (input) => __awaiter(this, void 0, void 0, function* () {
|
|
108
|
+
// Special case: Only support simple transaction
|
|
108
109
|
if (!!input && 'rawTransaction' in input) {
|
|
109
110
|
// Support standard sign and send transaction 1.0.0
|
|
110
111
|
const serializer = new Serializer();
|
|
@@ -110,6 +110,7 @@ class AptosStandardProvider {
|
|
|
110
110
|
});
|
|
111
111
|
});
|
|
112
112
|
this.signAndSubmitTransaction = (input) => __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
// Special case: Only support simple transaction
|
|
113
114
|
if (!!input && 'rawTransaction' in input) {
|
|
114
115
|
// Support standard sign and send transaction 1.0.0
|
|
115
116
|
const serializer = new ts_sdk_1.Serializer();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/onekey-aptos-provider",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.36",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"cross-inpage-provider"
|
|
6
6
|
],
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aptos-labs/wallet-standard": "^0.2.0",
|
|
31
|
-
"@onekeyfe/cross-inpage-provider-core": "2.2.
|
|
32
|
-
"@onekeyfe/cross-inpage-provider-errors": "2.2.
|
|
33
|
-
"@onekeyfe/cross-inpage-provider-types": "2.2.
|
|
34
|
-
"@onekeyfe/extension-bridge-injected": "2.2.
|
|
31
|
+
"@onekeyfe/cross-inpage-provider-core": "2.2.36",
|
|
32
|
+
"@onekeyfe/cross-inpage-provider-errors": "2.2.36",
|
|
33
|
+
"@onekeyfe/cross-inpage-provider-types": "2.2.36",
|
|
34
|
+
"@onekeyfe/extension-bridge-injected": "2.2.36",
|
|
35
35
|
"@wallet-standard/core": "1.0.3",
|
|
36
36
|
"eth-rpc-errors": "^4.0.3"
|
|
37
37
|
},
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@aptos-labs/ts-sdk": "^1.30.0",
|
|
43
43
|
"aptos": "^1.3.17"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ae1a47e242ecd42a023b296a2cfc3558a81087a1"
|
|
46
46
|
}
|