@streamflow/stream 8.8.0 → 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.
@@ -5212,9 +5212,11 @@ var SolanaStreamClient = class extends BaseStreamClient {
5212
5212
  computePrice,
5213
5213
  computeLimit: computeLimit ?? ALIGNED_COMPUTE_LIMIT
5214
5214
  });
5215
- ixs.push(
5216
- ...await this.getCreateATAInstructions([recipientPublicKey], mintPublicKey, sender, true, tokenProgramId)
5217
- );
5215
+ if (recipientPublicKey.toString() !== sender.publicKey.toString() || !isNative) {
5216
+ ixs.push(
5217
+ ...await this.getCreateATAInstructions([recipientPublicKey], mintPublicKey, sender, true, tokenProgramId)
5218
+ );
5219
+ }
5218
5220
  const encodedUIntArray = new TextEncoder().encode(streamName);
5219
5221
  const streamNameArray = Array.from(encodedUIntArray);
5220
5222
  const createIx = await this.alignedProxyProgram.methods.create({