@drift-labs/vaults-sdk 0.5.19 → 0.5.21

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/vaults-sdk",
3
- "version": "0.5.19",
3
+ "version": "0.5.21",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "directories": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@coral-xyz/anchor": "0.29.0",
11
- "@drift-labs/sdk": "2.114.0-beta.7",
11
+ "@drift-labs/sdk": "2.115.0-beta.0",
12
12
  "@metaplex-foundation/js": "0.20.1",
13
13
  "@solana/web3.js": "1.92.3",
14
14
  "commander": "11.1.0",
@@ -307,6 +307,27 @@
307
307
  }
308
308
  ]
309
309
  },
310
+ {
311
+ "name": "updateVaultManager",
312
+ "accounts": [
313
+ {
314
+ "name": "vault",
315
+ "isMut": true,
316
+ "isSigner": false
317
+ },
318
+ {
319
+ "name": "manager",
320
+ "isMut": false,
321
+ "isSigner": true
322
+ }
323
+ ],
324
+ "args": [
325
+ {
326
+ "name": "manager",
327
+ "type": "publicKey"
328
+ }
329
+ ]
330
+ },
310
331
  {
311
332
  "name": "updateCumulativeFuelAmount",
312
333
  "accounts": [
@@ -307,6 +307,27 @@ export type DriftVaults = {
307
307
  }
308
308
  ];
309
309
  },
310
+ {
311
+ name: 'updateVaultManager';
312
+ accounts: [
313
+ {
314
+ name: 'vault';
315
+ isMut: true;
316
+ isSigner: false;
317
+ },
318
+ {
319
+ name: 'manager';
320
+ isMut: false;
321
+ isSigner: true;
322
+ }
323
+ ];
324
+ args: [
325
+ {
326
+ name: 'manager';
327
+ type: 'publicKey';
328
+ }
329
+ ];
330
+ },
310
331
  {
311
332
  name: 'updateCumulativeFuelAmount';
312
333
  accounts: [
@@ -3273,6 +3294,27 @@ export const IDL: DriftVaults = {
3273
3294
  },
3274
3295
  ],
3275
3296
  },
3297
+ {
3298
+ name: 'updateVaultManager',
3299
+ accounts: [
3300
+ {
3301
+ name: 'vault',
3302
+ isMut: true,
3303
+ isSigner: false,
3304
+ },
3305
+ {
3306
+ name: 'manager',
3307
+ isMut: false,
3308
+ isSigner: true,
3309
+ },
3310
+ ],
3311
+ args: [
3312
+ {
3313
+ name: 'manager',
3314
+ type: 'publicKey',
3315
+ },
3316
+ ],
3317
+ },
3276
3318
  {
3277
3319
  name: 'updateCumulativeFuelAmount',
3278
3320
  accounts: [