@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.
- 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
package/dist/esm/solana/index.js
CHANGED
|
@@ -2592,9 +2592,11 @@ var SolanaStreamClient = class extends BaseStreamClient {
|
|
|
2592
2592
|
computePrice,
|
|
2593
2593
|
computeLimit: computeLimit ?? ALIGNED_COMPUTE_LIMIT
|
|
2594
2594
|
});
|
|
2595
|
-
|
|
2596
|
-
|
|
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({
|