@haven-fi/solauto-sdk 1.0.763 → 1.0.764

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.
@@ -188,7 +188,7 @@ async function sendJitoBundledTransactions(umi, connection, userSigner, otherSig
188
188
  (0, generalUtils_1.consoleLog)("Transactions: ", txs.length);
189
189
  (0, generalUtils_1.consoleLog)(txs.map((tx) => tx.getInstructions().map((x) => x.programId.toString())));
190
190
  (0, generalUtils_1.consoleLog)("Transaction sizes: ", txs.map((x) => x.getTransactionSize(umi)));
191
- txs[0] = txs[0].prepend(getTipInstruction(userSigner, 150000));
191
+ txs[0] = txs[0].prepend(getTipInstruction(userSigner, 250000));
192
192
  const latestBlockhash = (await umi.rpc.getLatestBlockhash({ commitment: "confirmed" })).blockhash;
193
193
  if (abortController?.signal.aborted) {
194
194
  return;
@@ -22,7 +22,7 @@ import {
22
22
  } from "../src";
23
23
  import { getSecretKey } from "./shared";
24
24
 
25
- const payForTransaction = false;
25
+ const payForTransaction = true;
26
26
  const testProgram = false;
27
27
  const lpEnv: ProgramEnv = "Prod";
28
28
 
@@ -48,7 +48,7 @@ export async function main() {
48
48
 
49
49
  await client.initializeExistingSolautoPosition({
50
50
  positionId: 1,
51
- authority: new PublicKey("5UqsR2PGzbP8pGPbXEeXx86Gjz2N2UFBAuFZUSVydAEe"),
51
+ authority: new PublicKey("7TfyMCk8WD7FwscRyZJeyw9CRPxcgSKpz9tmhMGvyuRz"),
52
52
  // lpUserAccount: new PublicKey(
53
53
  // "GEokw9jqbh6d1xUNA3qaeYFFetbSR5Y1nt7C3chwwgSz"
54
54
  // ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.763",
3
+ "version": "1.0.764",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Typescript SDK for the Solauto program on the Solana blockchain",
@@ -301,7 +301,7 @@ export async function sendJitoBundledTransactions(
301
301
  txs.map((x) => x.getTransactionSize(umi))
302
302
  );
303
303
 
304
- txs[0] = txs[0].prepend(getTipInstruction(userSigner, 150_000));
304
+ txs[0] = txs[0].prepend(getTipInstruction(userSigner, 250_000));
305
305
 
306
306
  const latestBlockhash = (
307
307
  await umi.rpc.getLatestBlockhash({ commitment: "confirmed" })