Skip to content

Commit

Permalink
v7.4.8
Browse files Browse the repository at this point in the history
Merge pull request #2652 from Kwenta/dev
  • Loading branch information
LeifuChen authored Jul 24, 2023
2 parents b116759 + b56dbf6 commit 7e09af9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kwenta",
"version": "7.4.7",
"version": "7.4.8",
"description": "Kwenta",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kwenta/app",
"version": "7.4.7",
"version": "7.4.8",
"scripts": {
"dev": "next",
"build": "next build",
Expand Down
43 changes: 6 additions & 37 deletions packages/app/src/state/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,6 @@ import { STATS_INITIAL_STATE } from './stats/reducer'
import { WALLET_INITIAL_STATE } from './wallet/reducer'

export const migrations = {
4: (state: any) => {
return {
...state,
futures: FUTURES_INITIAL_STATE,
prices: PRICES_INITIAL_STATE,
}
},
5: (state: any) => {
return {
...state,
futures: FUTURES_INITIAL_STATE,
}
},
6: (state: any) => {
return {
...state,
prices: PRICES_INITIAL_STATE,
}
},
7: (state: any) => {
return {
...state,
Expand Down Expand Up @@ -61,31 +42,13 @@ export const migrations = {
staking: STAKING_INITIAL_STATE,
}
},
24: (state: any) => {
return {
...state,
futures: FUTURES_INITIAL_STATE,
}
},
25: (state: any) => {
return {
...state,
staking: STAKING_INITIAL_STATE,
}
},
29: (state: any) => {
return {
...state,
futures: FUTURES_INITIAL_STATE,
home: HOME_INITIAL_STATE,
}
},
30: (state: any) => {
return {
...state,
futures: FUTURES_INITIAL_STATE,
}
},
31: (state: any) => {
return {
...state,
Expand All @@ -100,6 +63,12 @@ export const migrations = {
stats: STATS_INITIAL_STATE,
}
},
34: (state: any) => {
return {
...state,
futures: FUTURES_INITIAL_STATE,
}
},
}

export default migrations
2 changes: 1 addition & 1 deletion packages/app/src/state/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const LOG_REDUX = false
const persistConfig = {
key: 'root1',
storage,
version: 33,
version: 34,
blacklist: ['app', 'wallet'],
migrate: createMigrate(migrations, { debug: true }),
}
Expand Down

1 comment on commit 7e09af9

@vercel
Copy link

@vercel vercel bot commented on 7e09af9 Jul 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kwenta – ./packages/app

kwenta.io
kwenta-git-main-kwenta.vercel.app
kwenta-kwenta.vercel.app

Please sign in to comment.