@dydxprotocol/v4-localization 0.1.10 → 0.1.11

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.
@@ -1345,6 +1345,8 @@
1345
1345
  "BROADCAST_ERROR_3006": "Stateful order does not exist",
1346
1346
  "BROADCAST_ERROR_3007": "Stateful order collateralization check failed",
1347
1347
  "BROADCAST_ERROR_3008": "Stateful order was previously cancelled and therefore cannot be placed",
1348
+ "BROADCAST_ERROR_3009": "Stateful order was previously removed and therefore cannot be placed",
1349
+ "BROADCAST_ERROR_10001": "Subaccount cannot open more orders due to equity tier limit.",
1348
1350
 
1349
1351
  "GENERAL": {
1350
1352
  "SOMETHING_WENT_WRONG_WITH_MESSAGE": "Something went wrong: {ERROR_MESSAGE}",
@@ -1387,6 +1389,7 @@
1387
1389
  "TRIGGER_MUST_BELOW_INDEX_PRICE": "Your trigger price must be below the current oracle price: {INDEX_PRICE}.",
1388
1390
  "TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE": "Your trigger price is too close to your liquidation price - this order may not execute fully before you get liquidated. Please update your trigger price or use a stop limit order.",
1389
1391
  "USER_MAX_ORDERS": "This order would put you above the max limit of 20 open orders per market, per side.",
1392
+ "USER_MAX_ORDERS_FOR_EQUITY_TIER": "This order would put you above the equity tier limit of {LIMIT} open orders",
1390
1393
  "WOULD_NOT_REDUCE": "Your position would not be reduced if order is filled.",
1391
1394
  "WOULD_NOT_REDUCE_UNCHECK": "Your position would not be reduced with this order. Please uncheck Reduce-Only if you would like to place your order.",
1392
1395
  "INVALID_GOOD_TIL_MAX_90_DAYS": "Good Til exceeds the maximum 90 days."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  // !! GENERATED FILE - DO NOT EDIT
2
2
 
3
- // Generated from ./config/localization/en/app.json using scripts/codegen_localization_app.swift
3
+ // Generated from ../config/localization/en/app.json using codegen_localization_app.swift
4
4
 
5
5
  export const APP_STRING_KEYS = {
6
6
 
@@ -379,6 +379,7 @@ export const APP_STRING_KEYS = {
379
379
  FILLS: 'APP.GENERAL.FILLS',
380
380
  FREE: 'APP.GENERAL.FREE',
381
381
  FREE_COLLATERAL: 'APP.GENERAL.FREE_COLLATERAL',
382
+ FROM: 'APP.GENERAL.FROM',
382
383
  FUNDING_RATE_CHART_SHORT: 'APP.GENERAL.FUNDING_RATE_CHART_SHORT',
383
384
  GASLESS_DEPOSITS: 'APP.GENERAL.GASLESS_DEPOSITS',
384
385
  GAS_FEE: 'APP.GENERAL.GAS_FEE',
@@ -520,6 +521,7 @@ export const APP_STRING_KEYS = {
520
521
  WEEKS_ABBREVIATED: 'APP.GENERAL.TIME_STRINGS.WEEKS_ABBREVIATED',
521
522
  _24H: 'APP.GENERAL.TIME_STRINGS._24H',
522
523
  _30D: 'APP.GENERAL.TIME_STRINGS._30D',
524
+ TO: 'APP.GENERAL.TO',
523
525
  TOTAL_BALANCE: 'APP.GENERAL.TOTAL_BALANCE',
524
526
  TOTAL_FEES: 'APP.GENERAL.TOTAL_FEES',
525
527
  TOTAL_VALUE: 'APP.GENERAL.TOTAL_VALUE',
@@ -1378,6 +1380,7 @@ export const ERRORS_STRING_KEYS = {
1378
1380
  VALIDATOR_ALERT: 'ERRORS.API_STATUS.VALIDATOR_ALERT',
1379
1381
  VALIDATOR_DOWN: 'ERRORS.API_STATUS.VALIDATOR_DOWN',
1380
1382
  VALIDATOR_HALTED: 'ERRORS.API_STATUS.VALIDATOR_HALTED',
1383
+ BROADCAST_ERROR_10001: 'ERRORS.BROADCAST_ERROR_10001',
1381
1384
  BROADCAST_ERROR_2000: 'ERRORS.BROADCAST_ERROR_2000',
1382
1385
  BROADCAST_ERROR_2001: 'ERRORS.BROADCAST_ERROR_2001',
1383
1386
  BROADCAST_ERROR_2002: 'ERRORS.BROADCAST_ERROR_2002',
@@ -1391,6 +1394,7 @@ export const ERRORS_STRING_KEYS = {
1391
1394
  BROADCAST_ERROR_3006: 'ERRORS.BROADCAST_ERROR_3006',
1392
1395
  BROADCAST_ERROR_3007: 'ERRORS.BROADCAST_ERROR_3007',
1393
1396
  BROADCAST_ERROR_3008: 'ERRORS.BROADCAST_ERROR_3008',
1397
+ BROADCAST_ERROR_3009: 'ERRORS.BROADCAST_ERROR_3009',
1394
1398
 
1395
1399
  // DEPOSIT_MODAL
1396
1400
 
@@ -1455,6 +1459,7 @@ export const ERRORS_STRING_KEYS = {
1455
1459
  TRIGGER_MUST_BELOW_INDEX_PRICE: 'ERRORS.TRADE_BOX.TRIGGER_MUST_BELOW_INDEX_PRICE',
1456
1460
  TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE: 'ERRORS.TRADE_BOX.TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE',
1457
1461
  USER_MAX_ORDERS: 'ERRORS.TRADE_BOX.USER_MAX_ORDERS',
1462
+ USER_MAX_ORDERS_FOR_EQUITY_TIER: 'ERRORS.TRADE_BOX.USER_MAX_ORDERS_FOR_EQUITY_TIER',
1458
1463
  WOULD_NOT_REDUCE: 'ERRORS.TRADE_BOX.WOULD_NOT_REDUCE',
1459
1464
  WOULD_NOT_REDUCE_UNCHECK: 'ERRORS.TRADE_BOX.WOULD_NOT_REDUCE_UNCHECK',
1460
1465