@drift-labs/sdk 2.74.0-beta.13 → 2.74.0-beta.14

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.
@@ -1673,7 +1673,9 @@ class DriftClient {
1673
1673
  const ix = await this.program.instruction.settleExpiredMarketPoolsToRevenuePool({
1674
1674
  accounts: {
1675
1675
  state: await this.getStatePublicKey(),
1676
- admin: this.wallet.publicKey,
1676
+ admin: this.isSubscribed
1677
+ ? this.getStateAccount().admin
1678
+ : this.wallet.publicKey,
1677
1679
  spotMarket: spotMarketPublicKey,
1678
1680
  perpMarket: perpMarketPublicKey,
1679
1681
  },
@@ -2961,6 +2961,12 @@
2961
2961
  "defined": "OracleSource"
2962
2962
  }
2963
2963
  },
2964
+ {
2965
+ "name": "contractTier",
2966
+ "type": {
2967
+ "defined": "ContractTier"
2968
+ }
2969
+ },
2964
2970
  {
2965
2971
  "name": "marginRatioInitial",
2966
2972
  "type": "u32"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.74.0-beta.13",
3
+ "version": "2.74.0-beta.14",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",