Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add neo environment #105

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading