@platformatic/itc 2.3.1 → 3.4.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.
Files changed (2) hide show
  1. package/lib/itc.js +4 -4
  2. package/package.json +1 -1
package/lib/itc.js CHANGED
@@ -183,7 +183,7 @@ class ITC extends EventEmitter {
183
183
  }
184
184
 
185
185
  try {
186
- this.#enableKeepAlive()
186
+ this._enableKeepAlive()
187
187
 
188
188
  const request = generateRequest(name, message)
189
189
 
@@ -196,7 +196,7 @@ class ITC extends EventEmitter {
196
196
  if (error !== null) throw error
197
197
  return data
198
198
  } finally {
199
- this.#manageKeepAlive()
199
+ this._manageKeepAlive()
200
200
  }
201
201
  }
202
202
 
@@ -325,12 +325,12 @@ class ITC extends EventEmitter {
325
325
  this.#requestEmitter.emit(reqId, response)
326
326
  }
327
327
 
328
- #enableKeepAlive () {
328
+ _enableKeepAlive () {
329
329
  this.#keepAlive.ref()
330
330
  this.#keepAliveCount++
331
331
  }
332
332
 
333
- #manageKeepAlive () {
333
+ _manageKeepAlive () {
334
334
  this.#keepAliveCount--
335
335
 
336
336
  /* c8 ignore next 3 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/itc",
3
- "version": "2.3.1",
3
+ "version": "3.4.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "Matteo Collina <hello@matteocollina.com>",