@nxtedition/deepstream.io-client-js 31.1.0 → 31.1.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": "@nxtedition/deepstream.io-client-js",
3
- "version": "31.1.0",
3
+ "version": "31.1.1",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "type": "module",
@@ -15,6 +15,7 @@ export default function Connection(client, url, options) {
15
15
  this._logger = options.logger
16
16
  this._schedule = options.schedule ?? utils.schedule
17
17
  this._batchSize = options.batchSize ?? 1024
18
+ this._priority = options.priority ?? 0
18
19
  this._authParams = null
19
20
  this._authCallback = null
20
21
  this._deliberateClose = false
@@ -179,6 +180,7 @@ Connection.prototype._sendAuthParams = function () {
179
180
  utils.isNode
180
181
  ? `Node/${process.version}`
181
182
  : globalThis.navigator && globalThis.navigator.userAgent,
183
+ `${this._priority || 0}`,
182
184
  ])
183
185
  this._submit(authMessage)
184
186
  }