@folklore/socket 0.4.21 → 0.4.23

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/dist/cjs.js CHANGED
@@ -143,10 +143,14 @@ class PubNubSocket extends EventEmitter {
143
143
  this.shouldStart = true;
144
144
  return;
145
145
  }
146
+ const {
147
+ subscriptionOptions
148
+ } = this.options;
146
149
  this.shouldStart = false;
147
150
  this.starting = true;
148
151
  this.pubnub.subscribe({
149
- channels: this.channels
152
+ channels: this.channels,
153
+ subscriptionOptions
150
154
  });
151
155
  this.emit('start');
152
156
  }
package/dist/es.js CHANGED
@@ -139,10 +139,14 @@ class PubNubSocket extends EventEmitter {
139
139
  this.shouldStart = true;
140
140
  return;
141
141
  }
142
+ const {
143
+ subscriptionOptions
144
+ } = this.options;
142
145
  this.shouldStart = false;
143
146
  this.starting = true;
144
147
  this.pubnub.subscribe({
145
- channels: this.channels
148
+ channels: this.channels,
149
+ subscriptionOptions
146
150
  });
147
151
  this.emit('start');
148
152
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@folklore/socket",
3
- "version": "0.4.21",
3
+ "version": "0.4.23",
4
4
  "description": "Socket utilities",
5
5
  "keywords": [
6
6
  "javascript",
@@ -56,5 +56,5 @@
56
56
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
57
57
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
58
58
  },
59
- "gitHead": "f18d843f3ea8b5a84672addc2fcb50dbf8994b58"
59
+ "gitHead": "a8ca3ca90808f72aa405901ddf919126c2bec602"
60
60
  }