@subwallet/extension-base 0.7.3-0 → 0.7.4-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.
- package/background/KoniTypes.d.ts +11 -5
- package/cjs/packageInfo.js +1 -1
- package/package.json +4 -4
- package/packageInfo.js +1 -1
|
@@ -954,7 +954,7 @@ export interface TransakNetwork {
|
|
|
954
954
|
}
|
|
955
955
|
export interface FormattedMethod {
|
|
956
956
|
args?: ArgInfo[];
|
|
957
|
-
|
|
957
|
+
methodName: string;
|
|
958
958
|
}
|
|
959
959
|
export interface ArgInfo {
|
|
960
960
|
argName: string;
|
|
@@ -967,9 +967,14 @@ export interface EraInfo {
|
|
|
967
967
|
export interface ResponseParseTransactionSubstrate {
|
|
968
968
|
era: EraInfo | string;
|
|
969
969
|
nonce: number;
|
|
970
|
-
method: string;
|
|
970
|
+
method: string | FormattedMethod[];
|
|
971
971
|
tip: number;
|
|
972
972
|
specVersion: number;
|
|
973
|
+
message: string;
|
|
974
|
+
}
|
|
975
|
+
export interface RequestParseTransactionSubstrate {
|
|
976
|
+
data: string;
|
|
977
|
+
networkKey: string;
|
|
973
978
|
}
|
|
974
979
|
export interface RequestQrParseRLP {
|
|
975
980
|
data: string;
|
|
@@ -983,10 +988,10 @@ export interface ResponseQrParseRLP {
|
|
|
983
988
|
gasPrice: number;
|
|
984
989
|
value: number;
|
|
985
990
|
}
|
|
986
|
-
export interface
|
|
991
|
+
export interface RequestAccountIsLocked {
|
|
987
992
|
address: string;
|
|
988
993
|
}
|
|
989
|
-
export interface
|
|
994
|
+
export interface ResponseAccountIsLocked {
|
|
990
995
|
isLocked: boolean;
|
|
991
996
|
remainingTime: number;
|
|
992
997
|
}
|
|
@@ -1253,8 +1258,9 @@ export interface KoniRequestSignatures {
|
|
|
1253
1258
|
'pub(utils.getRandom)': [RandomTestRequest, number];
|
|
1254
1259
|
'pub(accounts.listV2)': [RequestAccountList, InjectedAccount[]];
|
|
1255
1260
|
'pub(accounts.subscribeV2)': [RequestAccountSubscribe, boolean, InjectedAccount[]];
|
|
1261
|
+
'pri(account.isLocked)': [RequestAccountIsLocked, ResponseAccountIsLocked];
|
|
1262
|
+
'pri(qr.transaction.parse.substrate)': [RequestParseTransactionSubstrate, ResponseParseTransactionSubstrate];
|
|
1256
1263
|
'pri(qr.transaction.parse.evm)': [RequestQrParseRLP, ResponseQrParseRLP];
|
|
1257
|
-
'pri(qr.isLocked)': [RequestQRIsLocked, ResponseQRIsLocked];
|
|
1258
1264
|
'pri(qr.sign.substrate)': [RequestQrSignSubstrate, ResponseQrSignSubstrate];
|
|
1259
1265
|
'pri(qr.sign.evm)': [RequestQrSignEVM, ResponseQrSignEVM];
|
|
1260
1266
|
'pri(account.external.reject)': [RequestRejectExternalRequest, ResponseRejectExternalRequest];
|
package/cjs/packageInfo.js
CHANGED
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"./cjs/detectPackage.js"
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "0.7.
|
|
20
|
+
"version": "0.7.4-0",
|
|
21
21
|
"main": "./cjs/index.js",
|
|
22
22
|
"module": "./index.js",
|
|
23
23
|
"types": "./index.d.ts",
|
|
@@ -229,9 +229,9 @@
|
|
|
229
229
|
"@polkadot/ui-settings": "^2.9.13",
|
|
230
230
|
"@polkadot/util": "^10.1.13",
|
|
231
231
|
"@polkadot/util-crypto": "^10.1.13",
|
|
232
|
-
"@subwallet/extension-chains": "^0.7.
|
|
233
|
-
"@subwallet/extension-dapp": "^0.7.
|
|
234
|
-
"@subwallet/extension-inject": "^0.7.
|
|
232
|
+
"@subwallet/extension-chains": "^0.7.4-0",
|
|
233
|
+
"@subwallet/extension-dapp": "^0.7.4-0",
|
|
234
|
+
"@subwallet/extension-inject": "^0.7.4-0",
|
|
235
235
|
"ethereumjs-tx": "^2.1.2",
|
|
236
236
|
"eventemitter3": "^4.0.7",
|
|
237
237
|
"rlp": "^3.0.0",
|
package/packageInfo.js
CHANGED
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@subwallet/extension-base',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '0.7.
|
|
10
|
+
version: '0.7.4-0'
|
|
11
11
|
};
|