@subwallet/extension-base 1.3.55-0 → 1.3.56-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/cjs/koni/api/nft/config.js +1 -1
- package/cjs/koni/background/handlers/Extension.js +5 -0
- package/cjs/packageInfo.js +1 -1
- package/cjs/services/chain-service/utils/index.js +0 -3
- package/cjs/services/chain-service/utils/patch.js +1 -1
- package/cjs/services/keyring-service/context/handlers/Json.js +2 -2
- package/cjs/services/migration-service/scripts/index.js +3 -1
- package/cjs/services/setting-service/constants.js +1 -1
- package/koni/api/nft/config.d.ts +1 -1
- package/koni/api/nft/config.js +1 -1
- package/koni/background/handlers/Extension.js +7 -2
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/services/chain-service/utils/index.js +0 -3
- package/services/chain-service/utils/patch.d.ts +1 -1
- package/services/chain-service/utils/patch.js +1 -1
- package/services/keyring-service/context/handlers/Json.js +2 -2
- package/services/migration-service/scripts/index.js +3 -1
- package/services/setting-service/constants.d.ts +1 -1
- package/services/setting-service/constants.js +1 -1
|
@@ -47,7 +47,7 @@ const ODYSSEY_ENDPOINT = 'https://indexer-v2.dev.aurascan.io/api/v2/graphql';
|
|
|
47
47
|
// export const UNIQUE_SCAN_ENDPOINT = 'https://explorer-api.unique.network/v1/graphql';
|
|
48
48
|
// export const QUARTZ_SCAN_ENDPOINT = 'https://hasura-quartz.unique.network/v1/graphql';
|
|
49
49
|
exports.ODYSSEY_ENDPOINT = ODYSSEY_ENDPOINT;
|
|
50
|
-
const VARA_SCAN_ENDPOINT = 'https://nft-explorer.vara
|
|
50
|
+
const VARA_SCAN_ENDPOINT = 'https://nft-explorer.vara.network/graphql';
|
|
51
51
|
exports.VARA_SCAN_ENDPOINT = VARA_SCAN_ENDPOINT;
|
|
52
52
|
const AVAIL_LIGHT_CLIENT_NFT = 'https://indexer.availspace.app/graphql'; // 'https://indexer-nft.availspace.app/graphql';
|
|
53
53
|
exports.AVAIL_LIGHT_CLIENT_NFT = AVAIL_LIGHT_CLIENT_NFT;
|
|
@@ -329,6 +329,11 @@ class KoniExtension {
|
|
|
329
329
|
const accountProxiesFiltered = accountProxies.filter(accountProxy => {
|
|
330
330
|
var _accountProxy$account;
|
|
331
331
|
const signMode = (_accountProxy$account = accountProxy.accounts[0]) === null || _accountProxy$account === void 0 ? void 0 : _accountProxy$account.signMode;
|
|
332
|
+
if (signMode === _types4.AccountSignMode.GENERIC_LEDGER) {
|
|
333
|
+
if (accountProxy.chainTypes.includes(_types4.AccountChainType.ETHEREUM)) {
|
|
334
|
+
return (0, _utils6._isChainCompatibleLedgerEvm)(chainInfo);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
332
337
|
if (signMode === _types4.AccountSignMode.ECDSA_SUBSTRATE_LEDGER) {
|
|
333
338
|
if (actionType === _types2.ActionType.SEND_NFT) {
|
|
334
339
|
return false;
|
package/cjs/packageInfo.js
CHANGED
|
@@ -851,9 +851,6 @@ const _isChainInfoCompatibleWithAccountInfo = (chainInfo, accountInfo) => {
|
|
|
851
851
|
if (accountSignMode === _types3.AccountSignMode.ECDSA_SUBSTRATE_LEDGER) {
|
|
852
852
|
return _isSubstrateEvmCompatibleChain(chainInfo) && _types4.EthereumKeypairTypes.includes(accountType);
|
|
853
853
|
}
|
|
854
|
-
if (accountSignMode === _types3.AccountSignMode.GENERIC_LEDGER) {
|
|
855
|
-
return _isChainCompatibleLedgerEvm(chainInfo) && _types4.EthereumKeypairTypes.includes(accountType);
|
|
856
|
-
}
|
|
857
854
|
return _isChainEvmCompatible(chainInfo) && _types4.EthereumKeypairTypes.includes(accountType);
|
|
858
855
|
}
|
|
859
856
|
if (accountChainType === _types3.AccountChainType.TON) {
|
|
@@ -12,7 +12,7 @@ const PRODUCTION_BRANCHES = ['master', 'webapp', 'webapp-dev'];
|
|
|
12
12
|
const branchName = process.env.BRANCH_NAME || 'subwallet-dev';
|
|
13
13
|
const fetchDomain = process.env.PATCH_CHAIN_LIST_URL || (PRODUCTION_BRANCHES.indexOf(branchName) > -1 ? 'https://chain-list-assets.subwallet.app' : 'https://dev.sw-chain-list-assets.pages.dev');
|
|
14
14
|
const fetchFile = PRODUCTION_BRANCHES.indexOf(branchName) > -1 ? 'list.json' : 'preview.json';
|
|
15
|
-
const ChainListVersion = '0.2.
|
|
15
|
+
const ChainListVersion = '0.2.114'; // update this when build chain-list
|
|
16
16
|
|
|
17
17
|
// todo: move this interface to chainlist
|
|
18
18
|
exports.ChainListVersion = ChainListVersion;
|
|
@@ -117,10 +117,10 @@ class AccountJsonHandler extends _Base.AccountBaseHandler {
|
|
|
117
117
|
name: (exists === null || exists === void 0 ? void 0 : exists.name) || (exists === null || exists === void 0 ? void 0 : exists.address) || _pair.address
|
|
118
118
|
}
|
|
119
119
|
}));
|
|
120
|
+
const _name = _pair.meta.name || '';
|
|
121
|
+
const nameExists = this.state.checkNameExists(_name);
|
|
120
122
|
_uiKeyring.keyring.restoreAccount(file, password, withMasterPassword);
|
|
121
123
|
const pair = _uiKeyring.keyring.getPair(_pair.address);
|
|
122
|
-
const _name = pair.meta.name || '';
|
|
123
|
-
const nameExists = this.state.checkNameExists(_name);
|
|
124
124
|
if (nameExists) {
|
|
125
125
|
const newName = _name.concat(' - ').concat((0, _getId.generateRandomString)());
|
|
126
126
|
_uiKeyring.keyring.saveAccountMeta(pair, {
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.MYTHOS_MIGRATION_KEY = exports.EVERYTIME = void 0;
|
|
8
|
+
var _MigrateChainPatrol = _interopRequireDefault(require("@subwallet/extension-base/services/migration-service/scripts/MigrateChainPatrol"));
|
|
8
9
|
var _ClearMetadataDatabase = _interopRequireDefault(require("./databases/ClearMetadataDatabase"));
|
|
9
10
|
var _ClearMetadataForMythos = _interopRequireDefault(require("./databases/ClearMetadataForMythos"));
|
|
10
11
|
var _MigrateAssetSetting = _interopRequireDefault(require("./databases/MigrateAssetSetting"));
|
|
@@ -74,6 +75,7 @@ var _default = {
|
|
|
74
75
|
[MYTHOS_MIGRATION_KEY]: _ClearMetadataForMythos.default,
|
|
75
76
|
// [`${EVERYTIME}-1.1.42-02`]: MigrateTransactionHistoryBySymbol
|
|
76
77
|
// [`${EVERYTIME}-1`]: AutoEnableChainsTokens
|
|
77
|
-
'1.3.42-01': _MigrateNewUnifiedAccount.default
|
|
78
|
+
'1.3.42-01': _MigrateNewUnifiedAccount.default,
|
|
79
|
+
'1.3.54-01': _MigrateChainPatrol.default
|
|
78
80
|
};
|
|
79
81
|
exports.default = _default;
|
|
@@ -17,7 +17,7 @@ const DEFAULT_AUTO_LOCK_TIME = 15;
|
|
|
17
17
|
exports.DEFAULT_AUTO_LOCK_TIME = DEFAULT_AUTO_LOCK_TIME;
|
|
18
18
|
const DEFAULT_UNLOCK_TYPE = _utils.targetIsExtension ? _KoniTypes.WalletUnlockType.ALWAYS_REQUIRED : _KoniTypes.WalletUnlockType.WHEN_NEEDED;
|
|
19
19
|
exports.DEFAULT_UNLOCK_TYPE = DEFAULT_UNLOCK_TYPE;
|
|
20
|
-
const DEFAULT_CHAIN_PATROL_ENABLE =
|
|
20
|
+
const DEFAULT_CHAIN_PATROL_ENABLE = true;
|
|
21
21
|
exports.DEFAULT_CHAIN_PATROL_ENABLE = DEFAULT_CHAIN_PATROL_ENABLE;
|
|
22
22
|
const DEFAULT_LANGUAGE = 'en';
|
|
23
23
|
exports.DEFAULT_LANGUAGE = DEFAULT_LANGUAGE;
|
package/koni/api/nft/config.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const BIT_COUNTRY_LAND_ESTATE_METADATA_API = "https://pioneer-api
|
|
|
12
12
|
export declare const BIT_COUNTRY_THUMBNAIL_RESOLVER = "https://res.cloudinary.com/ddftctzph/image/upload/c_scale,q_100,w_250/production-ipfs/asset/";
|
|
13
13
|
export declare const CF_IPFS_GATEWAY = "https://cf-ipfs.com/ipfs/";
|
|
14
14
|
export declare const ODYSSEY_ENDPOINT = "https://indexer-v2.dev.aurascan.io/api/v2/graphql";
|
|
15
|
-
export declare const VARA_SCAN_ENDPOINT = "https://nft-explorer.vara
|
|
15
|
+
export declare const VARA_SCAN_ENDPOINT = "https://nft-explorer.vara.network/graphql";
|
|
16
16
|
export declare const AVAIL_LIGHT_CLIENT_NFT = "https://indexer.availspace.app/graphql";
|
|
17
17
|
export declare const UNIQUE_SCAN_ENDPOINT = "https://api-unique.uniquescan.io/v1/graphql";
|
|
18
18
|
export declare const QUARTZ_SCAN_ENDPOINT = "https://api-quartz.uniquescan.io/v1/graphql";
|
package/koni/api/nft/config.js
CHANGED
|
@@ -26,7 +26,7 @@ export const ODYSSEY_ENDPOINT = 'https://indexer-v2.dev.aurascan.io/api/v2/graph
|
|
|
26
26
|
// export const UNIQUE_SCAN_ENDPOINT = 'https://explorer-api.unique.network/v1/graphql';
|
|
27
27
|
// export const QUARTZ_SCAN_ENDPOINT = 'https://hasura-quartz.unique.network/v1/graphql';
|
|
28
28
|
|
|
29
|
-
export const VARA_SCAN_ENDPOINT = 'https://nft-explorer.vara
|
|
29
|
+
export const VARA_SCAN_ENDPOINT = 'https://nft-explorer.vara.network/graphql';
|
|
30
30
|
export const AVAIL_LIGHT_CLIENT_NFT = 'https://indexer.availspace.app/graphql'; // 'https://indexer-nft.availspace.app/graphql';
|
|
31
31
|
|
|
32
32
|
export const UNIQUE_SCAN_ENDPOINT = 'https://api-unique.uniquescan.io/v1/graphql';
|
|
@@ -39,7 +39,7 @@ import { _isPosChainBridge, getClaimPosBridge } from '@subwallet/extension-base/
|
|
|
39
39
|
import { estimateXcmFee } from '@subwallet/extension-base/services/balance-service/transfer/xcm/utils';
|
|
40
40
|
import { _DEFAULT_MANTA_ZK_CHAIN, _MANTA_ZK_CHAIN_GROUP, _ZK_ASSET_PREFIX } from '@subwallet/extension-base/services/chain-service/constants';
|
|
41
41
|
import { _ChainConnectionStatus } from '@subwallet/extension-base/services/chain-service/types';
|
|
42
|
-
import { _getAssetDecimals, _getAssetSymbol, _getChainNativeTokenBasicInfo, _getContractAddressOfToken, _getEvmChainId, _isAssetSmartContractNft, _isChainBitcoinCompatible, _isChainEnabled, _isChainEvmCompatible, _isChainSubstrateCompatible, _isCustomAsset, _isLocalToken, _isMantaZkAsset, _isNativeToken, _isNativeTokenBySlug, _isPureEvmChain, _isTokenEvmSmartContract, _isTokenTransferredByBitcoin, _isTokenTransferredByCardano, _isTokenTransferredByEvm, _isTokenTransferredByTon } from '@subwallet/extension-base/services/chain-service/utils';
|
|
42
|
+
import { _getAssetDecimals, _getAssetSymbol, _getChainNativeTokenBasicInfo, _getContractAddressOfToken, _getEvmChainId, _isAssetSmartContractNft, _isChainBitcoinCompatible, _isChainCompatibleLedgerEvm, _isChainEnabled, _isChainEvmCompatible, _isChainSubstrateCompatible, _isCustomAsset, _isLocalToken, _isMantaZkAsset, _isNativeToken, _isNativeTokenBySlug, _isPureEvmChain, _isTokenEvmSmartContract, _isTokenTransferredByBitcoin, _isTokenTransferredByCardano, _isTokenTransferredByEvm, _isTokenTransferredByTon } from '@subwallet/extension-base/services/chain-service/utils';
|
|
43
43
|
import { calculateToAmountByReservePool } from '@subwallet/extension-base/services/fee-service/utils';
|
|
44
44
|
import { batchExtrinsicSetFeeHydration, getAssetHubTokensCanPayFee, getHydrationTokensCanPayFee } from '@subwallet/extension-base/services/fee-service/utils/tokenPayFee';
|
|
45
45
|
import { EXTENSION_REQUEST_URL } from '@subwallet/extension-base/services/request-service/constants';
|
|
@@ -47,7 +47,7 @@ import { DEFAULT_AUTO_LOCK_TIME } from '@subwallet/extension-base/services/setti
|
|
|
47
47
|
import { isProposalExpired, isSupportWalletConnectChain, isSupportWalletConnectNamespace } from '@subwallet/extension-base/services/wallet-connect-service/helpers';
|
|
48
48
|
import { SWStorage } from '@subwallet/extension-base/storage';
|
|
49
49
|
import { AccountsStore } from '@subwallet/extension-base/stores';
|
|
50
|
-
import { AccountSignMode, BasicTxErrorType, BasicTxWarningCode, CommonStepType, EarningProcessType, ProcessType, StakingTxErrorType, StepStatus, SwapFeeType, YieldPoolType, YieldStepType } from '@subwallet/extension-base/types';
|
|
50
|
+
import { AccountChainType, AccountSignMode, BasicTxErrorType, BasicTxWarningCode, CommonStepType, EarningProcessType, ProcessType, StakingTxErrorType, StepStatus, SwapFeeType, YieldPoolType, YieldStepType } from '@subwallet/extension-base/types';
|
|
51
51
|
import { _analyzeAddress, calculateMaxTransferable, combineAllAccountProxy, combineBitcoinFee, createPromiseHandler, createTransactionFromRLP, detectTransferTxType, filterUneconomicalUtxos, getAccountSignMode, getSizeInfo, getTransferableBitcoinUtxos, isSameAddress, isSubstrateEcdsaLedgerAssetSupported, MODULE_SUPPORT, reformatAddress, signatureToHex, transformAccounts, transformAddresses, uniqueStringArray } from '@subwallet/extension-base/utils';
|
|
52
52
|
import { parseContractInput, parseEvmRlp } from '@subwallet/extension-base/utils/eth/parseTransaction';
|
|
53
53
|
import { getId } from '@subwallet/extension-base/utils/getId';
|
|
@@ -312,6 +312,11 @@ export default class KoniExtension {
|
|
|
312
312
|
const accountProxiesFiltered = accountProxies.filter(accountProxy => {
|
|
313
313
|
var _accountProxy$account;
|
|
314
314
|
const signMode = (_accountProxy$account = accountProxy.accounts[0]) === null || _accountProxy$account === void 0 ? void 0 : _accountProxy$account.signMode;
|
|
315
|
+
if (signMode === AccountSignMode.GENERIC_LEDGER) {
|
|
316
|
+
if (accountProxy.chainTypes.includes(AccountChainType.ETHEREUM)) {
|
|
317
|
+
return _isChainCompatibleLedgerEvm(chainInfo);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
315
320
|
if (signMode === AccountSignMode.ECDSA_SUBSTRATE_LEDGER) {
|
|
316
321
|
if (actionType === ActionType.SEND_NFT) {
|
|
317
322
|
return false;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"./cjs/detectPackage.js"
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "1.3.
|
|
20
|
+
"version": "1.3.56-0",
|
|
21
21
|
"main": "./cjs/index.js",
|
|
22
22
|
"module": "./index.js",
|
|
23
23
|
"types": "./index.d.ts",
|
|
@@ -2873,11 +2873,11 @@
|
|
|
2873
2873
|
"@sora-substrate/type-definitions": "^1.17.7",
|
|
2874
2874
|
"@substrate/connect": "^0.8.9",
|
|
2875
2875
|
"@subwallet-monorepos/subwallet-services-sdk": "^0.1.8",
|
|
2876
|
-
"@subwallet/chain-list": "0.2.
|
|
2877
|
-
"@subwallet/extension-base": "^1.3.
|
|
2878
|
-
"@subwallet/extension-chains": "^1.3.
|
|
2879
|
-
"@subwallet/extension-dapp": "^1.3.
|
|
2880
|
-
"@subwallet/extension-inject": "^1.3.
|
|
2876
|
+
"@subwallet/chain-list": "0.2.114",
|
|
2877
|
+
"@subwallet/extension-base": "^1.3.56-0",
|
|
2878
|
+
"@subwallet/extension-chains": "^1.3.56-0",
|
|
2879
|
+
"@subwallet/extension-dapp": "^1.3.56-0",
|
|
2880
|
+
"@subwallet/extension-inject": "^1.3.56-0",
|
|
2881
2881
|
"@subwallet/keyring": "^0.1.13",
|
|
2882
2882
|
"@subwallet/ui-keyring": "^0.1.13",
|
|
2883
2883
|
"@ton/core": "^0.56.3",
|
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: '1.3.
|
|
10
|
+
version: '1.3.56-0'
|
|
11
11
|
};
|
|
@@ -623,9 +623,6 @@ export const _isChainInfoCompatibleWithAccountInfo = (chainInfo, accountInfo) =>
|
|
|
623
623
|
if (accountSignMode === AccountSignMode.ECDSA_SUBSTRATE_LEDGER) {
|
|
624
624
|
return _isSubstrateEvmCompatibleChain(chainInfo) && EthereumKeypairTypes.includes(accountType);
|
|
625
625
|
}
|
|
626
|
-
if (accountSignMode === AccountSignMode.GENERIC_LEDGER) {
|
|
627
|
-
return _isChainCompatibleLedgerEvm(chainInfo) && EthereumKeypairTypes.includes(accountType);
|
|
628
|
-
}
|
|
629
626
|
return _isChainEvmCompatible(chainInfo) && EthereumKeypairTypes.includes(accountType);
|
|
630
627
|
}
|
|
631
628
|
if (accountChainType === AccountChainType.TON) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ChainAsset, _ChainInfo, _MultiChainAsset } from '@subwallet/chain-list/types';
|
|
2
|
-
export declare const ChainListVersion = "0.2.
|
|
2
|
+
export declare const ChainListVersion = "0.2.114";
|
|
3
3
|
export interface PatchInfo {
|
|
4
4
|
patchVersion: string;
|
|
5
5
|
appliedVersion: string;
|
|
@@ -5,7 +5,7 @@ const PRODUCTION_BRANCHES = ['master', 'webapp', 'webapp-dev'];
|
|
|
5
5
|
const branchName = process.env.BRANCH_NAME || 'subwallet-dev';
|
|
6
6
|
const fetchDomain = process.env.PATCH_CHAIN_LIST_URL || (PRODUCTION_BRANCHES.indexOf(branchName) > -1 ? 'https://chain-list-assets.subwallet.app' : 'https://dev.sw-chain-list-assets.pages.dev');
|
|
7
7
|
const fetchFile = PRODUCTION_BRANCHES.indexOf(branchName) > -1 ? 'list.json' : 'preview.json';
|
|
8
|
-
export const ChainListVersion = '0.2.
|
|
8
|
+
export const ChainListVersion = '0.2.114'; // update this when build chain-list
|
|
9
9
|
|
|
10
10
|
// todo: move this interface to chainlist
|
|
11
11
|
|
|
@@ -110,10 +110,10 @@ export class AccountJsonHandler extends AccountBaseHandler {
|
|
|
110
110
|
name: (exists === null || exists === void 0 ? void 0 : exists.name) || (exists === null || exists === void 0 ? void 0 : exists.address) || _pair.address
|
|
111
111
|
}
|
|
112
112
|
}));
|
|
113
|
+
const _name = _pair.meta.name || '';
|
|
114
|
+
const nameExists = this.state.checkNameExists(_name);
|
|
113
115
|
keyring.restoreAccount(file, password, withMasterPassword);
|
|
114
116
|
const pair = keyring.getPair(_pair.address);
|
|
115
|
-
const _name = pair.meta.name || '';
|
|
116
|
-
const nameExists = this.state.checkNameExists(_name);
|
|
117
117
|
if (nameExists) {
|
|
118
118
|
const newName = _name.concat(' - ').concat(generateRandomString());
|
|
119
119
|
keyring.saveAccountMeta(pair, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Copyright 2019-2022 @subwallet/extension-koni authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
|
+
import MigrateChainPatrol from '@subwallet/extension-base/services/migration-service/scripts/MigrateChainPatrol';
|
|
4
5
|
import ClearMetadataDatabase from "./databases/ClearMetadataDatabase.js";
|
|
5
6
|
import ClearMetadataForMythos from "./databases/ClearMetadataForMythos.js";
|
|
6
7
|
import MigrateAssetSetting from "./databases/MigrateAssetSetting.js";
|
|
@@ -65,5 +66,6 @@ export default {
|
|
|
65
66
|
[MYTHOS_MIGRATION_KEY]: ClearMetadataForMythos,
|
|
66
67
|
// [`${EVERYTIME}-1.1.42-02`]: MigrateTransactionHistoryBySymbol
|
|
67
68
|
// [`${EVERYTIME}-1`]: AutoEnableChainsTokens
|
|
68
|
-
'1.3.42-01': MigrateNewUnifiedAccount
|
|
69
|
+
'1.3.42-01': MigrateNewUnifiedAccount,
|
|
70
|
+
'1.3.54-01': MigrateChainPatrol
|
|
69
71
|
};
|
|
@@ -4,7 +4,7 @@ export declare const DEFAULT_THEME: ThemeNames;
|
|
|
4
4
|
export declare const DEFAULT_NOTIFICATION_TYPE: BrowserConfirmationType;
|
|
5
5
|
export declare const DEFAULT_AUTO_LOCK_TIME = 15;
|
|
6
6
|
export declare const DEFAULT_UNLOCK_TYPE: WalletUnlockType;
|
|
7
|
-
export declare const DEFAULT_CHAIN_PATROL_ENABLE =
|
|
7
|
+
export declare const DEFAULT_CHAIN_PATROL_ENABLE = true;
|
|
8
8
|
export declare const DEFAULT_LANGUAGE: LanguageType;
|
|
9
9
|
export declare const DEFAULT_CURRENCY = "usd";
|
|
10
10
|
export declare const DEFAULT_SHOW_ZERO_BALANCE = true;
|
|
@@ -7,7 +7,7 @@ export const DEFAULT_THEME = ThemeNames.DARK;
|
|
|
7
7
|
export const DEFAULT_NOTIFICATION_TYPE = 'popup';
|
|
8
8
|
export const DEFAULT_AUTO_LOCK_TIME = 15;
|
|
9
9
|
export const DEFAULT_UNLOCK_TYPE = targetIsExtension ? WalletUnlockType.ALWAYS_REQUIRED : WalletUnlockType.WHEN_NEEDED;
|
|
10
|
-
export const DEFAULT_CHAIN_PATROL_ENABLE =
|
|
10
|
+
export const DEFAULT_CHAIN_PATROL_ENABLE = true;
|
|
11
11
|
export const DEFAULT_LANGUAGE = 'en';
|
|
12
12
|
export const DEFAULT_CURRENCY = 'usd';
|
|
13
13
|
export const DEFAULT_SHOW_ZERO_BALANCE = true;
|