@reflectmoney/stable.ts 1.2.0 → 1.2.2

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.
@@ -60,9 +60,11 @@ class UsdcPlusStablecoin extends Stablecoin_1.Stablecoin {
60
60
  */
61
61
  load() {
62
62
  return __awaiter(this, void 0, void 0, function* () {
63
- const { baseStrategy, } = yield reflect_main_1.DriftUsdcController.fromAccountAddress(this.connection, this.controllerKey);
63
+ const controller = yield reflect_main_1.DriftUsdcController.fromAccountAddress(this.connection, this.controllerKey);
64
+ const { baseStrategy } = controller;
64
65
  this.stablecoinMint = baseStrategy.mint;
65
66
  this.strategy = baseStrategy;
67
+ this.controller = controller;
66
68
  });
67
69
  }
68
70
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reflectmoney/stable.ts",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "type": "commonjs",
5
5
  "author": "stablecoinjesus @ Palindrome Engineering",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@coral-xyz/anchor": "0.29.0",
12
- "@drift-labs/sdk": "2.135.0-beta.8",
12
+ "@drift-labs/sdk": "2.136.0-beta.6",
13
13
  "@metaplex-foundation/beet": "=0.7.2",
14
14
  "@metaplex-foundation/beet-solana": "=0.4.1",
15
15
  "@metaplex-foundation/mpl-token-metadata": "2.13.0",