@geolonia/geonicdb-sdk 0.19.3 → 0.21.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 +7 -5
- package/geonicdb.cjs.map +2 -2
- package/geonicdb.d.ts +11 -4
- package/geonicdb.iife.js.map +2 -2
- package/geonicdb.mjs.map +2 -2
- package/package.json +1 -1
- package/react/index.d.ts +7 -2
package/package.json
CHANGED
package/react/index.d.ts
CHANGED
|
@@ -474,8 +474,13 @@ export interface RegisterWebPushSubscriptionOptions extends WebPushSubscribeOpti
|
|
|
474
474
|
/** NGSI-LD `q` filter (ignored for NGSIv2). */
|
|
475
475
|
q?: string;
|
|
476
476
|
/**
|
|
477
|
-
* Override the localStorage key used for idempotency. Default
|
|
478
|
-
* baseUrl
|
|
477
|
+
* Override the localStorage key used for idempotency. Default is
|
|
478
|
+
* `buildWebPushSubscriptionStorageKey(baseUrl, tenant, protocol)` — it does
|
|
479
|
+
* **not** include login principal. On a shared browser (kiosk, shared profile)
|
|
480
|
+
* or when registering multiple distinct filters from the same origin, pass a
|
|
481
|
+
* key that still includes that default scope plus app-managed suffixes
|
|
482
|
+
* (e.g. `` `${buildWebPushSubscriptionStorageKey(...)}:${userId}:${filterId}` ``).
|
|
483
|
+
* See docs/SDK.md → Web Push (#3097).
|
|
479
484
|
*/
|
|
480
485
|
storageKey?: string;
|
|
481
486
|
}
|