Skip to content

Commit

Permalink
Merge branch 'KGP-330-as-an-user-i-want-to-select-which-chains-i-want…
Browse files Browse the repository at this point in the history
…-to-see-my-earnings-on' of github.com:KyberNetwork/kyberswap-interface into KGP-330-as-an-user-i-want-to-select-which-chains-i-want-to-see-my-earnings-on
  • Loading branch information
viet-nv committed Jul 27, 2023
2 parents 97176d3 + 49b25ab commit f137985
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 86 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@apollo/client": "^3.7.1",
"@datadog/browser-rum": "^4.23.3",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@kybernetwork/oauth2": "0.0.9",
"@kybernetwork/oauth2": "1.0.0",
"@kyberswap/ks-sdk-classic": "^1.0.3",
"@kyberswap/ks-sdk-core": "1.0.7-rc2",
"@kyberswap/ks-sdk-elastic": "^1.1.2",
Expand Down
3 changes: 0 additions & 3 deletions src/assets/svg/desktop_mobile_icon.svg

This file was deleted.

4 changes: 2 additions & 2 deletions src/services/baseQueryOauth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import KyberOauth2 from '@kybernetwork/oauth2'
import { KyberOauth2Api } from '@kybernetwork/oauth2'
import { BaseQueryFn, fetchBaseQuery } from '@reduxjs/toolkit/query'

import { checkIamDown } from 'utils/iamError'
Expand All @@ -10,7 +10,7 @@ const queryWithToken = async (config: any, baseUrl: string) => {
config.data = config.data || config.body
}
config.url = baseUrl + config.url
const result = await KyberOauth2.callHttp(config)
const result = await KyberOauth2Api.call(config)
return { data: result.data }
} catch (err) {
checkIamDown(err)
Expand Down
76 changes: 0 additions & 76 deletions src/services/notification.ts

This file was deleted.

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2042,10 +2042,10 @@
bs58 "^5.0.0"
uuid "^8.3.2"

"@kybernetwork/oauth2@0.0.9":
version "0.0.9"
resolved "https://npm.pkg.github.com/download/@kybernetwork/oauth2/0.0.9/283841d908de226641396505390162fbe3be37c1#283841d908de226641396505390162fbe3be37c1"
integrity sha512-Hy8rot2NRQgHHQXaikuuI2VT183m9hgyXBT8ALxrrGigRDeglpVFFIZZqdsctGIZDQp4jZFXI1UiS0TLDhf+3A==
"@kybernetwork/oauth2@1.0.0":
version "1.0.0"
resolved "https://npm.pkg.github.com/download/@kybernetwork/oauth2/1.0.0/dbb42e967c8a6755bb801b2c528064764534d00e#dbb42e967c8a6755bb801b2c528064764534d00e"
integrity sha512-fIv7W+s+PIK8xxm+aic4GjtrKZsv8TRuqNfa6CeDGOW16oxhZlSARHVJy4rWfGxAVT2+0GRuXXR2uMSwAdfczw==
dependencies:
axios "1.2.1"
client-oauth2 "^4.3.3"
Expand Down

0 comments on commit f137985

Please sign in to comment.