Skip to content

Releases: streamflow-finance/js-sdk

v9.2.0

22 Oct 13:28
bcb50f5

Choose a tag to compare

Using public APIs for public endpoints


Note

Switches SDK to public API endpoints for token price and airdrop fees, and bumps all packages to 9.2.0.

  • API usage:
    • packages/common/lib/fetch-token-price.ts: switch token price endpoint to https://token-api-public.streamflow.finance.
    • packages/distributor/solana/fetchAirdropFee.ts: use public base URLs https://api-public.streamflow.finance and https://staging-api-public.streamflow.finance.
  • Release/version:
    • Bump versions to 9.2.0 in lerna.json and @streamflow/{common,distributor,eslint-config,launchpad,staking,stream}.

Written by Cursor Bugbot for commit 3817272. This will update automatically on new commits. Configure here.

v9.1.0

16 Oct 09:55
b8822d8

Choose a tag to compare

  • feat: support update exposed by price based program to change contract mutability params;

v9.0.4

15 Oct 10:50
80e9d8c

Choose a tag to compare

Note

Enhances searchStreams to detect aligned unlocks and return AlignedContract instances; bumps packages to 9.0.4.

  • SDK (Solana StreamClient):
    • searchStreams: Detects aligned unlock contracts via isAlignedUnlock, fetches proxy with deriveContractPDA, and returns AlignedContract; otherwise returns Contract.
  • Version:
    • Bump all packages and lerna.json from 9.0.3 to 9.0.4.

Written by Cursor Bugbot for commit b00d4bc. This will update automatically on new commits. Configure here.

v9.0.3

13 Oct 14:07
74be017

Choose a tag to compare

v9.0.3

v9.0.2

03 Oct 13:22
08000b8

Choose a tag to compare

Introduced in #307 -> when changing to invariant I forgot to negate the condition

v9.0.1

01 Oct 17:36
d298a46

Choose a tag to compare

Note

Exports the fees API from the Solana distributor entrypoint and bumps all package versions to 9.0.1.

  • Distributor (Solana):
    • Export fees module via packages/distributor/solana/index.ts (export * from "./fees.js").
  • Release:
    • Bump versions to 9.0.1 in lerna.json and affected package.json files (common, distributor, eslint-config, launchpad, staking, stream).

Written by Cursor Bugbot for commit ec9345c. This will update automatically on new commits. Configure here.

v9.0.0

30 Sep 17:14
35bfe08

Choose a tag to compare

Migrating Dynamic airdrop fees from app to the SDK


Note

Implements dynamic airdrop claim fees resolved via backend fee params and token/SOL prices, adds token price fetching and bigint math utilities, updates types/exports, and bumps packages to v9.0.0.

  • Distributor (Solana):
    • Dynamic claim fee resolution: Compute lamport fee via resolveAirdropFeeLamportsUsingApi using fetchAirdropFee, fetchTokenPrice, and price-based calculators with min/max clamping and fallbacks; default to minimum on errors.
    • BaseDistributorClient: Store cluster; during prepareClaimInstructions derive claimableAmount (with legacy fallback), fetch mint, resolve fee, and pass to prepareClaimFeeInstruction.
    • New modules: solana/fees.ts (fee constants, calculators, conversions) and solana/fetchAirdropFee.ts; re-export fetchAirdropFee in solana/index.ts.
    • Types: IClaimData now includes claimableAmount.
  • Common:
    • New token price util: lib/fetch-token-price.ts + export in index.ts.
    • Math util: multiplyBigIntByNumber added to lib/utils.ts.
  • Repo:
    • Version bump to 9.0.0 across packages and lerna.json.

Written by Cursor Bugbot for commit 791571f. This will update automatically on new commits. Configure here.

v8.9.0

25 Sep 14:16
94c0898

Choose a tag to compare

  • Updated READMEs for distributor and stream package with examples
  • Removed unnecessary Signer | Keypair types in some of the methods and require PublicKey instead

v8.8.1

23 Sep 11:26
10b48ef

Choose a tag to compare

v8.8.1

v8.8.0

22 Sep 11:23
4c06bdf

Choose a tag to compare

  • add new stake pool boundaries - expiry, max stake, auto unstake;
  • support create v2 in stake pools if new options are provided;
  • update idls to support new options in accounts;
  • expose governor idl;

This is an alpha-version, as changes are only on devnet for now.