@zebec-network/zebec-vault-sdk 1.0.7 → 1.0.8

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/dist/service.js CHANGED
@@ -441,12 +441,12 @@ class ZebecVaultService {
441
441
  return {
442
442
  proposal: accountInfo.pubkey,
443
443
  vault: proposalAccount.vault,
444
- proposalStage: proposalAccount.proposalState,
444
+ proposalStage: proposalAccount.proposalStage,
445
445
  createdDate: proposalAccount.createdDate.toNumber(),
446
446
  expiryDate: proposalAccount.expiryDate.toNumber(),
447
- isExecuted: proposalAccount.isExecuted,
448
447
  name: proposalAccount.name,
449
448
  actions: proposalAccount.actions,
449
+ isExecuted: proposalAccount.isExecuted,
450
450
  };
451
451
  });
452
452
  return proposals;
package/dist/types.d.ts CHANGED
@@ -26,6 +26,7 @@ export type ProposalInfo = {
26
26
  expiryDate: number;
27
27
  name: string;
28
28
  actions: ProposalAction[];
29
+ isExecuted: boolean;
29
30
  };
30
31
  export type VaultInfo = {
31
32
  vault: PublicKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zebec-network/zebec-vault-sdk",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "An SDK for zebec vault solana program",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@coral-xyz/anchor": "^0.31.1",
40
40
  "@solana/web3.js": "^1.98.2",
41
41
  "@types/bn.js": "^5.2.0",
42
- "@zebec-network/solana-common": "^1.5.0",
42
+ "@zebec-network/solana-common": "^1.5.1",
43
43
  "bignumber.js": "^9.3.0",
44
44
  "buffer": "^6.0.3"
45
45
  }