@nxtedition/deepstream.io-client-js 23.4.18 → 23.4.19

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": "23.4.18",
3
+ "version": "23.4.19",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "bugs": {
@@ -1,5 +1,6 @@
1
1
  const C = require('../constants/constants')
2
2
  const rxjs = require('rxjs')
3
+ const rx = require('rxjs/operators')
3
4
 
4
5
  class Listener {
5
6
  constructor(topic, pattern, callback, handler, { stringify = null, recursive = false } = {}) {
@@ -60,7 +61,7 @@ class Listener {
60
61
  if (value$) {
61
62
  const subscription = value$
62
63
  .pipe(
63
- rxjs.map((value) => {
64
+ rx.map((value) => {
64
65
  let data
65
66
  if (value && typeof value === 'string') {
66
67
  if (value.charAt(0) !== '{' && value.charAt(0) !== '[') {
@@ -75,7 +76,7 @@ class Listener {
75
76
 
76
77
  return data
77
78
  }),
78
- rxjs.distinctUntilChanged()
79
+ rx.distinctUntilChanged()
79
80
  )
80
81
  .subscribe({
81
82
  next: (data) => {