@haven-fi/solauto-sdk 1.0.107 → 1.0.108

Sign up to get free protection for your applications and to get access to all the features.
@@ -167,9 +167,9 @@ async function sendSingleOptimizedTransaction(umi, connection, tx, simulateOnly,
167
167
  const result = await assembleFinalTransaction(umi.identity, tx, feeEstimate, 800000).sendAndConfirm(umi, {
168
168
  send: {
169
169
  skipPreflight: true,
170
- commitment: "finalized",
170
+ commitment: "confirmed",
171
171
  },
172
- confirm: { commitment: "finalized" },
172
+ confirm: { commitment: "confirmed" },
173
173
  });
174
174
  console.log(`https://solscan.io/tx/${bs58_1.default.encode(result.signature)}`);
175
175
  if (result.result.value.err !== null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.107",
3
+ "version": "1.0.108",
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",
@@ -321,9 +321,9 @@ export async function sendSingleOptimizedTransaction(
321
321
  ).sendAndConfirm(umi, {
322
322
  send: {
323
323
  skipPreflight: true,
324
- commitment: "finalized",
324
+ commitment: "confirmed",
325
325
  },
326
- confirm: { commitment: "finalized" },
326
+ confirm: { commitment: "confirmed" },
327
327
  });
328
328
  console.log(`https://solscan.io/tx/${bs58.encode(result.signature)}`);
329
329
  if (result.result.value.err !== null) {