@streamflow/stream 8.6.0 → 8.7.0-alpha.p304.6732440

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.
@@ -1,4 +1,4 @@
1
- export { Z as Account, a3 as AlignedContract, M as AlignedUnlocksContract, a6 as BatchItem, a8 as BatchItemError, a9 as BatchItemResult, a7 as BatchItemSuccess, U as ChangeOracleParams, y as ClientCreationOptions, a2 as Contract, R as CreateParams, V as CreateTestOracleParams, a4 as DecodedStream, $ as ICreateSolanaExt, a1 as ICreateStreamInstructions, I as ICreateStreamSolanaExt, a as IInteractStreamSolanaExt, Y as ISearchStreams, b as ITopUpStreamSolanaExt, a0 as ITransactionSolanaExtWithInstructions, aa as InstructionGenerator, a5 as MetadataRecipientHashMap, N as OracleType, S as SolanaStreamClient, Q as TestOracle, X as UpdateTestOracleParams, af as cancelStreamInstruction, x as constants, ab as createStreamInstruction, ac as createUncheckedStreamInstruction, z as decodeStream, J as deriveContractPDA, K as deriveEscrowPDA, L as deriveTestOraclePDA, H as extractSolanaErrorCode, G as sendAndConfirmStreamRawTransaction, B as signAllTransactionWithRecipients, _ as timelockIDL, ah as topupStreamInstruction, ag as transferStreamInstruction, ae as updateStreamInstruction, ad as withdrawStreamInstruction } from '../index-BAZFUaQL.cjs';
1
+ export { Z as Account, a3 as AlignedContract, M as AlignedUnlocksContract, a6 as BatchItem, a8 as BatchItemError, a9 as BatchItemResult, a7 as BatchItemSuccess, U as ChangeOracleParams, y as ClientCreationOptions, a2 as Contract, R as CreateParams, V as CreateTestOracleParams, a4 as DecodedStream, $ as ICreateSolanaExt, a1 as ICreateStreamInstructions, I as ICreateStreamSolanaExt, a as IInteractStreamSolanaExt, Y as ISearchStreams, b as ITopUpStreamSolanaExt, a0 as ITransactionSolanaExtWithInstructions, aa as InstructionGenerator, a5 as MetadataRecipientHashMap, N as OracleType, S as SolanaStreamClient, Q as TestOracle, X as UpdateTestOracleParams, af as cancelStreamInstruction, x as constants, ab as createStreamInstruction, ac as createUncheckedStreamInstruction, z as decodeStream, J as deriveContractPDA, K as deriveEscrowPDA, L as deriveTestOraclePDA, H as extractSolanaErrorCode, G as sendAndConfirmStreamRawTransaction, B as signAllTransactionWithRecipients, _ as timelockIDL, ah as topupStreamInstruction, ag as transferStreamInstruction, ae as updateStreamInstruction, ad as withdrawStreamInstruction } from '../index-Bll7jg8V.cjs';
2
2
  export { ContractError, IChain, ICluster } from '@streamflow/common';
3
3
  import 'p-queue';
4
4
  import '@solana/web3.js';
@@ -4,7 +4,7 @@ import { ITransactionSolanaExt, IProgramAccount, ConfirmationParams, ThrottlePar
4
4
  import { IdlAccounts, IdlTypes, Program } from '@coral-xyz/anchor';
5
5
  import { SignerWalletAdapter } from '@solana/wallet-adapter-base';
6
6
  import BN from 'bn.js';
7
- import { L as LinearStream, b as StreamType, A as AlignedStream, O as OracleTypeName, u as IRecipient, c as SolanaStreamClientOptions, B as BaseStreamClient, I as ICreateStreamData, g as ICreateResult, a as ICreateAlignedStreamData, h as ICreateMultipleStreamData, i as IMultiTransactionResult, j as IWithdrawData, l as ITransactionResult, m as ICancelData, n as ITransferData, o as ITopUpData, p as IGetOneData, S as Stream, q as IGetAllData, r as IUpdateData, s as IGetFeesData, t as IFees } from './BaseStreamClient-DOyJqO7R.js';
7
+ import { u as IRecipient, L as LinearStream, b as StreamType, A as AlignedStream, O as OracleTypeName, c as SolanaStreamClientOptions, B as BaseStreamClient, I as ICreateStreamData, g as ICreateResult, a as ICreateAlignedStreamData, h as ICreateMultipleStreamData, i as IMultiTransactionResult, j as IWithdrawData, l as ITransactionResult, m as ICancelData, n as ITransferData, o as ITopUpData, p as IGetOneData, S as Stream, q as IGetAllData, r as IUpdateData, s as IGetFeesData, t as IFees } from './BaseStreamClient-DOyJqO7R.js';
8
8
  import { StreamflowAlignedUnlocks } from './solana/descriptor/streamflow_aligned_unlocks.js';
9
9
  import { ICluster, ContractError, IChain } from '@streamflow/common';
10
10
  import { Buffer as Buffer$1 } from 'buffer';
@@ -209,9 +209,50 @@ declare class SolanaStreamClient extends BaseStreamClient {
209
209
  getConnection(): Connection;
210
210
  getCommitment(): Commitment | undefined;
211
211
  getProgramId(): string;
212
+ /**
213
+ * Builds transaction instructions for creating a new stream/vesting contract without creating a transaction.
214
+ * All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
215
+ *
216
+ * For native SOL (isNative: true), SOL wrapping instructions are automatically included in the correct order
217
+ * (before stream creation) to ensure the WSOL account exists when the stream creation instruction executes.
218
+ *
219
+ * @param {ICreateStreamData} data - Stream parameters including recipient, token, amount, schedule, and permissions
220
+ * @param {Omit<ICreateStreamSolanaExt, "sender"> & { senderPublicKey: PublicKey }} extParams - Transaction configuration including sender public key, native token handling, and custom instructions
221
+ * @returns Transaction instructions and metadata ID
222
+ */
223
+ buildCreateTransactionInstructions(data: ICreateStreamData, extParams: Omit<ICreateStreamSolanaExt, "sender"> & {
224
+ senderPublicKey: PublicKey;
225
+ }): Promise<{
226
+ ixs: TransactionInstruction[];
227
+ metadataId: string;
228
+ metadata?: Keypair;
229
+ }>;
230
+ /**
231
+ * Builds a transaction for creating a new stream/vesting contract without signing or executing it.
232
+ * All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
233
+ *
234
+ * For native SOL (isNative: true), SOL wrapping instructions are automatically included in the correct order
235
+ * (before stream creation) to ensure the WSOL account exists when the stream creation instruction executes.
236
+ *
237
+ * @param {ICreateStreamData} data - Stream parameters including recipient, token, amount, schedule, and permissions
238
+ * @param {Omit<ICreateStreamSolanaExt, "sender"> & { senderPublicKey: PublicKey }} extParams - Transaction configuration including sender public key, native token handling, and custom instructions
239
+ * @returns Transaction and metadata information
240
+ */
241
+ buildCreateTransaction(data: ICreateStreamData, extParams: Omit<ICreateStreamSolanaExt, "sender"> & {
242
+ senderPublicKey: PublicKey;
243
+ }): Promise<{
244
+ tx: VersionedTransaction;
245
+ metadataId: string;
246
+ metadata?: Keypair;
247
+ hash: string;
248
+ context: any;
249
+ }>;
212
250
  /**
213
251
  * Creates a new stream/vesting contract.
214
252
  * All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
253
+ * @param {ICreateStreamData} data - Stream parameters including recipient, token, amount, schedule, and permissions
254
+ * @param {ICreateStreamSolanaExt} extParams - Transaction configuration including sender wallet, native token handling, and compute settings
255
+ * @returns Create result
215
256
  */
216
257
  create(data: ICreateStreamData, extParams: ICreateStreamSolanaExt): Promise<ICreateResult>;
217
258
  prepareCreateInstructions(streamParams: ICreateStreamData, extParams: ICreateStreamSolanaExt): Promise<ICreateStreamInstructions>;
@@ -219,6 +260,9 @@ declare class SolanaStreamClient extends BaseStreamClient {
219
260
  /**
220
261
  * Creates a new stream/vesting contract.
221
262
  * All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
263
+ * @param {ICreateStreamData} data - Stream parameters including recipient, token, amount, schedule, and permissions
264
+ * @param {ICreateStreamSolanaExt} extParams - Transaction configuration including sender wallet, metadata keys, and compute settings
265
+ * @returns Create stream instructions
222
266
  */
223
267
  prepareCreateStreamInstructions({ recipient, tokenId: mint, start, amount: depositedAmount, period, cliff, cliffAmount, amountPerPeriod, name, canPause, canUpdateRate, canTopup, cancelableBySender, cancelableByRecipient, transferableBySender, transferableByRecipient, automaticWithdrawal, withdrawalFrequency, partner, tokenProgramId: streamTokenProgramId, }: ICreateStreamData, { sender, metadataPubKeys, isNative, computePrice, computeLimit }: ICreateStreamSolanaExt): Promise<ICreateStreamInstructions>;
224
268
  /**
@@ -230,6 +274,9 @@ declare class SolanaStreamClient extends BaseStreamClient {
230
274
  * - initialized contract PDA off chain
231
275
  *
232
276
  * If you are not sure if you should use create or create_unchecked, go for create to be safer.
277
+ * @param {ICreateStreamData} data - Stream parameters including recipient, token, amount, schedule, and permissions
278
+ * @param {ICreateStreamSolanaExt} extParams - Transaction configuration including sender wallet, metadata keys, and compute settings
279
+ * @returns Create result
233
280
  */
234
281
  createUnchecked(data: ICreateStreamData, extParams: ICreateStreamSolanaExt): Promise<ICreateResult>;
235
282
  /**
@@ -240,78 +287,209 @@ declare class SolanaStreamClient extends BaseStreamClient {
240
287
  metadata: Keypair | undefined;
241
288
  metadataPubKey: PublicKey;
242
289
  }>;
290
+ /**
291
+ * Builds transaction instructions for creating multiple stream/vesting contracts without creating transactions.
292
+ * All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
293
+ * @param {ICreateMultipleStreamData} data - Stream base parameters and array of recipients with individual amounts and settings
294
+ * @param {Omit<ICreateStreamSolanaExt, "sender"> & { senderPublicKey: PublicKey }} extParams - Transaction configuration including sender public key, native token handling, and custom instructions
295
+ * @returns Create multiple transaction instructions
296
+ */
297
+ buildCreateMultipleTransactionInstructions(data: ICreateMultipleStreamData, extParams: Omit<ICreateStreamSolanaExt, "sender"> & {
298
+ senderPublicKey: PublicKey;
299
+ }): Promise<{
300
+ instructionsBatch: {
301
+ ixs: TransactionInstruction[];
302
+ metadata: Keypair | undefined;
303
+ recipient: string;
304
+ }[];
305
+ metadatas: string[];
306
+ metadataToRecipient: MetadataRecipientHashMap;
307
+ prepareInstructions: TransactionInstruction[];
308
+ }>;
309
+ /**
310
+ * Builds multiple transactions for creating stream/vesting contracts without signing or executing them.
311
+ * All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
312
+ *
313
+ * IMPORTANT: When using native SOL (isNative: true), you MUST execute the prepareTx FIRST and wait for confirmation
314
+ * before executing the stream creation transactions. Otherwise, stream creation will fail with "InvalidAccountData".
315
+ *
316
+ * @example
317
+ * ```typescript
318
+ * const result = await streamClient.buildCreateMultipleTransactions(data, { isNative: true, senderPublicKey });
319
+ *
320
+ * // CRITICAL: Execute prepareTx first if it exists
321
+ * if (result.prepareTx) {
322
+ * await connection.sendAndConfirmTransaction(result.prepareTx, [signer]);
323
+ * }
324
+ *
325
+ * // Only then execute stream creation transactions
326
+ * for (const item of result.transactions) {
327
+ * await connection.sendAndConfirmTransaction(item.tx, [signer]);
328
+ * }
329
+ * ```
330
+ *
331
+ * @param {ICreateMultipleStreamData} data - Stream base parameters and array of recipients with individual amounts and settings
332
+ * @param {Omit<ICreateStreamSolanaExt, "sender"> & { senderPublicKey: PublicKey }} extParams - Transaction configuration including sender public key, native token handling, and custom instructions
333
+ * @returns Multiple transaction information
334
+ */
335
+ buildCreateMultipleTransactions(data: ICreateMultipleStreamData, extParams: Omit<ICreateStreamSolanaExt, "sender"> & {
336
+ senderPublicKey: PublicKey;
337
+ }): Promise<{
338
+ transactions: BatchItem[];
339
+ metadatas: string[];
340
+ metadataToRecipient: MetadataRecipientHashMap;
341
+ hash: Readonly<{
342
+ blockhash: string;
343
+ lastValidBlockHeight: number;
344
+ }>;
345
+ context: any;
346
+ prepareTx?: VersionedTransaction;
347
+ }>;
243
348
  /**
244
349
  * Creates multiple stream/vesting contracts.
245
350
  * All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
351
+ * @param {ICreateMultipleStreamData} data - Stream base parameters and array of recipients with individual amounts and settings
352
+ * @param {ICreateStreamSolanaExt} extParams - Transaction configuration including sender wallet, metadata keys, and compute settings
353
+ * @returns Multiple transaction information
246
354
  */
247
355
  createMultiple(data: ICreateMultipleStreamData, extParams: ICreateStreamSolanaExt): Promise<IMultiTransactionResult>;
248
356
  /**
249
357
  * Creates multiple stream/vesting contracts, and send all transactions sequentially.
250
358
  * All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
251
359
  * In most cases, createMultiple should be used instead.
360
+ * @param {ICreateMultipleStreamData} data - Stream base parameters and array of recipients with individual amounts and settings
361
+ * @param {ICreateStreamSolanaExt} extParams - Transaction configuration including sender wallet, metadata keys, and compute settings
362
+ * @returns Multiple transaction information
252
363
  */
253
364
  createMultipleSequential(data: ICreateMultipleStreamData, extParams: ICreateStreamSolanaExt): Promise<IMultiTransactionResult>;
254
365
  /**
255
366
  * Attempts withdrawing from the specified stream.
367
+ * @param {IWithdrawData} withdrawData - Withdrawal parameters including stream ID and amount to withdraw
368
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet, token account validation, and compute settings
369
+ * @returns Transaction result
256
370
  */
257
371
  withdraw({ id, amount }: IWithdrawData, extParams: IInteractStreamSolanaExt): Promise<ITransactionResult>;
258
372
  /**
259
373
  * Creates Transaction Instructions for withdrawal
374
+ * @param {IWithdrawData} withdrawData - Withdrawal parameters including stream ID and amount to withdraw
375
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet, token account validation, and compute settings
376
+ * @returns Transaction instructions
260
377
  */
261
378
  prepareWithdrawInstructions({ id, amount }: IWithdrawData, { invoker, checkTokenAccounts, computePrice, computeLimit }: IInteractStreamSolanaExt): Promise<TransactionInstruction[]>;
262
379
  /**
263
380
  * Attempts canceling the specified stream.
381
+ * @param {ICancelData} cancelData - Cancellation parameters including stream ID
382
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet, token account validation, and compute settings
383
+ * @returns Transaction result
264
384
  */
265
385
  cancel(cancelData: ICancelData, extParams: IInteractStreamSolanaExt): Promise<ITransactionResult>;
386
+ /**
387
+ * Creates Transaction Instructions for cancel
388
+ * @param {ICancelData} cancelData - Cancellation parameters including stream ID
389
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet, token account validation, and compute settings
390
+ * @returns Transaction instructions
391
+ */
266
392
  prepareCancelInstructions(cancelData: ICancelData, extParams: IInteractStreamSolanaExt): Promise<TransactionInstruction[]>;
393
+ /**
394
+ * Creates Transaction Instructions for cancel
395
+ * @param {ICancelData} cancelData - Cancellation parameters including stream ID
396
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet, token account validation, and compute settings
397
+ * @returns Transaction instructions
398
+ */
267
399
  prepareCancelAlignedUnlockInstructions({ id }: ICancelData, { invoker, checkTokenAccounts, computePrice, computeLimit }: IInteractStreamSolanaExt): Promise<TransactionInstruction[]>;
268
400
  /**
269
401
  * Creates Transaction Instructions for cancel
402
+ * @param {ICancelData} cancelData - Cancellation parameters including stream ID
403
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet, token account validation, and compute settings
404
+ * @returns Transaction instructions
270
405
  */
271
406
  prepareCancelStreamInstructions({ id }: ICancelData, { invoker, checkTokenAccounts, computePrice, computeLimit }: IInteractStreamSolanaExt): Promise<TransactionInstruction[]>;
272
407
  /**
273
408
  * Attempts changing the stream/vesting contract's recipient (effectively transferring the stream/vesting contract).
274
409
  * Potential associated token account rent fee (to make it rent-exempt) is paid by the transaction initiator.
410
+ * @param {ITransferData} transferData - Transfer parameters including stream ID and new recipient address
411
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet and compute settings
412
+ * @returns Transaction result
275
413
  */
276
414
  transfer({ id, newRecipient }: ITransferData, extParams: IInteractStreamSolanaExt): Promise<ITransactionResult>;
277
415
  /**
278
416
  * Attempts changing the stream/vesting contract's recipient (effectively transferring the stream/vesting contract).
279
417
  * Potential associated token account rent fee (to make it rent-exempt) is paid by the transaction initiator.
418
+ * @param {ITransferData} transferData - Transfer parameters including stream ID and new recipient address
419
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet and compute settings
420
+ * @returns Transaction instructions
280
421
  */
281
422
  prepareTransferInstructions({ id, newRecipient }: ITransferData, { invoker, computePrice, computeLimit }: IInteractStreamSolanaExt): Promise<TransactionInstruction[]>;
282
423
  /**
283
424
  * Tops up stream account with specified amount.
425
+ * @param {ITopUpData} topupData - Top-up parameters including stream ID and amount to add
426
+ * @param {ITopUpStreamSolanaExt} extParams - Transaction configuration including invoker wallet, native token handling, and compute settings
427
+ * @returns Transaction result
284
428
  */
285
429
  topup({ id, amount }: ITopUpData, extParams: ITopUpStreamSolanaExt): Promise<ITransactionResult>;
286
430
  /**
287
431
  * Create Transaction instructions for topup
432
+ * @param {ITopUpData} topupData - Top-up parameters including stream ID and amount to add
433
+ * @param {ITopUpStreamSolanaExt} extParams - Transaction configuration including invoker wallet, native token handling, and compute settings
434
+ * @returns Transaction instructions
288
435
  */
289
436
  prepareTopupInstructions({ id, amount }: ITopUpData, { invoker, isNative, computePrice, computeLimit }: ITopUpStreamSolanaExt): Promise<TransactionInstruction[]>;
290
437
  /**
291
438
  * Fetch stream data by its id (address).
439
+ * @param {IGetOneData} getData - Query parameters containing the stream ID to fetch
440
+ * @returns Stream data
292
441
  */
293
442
  getOne({ id }: IGetOneData): Promise<Stream>;
294
443
  /**
295
444
  * Fetch all aligned outgoing streams/contracts by the provided public key.
445
+ * @param {string} sender - Sender public key
446
+ * @returns Record of stream data
296
447
  */
297
448
  private getOutgoingAlignedStreams;
298
449
  private getIncomingAlignedStreams;
299
450
  /**
300
451
  * Fetch streams/contracts by providing direction.
301
452
  * Streams are sorted by start time in ascending order.
453
+ * @param {IGetAllData} getData - Query parameters including address, stream type filter, and direction filter
454
+ * @returns Record of stream data
302
455
  */
303
456
  get({ address, type, direction, }: IGetAllData): Promise<[string, Stream][]>;
457
+ /**
458
+ * Searches for streams/contracts by providing filters.
459
+ * @param {ISearchStreams} data - Search by mint, sender, recipient or closed status
460
+ * @returns Record of stream data
461
+ */
304
462
  searchStreams(data: ISearchStreams): Promise<IProgramAccount<Stream>[]>;
305
463
  /**
306
464
  * Attempts updating the stream auto withdrawal params and amount per period
465
+ * @param {IUpdateData} data - Update parameters including stream ID and new settings
466
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet and compute settings
467
+ * @returns Transaction result
307
468
  */
308
469
  update(data: IUpdateData, extParams: IInteractStreamSolanaExt): Promise<ITransactionResult>;
309
470
  /**
310
471
  * Create Transaction instructions for update
472
+ * @param {IUpdateData} data - Update parameters including stream ID and new settings
473
+ * @param {IInteractStreamSolanaExt} extParams - Transaction configuration including invoker wallet and compute settings
474
+ * @returns Transaction instructions
311
475
  */
312
476
  prepareUpdateInstructions(data: IUpdateData, { invoker, computePrice, computeLimit }: IInteractStreamSolanaExt): Promise<TransactionInstruction[]>;
477
+ /**
478
+ * Gets fees for a given address
479
+ * @param {IGetFeesData} getData - Query parameters containing the partner address to check for custom fees
480
+ * @returns Fees
481
+ */
313
482
  getFees({ address }: IGetFeesData): Promise<IFees | null>;
483
+ /**
484
+ * Gets default streamflow fee
485
+ * @returns Default streamflow fee
486
+ */
314
487
  getDefaultStreamflowFee(): Promise<number>;
488
+ /**
489
+ * Extracts error code from an error
490
+ * @param {Error} err - Error
491
+ * @returns Error code
492
+ */
315
493
  extractErrorCode(err: Error): string | null;
316
494
  /**
317
495
  * Utility function to generate metadata for a Contract or return existing Pubkey
@@ -2,8 +2,8 @@ import { A as AptosStreamClient, I as ICreateStreamAptosExt, a as ITransactionAp
2
2
  export { i as StreamflowAptos } from './index-D54wSYym.js';
3
3
  import { E as EvmStreamClient } from './index-elpYUBph.js';
4
4
  export { i as StreamflowEVM } from './index-elpYUBph.js';
5
- import { S as SolanaStreamClient, I as ICreateStreamSolanaExt, a as IInteractStreamSolanaExt, b as ITopUpStreamSolanaExt } from './index-DKkJbavt.js';
6
- export { s as AIRDROP_AMOUNT, q as AIRDROP_TEST_TOKEN, j as ALIGNED_COMPUTE_LIMIT, A as ALIGNED_PRECISION_FACTOR_POW, h as ALIGNED_UNLOCKS_PROGRAM_ID, k as CONTRACT_DISCRIMINATOR, m as CONTRACT_SEED, C as CREATE_PARAMS_PADDING, D as DEFAULT_STREAMFLOW_FEE, E as ESCROW_SEED, r as FEES_METADATA_SEED, F as FEE_ORACLE_PUBLIC_KEY, O as ORIGINAL_CONTRACT_SENDER_OFFSET, u as PARTNERS_SCHEMA, o as PARTNER_ORACLE_PROGRAM_ID, t as PARTNER_SCHEMA, P as PROGRAM_ID, w as SOLANA_ERROR_MAP, v as SOLANA_ERROR_MATCH_REGEX, p as STREAMFLOW_TREASURY_PUBLIC_KEY, g as STREAM_STRUCT_OFFSETS, f as STREAM_STRUCT_OFFSET_CLOSED, e as STREAM_STRUCT_OFFSET_MINT, d as STREAM_STRUCT_OFFSET_RECIPIENT, c as STREAM_STRUCT_OFFSET_SENDER, i as StreamflowSolana, l as TEST_ORACLE_DISCRIMINATOR, n as TEST_ORACLE_SEED, T as TX_FINALITY_CONFIRMED, W as WITHDRAWOR_PUBLIC_KEY } from './index-DKkJbavt.js';
5
+ import { S as SolanaStreamClient, I as ICreateStreamSolanaExt, a as IInteractStreamSolanaExt, b as ITopUpStreamSolanaExt } from './index-D-w3ZCyC.js';
6
+ export { s as AIRDROP_AMOUNT, q as AIRDROP_TEST_TOKEN, j as ALIGNED_COMPUTE_LIMIT, A as ALIGNED_PRECISION_FACTOR_POW, h as ALIGNED_UNLOCKS_PROGRAM_ID, k as CONTRACT_DISCRIMINATOR, m as CONTRACT_SEED, C as CREATE_PARAMS_PADDING, D as DEFAULT_STREAMFLOW_FEE, E as ESCROW_SEED, r as FEES_METADATA_SEED, F as FEE_ORACLE_PUBLIC_KEY, O as ORIGINAL_CONTRACT_SENDER_OFFSET, u as PARTNERS_SCHEMA, o as PARTNER_ORACLE_PROGRAM_ID, t as PARTNER_SCHEMA, P as PROGRAM_ID, w as SOLANA_ERROR_MAP, v as SOLANA_ERROR_MATCH_REGEX, p as STREAMFLOW_TREASURY_PUBLIC_KEY, g as STREAM_STRUCT_OFFSETS, f as STREAM_STRUCT_OFFSET_CLOSED, e as STREAM_STRUCT_OFFSET_MINT, d as STREAM_STRUCT_OFFSET_RECIPIENT, c as STREAM_STRUCT_OFFSET_SENDER, i as StreamflowSolana, l as TEST_ORACLE_DISCRIMINATOR, n as TEST_ORACLE_SEED, T as TX_FINALITY_CONFIRMED, W as WITHDRAWOR_PUBLIC_KEY } from './index-D-w3ZCyC.js';
7
7
  import { S as SuiStreamClient } from './index-DrzqsoIB.js';
8
8
  export { i as StreamflowSui } from './index-DrzqsoIB.js';
9
9
  import { S as Stream, A as AlignedStream, I as ICreateStreamData, a as ICreateAlignedStreamData, b as StreamType, B as BaseStreamClient, c as SolanaStreamClientOptions, d as AptosStreamClientOptions, e as SuiStreamClientOptions, E as EvmStreamClientOptions, f as ICreateStreamSuiExt, g as ICreateResult, h as ICreateMultipleStreamData, i as IMultiTransactionResult, j as IWithdrawData, k as ITransactionSuiExt, l as ITransactionResult, m as ICancelData, n as ITransferData, o as ITopUpData, p as IGetOneData, q as IGetAllData, r as IUpdateData, s as IGetFeesData, t as IFees } from './BaseStreamClient-DOyJqO7R.js';