Releases: 0xfnzero/sol-parser-sdk-nodejs
Releases · 0xfnzero/sol-parser-sdk-nodejs
Release list
sol-parser-sdk Node.js v0.5.9
sol-parser-sdk Node.js v0.5.9
- Publishes the Node.js package under the npm name
sol-parser-sdk. - Keeps the GitHub repository name
sol-parser-sdk-nodejsfor language-specific source organization. - Updates install and import examples to use
sol-parser-sdk.
npm publish is pending npm 2FA completion.
v0.5.8
v0.5.7
Fixes
- Fix PumpFun ShredStream quote mint handling for SOL/WOL, WSOL, and USDC semantics.
- Preserve real quote mint values when account keys are available; keep unknown ALT-loaded quote mints as unknown instead of forcing a SOL placeholder.
- Normalize include_only(PumpFunTrade) results to PumpFunTrade for ShredStream instruction parsing.
- Backfill create quote_mint from same-transaction trade events when a real quote mint is available.
Note
- GitHub release only; npm publish was not requested.
v0.5.6
Highlights
- Adds Meteora DBC log parsing with program-context routing and filter parity.
- Adds Raydium CLMM/CPMM and Orca account parsers and exports.
- Preserves RPC block transaction indexes and active program context for log parsing.
- Skips ShredStream instruction parsing early for account-only or empty include-only filters.
Validation
- npm test
- npm run check:migration
- npm pack --dry-run
v0.5.5
v0.5.5
- Align ShredStream static-account parsing with Rust/Python/Go.
- Use default pubkey placeholders for V0 ALT-loaded instruction accounts.
- Add discriminator fallback when ShredStream outer program id is ALT-loaded.
- Improve Pump.fun v2 short-account parsing, create/create_v2 handling, and filters.
- Refresh README install and ShredStream ALT guidance.
sol-parser-sdk-nodejs v0.4.5
Changes
- Add PumpFun USDC/v2 parser fields and quote reserve support.
- Preserve v2 account fields for buy/sell/exact quote instructions.
- Add PumpFun official account parsers and parity tests.
- Align PumpSwap instruction discriminators and tail fields.
sol-parser-sdk-nodejs v0.4.4
sol-parser-sdk-nodejs v0.4.4\n\nThis release syncs the Node.js SDK with the Rust sol-parser-sdk v0.4.4 capabilities.\n\n### Highlights\n- Added Pump Fees parsing and discriminators.\n- Added PumpFun v2 parsing and same-transaction enrichment.\n- Added Yellowstone order buffering modes and dynamic subscription updates.\n- Added log/instruction deduplication for merged transaction parsing.\n- Fixed Raydium CLMM instruction parity, including open/close position and V2 liquidity instructions.\n- Updated package version and README install command to 0.4.4.\n\n### Install\n\nbash\nnpm install sol-parser-sdk-nodejs@0.4.4\n
v0.4.0
sol-parser-sdk-nodejs v0.4.0
Highlights
- ShredStream: Pure TypeScript
entriesdecoder (aligned with golang),VersionedTransactionwire expansion; no WASM build - Meteora DAMM V2: Outer
swap/swap2fill vaults, mints, token programs from cp_amm IDL account indices; CPI swap paths use the same when accounts are present - ShredStream
metadata.tx_index: Global index within one gRPC message (aligned with golangshredstream_entries)
Install
npm install sol-parser-sdk-nodejs@0.4.0sol-parser-sdk-nodejs v0.3.0
sol-parser-sdk-nodejs v0.3.0
High-performance Solana DEX event parsing for Node.js 18+, with Yellowstone gRPC streaming and Rust-aligned DexEvent output.
Highlights
- gRPC parity with Rust — New
parseDexEventsFromGrpcTransactionInfo()decodes logs from a Yellowstone transaction update, then applies the same account / data filling as the Rust SDK whentransactionRawandmetaRaware present. Use this instead ofparseLogsOnly()alone when you need full mints, pool ATAs, and other fields filled from the compiled message. - Stable gRPC streams — Synchronous errors inside your
onUpdatecallback are caught and forwarded toonError, so a thrown error no longer tears down the gRPC stream (RST_STREAM). - Correct PumpSwap program ID — Pump AMM (PumpSwap) ID is aligned with the Rust SDK / IDL:
pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA. - RPC robustness —
accountKeyToBase58and safer account-index handling fix edge cases (e.g.Uint8Arrayindices,resolveAccountsfor RPC and invoke maps).
npm
npm install sol-parser-sdk-nodejsPackage publishes compiled dist/, TypeScript declarations, README.md, README_CN.md, and LICENSE. Run npm run build when developing from source.
New / updated scripts
| Script | Command |
|---|---|
| gRPC integration (PumpFun + PumpSwap, account-filled events) | npm run test:grpc |
| Debug Yellowstone meta / logs | npm run debug:grpc |
Environment variables: prefer GRPC_URL and GRPC_TOKEN; GEYSER_ENDPOINT / GEYSER_API_TOKEN remain supported.
Examples
examples/pumpfun_grpc_json.mjs/pumpswap_grpc_json.mjs— Pretty JSONDexEventover gRPC (dexEventToJsonString).examples/parse_tx_by_signature.mjs—TX_SIGNATURErequired; usesparseTransactionFromRpc(full RPC path). OptionalRPC_URL.- Metrics / filter examples use Base58 signatures and the SDK
nowUsclock for consistent latency fields. meteora_damm_grpc.mjsandmulti_protocol_grpc.mjsuse program IDs aligned withsrc/instr/program_ids.ts.
Documentation
English and Chinese READMEs updated (installation, env vars, example notes, development commands).
Upgrade notes
- If you only called
parseLogsOnly()on gRPC logs, account-related fields may still be placeholders until you switch toparseDexEventsFromGrpcTransactionInfo(or applyapplyAccountFillsToLogEventsyourself). - Published package name on npm is
sol-parser-sdk-nodejs(repository folder may still be namedsol-parser-sdk-tsin monorepos).