Skip to content

Commit

Permalink
Revert Netlify deployment-specific config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Nov 19, 2024
1 parent 3064321 commit 1b04635
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/config/config.testnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import { ENV_TEST } from '../lib/Constants';
// in component templates (where the reactive config is also available as $config), computed props and watchers. Use of
// the reactive config is not possible in Vue 2 before the composition-api plugin has been registered.
export default {
hubEndpoint: process.env.VUE_APP_HUB_URL,
hubEndpoint: 'https://hub.nimiq-testnet.com',
environment: ENV_TEST,
nimiqSeeds: [
'/dns4/seed1.pos.nimiq-testnet.com/tcp/8443/wss',
'/dns4/seed2.pos.nimiq-testnet.com/tcp/8443/wss',
'/dns4/seed3.pos.nimiq-testnet.com/tcp/8443/wss',
'/dns4/seed4.pos.nimiq-testnet.com/tcp/8443/wss',
],
faucetEndpoint: process.env.VUE_APP_FAUCET_URL,
faucetEndpoint: 'https://faucet.pos.nimiq-testnet.com',
reportToSentry: false,
enableBitcoin: true,
pageVisibilityTxRefreshInterval: 2 * 60e3, // 2 minutes
Expand Down
9 changes: 1 addition & 8 deletions src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { useConfig } from './composables/useConfig';
import { useGeoIp } from './composables/useGeoIp';

const StorageKeys = {
TRANSACTIONS: 'wallet_transactions_v04',
TRANSACTIONS: 'wallet_transactions_v01',
ACCOUNTINFOS: 'wallet_accounts_v01',
ADDRESSINFOS: 'wallet_addresses_v01',
SETTINGS: 'wallet_settings_v01',
Expand Down Expand Up @@ -137,13 +137,6 @@ export async function initStorage() {
const usdtTransactionsStore = useUsdtTransactionsStore();
const proxyStore = useProxyStore();

// Delete deprecated stores
if (StorageKeys.TRANSACTIONS === 'wallet_transactions_v04') {
idbDel('wallet_transactions_v01'); // no need to await this, fire and forget
idbDel('wallet_transactions_v02'); // no need to await this, fire and forget
idbDel('wallet_transactions_v03'); // no need to await this, fire and forget
}

await Promise.all([
initStoreStore(
useSettingsStore(),
Expand Down

0 comments on commit 1b04635

Please sign in to comment.