hedge-web3 0.2.26 → 0.2.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,8 +52,8 @@ function getLinkedListAccounts(program, vaultTypeAccountPublicKey, vaultPublicKe
52
52
  deposited: new anchor_1.BN(0),
53
53
  denormalizedDebt: new anchor_1.BN(0),
54
54
  vaultNumber: new anchor_1.BN(0),
55
- debtProductSnapshotBytes: new anchor_1.BN(0),
56
- collateralAccumulatorSnapshotBytes: new anchor_1.BN(0),
55
+ debtProductSnapshotBytes: new anchor_1.BN(1),
56
+ collateralAccumulatorSnapshotBytes: new anchor_1.BN(1),
57
57
  vaultTypeName: vaultType.name,
58
58
  nextVaultToRedeem: new web3_js_1.PublicKey('11111111111111111111111111111111'),
59
59
  vaultStatus: { open: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedge-web3",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "Hedge Javascript Web3 API",
5
5
  "main": "lib/index.js",
6
6
  "types": "declarations/index.d.ts",
@@ -54,8 +54,8 @@ export async function getLinkedListAccounts(
54
54
  deposited: new BN(0),
55
55
  denormalizedDebt: new BN(0),
56
56
  vaultNumber: new BN(0),
57
- debtProductSnapshotBytes: new BN(0),
58
- collateralAccumulatorSnapshotBytes: new BN(0),
57
+ debtProductSnapshotBytes: new BN(1),
58
+ collateralAccumulatorSnapshotBytes: new BN(1),
59
59
  vaultTypeName: vaultType.name,
60
60
  nextVaultToRedeem: new PublicKey('11111111111111111111111111111111'),
61
61
  vaultStatus: {open: true},