@nika-js/onlymap 0.5.11 → 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 +115 -0
- package/LICENSE.md +2 -0
- package/README.md +2 -1
- package/dist/{LercDecode.es-DgVQ-yzp.js → LercDecode.es-fbo6h5rt.js} +1 -1
- package/dist/{basemap-Q6WD4W1c.js → basemap-CprSan9q.js} +1 -1
- package/dist/{geoparquet-BUR3VCqE.js → geoparquet-Bm8pfxyo.js} +1 -1
- package/dist/{index-DTRXxe7D.js → index-Bz-rbmhj.js} +5182 -5162
- package/dist/{index-B59kDhQV.js → index-CCQttJzO.js} +2 -2
- package/dist/{index-E2LluXDY.js → index-DSRIZR81.js} +1 -1
- package/dist/{index-DBsR-e_U.js → index-GOwMjqm6.js} +1 -1
- package/dist/{index-BtVjjBff.js → index-UzmNhuS0.js} +1 -1
- package/dist/{lerc-Bl4IMkfo.js → lerc-CuifOkoA.js} +2 -2
- package/dist/license.d.ts +29 -5
- package/dist/onlymap.standalone.js +9596 -9576
- package/dist/onlymapjs.js +1 -1
- package/dist/{raster-B5dIvmBr.js → raster-dysYIQ_k.js} +2 -2
- package/dist/{raster-pipeline-Dzo5h6YY.js → raster-pipeline-ZdCOGfqV.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-DHOOSvXD.js → zarr-OewK7k2K.js} +2 -2
- package/docs/3d-assets.md +3 -3
- package/docs/live-data.md +2 -2
- package/docs/stories.md +1 -1
- package/llms.txt +1 -1
- package/onlymapjs.html-data.json +1 -1
- package/package.json +6 -2
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as E, j as S, k as R, o as N, p as h, q as w, s as O, t as W, v as x, w as I, x as B, y as _, A as P, B as k, E as $, F as z, H as v, I as F, J as C, K as U, N as p, O as M } from "./index-
|
|
2
|
-
import { P as $e, R as ze, _ as ve, Q as Ce, S as Ue, T as Me, U as je, X as De, Y as Je, Z as qe, $ as He, a0 as Ve, a1 as Ge, a2 as Ke, a3 as Qe, a4 as Xe, a5 as Ye, a6 as Ze, a7 as et, a8 as tt, a9 as nt, aa as rt, ab as at, ac as st, ad as ot } from "./index-
|
|
1
|
+
import { i as E, j as S, k as R, o as N, p as h, q as w, s as O, t as W, v as x, w as I, x as B, y as _, A as P, B as k, E as $, F as z, H as v, I as F, J as C, K as U, N as p, O as M } from "./index-Bz-rbmhj.js";
|
|
2
|
+
import { P as $e, R as ze, _ as ve, Q as Ce, S as Ue, T as Me, U as je, X as De, Y as Je, Z as qe, $ as He, a0 as Ve, a1 as Ge, a2 as Ke, a3 as Qe, a4 as Xe, a5 as Ye, a6 as Ze, a7 as et, a8 as tt, a9 as nt, aa as rt, ab as at, ac as st, ad as ot } from "./index-Bz-rbmhj.js";
|
|
3
3
|
import { g as j, i as D } from "./table-accessors-CYWTzpQI.js";
|
|
4
4
|
async function J(t, e, n = {}, r = {}) {
|
|
5
5
|
const a = E(t), s = S.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ag as Be, ah as le, ai as ce, aj as De, ak as Oe, al as ke } from "./index-
|
|
1
|
+
import { ag as Be, ah as le, ai as ce, aj as De, ak as Oe, al as ke } from "./index-Bz-rbmhj.js";
|
|
2
2
|
import { y as ve, a as he, z as G, R as J, A as ue, C as Fe, F as je, n as xe, S as Ie, E as Ne } from "./recordbatch-Bpc0uxFn.js";
|
|
3
3
|
import { g as V, a as fe, b as Le, c as Ue, d as Me, e as qe, m as Ve } from "./table-accessors-CYWTzpQI.js";
|
|
4
4
|
import { c as $e } from "./convert-arrow-schema-DrAihRf9.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ak as Bt, ax as Xt, ay as Yt, az as Us } from "./index-
|
|
1
|
+
import { ak as Bt, ax as Xt, ay as Yt, az as Us } from "./index-Bz-rbmhj.js";
|
|
2
2
|
import { w as gs, t as Hs, f as Ws, m as Qs } from "./mgrs-BY9bIvp4.js";
|
|
3
3
|
import { c as Xs } from "./convert-arrow-schema-DrAihRf9.js";
|
|
4
4
|
import { y as Ys, A as bt, a as Ks, z as Vs, R as Zs } from "./recordbatch-Bpc0uxFn.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, D as s } from "./raster-
|
|
1
|
+
import { C as a, D as s } from "./raster-dysYIQ_k.js";
|
|
2
2
|
const D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null
|
|
4
4
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -8,7 +8,7 @@ var t;
|
|
|
8
8
|
})(t || (t = {}));
|
|
9
9
|
let l = !1;
|
|
10
10
|
async function d() {
|
|
11
|
-
const e = await import("./LercDecode.es-
|
|
11
|
+
const e = await import("./LercDecode.es-fbo6h5rt.js");
|
|
12
12
|
return l || (await e.load(), l = !0), e;
|
|
13
13
|
}
|
|
14
14
|
async function i(e, r) {
|
package/dist/license.d.ts
CHANGED
|
@@ -15,11 +15,20 @@
|
|
|
15
15
|
* basemap-key precedent) — they MAY appear in markup, unlike data
|
|
16
16
|
* credentials.
|
|
17
17
|
*
|
|
18
|
-
* Decisions (spec, RESOLVED 2026-07-14): free tier =
|
|
19
|
-
* per layer / 20 MB fetch; any paid plan hides the
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
18
|
+
* Decisions (spec, RESOLVED 2026-07-14; REVISED 2026-08-05): free tier =
|
|
19
|
+
* 5 layers / 25k rows per layer / 20 MB fetch; any paid plan hides the
|
|
20
|
+
* badge; violations are per-layer hard drops with loud structured errors;
|
|
21
|
+
* no feature is gated at launch. REVISED: caps lift entirely in a DEV
|
|
22
|
+
* context — loopback http(s), any non-http(s) scheme (file://, tauri://,
|
|
23
|
+
* …), or no `location` at all (tests/SSR) — and apply only on hosted
|
|
24
|
+
* http(s). Deliberately NO embedded-runtime sniffing: the commercial /
|
|
25
|
+
* non-commercial boundary is a fact about intent that code cannot observe,
|
|
26
|
+
* so packaged-app enforcement is LEGAL, not technical — LICENSE.md states
|
|
27
|
+
* that the dev exemption is a technical convenience, never a grant, and
|
|
28
|
+
* commercial distribution (hosted OR packaged) requires a key regardless
|
|
29
|
+
* of whether gates fired. The badge stays on in every context (it is the
|
|
30
|
+
* attribution obligation, not a cap). App-identity keys for packaged apps
|
|
31
|
+
* are the onlymap-native roadmap's `apps` claim.
|
|
23
32
|
*
|
|
24
33
|
* Failure semantics: invalid/expired/mismatched keys → free tier + one
|
|
25
34
|
* console warning — never a broken map. While a key verifies (WebCrypto
|
|
@@ -37,6 +46,21 @@ export interface Entitlements {
|
|
|
37
46
|
keyId: string | null;
|
|
38
47
|
}
|
|
39
48
|
export declare const FREE_TIER: Entitlements;
|
|
49
|
+
/** The dev context's entitlements: every cap lifted, badge KEPT (attribution is an obligation, not a cap — and it carries the license pointer into shipped artifacts). */
|
|
50
|
+
export declare const DEV_TIER: Entitlements;
|
|
51
|
+
/**
|
|
52
|
+
* Dev context = not a hosted http(s) page: loopback hosts, any non-http(s)
|
|
53
|
+
* scheme (file://, a desktop webview's custom scheme), or no `location` at
|
|
54
|
+
* all (headless tests, SSR). Computed per call (cheap string checks) so the
|
|
55
|
+
* test seam works; `location` itself never changes within a page.
|
|
56
|
+
*/
|
|
57
|
+
export declare function isDevContext(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @internal Test seam: the unit suite runs under happy-dom on localhost, so
|
|
60
|
+
* every cap test would silently become vacuous without forcing "hosted".
|
|
61
|
+
* `null` restores real detection.
|
|
62
|
+
*/
|
|
63
|
+
export declare function setHostedContextForTests(hosted: boolean | null): void;
|
|
40
64
|
export declare function getEntitlements(): Readonly<Entitlements>;
|
|
41
65
|
/** True while a key is being verified — gates fail open so a paid page never flashes violations. */
|
|
42
66
|
export declare function licenseSettled(): boolean;
|