@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
package/dist/cjs/index.cjs
CHANGED
|
@@ -5212,9 +5212,11 @@ var SolanaStreamClient = class extends BaseStreamClient {
|
|
|
5212
5212
|
computePrice,
|
|
5213
5213
|
computeLimit: computeLimit ?? ALIGNED_COMPUTE_LIMIT
|
|
5214
5214
|
});
|
|
5215
|
-
|
|
5216
|
-
|
|
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({
|