@subwallet/extension-base 0.6.5-0 → 0.6.6-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 +37 -0
- package/cjs/packageInfo.js +1 -1
- package/package.json +4 -4
- package/packageInfo.js +1 -1
|
@@ -915,6 +915,7 @@ export interface BondingOptionInfo {
|
|
|
915
915
|
export interface ChainBondingBasics {
|
|
916
916
|
stakedReturn: number;
|
|
917
917
|
isMaxNominators: boolean;
|
|
918
|
+
validatorCount: number;
|
|
918
919
|
}
|
|
919
920
|
export interface BasicTxInfo {
|
|
920
921
|
fee: string;
|
|
@@ -1073,11 +1074,47 @@ export interface LedgerNetwork {
|
|
|
1073
1074
|
icon: 'substrate' | 'ethereum';
|
|
1074
1075
|
isDevMode: boolean;
|
|
1075
1076
|
}
|
|
1077
|
+
export interface TuringStakeCompoundParams {
|
|
1078
|
+
address: string;
|
|
1079
|
+
collatorAddress: string;
|
|
1080
|
+
networkKey: string;
|
|
1081
|
+
accountMinimum: string;
|
|
1082
|
+
bondedAmount: string;
|
|
1083
|
+
password?: string;
|
|
1084
|
+
}
|
|
1085
|
+
export interface TuringStakeCompoundResp {
|
|
1086
|
+
txInfo: BasicTxInfo;
|
|
1087
|
+
optimalFrequency: string;
|
|
1088
|
+
initTime: number;
|
|
1089
|
+
compoundFee: string;
|
|
1090
|
+
}
|
|
1076
1091
|
export interface TransakNetwork {
|
|
1077
1092
|
networks: string[];
|
|
1078
1093
|
tokens: string[];
|
|
1079
1094
|
}
|
|
1095
|
+
export interface CheckExistingTuringCompoundParams {
|
|
1096
|
+
address: string;
|
|
1097
|
+
collatorAddress: string;
|
|
1098
|
+
networkKey: string;
|
|
1099
|
+
}
|
|
1100
|
+
export interface ExistingTuringCompoundTask {
|
|
1101
|
+
exist: boolean;
|
|
1102
|
+
taskId: string;
|
|
1103
|
+
accountMinimum: number;
|
|
1104
|
+
frequency: number;
|
|
1105
|
+
}
|
|
1106
|
+
export interface TuringCancelStakeCompoundParams {
|
|
1107
|
+
taskId: string;
|
|
1108
|
+
networkKey: string;
|
|
1109
|
+
address: string;
|
|
1110
|
+
password?: string;
|
|
1111
|
+
}
|
|
1080
1112
|
export interface KoniRequestSignatures {
|
|
1113
|
+
'pri(staking.submitTuringCancelCompound)': [TuringCancelStakeCompoundParams, BasicTxResponse, BasicTxResponse];
|
|
1114
|
+
'pri(staking.turingCancelCompound)': [TuringCancelStakeCompoundParams, BasicTxInfo];
|
|
1115
|
+
'pri(staking.checkTuringCompoundTask)': [CheckExistingTuringCompoundParams, ExistingTuringCompoundTask];
|
|
1116
|
+
'pri(staking.submitTuringCompound)': [TuringStakeCompoundParams, BasicTxResponse, BasicTxResponse];
|
|
1117
|
+
'pri(staking.turingCompound)': [TuringStakeCompoundParams, TuringStakeCompoundResp];
|
|
1081
1118
|
'pri(staking.delegationInfo)': [StakeDelegationRequest, DelegationItem[]];
|
|
1082
1119
|
'pri(staking.submitClaimReward)': [StakeClaimRewardParams, BasicTxResponse, BasicTxResponse];
|
|
1083
1120
|
'pri(staking.claimRewardTxInfo)': [StakeClaimRewardParams, BasicTxInfo];
|
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.6.
|
|
20
|
+
"version": "0.6.6-0",
|
|
21
21
|
"main": "./cjs/index.js",
|
|
22
22
|
"module": "./index.js",
|
|
23
23
|
"types": "./index.d.ts",
|
|
@@ -224,9 +224,9 @@
|
|
|
224
224
|
"@polkadot/ui-settings": "^2.7.2",
|
|
225
225
|
"@polkadot/util": "^9.7.2",
|
|
226
226
|
"@polkadot/util-crypto": "^9.7.2",
|
|
227
|
-
"@subwallet/extension-chains": "^0.6.
|
|
228
|
-
"@subwallet/extension-dapp": "^0.6.
|
|
229
|
-
"@subwallet/extension-inject": "^0.6.
|
|
227
|
+
"@subwallet/extension-chains": "^0.6.6-0",
|
|
228
|
+
"@subwallet/extension-dapp": "^0.6.6-0",
|
|
229
|
+
"@subwallet/extension-inject": "^0.6.6-0",
|
|
230
230
|
"ethereumjs-tx": "^2.1.2",
|
|
231
231
|
"eventemitter3": "^4.0.7",
|
|
232
232
|
"rlp": "^3.0.0",
|
package/packageInfo.js
CHANGED
|
@@ -5,5 +5,5 @@ export const packageInfo = {
|
|
|
5
5
|
name: '@subwallet/extension-base',
|
|
6
6
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '0.6.
|
|
8
|
+
version: '0.6.6-0'
|
|
9
9
|
};
|