@haven-fi/solauto-sdk 1.0.404 → 1.0.405

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.
@@ -227,7 +227,7 @@ async function sendSingleOptimizedTransaction(umi, connection, tx, txType, prior
227
227
  if (!cuPrice) {
228
228
  cuPrice = 1000000;
229
229
  }
230
- cuPrice = Math.min(cuPrice, 150 * 1000000);
230
+ cuPrice = Math.min(cuPrice, 100 * 1000000);
231
231
  (0, generalUtils_1.consoleLog)("Compute unit price: ", cuPrice);
232
232
  }
233
233
  if (txType !== "only-simulate") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.404",
3
+ "version": "1.0.405",
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",
@@ -413,7 +413,7 @@ export async function sendSingleOptimizedTransaction(
413
413
  if (!cuPrice) {
414
414
  cuPrice = 1_000_000;
415
415
  }
416
- cuPrice = Math.min(cuPrice, 150 * 1_000_000);
416
+ cuPrice = Math.min(cuPrice, 100 * 1_000_000);
417
417
  consoleLog("Compute unit price: ", cuPrice);
418
418
  }
419
419