@chrtco/sdk 0.5.0 → 0.6.0

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to `@chrtco/sdk` will be documented in this file.
4
4
 
5
+ ## [0.6.0] — 2026-04-27
6
+ - **New sub-export `@chrtco/sdk/atlas/browser`** — S-52 atlas helpers for browser-side rendering. Previously lived in the React app's `src/lib/atlas/` and was internal-only; now part of the SDK so external consumers can drive map styling consistently with the platform.
7
+ - **`OfflineError.detail.level` (`"team" | "key"`)** — `budget_exceeded` errors from `mint-offline-token` now carry a `level` field on `error.detail` so consumers can branch their messaging between per-key caps ("raise this key's storage cap") and per-team caps ("upgrade your team plan"). `team_used_bytes` is also surfaced on team-level refusals so dashboards can show usage context. Existing `budget_bytes` / `required_bytes` / `over_by_bytes` keys are unchanged.
8
+ - **Internal**: `@maplibre/maplibre-gl-style-spec` declared as a devDep (was a runtime dep but only needed at build/typecheck time).
9
+
5
10
  ## [0.5.0] — 2026-04-23
6
11
  - **CHRToffline** — download MBTiles bundles for offline rendering:
7
12
  - `chrt.offline.list()`, `chrt.offline.download(region, opts)`, `chrt.offline.remove(region, opts)`, `chrt.offline.heartbeat(opts?)`, `chrt.offline.setStorageBudget(bytes, fs)`