@triadxyz/triad-protocol 0.1.1-alpha.8 → 0.1.1-alpha.9

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/ticker.js CHANGED
@@ -60,16 +60,16 @@ class Ticker {
60
60
  const TickerPDA = (0, helpers_1.getTickerAddressSync)(this.program.programId, name);
61
61
  const instructions = [
62
62
  web3_js_1.ComputeBudgetProgram.setComputeUnitPrice({
63
- microLamports: 15000
63
+ microLamports: 12000
64
64
  })
65
65
  ];
66
- const ticker = yield this.program.methods
66
+ instructions.push(yield this.program.methods
67
67
  .updateTickerPrice({ price: new bn_js_1.BN(price) })
68
68
  .accounts({
69
69
  signer: this.provider.wallet.publicKey,
70
70
  ticker: TickerPDA
71
71
  })
72
- .instruction();
72
+ .instruction());
73
73
  const { blockhash } = yield this.provider.connection.getLatestBlockhash();
74
74
  const message = new web3_js_1.TransactionMessage({
75
75
  payerKey: this.provider.wallet.publicKey,
package/dist/vault.js CHANGED
@@ -64,7 +64,7 @@ class Vault {
64
64
  catch (_a) { }
65
65
  const instructions = [
66
66
  web3_js_1.ComputeBudgetProgram.setComputeUnitPrice({
67
- microLamports: 15000
67
+ microLamports: 12000
68
68
  })
69
69
  ];
70
70
  if (!hasUserPosition) {
@@ -129,7 +129,7 @@ class Vault {
129
129
  }
130
130
  const instructions = [
131
131
  web3_js_1.ComputeBudgetProgram.setComputeUnitPrice({
132
- microLamports: 15000
132
+ microLamports: 12000
133
133
  })
134
134
  ];
135
135
  if (!hasUser) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "0.1.1-alpha.8",
3
+ "version": "0.1.1-alpha.9",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",