@nxtedition/deepstream.io-client-js 32.0.4 → 32.0.5

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": "@nxtedition/deepstream.io-client-js",
3
- "version": "32.0.4",
3
+ "version": "32.0.5",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "type": "module",
@@ -18,9 +18,9 @@ export type GettablePossibleEmpty<Data> = keyof Data extends never
18
18
  Data
19
19
  : SingleKeyObject<Data> extends never
20
20
  ? // There are more than one property in Data, and some of them are
21
- // required. That means that the user must always check for the empty
22
- // object case.
23
- Data | EmptyObject
21
+ // required. That means that the user must always check for the empty
22
+ // object case.
23
+ Data | EmptyObject
24
24
  : // There is exactly one property in Data, and it is required. In this
25
25
  // particular case, we can safely use Data as the "empty" type, but
26
26
  // with the single property turned optional.
@@ -45,6 +45,7 @@ export interface UpdateOptions {
45
45
  }
46
46
 
47
47
  export interface ObserveOptions {
48
+ key?: string
48
49
  signal?: AbortSignal
49
50
  timeout?: number
50
51
  state?: number