@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/cjs/index.cjs +5 -3
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/solana/index.cjs +5 -3
- package/dist/cjs/solana/index.cjs.map +1 -1
- package/dist/esm/index.js +5 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/solana/index.js +5 -3
- package/dist/esm/solana/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -2618,9 +2618,11 @@ var SolanaStreamClient = class extends BaseStreamClient {
|
|
|
2618
2618
|
computePrice,
|
|
2619
2619
|
computeLimit: computeLimit ?? ALIGNED_COMPUTE_LIMIT
|
|
2620
2620
|
});
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2621
|
+
if (recipientPublicKey.toString() !== sender.publicKey.toString() || !isNative) {
|
|
2622
|
+
ixs.push(
|
|
2623
|
+
...await this.getCreateATAInstructions([recipientPublicKey], mintPublicKey, sender, true, tokenProgramId)
|
|
2624
|
+
);
|
|
2625
|
+
}
|
|
2624
2626
|
const encodedUIntArray = new TextEncoder().encode(streamName);
|
|
2625
2627
|
const streamNameArray = Array.from(encodedUIntArray);
|
|
2626
2628
|
const createIx = await this.alignedProxyProgram.methods.create({
|