mostlyright 1.2.0 → 1.5.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/README.md +16 -0
- package/dist/{chunk-WKPNA46C.mjs → chunk-L7OZMKOJ.mjs} +966 -199
- package/dist/chunk-L7OZMKOJ.mjs.map +1 -0
- package/dist/{chunk-64FNXDHG.mjs → chunk-OTJGBPL4.mjs} +2 -2
- package/dist/{chunk-64FNXDHG.mjs.map → chunk-OTJGBPL4.mjs.map} +1 -1
- package/dist/{iem-asos-2D5EP2FT.mjs → iem-asos-BPSHDERE.mjs} +3 -3
- package/dist/index.bundle.mjs +2074 -468
- package/dist/index.bundle.mjs.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.global.js +3047 -662
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{src-BBELB6SP.mjs → src-ENFDREPA.mjs} +14 -4
- package/package.json +4 -4
- package/dist/chunk-WKPNA46C.mjs.map +0 -1
- /package/dist/{iem-asos-2D5EP2FT.mjs.map → iem-asos-BPSHDERE.mjs.map} +0 -0
- /package/dist/{src-BBELB6SP.mjs.map → src-ENFDREPA.mjs.map} +0 -0
package/README.md
CHANGED
|
@@ -27,3 +27,19 @@ console.log(rows[0]);
|
|
|
27
27
|
## Documentation
|
|
28
28
|
|
|
29
29
|
Quickstart, concepts, and the full API reference live at <https://mostlyright.md/docs/sdk/>.
|
|
30
|
+
|
|
31
|
+
## TypeScript SDK limitations vs Python
|
|
32
|
+
|
|
33
|
+
A few surfaces ship as **typed stubs** in v1.x because their Python implementations depend on native libraries that aren't viable in browser/Node bundles today:
|
|
34
|
+
|
|
35
|
+
| TS Function | Status | Use Python? | Workaround in TS |
|
|
36
|
+
|---|---|---|---|
|
|
37
|
+
| `research()` | ✅ Wired | optional | — |
|
|
38
|
+
| `iemMosForecasts()` | ✅ Wired | optional | — |
|
|
39
|
+
| `obs()` / `dailyExtremes()` | ✅ Wired | optional | — |
|
|
40
|
+
| `forecastNwp()` | ⏳ v2.0+ stub | **yes** for gridded NWP | `iemMosForecasts()` for the 7 major US stations |
|
|
41
|
+
| `climateGaps()` | ⏳ v2.0+ stub | **yes** for climate-gap analysis | — |
|
|
42
|
+
|
|
43
|
+
Stub calls throw typed errors (`NwpNotAvailableError`, `DataAvailabilityError`) so you can `instanceof`-dispatch instead of parsing messages.
|
|
44
|
+
|
|
45
|
+
For the rationale and roadmap, see [docs/nwp-forecasts.md](https://github.com/mostlyrightmd/mostlyright-sdk/blob/main/docs/nwp-forecasts.md) and [docs/climate-gaps.md](https://github.com/mostlyrightmd/mostlyright-sdk/blob/main/docs/climate-gaps.md).
|