@drift-labs/common 1.0.29 → 1.0.31

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.
@@ -460,7 +460,7 @@
460
460
  "msg": "NoSpotPositionAvailable",
461
461
  "toast": {
462
462
  "message": "No Spot Positions Available",
463
- "description": "You can only have a maximum of 8 Spot Positions (aka balances) at a time. You can try fully withdrawing an asset or closing an open borrow to make space for a new one."
463
+ "description": "You can hold up to 7 non-USDC spot positions plus 1 USDC position (reserved for perp PnL). Try fully withdrawing an asset or closing an open borrow to free up a position slot."
464
464
  }
465
465
  },
466
466
  "InvalidSpotMarketInitialization": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/common",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "Common functions for Drift",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "winston-slack-webhook-transport": "2.3.5"
36
36
  },
37
37
  "peerDependencies": {
38
- "@drift-labs/sdk": "^2.157.0-beta.2",
38
+ "@drift-labs/sdk": "^2.158.0-beta.0",
39
39
  "@solana/web3.js": "1.98.0"
40
40
  },
41
41
  "scripts": {