@subwallet/extension-base 0.6.5-0 → 0.6.7-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 +42 -1
- package/cjs/packageInfo.js +1 -1
- package/package.json +19 -19
- package/packageInfo.js +1 -1
|
@@ -367,6 +367,10 @@ export interface TransactionHistoryItemType {
|
|
|
367
367
|
origin?: 'app' | 'network';
|
|
368
368
|
eventIdx?: number | null;
|
|
369
369
|
}
|
|
370
|
+
export interface TransactionHistoryItemJson {
|
|
371
|
+
items: TransactionHistoryItemType[];
|
|
372
|
+
total: number;
|
|
373
|
+
}
|
|
370
374
|
export interface RequestTransactionHistoryGet {
|
|
371
375
|
address: string;
|
|
372
376
|
networkKey: string;
|
|
@@ -915,6 +919,7 @@ export interface BondingOptionInfo {
|
|
|
915
919
|
export interface ChainBondingBasics {
|
|
916
920
|
stakedReturn: number;
|
|
917
921
|
isMaxNominators: boolean;
|
|
922
|
+
validatorCount: number;
|
|
918
923
|
}
|
|
919
924
|
export interface BasicTxInfo {
|
|
920
925
|
fee: string;
|
|
@@ -1073,11 +1078,47 @@ export interface LedgerNetwork {
|
|
|
1073
1078
|
icon: 'substrate' | 'ethereum';
|
|
1074
1079
|
isDevMode: boolean;
|
|
1075
1080
|
}
|
|
1081
|
+
export interface TuringStakeCompoundParams {
|
|
1082
|
+
address: string;
|
|
1083
|
+
collatorAddress: string;
|
|
1084
|
+
networkKey: string;
|
|
1085
|
+
accountMinimum: string;
|
|
1086
|
+
bondedAmount: string;
|
|
1087
|
+
password?: string;
|
|
1088
|
+
}
|
|
1089
|
+
export interface TuringStakeCompoundResp {
|
|
1090
|
+
txInfo: BasicTxInfo;
|
|
1091
|
+
optimalFrequency: string;
|
|
1092
|
+
initTime: number;
|
|
1093
|
+
compoundFee: string;
|
|
1094
|
+
}
|
|
1076
1095
|
export interface TransakNetwork {
|
|
1077
1096
|
networks: string[];
|
|
1078
1097
|
tokens: string[];
|
|
1079
1098
|
}
|
|
1099
|
+
export interface CheckExistingTuringCompoundParams {
|
|
1100
|
+
address: string;
|
|
1101
|
+
collatorAddress: string;
|
|
1102
|
+
networkKey: string;
|
|
1103
|
+
}
|
|
1104
|
+
export interface ExistingTuringCompoundTask {
|
|
1105
|
+
exist: boolean;
|
|
1106
|
+
taskId: string;
|
|
1107
|
+
accountMinimum: number;
|
|
1108
|
+
frequency: number;
|
|
1109
|
+
}
|
|
1110
|
+
export interface TuringCancelStakeCompoundParams {
|
|
1111
|
+
taskId: string;
|
|
1112
|
+
networkKey: string;
|
|
1113
|
+
address: string;
|
|
1114
|
+
password?: string;
|
|
1115
|
+
}
|
|
1080
1116
|
export interface KoniRequestSignatures {
|
|
1117
|
+
'pri(staking.submitTuringCancelCompound)': [TuringCancelStakeCompoundParams, BasicTxResponse, BasicTxResponse];
|
|
1118
|
+
'pri(staking.turingCancelCompound)': [TuringCancelStakeCompoundParams, BasicTxInfo];
|
|
1119
|
+
'pri(staking.checkTuringCompoundTask)': [CheckExistingTuringCompoundParams, ExistingTuringCompoundTask];
|
|
1120
|
+
'pri(staking.submitTuringCompound)': [TuringStakeCompoundParams, BasicTxResponse, BasicTxResponse];
|
|
1121
|
+
'pri(staking.turingCompound)': [TuringStakeCompoundParams, TuringStakeCompoundResp];
|
|
1081
1122
|
'pri(staking.delegationInfo)': [StakeDelegationRequest, DelegationItem[]];
|
|
1082
1123
|
'pri(staking.submitClaimReward)': [StakeClaimRewardParams, BasicTxResponse, BasicTxResponse];
|
|
1083
1124
|
'pri(staking.claimRewardTxInfo)': [StakeClaimRewardParams, BasicTxInfo];
|
|
@@ -1123,7 +1164,7 @@ export interface KoniRequestSignatures {
|
|
|
1123
1164
|
'pri(nft.getNft)': [null, NftJson];
|
|
1124
1165
|
'pri(nft.getSubscription)': [RequestSubscribeNft, NftJson, NftJson];
|
|
1125
1166
|
'pri(nftCollection.getNftCollection)': [null, NftCollectionJson];
|
|
1126
|
-
'pri(nftCollection.getSubscription)': [null,
|
|
1167
|
+
'pri(nftCollection.getSubscription)': [null, NftCollection[], NftCollection[]];
|
|
1127
1168
|
'pri(price.getPrice)': [RequestPrice, PriceJson];
|
|
1128
1169
|
'pri(price.getSubscription)': [RequestSubscribePrice, PriceJson, PriceJson];
|
|
1129
1170
|
'pri(balance.getBalance)': [RequestBalance, BalanceJson];
|
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.7-0",
|
|
21
21
|
"main": "./cjs/index.js",
|
|
22
22
|
"module": "./index.js",
|
|
23
23
|
"types": "./index.d.ts",
|
|
@@ -212,27 +212,27 @@
|
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
214
|
"dependencies": {
|
|
215
|
-
"@babel/runtime": "^7.
|
|
215
|
+
"@babel/runtime": "^7.19.0",
|
|
216
216
|
"@ethereumjs/common": "^2.6.5",
|
|
217
|
-
"@polkadot/api": "^
|
|
218
|
-
"@polkadot/keyring": "^
|
|
219
|
-
"@polkadot/networks": "^
|
|
220
|
-
"@polkadot/phishing": "^0.18.
|
|
221
|
-
"@polkadot/rpc-provider": "^
|
|
222
|
-
"@polkadot/types": "^
|
|
223
|
-
"@polkadot/ui-keyring": "^2.
|
|
224
|
-
"@polkadot/ui-settings": "^2.
|
|
225
|
-
"@polkadot/util": "^
|
|
226
|
-
"@polkadot/util-crypto": "^
|
|
227
|
-
"@subwallet/extension-chains": "^0.6.
|
|
228
|
-
"@subwallet/extension-dapp": "^0.6.
|
|
229
|
-
"@subwallet/extension-inject": "^0.6.
|
|
217
|
+
"@polkadot/api": "^9.4.3",
|
|
218
|
+
"@polkadot/keyring": "^10.1.9",
|
|
219
|
+
"@polkadot/networks": "^10.1.9",
|
|
220
|
+
"@polkadot/phishing": "^0.18.9",
|
|
221
|
+
"@polkadot/rpc-provider": "^9.4.3",
|
|
222
|
+
"@polkadot/types": "^9.4.3",
|
|
223
|
+
"@polkadot/ui-keyring": "^2.9.10",
|
|
224
|
+
"@polkadot/ui-settings": "^2.9.10",
|
|
225
|
+
"@polkadot/util": "^10.1.9",
|
|
226
|
+
"@polkadot/util-crypto": "^10.1.9",
|
|
227
|
+
"@subwallet/extension-chains": "^0.6.7-0",
|
|
228
|
+
"@subwallet/extension-dapp": "^0.6.7-0",
|
|
229
|
+
"@subwallet/extension-inject": "^0.6.7-0",
|
|
230
230
|
"ethereumjs-tx": "^2.1.2",
|
|
231
231
|
"eventemitter3": "^4.0.7",
|
|
232
232
|
"rlp": "^3.0.0",
|
|
233
|
-
"rxjs": "^7.5.
|
|
234
|
-
"web3": "^1.
|
|
235
|
-
"web3-core": "^1.
|
|
236
|
-
"web3-core-helpers": "^1.
|
|
233
|
+
"rxjs": "^7.5.7",
|
|
234
|
+
"web3": "^1.8.0",
|
|
235
|
+
"web3-core": "^1.8.0",
|
|
236
|
+
"web3-core-helpers": "^1.8.0"
|
|
237
237
|
}
|
|
238
238
|
}
|
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.7-0'
|
|
9
9
|
};
|