madeonsol 2.22.1 → 2.22.2

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.
Files changed (2) hide show
  1. package/README.md +0 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,8 +12,6 @@
12
12
  Official TypeScript/JavaScript SDK for the **[MadeOnSol](https://madeonsol.com) Solana API** — zero dependencies, fully typed, works in Node.js ≥ 18 and edge runtimes.
13
13
  > Real-time Solana trading intelligence: track 1,069 KOL wallets with <3s latency, score 23,000+ Pump.fun deployers, surface deshred deploy signals **~500ms before on-chain confirmation**, detect multi-KOL coordination, score token rug-risk 0–100 with a transparent factor breakdown, expose the bundle cohort that bought a token together and how much of supply it still holds, verify any wallet's current on-chain holdings with airdrop/insider `transfer_delta` detection, push every pump.fun graduation the second it bonds, and stream every DEX trade across 9+ programs. Free tier: 200 requests/day at [madeonsol.com/pricing](https://madeonsol.com/pricing) — no credit card required.
14
14
 
15
- New customers get a 3-day free trial of Pro or Ultra when you pay by card — full access, nothing charged during the trial, cancel anytime. Start at https://madeonsol.com/pricing
16
-
17
15
  > **New in 2.22.0** — **Clean stream shutdown.** `client.stream.connect().close()` now fully tears down the underlying WebSocket so short-lived scripts exit promptly instead of hanging on a lingering socket. In Node the client now prefers the `ws` package (which exposes `terminate()`) and hard-terminates on close; the browser still uses the native WebSocket. No API changes — purely a lifecycle fix. (If you don't already depend on `ws` and want the fast exit on Node ≥22, `npm i ws`.)
18
16
  >
19
17
  > **New in 2.21.0** — **Pool depth / price-impact + dev self-activity on the risk score.** `client.alpha.tokenDepth(mint, { sizes? })` (`GET /tokens/{mint}/depth`, **PRO+**) answers "how much SOL does it take to move the price N%", per pool. Each depth-computable pool returns `spot_price_sol`, `fee_pct`, `source` (`"stream"` for constant-product AMMs served zero-RPC from stream reserves, `"live_rpc"` for pump.fun/bonk curves priced from a live read of the curve's VIRTUAL reserves), `reserves_age_ms`, per-size `quotes` (`size_sol`/`tokens_out`/`avg_price_sol`/`price_impact_pct`), and `to_move_price` (SOL to move price `1pct`/`5pct`/`10pct`). `sizes` accepts a CSV string or `number[]` (max 8, each >0 and ≤10000; default `0.5,1,5,10`); the response carries `sol_usd`, `sizes_sol`, `primary_pool`, and honesty-first `unsupported_pools` — concentrated pools (CLMM/Orca/DLMM), Meteora-DBC curves, and unclassified pools come back with a `reason` instead of a wrong number. Impact is per-pool, not router-optimal. Plus `client.alpha.risk(mint)` responses gain a top-level `dev` block (`TokenRiskDev | null`) — deployer self-activity for the mint: `wallet`, `launchpad`, `deployed_at`, create-tx `buy_sol`/`buy_tokens`/`buy_supply_pct`, post-create `bought_tokens_after`/`sold_tokens`/`sold_sol` with `first_sell_at`/`last_sell_at`, live on-chain `holdings_tokens`/`holdings_supply_pct`, `wallet_empty` (`boolean | null`), and `transferred_out` (`boolean | null` — chain balance well below the trade-derived expectation, i.e. tokens moved without a swap). `dev` is `null` when the mint has no tracked deploy row (single-mint `/risk` only; absent on batch items). New types: `TokenDepthParams`, `TokenDepthResponse`, `TokenDepthPool`, `TokenDepthUnsupportedPool`, `TokenDepthPoolBase`, `TokenDepthQuote`, `TokenDepthToMovePrice`, `TokenDepthSource`, `TokenRiskDev`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "madeonsol",
3
- "version": "2.22.1",
3
+ "version": "2.22.2",
4
4
  "description": "Official SDK for the MadeOnSol Solana API — KOL wallet tracking, Pump.fun deployer intelligence, and tool directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",