@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/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
|
-
|
|
5190
|
-
|
|
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({
|