@dydxprotocol/v4-localization 1.1.288 → 1.1.289

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.
@@ -2555,6 +2555,7 @@
2555
2555
  "ERRORS": {
2556
2556
  "BROADCAST_ERROR_SDK_5": "Wallet balance is insufficient to cover the transaction fees; please deposit additional funds.",
2557
2557
  "BROADCAST_ERROR_SDK_32": "Operation could not be processed because submitted timestamp nonce was not within the selected node's valid time range. Please refresh the page and try again.",
2558
+ "BROADCAST_ERROR_CLOB_10": "Order was already expired when submitted. This could be due to network latency. Please try again.",
2558
2559
  "BROADCAST_ERROR_CLOB_2000": "Fill Or Kill order could not be fully filled.",
2559
2560
  "BROADCAST_ERROR_CLOB_2001": "Reduce-only orders cannot increase the position size.",
2560
2561
  "BROADCAST_ERROR_CLOB_2002": "Reduce-only orders cannot change the position side.",
@@ -2595,7 +2596,13 @@
2595
2596
  "SOMETHING_WENT_WRONG_WITH_MESSAGE": "Something went wrong: {ERROR_MESSAGE}",
2596
2597
  "SOMETHING_WENT_WRONG": "Something went wrong. Please try again later.",
2597
2598
  "NETWORKING_ERROR": "Error connecting to the network. Please check your internet connection, refresh the page, and try again.",
2598
- "TIMESTAMP_DISCREPANCY": "For security purposes, we verify timestamps when authenticating your account. Please make sure your system clock is synced correctly and refresh the app."
2599
+ "VALIDATOR_RESPONSE_500": "Error connecting to the network. Please try again.",
2600
+ "TIMESTAMP_DISCREPANCY": "For security purposes, we verify timestamps when authenticating your account. Please make sure your system clock is synced correctly and refresh the app.",
2601
+ "FAILED_COMMIT_CONFIRMATION": "Failed to confirm chain transaction. You may want to refresh to get the latest state.",
2602
+ "NO_ORDERS_TO_CANCEL": "Couldn't find open order(s) to cancel.",
2603
+ "NO_POSITIONS_TO_CLOSE": "Couldn't find open positions to close.",
2604
+ "UNKNOWN_VALIDATOR_HEIGHT": "Can't submit order because chain height is unknown. Please try again.",
2605
+ "NO_LOCAL_WALLET": "Can't submit order because local wallet state is unknown. Please try again."
2599
2606
  },
2600
2607
  "TRADE_BOX": {
2601
2608
  "AMOUNT_INPUT_STEP_SIZE": "Order amount must be a factor of {STEP_SIZE}.",
@@ -2813,6 +2820,7 @@
2813
2820
  "ERROR_WITH_APPROVAL": "There was an error with your approval.",
2814
2821
  "INSUFFICIENT_GAS_BALANCE": "Insufficient gas balance. Please add gas funds and try again.",
2815
2822
  "USER_REJECTED": "User rejected request.",
2823
+ "WALLET_CONTEXT_INVALIDATED": "Error communicating with wallet extension. Refresh or restart browser and try again.",
2816
2824
  "YOUR_APPROVAL_FAILED": "Your approval has failed. Please try again."
2817
2825
  }
2818
2826
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.288",
3
+ "version": "1.1.289",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -2212,6 +2212,7 @@ export const ERRORS_STRING_KEYS = {
2212
2212
  BROADCAST_ERROR_3007: 'ERRORS.BROADCAST_ERROR_3007',
2213
2213
  BROADCAST_ERROR_3008: 'ERRORS.BROADCAST_ERROR_3008',
2214
2214
  BROADCAST_ERROR_3009: 'ERRORS.BROADCAST_ERROR_3009',
2215
+ BROADCAST_ERROR_CLOB_10: 'ERRORS.BROADCAST_ERROR_CLOB_10',
2215
2216
  BROADCAST_ERROR_CLOB_10001: 'ERRORS.BROADCAST_ERROR_CLOB_10001',
2216
2217
  BROADCAST_ERROR_CLOB_2000: 'ERRORS.BROADCAST_ERROR_CLOB_2000',
2217
2218
  BROADCAST_ERROR_CLOB_2001: 'ERRORS.BROADCAST_ERROR_CLOB_2001',
@@ -2243,12 +2244,18 @@ export const ERRORS_STRING_KEYS = {
2243
2244
 
2244
2245
  // GENERAL
2245
2246
 
2247
+ FAILED_COMMIT_CONFIRMATION: 'ERRORS.GENERAL.FAILED_COMMIT_CONFIRMATION',
2246
2248
  NETWORKING_ERROR: 'ERRORS.GENERAL.NETWORKING_ERROR',
2249
+ NO_LOCAL_WALLET: 'ERRORS.GENERAL.NO_LOCAL_WALLET',
2250
+ NO_ORDERS_TO_CANCEL: 'ERRORS.GENERAL.NO_ORDERS_TO_CANCEL',
2251
+ NO_POSITIONS_TO_CLOSE: 'ERRORS.GENERAL.NO_POSITIONS_TO_CLOSE',
2247
2252
  RATE_LIMIT_REACHED_ERROR_MESSAGE: 'ERRORS.GENERAL.RATE_LIMIT_REACHED_ERROR_MESSAGE',
2248
2253
  RATE_LIMIT_REACHED_ERROR_TITLE: 'ERRORS.GENERAL.RATE_LIMIT_REACHED_ERROR_TITLE',
2249
2254
  SOMETHING_WENT_WRONG: 'ERRORS.GENERAL.SOMETHING_WENT_WRONG',
2250
2255
  SOMETHING_WENT_WRONG_WITH_MESSAGE: 'ERRORS.GENERAL.SOMETHING_WENT_WRONG_WITH_MESSAGE',
2251
2256
  TIMESTAMP_DISCREPANCY: 'ERRORS.GENERAL.TIMESTAMP_DISCREPANCY',
2257
+ UNKNOWN_VALIDATOR_HEIGHT: 'ERRORS.GENERAL.UNKNOWN_VALIDATOR_HEIGHT',
2258
+ VALIDATOR_RESPONSE_500: 'ERRORS.GENERAL.VALIDATOR_RESPONSE_500',
2252
2259
 
2253
2260
  // NEW_MARKET_WIDGET
2254
2261
 
@@ -2373,6 +2380,7 @@ export const ERRORS_STRING_KEYS = {
2373
2380
  ERROR_WITH_APPROVAL: 'ERRORS.WALLET_SPECIFIC.ERROR_WITH_APPROVAL',
2374
2381
  INSUFFICIENT_GAS_BALANCE: 'ERRORS.WALLET_SPECIFIC.INSUFFICIENT_GAS_BALANCE',
2375
2382
  USER_REJECTED: 'ERRORS.WALLET_SPECIFIC.USER_REJECTED',
2383
+ WALLET_CONTEXT_INVALIDATED: 'ERRORS.WALLET_SPECIFIC.WALLET_CONTEXT_INVALIDATED',
2376
2384
  YOUR_APPROVAL_FAILED: 'ERRORS.WALLET_SPECIFIC.YOUR_APPROVAL_FAILED',
2377
2385
 
2378
2386
  // WITHDRAW_MODAL