@pendo/agent 2.298.1 → 2.298.2
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/dist/dom.esm.js +1 -1
- package/dist/pendo.module.js +13 -7
- package/dist/pendo.module.min.js +7 -7
- package/dist/servers.json +7 -7
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
package/dist/pendo.module.js
CHANGED
|
@@ -3904,8 +3904,8 @@ let SERVER = '';
|
|
|
3904
3904
|
let ASSET_HOST = '';
|
|
3905
3905
|
let ASSET_PATH = '';
|
|
3906
3906
|
let DESIGNER_SERVER = '';
|
|
3907
|
-
let VERSION = '2.298.
|
|
3908
|
-
let PACKAGE_VERSION = '2.298.
|
|
3907
|
+
let VERSION = '2.298.2_';
|
|
3908
|
+
let PACKAGE_VERSION = '2.298.2';
|
|
3909
3909
|
let LOADER = 'xhr';
|
|
3910
3910
|
/* eslint-enable agent-eslint-rules/no-gulp-env-references */
|
|
3911
3911
|
/**
|
|
@@ -33728,7 +33728,7 @@ const DebuggerModule = (() => {
|
|
|
33728
33728
|
frameId: context.state.frameId
|
|
33729
33729
|
});
|
|
33730
33730
|
}
|
|
33731
|
-
_.each(buffer.events, (event) =>
|
|
33731
|
+
_.each(buffer.events, (event) => store.dispatch('debugger/eventCaptured', event));
|
|
33732
33732
|
},
|
|
33733
33733
|
join: (context, data) => {
|
|
33734
33734
|
if (context.state.frameId === data.frameId)
|
|
@@ -37505,11 +37505,16 @@ _.extend(debug, debugging);
|
|
|
37505
37505
|
|
|
37506
37506
|
const waitForLeader = (Events, store, q) => {
|
|
37507
37507
|
const buffer = {
|
|
37508
|
-
events: []
|
|
37508
|
+
events: [],
|
|
37509
|
+
add: (evt) => {
|
|
37510
|
+
buffer.events.push(evt.data[0]);
|
|
37511
|
+
},
|
|
37512
|
+
clear: () => {
|
|
37513
|
+
buffer.events = [];
|
|
37514
|
+
Events.off('eventCaptured', buffer.add);
|
|
37515
|
+
}
|
|
37509
37516
|
};
|
|
37510
|
-
Events.on('eventCaptured',
|
|
37511
|
-
buffer.events.push(evt);
|
|
37512
|
-
});
|
|
37517
|
+
Events.on('eventCaptured', buffer.add);
|
|
37513
37518
|
if (store.getters['frames/leaderExists']()) {
|
|
37514
37519
|
return q.resolve(buffer);
|
|
37515
37520
|
}
|
|
@@ -37535,6 +37540,7 @@ const DebuggerLauncher = (function () {
|
|
|
37535
37540
|
if (store.getters['frames/isLeader']()) {
|
|
37536
37541
|
startDebuggingModuleIfEnabled();
|
|
37537
37542
|
}
|
|
37543
|
+
buffer.clear();
|
|
37538
37544
|
});
|
|
37539
37545
|
registerMessageHandler('pendo-debugger::launch', (data, msg) => {
|
|
37540
37546
|
if (data.config.apiKey !== pendo.apiKey)
|