@dydxprotocol/v4-localization 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/prod/index.ts +5 -0
- package/config/staging/index.ts +7 -0
- package/index.ts +3 -4
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import devEndpoints from './dev_endpoints.json';
|
|
2
|
+
import endpoints from './endpoints.json';
|
|
3
|
+
import walletsV2Staging from './walletsV2.json';
|
|
4
|
+
|
|
5
|
+
export const DEV_ENDPOINTS = devEndpoints;
|
|
6
|
+
export const ENDPOINTS_STAGING = endpoints;
|
|
7
|
+
export const WALLETS_V2_STAGING = walletsV2Staging;
|
package/index.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import walletsV2Production from './config/prod/walletsV2.json';
|
|
2
|
-
import walletsV2Staging from './config/staging/walletsV2.json';
|
|
3
1
|
import countries from './config/countries.json';
|
|
4
2
|
import marketsV3 from './config/markets.json';
|
|
5
3
|
import marketsV4 from './v4/staging/markets.json';
|
|
@@ -13,8 +11,9 @@ export { TOOLTIP_STRING_KEYS } from './scripts/generated/tooltips';
|
|
|
13
11
|
export { APP_NATIVE } from './config/localizations_native';
|
|
14
12
|
export { NOTIFICATIONS} from './config/localization_notifications';
|
|
15
13
|
|
|
16
|
-
export
|
|
17
|
-
export
|
|
14
|
+
export { DEV_ENDPOINTS, ENDPOINTS_STAGING, WALLETS_V2_STAGING } from './config/staging';
|
|
15
|
+
export { ENDPOINTS, WALLETS_V2_PRODUCTION } from './config/prod';
|
|
16
|
+
|
|
18
17
|
export const COUNTRIES = countries;
|
|
19
18
|
export const MARKETS_V3 = marketsV3;
|
|
20
19
|
export const MARKETS_V4 = marketsV4;
|