diff --git a/lerna.json b/lerna.json index d473adcc..f1937036 100644 --- a/lerna.json +++ b/lerna.json @@ -2,6 +2,6 @@ "packages": [ "packages/*" ], - "version": "5.11.2", + "version": "5.11.3", "$schema": "node_modules/lerna/schemas/lerna-schema.json" } \ No newline at end of file diff --git a/packages/stream/package.json b/packages/stream/package.json index 0684ef97..346cc2ba 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -1,6 +1,6 @@ { "name": "@streamflow/stream", - "version": "5.11.2", + "version": "5.11.3", "description": "JavaScript SDK to interact with Streamflow protocol.", "homepage": "https://github.com/streamflow-finance/js-sdk/", "main": "dist/index.js", diff --git a/packages/stream/solana/StreamClient.ts b/packages/stream/solana/StreamClient.ts index 886c6118..86d2fc4e 100644 --- a/packages/stream/solana/StreamClient.ts +++ b/packages/stream/solana/StreamClient.ts @@ -985,13 +985,16 @@ export default class SolanaStreamClient extends BaseStreamClient { partner, } = streamParams; - const { sender, metadataPubKeys } = extParams; + const { sender, metadataPubKeys, computeLimit, computePrice } = extParams; if (!sender.publicKey) { throw new Error("Sender's PublicKey is not available, check passed wallet adapter!"); } - const ixs: TransactionInstruction[] = []; + const ixs: TransactionInstruction[] = this.prepareBaseInstructions({ + computePrice, + computeLimit, + }); const recipientPublicKey = new PublicKey(recipient.recipient); const mintPublicKey = new PublicKey(mint); const { metadata, metadataPubKey } = this.getOrCreateStreamMetadata(metadataPubKeys);