@dydxprotocol/v4-localization 1.1.71 → 1.1.72

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.
@@ -1249,6 +1249,7 @@
1249
1249
  "ORDER_REMOVAL_REASON_UNDERCOLLATERALIZED": "The order was removed due to being undercollateralized.",
1250
1250
  "ORDER_REMOVAL_REASON_UNSPECIFIED": "Unspecified error.",
1251
1251
  "ORDER_REMOVAL_REASON_USER_CANCELED": "The order was canceled by a user.",
1252
+ "ORDER_REMOVAL_REASON_VIOLATES_ISOLATED_SUBACCOUNT_CONSTRAINTS": "The order has been removed since filling it would lead to the subaccount violating isolated subaccount constraints.",
1252
1253
  "ORDER_TYPE": "Order type",
1253
1254
  "ORDERBOOK": "Order book",
1254
1255
  "ORDERBOOK_ASK_PRICE": "Ask Price",
@@ -1968,6 +1969,7 @@
1968
1969
  "BROADCAST_ERROR_2001": "Reduce-only orders cannot increase the position size",
1969
1970
  "BROADCAST_ERROR_2002": "Reduce-only orders cannot change the position side",
1970
1971
  "BROADCAST_ERROR_2003": "Post-only order would cross one or more maker orders",
1972
+ "BROADCAST_ERROR_2005": "Order would violate isolated subaccount constraints",
1971
1973
  "BROADCAST_ERROR_3000": "Invalid order flags",
1972
1974
  "BROADCAST_ERROR_3001": "Invalid order goodTilBlockTime",
1973
1975
  "BROADCAST_ERROR_3002": "Stateful orders cannot require immediate execution",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.71",
3
+ "version": "1.1.72",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -1406,6 +1406,7 @@ export const APP_STRING_KEYS = {
1406
1406
  ORDER_REMOVAL_REASON_UNDERCOLLATERALIZED: 'APP.TRADE.ORDER_REMOVAL_REASON_UNDERCOLLATERALIZED',
1407
1407
  ORDER_REMOVAL_REASON_UNSPECIFIED: 'APP.TRADE.ORDER_REMOVAL_REASON_UNSPECIFIED',
1408
1408
  ORDER_REMOVAL_REASON_USER_CANCELED: 'APP.TRADE.ORDER_REMOVAL_REASON_USER_CANCELED',
1409
+ ORDER_REMOVAL_REASON_VIOLATES_ISOLATED_SUBACCOUNT_CONSTRAINTS: 'APP.TRADE.ORDER_REMOVAL_REASON_VIOLATES_ISOLATED_SUBACCOUNT_CONSTRAINTS',
1409
1410
  ORDER_TYPE: 'APP.TRADE.ORDER_TYPE',
1410
1411
  PARTIALLY_FILLED: 'APP.TRADE.PARTIALLY_FILLED',
1411
1412
  PAYMENT: 'APP.TRADE.PAYMENT',
@@ -1613,6 +1614,7 @@ export const ERRORS_STRING_KEYS = {
1613
1614
  BROADCAST_ERROR_2001: 'ERRORS.BROADCAST_ERROR_2001',
1614
1615
  BROADCAST_ERROR_2002: 'ERRORS.BROADCAST_ERROR_2002',
1615
1616
  BROADCAST_ERROR_2003: 'ERRORS.BROADCAST_ERROR_2003',
1617
+ BROADCAST_ERROR_2005: 'ERRORS.BROADCAST_ERROR_2005',
1616
1618
  BROADCAST_ERROR_3000: 'ERRORS.BROADCAST_ERROR_3000',
1617
1619
  BROADCAST_ERROR_3001: 'ERRORS.BROADCAST_ERROR_3001',
1618
1620
  BROADCAST_ERROR_3002: 'ERRORS.BROADCAST_ERROR_3002',