@geolonia/geonicdb-sdk 0.17.0 → 0.18.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geolonia/geonicdb-sdk",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
4
4
  "description": "GeonicDB JavaScript SDK — NGSI-LD Context Broker client for browser and Node.js",
5
5
  "main": "geonicdb.cjs",
6
6
  "module": "geonicdb.mjs",
package/react/index.d.ts CHANGED
@@ -206,8 +206,8 @@ export interface EntityEvent {
206
206
  servicePath: string;
207
207
  /** Entity ID */
208
208
  entityId: string;
209
- /** Entity type, compacted with the subscription `@context` (#2026) */
210
- entityType: string;
209
+ /** Entity type, compacted with the subscription `@context` (#2026). Multi-type is `string[]` (#2477 / Table 5.2.4). */
210
+ entityType: string | string[];
211
211
  /**
212
212
  * Entity attributes in NGSI-LD normalized representation (clause 4.5.2, #2026 / #2044).
213
213
  * Attribute names are compacted with the subscription `@context`; sub-attributes are inline;