@streamflow/stream 8.2.1 → 8.3.0
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-BEQUqMyR.d.cts → index-ehppV5TW.d.cts} +2 -2
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +2 -2
- package/dist/cjs/solana/index.cjs +4 -4
- package/dist/cjs/solana/index.cjs.map +1 -1
- package/dist/cjs/solana/index.d.cts +1 -1
- package/dist/esm/{index-0fL5gH5R.d.ts → index-C_tXt0ti.d.ts} +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/solana/index.d.ts +1 -1
- package/dist/esm/solana/index.js +4 -4
- package/dist/esm/solana/index.js.map +1 -1
- package/package.json +6 -6
|
@@ -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-
|
|
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-C_tXt0ti.js';
|
|
2
2
|
export { ContractError, IChain, ICluster } from '@streamflow/common';
|
|
3
3
|
import 'p-queue';
|
|
4
4
|
import '@solana/web3.js';
|
package/dist/esm/solana/index.js
CHANGED
|
@@ -216,10 +216,10 @@ var Contract = class {
|
|
|
216
216
|
this.streamflowTreasuryTokens = stream.streamflowTreasuryTokens.toBase58();
|
|
217
217
|
this.streamflowFeeTotal = stream.streamflowFeeTotal;
|
|
218
218
|
this.streamflowFeeWithdrawn = stream.streamflowFeeWithdrawn;
|
|
219
|
-
this.streamflowFeePercent = stream.streamflowFeePercent
|
|
219
|
+
this.streamflowFeePercent = stream.streamflowFeePercent;
|
|
220
220
|
this.partnerFeeTotal = stream.partnerFeeTotal;
|
|
221
221
|
this.partnerFeeWithdrawn = stream.partnerFeeWithdrawn;
|
|
222
|
-
this.partnerFeePercent = stream.partnerFeePercent
|
|
222
|
+
this.partnerFeePercent = stream.partnerFeePercent;
|
|
223
223
|
this.partner = stream.partner.toBase58();
|
|
224
224
|
this.partnerTokens = stream.partnerTokens?.toBase58();
|
|
225
225
|
this.start = stream.start.toNumber();
|
|
@@ -461,10 +461,10 @@ var decodeStream = (buf) => {
|
|
|
461
461
|
streamflowTreasuryTokens: new PublicKey(raw.streamflow_treasury_tokens),
|
|
462
462
|
streamflowFeeTotal: new BN4(raw.streamflow_fee_total, LE),
|
|
463
463
|
streamflowFeeWithdrawn: new BN4(raw.streamflow_fee_withdrawn, LE),
|
|
464
|
-
streamflowFeePercent:
|
|
464
|
+
streamflowFeePercent: raw.streamflow_fee_percent,
|
|
465
465
|
partnerFeeTotal: new BN4(raw.partner_fee_total, LE),
|
|
466
466
|
partnerFeeWithdrawn: new BN4(raw.partner_fee_withdrawn, LE),
|
|
467
|
-
partnerFeePercent:
|
|
467
|
+
partnerFeePercent: raw.partner_fee_percent,
|
|
468
468
|
partner: new PublicKey(raw.partner),
|
|
469
469
|
partnerTokens: new PublicKey(raw.partner_tokens),
|
|
470
470
|
start: new BN4(raw.start_time, LE),
|