@appland/appmap 3.51.1 → 3.52.0
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [@appland/appmap-v3.52.0](https://github.com/getappmap/appmap-js/compare/@appland/appmap-v3.51.1...@appland/appmap-v3.52.0) (2022-11-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Address PR comments ([788dab4](https://github.com/getappmap/appmap-js/commit/788dab46cea2933dc0c5965f6307f5c0ef4d2873))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Increase aggregate telemetry timeout to 60s ([0f5e590](https://github.com/getappmap/appmap-js/commit/0f5e5909710d33562740d0d6fb77b286dcf54a59))
|
|
12
|
+
|
|
1
13
|
# [@appland/appmap-v3.51.1](https://github.com/getappmap/appmap-js/compare/@appland/appmap-v3.51.0...@appland/appmap-v3.51.1) (2022-11-24)
|
|
2
14
|
|
|
3
15
|
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MaxMSBetween = void 0;
|
|
4
|
-
exports.MaxMSBetween = 1000;
|
|
4
|
+
exports.MaxMSBetween = 10 * 1000;
|
|
5
5
|
class EventAggregator {
|
|
6
6
|
constructor(callback, maxMsBetween = exports.MaxMSBetween) {
|
|
7
7
|
this.callback = callback;
|
|
8
8
|
this.maxMsBetween = maxMsBetween;
|
|
9
9
|
this.pending = [];
|
|
10
|
+
process.on('exit', () => {
|
|
11
|
+
if (this.timeout) {
|
|
12
|
+
clearTimeout(this.timeout);
|
|
13
|
+
this.emitPending();
|
|
14
|
+
}
|
|
15
|
+
});
|
|
10
16
|
}
|
|
11
17
|
push(emitter, event, args) {
|
|
12
18
|
this.pending.push({ emitter, event, args });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventAggregator.js","sourceRoot":"","sources":["../../src/lib/eventAggregator.ts"],"names":[],"mappings":";;;AAQa,QAAA,YAAY,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"eventAggregator.js","sourceRoot":"","sources":["../../src/lib/eventAggregator.ts"],"names":[],"mappings":";;;AAQa,QAAA,YAAY,GAAG,EAAE,GAAG,IAAI,CAAC;AAEtC,MAAqB,eAAe;IAClC,YACU,QAA0C,EAC1C,eAAe,oBAAY;QAD3B,aAAQ,GAAR,QAAQ,CAAkC;QAC1C,iBAAY,GAAZ,YAAY,CAAe;QAU7B,YAAO,GAAmB,EAAE,CAAC;QARnC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE;YACtB,IAAI,IAAI,CAAC,OAAO,EAAE;gBAChB,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;gBAC3B,IAAI,CAAC,WAAW,EAAE,CAAC;aACpB;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAGO,IAAI,CAAC,OAAqB,EAAE,KAAa,EAAE,IAAW;QAC5D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC;IAGO,OAAO;QACb,IAAI,IAAI,CAAC,OAAO;YAAE,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAC5E,CAAC;IAEO,WAAW;QACjB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IACpB,CAAC;IAED,MAAM,CAAC,OAAqB,EAAE,KAAa;QACzC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;IAClE,CAAC;CACF;AAlCD,kCAkCC"}
|