@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.
@@ -2592,9 +2592,11 @@ var SolanaStreamClient = class extends BaseStreamClient {
2592
2592
  computePrice,
2593
2593
  computeLimit: computeLimit ?? ALIGNED_COMPUTE_LIMIT
2594
2594
  });
2595
- ixs.push(
2596
- ...await this.getCreateATAInstructions([recipientPublicKey], mintPublicKey, sender, true, tokenProgramId)
2597
- );
2595
+ if (recipientPublicKey.toString() !== sender.publicKey.toString() || !isNative) {
2596
+ ixs.push(
2597
+ ...await this.getCreateATAInstructions([recipientPublicKey], mintPublicKey, sender, true, tokenProgramId)
2598
+ );
2599
+ }
2598
2600
  const encodedUIntArray = new TextEncoder().encode(streamName);
2599
2601
  const streamNameArray = Array.from(encodedUIntArray);
2600
2602
  const createIx = await this.alignedProxyProgram.methods.create({