Skip to content

Commit 2382c44

Browse files
Mlaz-codepaperclip-resolver[bot]claude
authored
docs(timestamp): clarify timestamp = delivery/feed-freshness (OpticOdds-parity) (#10)
The API now emits a single per-odd `timestamp` (delivery/last-refreshed, advances every ingest cycle, matching OpticOdds) — replacing `odds_changed_at`/`last_seen_at`/`wire_received_at` (sharp-api-go #751). The SDK already modeled `timestamp` (was always null); this documents its semantics on `NormalizedOdds`. No type change. Bump 0.5.0. Refs SHA-1048 Type: docs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: paperclip-resolver[bot] <3736210+paperclip-resolver[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3c8b087 commit 2382c44

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

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

5+
## 0.5.0 — 2026-06-02
6+
7+
### Changed
8+
9+
- `NormalizedOdds.timestamp` documented as the **delivery / last-refreshed**
10+
feed-freshness timestamp (advances every ingest cycle), matching OpticOdds'
11+
`timestamp` — NOT a price-last-changed time. The API now populates this field
12+
(previously always `null`). The removed `odds_changed_at` / `last_seen_at` /
13+
`wire_received_at` were never modeled by this SDK, so no type change is
14+
needed. (SHA-1048)
15+
516
## 0.4.0 — 2026-05-31
617

718
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sharp-api/client",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"description": "Official TypeScript/JavaScript client for the SharpAPI real-time sports betting odds API",
55
"type": "module",
66
"main": "./dist/index.cjs",

src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ export interface NormalizedOdds extends NestedRefs {
304304
odds: OddsValue
305305
line?: number
306306
eventStartTime: string
307+
/**
308+
* ISO 8601 — when SharpAPI last refreshed this odd through its pipeline
309+
* (advances every ingest cycle). A feed-freshness / delivery signal matching
310+
* OpticOdds' `timestamp`; NOT a price-last-changed time. (SHA-1048)
311+
*/
307312
timestamp: string
308313
isLive: boolean
309314
/**

0 commit comments

Comments
 (0)