@dydxprotocol/v4-localization 1.1.339 → 1.1.340

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.
@@ -2571,6 +2571,11 @@
2571
2571
  "VIEW_PROPOSAL": "View proposal",
2572
2572
  "VIEW_MARKET": "View market"
2573
2573
  },
2574
+ "LEVERAGE": {
2575
+ "SET_MARKET_LEVERAGE": "Set Market Leverage",
2576
+ "EDIT_LEVERAGE": "Edit leverage",
2577
+ "INVALID_LEVERAGE_VALUE": "Invalid leverage value"
2578
+ },
2574
2579
  "COMPLIANCE": {
2575
2580
  "CLOSE_ONLY_MESSAGE_WITH_HELP": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, or have engaged in activity that violates our terms of use, you have been blocked. You have until {DATE} to withdraw your funds before your access to the frontend is blocked. If you believe there has been an error, please contact support at {HELP_LINK}.",
2576
2581
  "PERMANENTLY_BLOCKED_MESSAGE_WITH_HELP": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use and previously have been given an opportunity to redress circumstances that led to restrictions on your account, you have been permanently blocked. If you believe there has been an error, please contact support at {HELP_LINK}.",
@@ -2980,6 +2985,9 @@
2980
2985
  },
2981
2986
  "TURNKEY": {
2982
2987
  "TURNKEY_SESSION_EXPIRED": "Session expired. Please reauthenticate to reveal your phrase."
2988
+ },
2989
+ "EDIT_LEVERAGE": {
2990
+ "MINIMUM_LEVERAGE_ERROR": "Minimum leverage for this position is {minLeverage}×. Insufficient margin available to decrease leverage further. Add more margin to decrease leverage."
2983
2991
  }
2984
2992
  },
2985
2993
  "WARNINGS": {
@@ -3019,6 +3027,9 @@
3019
3027
  "MARKET_STATUS_CLOSE_ONLY": "Close only",
3020
3028
  "STOP_MARKET_ORDER_MAY_NOT_EXECUTE": "Stop Market",
3021
3029
  "TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE": "Take Profit Market"
3030
+ },
3031
+ "LEVERAGE": {
3032
+ "SETTING_HIGHER_LEVERAGE_WARNING": "Setting a higher leverage could increase liquidation risk."
3022
3033
  }
3023
3034
  }
3024
3035
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.339",
3
+ "version": "1.1.340",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -988,6 +988,12 @@ export const APP_STRING_KEYS = {
988
988
  LEAVING_WEBSITE_DISCLAIMER: 'APP.LEGAL.LEAVING_WEBSITE_DISCLAIMER',
989
989
  LEGAL: 'APP.LEGAL.LEGAL',
990
990
 
991
+ // LEVERAGE
992
+
993
+ EDIT_LEVERAGE: 'APP.LEVERAGE.EDIT_LEVERAGE',
994
+ INVALID_LEVERAGE_VALUE: 'APP.LEVERAGE.INVALID_LEVERAGE_VALUE',
995
+ SET_MARKET_LEVERAGE: 'APP.LEVERAGE.SET_MARKET_LEVERAGE',
996
+
991
997
  // MNEMONIC_EXPORT
992
998
 
993
999
  BEFORE_PROCEED: 'APP.MNEMONIC_EXPORT.BEFORE_PROCEED',
@@ -2397,6 +2403,10 @@ export const ERRORS_STRING_KEYS = {
2397
2403
  MUST_SPECIFY_CHAIN: 'ERRORS.DEPOSIT_MODAL.MUST_SPECIFY_CHAIN',
2398
2404
  YOUR_DEPOSIT_FAILED: 'ERRORS.DEPOSIT_MODAL.YOUR_DEPOSIT_FAILED',
2399
2405
 
2406
+ // EDIT_LEVERAGE
2407
+
2408
+ MINIMUM_LEVERAGE_ERROR: 'ERRORS.EDIT_LEVERAGE.MINIMUM_LEVERAGE_ERROR',
2409
+
2400
2410
  // GENERAL
2401
2411
 
2402
2412
  FAILED_COMMIT_CONFIRMATION: 'ERRORS.GENERAL.FAILED_COMMIT_CONFIRMATION',
@@ -2644,6 +2654,10 @@ export const WARNINGS_STRING_KEYS = {
2644
2654
  WITHDRAWAL_PAUSED_DESCRIPTION: 'WARNINGS.ACCOUNT_FUND_MANAGEMENT.WITHDRAWAL_PAUSED_DESCRIPTION',
2645
2655
  WITHDRAWAL_PAUSED_TITLE: 'WARNINGS.ACCOUNT_FUND_MANAGEMENT.WITHDRAWAL_PAUSED_TITLE',
2646
2656
 
2657
+ // LEVERAGE
2658
+
2659
+ SETTING_HIGHER_LEVERAGE_WARNING: 'WARNINGS.LEVERAGE.SETTING_HIGHER_LEVERAGE_WARNING',
2660
+
2647
2661
  // ONBOARDING
2648
2662
 
2649
2663
  ALWAYS_VERIFY_URL: 'WARNINGS.ONBOARDING.ALWAYS_VERIFY_URL',