Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@orca-so/common-sdk

Package Overview
Dependencies
Maintainers
0
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orca-so/common-sdk - npm Package Compare versions

Comparing version 0.6.4-beta.0 to 0.6.4

24

dist/web3/transactions/transactions-builder.js

@@ -140,7 +140,2 @@ "use strict";

prependInstructions = [
web3_js_1.SystemProgram.transfer({
fromPubkey: this.wallet.publicKey,
toPubkey: (0, jito_tip_1.getJitoTipAddress)(),
lamports: computeBudgetOption.jitoTipLamports ?? 0,
}),
web3_js_1.ComputeBudgetProgram.setComputeUnitLimit({

@@ -153,2 +148,9 @@ units: computeLimit,

];
if (computeBudgetOption.jitoTipLamports && computeBudgetOption.jitoTipLamports > 0) {
prependInstructions.push(web3_js_1.SystemProgram.transfer({
fromPubkey: this.wallet.publicKey,
toPubkey: (0, jito_tip_1.getJitoTipAddress)(),
lamports: computeBudgetOption.jitoTipLamports,
}));
}
}

@@ -160,7 +162,2 @@ if (computeBudgetOption.type === "auto") {

prependInstructions = [
web3_js_1.SystemProgram.transfer({
fromPubkey: this.wallet.publicKey,
toPubkey: (0, jito_tip_1.getJitoTipAddress)(),
lamports: 0,
}),
web3_js_1.ComputeBudgetProgram.setComputeUnitLimit({

@@ -173,2 +170,9 @@ units: compute_budget_1.DEFAULT_MAX_COMPUTE_UNIT_LIMIT,

];
if (computeBudgetOption.jitoTipLamports && computeBudgetOption.jitoTipLamports > 0) {
prependInstructions.push(web3_js_1.SystemProgram.transfer({
fromPubkey: this.wallet.publicKey,
toPubkey: (0, jito_tip_1.getJitoTipAddress)(),
lamports: computeBudgetOption.jitoTipLamports,
}));
}
}

@@ -175,0 +179,0 @@ const allSigners = ix.signers.concat(this.signers);

{
"name": "@orca-so/common-sdk",
"version": "0.6.4-beta.0",
"version": "0.6.4",
"description": "Common Typescript components across Orca",

@@ -5,0 +5,0 @@ "repository": "https://github.com/orca-so/orca-sdks",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc