Skip to content

Commit

Permalink
Merge pull request #105 from shapeshift/neoenv
Browse files Browse the repository at this point in the history
feat: add neo environment
  • Loading branch information
NeOMakinG authored Aug 8, 2024
2 parents 5836f65 + 2cd36d4 commit 9fb1cc6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ BEARD_URI=https://beard.shapeshift.com
GOME_URI=https://gome.shapeshift.com
JUICE_URI=https://juice.shapeshift.com
WOOD_URI=https://wood.shapeshift.com
NEO_URI=https://neo.shapeshift.com

# used for support widget, a la intercom
CHATWOOT_URI=https://app.chatwoot.com
Expand Down
6 changes: 6 additions & 0 deletions src/components/DeveloperModeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
CAFE_URI,
DEVELOP_URI,
GOME_URI,
NEO_URI,
JUICE_URI,
RELEASE_URI,
SHAPESHIFT_PRIVATE_URI,
Expand Down Expand Up @@ -82,6 +83,11 @@ const ENVIRONMENTS: Environment[] = [
title: 'wood',
url: WOOD_URI,
},
{
key: 'neo',
title: 'neo',
url: NEO_URI,
},
{
key: 'localhost',
title: 'localhost',
Expand Down
2 changes: 2 additions & 0 deletions src/lib/navigationFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
GOME_URI,
JUICE_URI,
WOOD_URI,
NEO_URI,
WALLETCONNECT_VERIFY_SERVER,
WALLETCONNECT_VERIFY_FALLBACK_SERVER,
} from 'react-native-dotenv'
Expand All @@ -36,6 +37,7 @@ export const shouldLoadFilter = (request: ShouldStartLoadRequest) => {
request.url.startsWith(GOME_URI) ||
request.url.startsWith(JUICE_URI) ||
request.url.startsWith(WOOD_URI) ||
request.url.startsWith(NEO_URI) ||
request.url.startsWith(CHATWOOT_URI) ||
request.url.startsWith(WALLETCONNECT_VERIFY_SERVER) ||
request.url.startsWith(WALLETCONNECT_VERIFY_FALLBACK_SERVER)
Expand Down
1 change: 1 addition & 0 deletions types/react-native-dotenv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ declare module 'react-native-dotenv' {
export const GOME_URI: string
export const JUICE_URI: string
export const WOOD_URI: string
export const NEO_URI: string
/**
* chatwoot support widget
*/
Expand Down

0 comments on commit 9fb1cc6

Please sign in to comment.