@geolonia/geonicdb-sdk 0.24.0 → 0.25.1
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 +13 -6
- package/geonicdb.cjs +130 -16
- package/geonicdb.cjs.map +2 -2
- package/geonicdb.d.ts +16 -0
- package/geonicdb.iife.js +130 -16
- package/geonicdb.iife.js.map +2 -2
- package/geonicdb.mjs +130 -16
- package/geonicdb.mjs.map +2 -2
- package/package.json +1 -1
- package/react/index.d.ts +16 -0
package/package.json
CHANGED
package/react/index.d.ts
CHANGED
|
@@ -109,6 +109,11 @@ export interface GetEntitiesParams {
|
|
|
109
109
|
offset?: number;
|
|
110
110
|
/** NGSI-LD query expression */
|
|
111
111
|
q?: string;
|
|
112
|
+
/**
|
|
113
|
+
* #3333: clause 4.9 `jsonKeys` — CSV of attribute names whose values are treated as
|
|
114
|
+
* opaque JSON (not expanded as JSON-LD) when evaluating `q` trailing paths.
|
|
115
|
+
*/
|
|
116
|
+
jsonKeys?: string;
|
|
112
117
|
/** NGSI-LD scope query expression (`/foo`, `/foo/#`, `/foo/+`, `;` で OR) */
|
|
113
118
|
scopeQ?: string;
|
|
114
119
|
/** Geo-relation: `near`, `within`, `contains`, `intersects`, `disjoint`, `equals` */
|
|
@@ -169,6 +174,8 @@ export interface CountEntitiesParams {
|
|
|
169
174
|
type?: string;
|
|
170
175
|
/** NGSI-LD query expression */
|
|
171
176
|
q?: string;
|
|
177
|
+
/** #3333: clause 4.9 `jsonKeys` (CSV) for opaque JSON attributes in `q` trailing paths */
|
|
178
|
+
jsonKeys?: string;
|
|
172
179
|
/** NGSI-LD scope query expression (#1132) */
|
|
173
180
|
scopeQ?: string;
|
|
174
181
|
/**
|
|
@@ -329,6 +336,8 @@ export interface GetTemporalEntitiesParams {
|
|
|
329
336
|
attrs?: string;
|
|
330
337
|
/** NGSI-LD query expression */
|
|
331
338
|
q?: string;
|
|
339
|
+
/** #3333: clause 4.9 `jsonKeys` (CSV) for opaque JSON attributes in `q` trailing paths */
|
|
340
|
+
jsonKeys?: string;
|
|
332
341
|
/** Time property to use (observedAt, createdAt, modifiedAt) */
|
|
333
342
|
timeproperty?: string;
|
|
334
343
|
/** Start time (ISO 8601) */
|
|
@@ -569,6 +578,13 @@ declare class GeonicDB extends EventEmitter {
|
|
|
569
578
|
/**
|
|
570
579
|
* Set credentials externally (e.g. from a login API response).
|
|
571
580
|
* When tokenType is 'Bearer' with a refreshToken, DPoP/PoW is bypassed entirely.
|
|
581
|
+
*
|
|
582
|
+
* #3595 / CodeRabbit Deep Scan `155b7206`: always disconnects any active
|
|
583
|
+
* WebSocket (OPEN or CONNECTING) first so events for the previous identity
|
|
584
|
+
* cannot continue to arrive under the new credentials. If a socket was
|
|
585
|
+
* active, reconnects with the newly injected token (subscriptions are
|
|
586
|
+
* cleared by disconnect — call `subscribe()` again after `setCredentials`
|
|
587
|
+
* if needed).
|
|
572
588
|
*/
|
|
573
589
|
setCredentials(opts: CredentialsOptions): this;
|
|
574
590
|
/** Clear all credentials and disconnect. */
|