@dydxprotocol/v4-localization 0.0.11 → 0.0.13

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.
@@ -501,6 +501,7 @@
501
501
  "MAX_SLIPPAGE": "Max Slippage",
502
502
  "MINIMUM_DEPOSIT_MET": "Nice! Your deposit meets the gasless deposit minimum of {GASLESS_DEPOSIT_THRESHOLD} {SYMBOL}. dYdX will cover the gas fees for this deposit.",
503
503
  "MINIMUM_DEPOSIT_UNMET": "Deposit at least {GASLESS_DEPOSIT_THRESHOLD} {SYMBOL} and dYdX will pay the gas fees for this deposit!",
504
+ "EXCHANGE_RECEIVED": "Receive",
504
505
  "SET_ALLOWANCE_EXPLANATION": "You must enable {SYMBOL} the first time you deposit on dYdX. You will only have to do this once.",
505
506
  "SETTING_ALLOWANCE_EXPLANATION": "You will be able to deposit once your enable {SYMBOL} transaction confirms. You only have to do this once per asset.",
506
507
  "SLIPPAGE": "Slippage",
@@ -0,0 +1,5 @@
1
+ import endpoints from './endpoints.json';
2
+ import walletsV2Production from './walletsV2.json';
3
+
4
+ export const ENDPOINTS = endpoints;
5
+ export const WALLETS_V2_PRODUCTION = walletsV2Production;
@@ -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 const WALLETS_V2_PRODUCTION = walletsV2Production;
17
- export const WALLETS_V2_STAGING = walletsV2Staging;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -114,6 +114,7 @@ export const APP_STRING_KEYS = {
114
114
  ENABLE_SYMBOL_ON_DYDX: 'APP.DEPOSIT_MODAL.ENABLE_SYMBOL_ON_DYDX',
115
115
  ENABLING_SYMBOL: 'APP.DEPOSIT_MODAL.ENABLING_SYMBOL',
116
116
  EXCHANGE_RATE: 'APP.DEPOSIT_MODAL.EXCHANGE_RATE',
117
+ EXCHANGE_RECEIVED: 'APP.DEPOSIT_MODAL.EXCHANGE_RECEIVED',
117
118
  FREE_GAS: 'APP.DEPOSIT_MODAL.FREE_GAS',
118
119
  GASLESS_DEPOSITS_DESCRIPTION_PLURAL: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_DESCRIPTION_PLURAL',
119
120
  GASLESS_DEPOSITS_DESCRIPTION_SINGULAR: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_DESCRIPTION_SINGULAR',