@streamflow/stream 8.8.0-alpha.p305.254e984 → 8.8.1

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.
package/dist/esm/index.js CHANGED
@@ -5186,9 +5186,11 @@ var SolanaStreamClient = class extends BaseStreamClient {
5186
5186
  computePrice,
5187
5187
  computeLimit: computeLimit ?? ALIGNED_COMPUTE_LIMIT
5188
5188
  });
5189
- ixs.push(
5190
- ...await this.getCreateATAInstructions([recipientPublicKey], mintPublicKey, sender, true, tokenProgramId)
5191
- );
5189
+ if (recipientPublicKey.toString() !== sender.publicKey.toString() || !isNative) {
5190
+ ixs.push(
5191
+ ...await this.getCreateATAInstructions([recipientPublicKey], mintPublicKey, sender, true, tokenProgramId)
5192
+ );
5193
+ }
5192
5194
  const encodedUIntArray = new TextEncoder().encode(streamName);
5193
5195
  const streamNameArray = Array.from(encodedUIntArray);
5194
5196
  const createIx = await this.alignedProxyProgram.methods.create({