@nxtedition/deepstream.io-client-js 25.1.2 → 25.1.3

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": "25.1.2",
3
+ "version": "25.1.3",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "type": "module",
@@ -207,7 +207,7 @@ class RecordHandler {
207
207
  }
208
208
  }
209
209
 
210
- _getKey(name) {
210
+ getKey(name) {
211
211
  if (name.length > 8) {
212
212
  return this._connection.hasher.h64(name)
213
213
  }
@@ -228,7 +228,7 @@ class RecordHandler {
228
228
  let record = this._records.get(name)
229
229
 
230
230
  if (!record) {
231
- record = new Record(this._getKey(name), name, this)
231
+ record = new Record(this.getKey(name), name, this)
232
232
  this._stats.records += 1
233
233
  this._stats.created += 1
234
234
  this._records.set(name, record)