@pendo/agent 2.285.1 → 2.285.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 +10 -5
- package/dist/pendo.module.min.js +2 -2
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
package/dist/pendo.module.js
CHANGED
|
@@ -3905,8 +3905,8 @@ var SERVER = '';
|
|
|
3905
3905
|
var ASSET_HOST = '';
|
|
3906
3906
|
var ASSET_PATH = '';
|
|
3907
3907
|
var DESIGNER_SERVER = '';
|
|
3908
|
-
var VERSION = '2.285.
|
|
3909
|
-
var PACKAGE_VERSION = '2.285.
|
|
3908
|
+
var VERSION = '2.285.2_';
|
|
3909
|
+
var PACKAGE_VERSION = '2.285.2';
|
|
3910
3910
|
var LOADER = 'xhr';
|
|
3911
3911
|
/* eslint-enable agent-eslint-rules/no-gulp-env-references */
|
|
3912
3912
|
/**
|
|
@@ -26935,7 +26935,12 @@ const initialize = makeSafe(function (options) {
|
|
|
26935
26935
|
return initialize();
|
|
26936
26936
|
});
|
|
26937
26937
|
}
|
|
26938
|
-
|
|
26938
|
+
try {
|
|
26939
|
+
store.dispatch('location/init', options.location || {});
|
|
26940
|
+
}
|
|
26941
|
+
catch (e) {
|
|
26942
|
+
log.critical('Location API Exception', e);
|
|
26943
|
+
}
|
|
26939
26944
|
// Save the options somewhere
|
|
26940
26945
|
ConfigReader.setLocalConfig(options);
|
|
26941
26946
|
initDataHost();
|
|
@@ -28610,8 +28615,8 @@ UrlAttrTransform.fromJSON = function (obj) {
|
|
|
28610
28615
|
}
|
|
28611
28616
|
// Validate data types for specific actions
|
|
28612
28617
|
if (obj.action === 'AllowOnlyKeys' || obj.action === 'ExcludeKeys') {
|
|
28613
|
-
if (!_.isArray(obj.data)) {
|
|
28614
|
-
throw new Error('Action "' + obj.action + '" requires "data" to be an array of strings. Example: {attr: "' + obj.attr + '", action: "' + obj.action + '", data: ["key1", "key2"]}');
|
|
28618
|
+
if (!_.isArray(obj.data) && !_.isFunction(obj.data)) {
|
|
28619
|
+
throw new Error('Action "' + obj.action + '" requires "data" to be an array of strings or a function returning an array of strings. Example: {attr: "' + obj.attr + '", action: "' + obj.action + '", data: ["key1", "key2"]}');
|
|
28615
28620
|
}
|
|
28616
28621
|
}
|
|
28617
28622
|
if (obj.action === 'AddTo') {
|