whatap 0.4.69 → 0.4.70

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/lib/core/agent.js CHANGED
@@ -241,11 +241,7 @@ NodeAgent.prototype.connectCB = function (cb) {
241
241
  });
242
242
  }, self.setLoopTime);
243
243
  };
244
- const sleep = async(ms) => {
245
- return new Promise(resolve=>{
246
- setTimeout(resolve,ms)
247
- })
248
- }
244
+
249
245
  NodeAgent.prototype.loadObserves = function() {
250
246
  var agent = this;
251
247
  var observes = [];
@@ -296,6 +292,7 @@ NodeAgent.prototype.loadObserves = function() {
296
292
  new ProcessObserver(agent).inject(process, 'process');
297
293
  new GlobalObserver(agent).inject(global, 'global');
298
294
  };
295
+
299
296
  NodeAgent.prototype.setServicePort = function (port) {
300
297
  Configuration['whatap.port'] = port || 0;
301
298
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "whatap",
3
3
  "homepage": "http://www.whatap.io",
4
- "version": "0.4.69",
5
- "releaseDate": "20230315",
4
+ "version": "0.4.70",
5
+ "releaseDate": "20230328",
6
6
  "description": "Monitoring and Profiling Service",
7
7
  "main": "index.js",
8
8
  "scripts": {},