Skip to content

Commit

Permalink
private
Browse files Browse the repository at this point in the history
  • Loading branch information
BitHighlander committed Dec 10, 2023
1 parent 754a03f commit df975a4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/keepkey-desktop-app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ export const App = () => {
}
if (connected) {
let defaultDapp = localStorage.getItem('@app/defaultDapp')
if (!defaultDapp || defaultDapp === '') {
if (!defaultDapp || defaultDapp === '' || defaultDapp.indexOf('shapeshift') > -1) {
const defaultDappShapeShift = {
imageUrl: 'https://assets.coincap.io/assets/icons/[email protected]',
url: 'https://app.shapeshift.com/',
url: 'https://private.shapeshift.com/',
name: 'ShapeShift',
}

Expand Down
2 changes: 1 addition & 1 deletion packages/keepkey-desktop-app/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const validators = {
REACT_APP_KEEPKEY_UPDATER_BASE_URL: url(),
REACT_APP_ETHERSCAN_API_KEY: str(),
REACT_APP_WALLET_CONNECT_PROJECT_ID: str(),
REACT_APP_SHAPESHIFT_DAPP_URL: str({ default: 'https://app.shapeshift.com' }),
REACT_APP_SHAPESHIFT_DAPP_URL: str({ default: 'https://private.shapeshift.com' }),
}

function reporter<T>({ errors }: envalid.ReporterOptions<T>) {
Expand Down
2 changes: 1 addition & 1 deletion packages/keepkey-desktop-app/src/pages/Browser/Browser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const checkIfSSDApp = (currentUrl: string) => {
}

export const Browser = () => {
const [url, setUrl] = useState('https://app.shapeshift.com/')
const [url, setUrl] = useState('https://private.shapeshift.com/')
const [inputUrl, setInputUrl] = useState(url)
const [loading, setLoading] = useState(false)
const [webviewLoadFailure, setWebviewLoadFailure] = useState<string | undefined>(undefined)
Expand Down
2 changes: 1 addition & 1 deletion packages/keepkey-desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "keepkey-desktop",
"version": "2.1.36",
"version": "2.1.37",
"author": {
"name": "KeepKey",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion packages/keepkey-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const setupKeepKeySDK = async () => {
name: 'ShapeShift',
imageUrl: 'https://assets.coincap.io/assets/icons/[email protected]',
basePath: 'http://localhost:1646/spec/swagger.json',
url: 'https://app.shapeshift.com',
url: 'https://private.shapeshift.com',
},
}
let sdk = await KeepKeySdk.create(config)
Expand Down

0 comments on commit df975a4

Please sign in to comment.