Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

All notable changes to `@sharp-api/client` are documented here.

## 0.4.2 — 2026-07-02

### Added — suspended-opportunity state (issue #13 / sharp-api-go #789)

- `EVOpportunity` gains optional `is_suspended` (`boolean`) and
`suspended_since` (unix seconds, present only while suspended). When the
sharp reference (Pinnacle) momentarily suspends a live market, the engine
keeps the opp visible-but-suspended under the same stable `id` with the
edge hidden, instead of dropping and re-adding it — consumers can grey the
row and keep it in place across resume. Wire keys are snake_case.
- Inert until the server-side `EV_SUSPENDED_STATE` flag is enabled; absent
from the wire otherwise. Additive optional fields — non-breaking, matching
the `team_side` / `market_segment` precedent.

### Changed

- `package.json` now declares `engines: { node: ">=18" }`, matching the
Node 18/20/22 CI matrix (metadata only; no runtime change).

## 0.4.1 — 2026-06-02

### Added — structured `team_side` + `market_segment` (issue #76 / #689)
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sharp-api/client",
"version": "0.4.1",
"version": "0.4.2",
"description": "Official TypeScript/JavaScript client for the SharpAPI real-time sports betting odds API",
"type": "module",
"main": "./dist/index.cjs",
Expand All @@ -22,6 +22,9 @@
"dist"
],
"sideEffects": false,
"engines": {
"node": ">=18"
},
"license": "MIT",
"author": "SharpAPI <hello@sharpapi.io>",
"repository": {
Expand Down