rudder-sdk-js 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +18 -9
- package/package.json +1 -1
package/index.js
CHANGED
@@ -4829,7 +4829,7 @@
|
|
4829
4829
|
|
4830
4830
|
// Reserved Keywords for properties/traits
|
4831
4831
|
var ReservedPropertyKeywords = ["anonymous_id", "id", "sent_at", "received_at", "timestamp", "original_timestamp", "event_text", "event"]; // ECommerce Parameter Names Enumeration
|
4832
|
-
var CONFIG_URL = "https://api.rudderlabs.com/sourceConfig/?p=npm&v=2.4.
|
4832
|
+
var CONFIG_URL = "https://api.rudderlabs.com/sourceConfig/?p=npm&v=2.4.1";
|
4833
4833
|
var CDN_INT_DIR = "js-integrations";
|
4834
4834
|
var DEST_SDK_BASE_URL = "https://cdn.rudderlabs.com/v1.1/".concat(CDN_INT_DIR);
|
4835
4835
|
var MAX_WAIT_FOR_INTEGRATION_LOAD = 10000;
|
@@ -11397,23 +11397,32 @@
|
|
11397
11397
|
allValue = sdkSuppliedIntegrations.All;
|
11398
11398
|
}
|
11399
11399
|
|
11400
|
-
var intgData =
|
11400
|
+
var intgData = [];
|
11401
11401
|
|
11402
11402
|
if (typeof configPlaneEnabledIntegrations[0] === "string") {
|
11403
11403
|
configPlaneEnabledIntegrations.forEach(function (intg) {
|
11404
|
-
intgData
|
11404
|
+
intgData.push({
|
11405
|
+
intgName: intg,
|
11406
|
+
intObj: intg
|
11407
|
+
});
|
11405
11408
|
});
|
11406
11409
|
} else if (_typeof(configPlaneEnabledIntegrations[0]) === "object") {
|
11407
11410
|
configPlaneEnabledIntegrations.forEach(function (intg) {
|
11408
|
-
intgData
|
11411
|
+
intgData.push({
|
11412
|
+
intgName: intg.name,
|
11413
|
+
intObj: intg
|
11414
|
+
});
|
11409
11415
|
});
|
11410
11416
|
}
|
11411
11417
|
|
11412
|
-
|
11418
|
+
intgData.forEach(function (_ref) {
|
11419
|
+
var intgName = _ref.intgName,
|
11420
|
+
intObj = _ref.intObj;
|
11421
|
+
|
11413
11422
|
if (!allValue) {
|
11414
11423
|
// All false ==> check if intg true supplied
|
11415
11424
|
if (sdkSuppliedIntegrations[intgName] != undefined && sdkSuppliedIntegrations[intgName] == true) {
|
11416
|
-
enabledList.push(
|
11425
|
+
enabledList.push(intObj);
|
11417
11426
|
}
|
11418
11427
|
} else {
|
11419
11428
|
// All true ==> intg true by default
|
@@ -11424,7 +11433,7 @@
|
|
11424
11433
|
}
|
11425
11434
|
|
11426
11435
|
if (intgValue) {
|
11427
|
-
enabledList.push(
|
11436
|
+
enabledList.push(intObj);
|
11428
11437
|
}
|
11429
11438
|
}
|
11430
11439
|
});
|
@@ -11526,7 +11535,7 @@
|
|
11526
11535
|
this.build = "1.0.0";
|
11527
11536
|
this.name = "RudderLabs JavaScript SDK";
|
11528
11537
|
this.namespace = "com.rudderlabs.javascript";
|
11529
|
-
this.version = "2.4.
|
11538
|
+
this.version = "2.4.1";
|
11530
11539
|
});
|
11531
11540
|
|
11532
11541
|
/* eslint-disable max-classes-per-file */
|
@@ -11535,7 +11544,7 @@
|
|
11535
11544
|
_classCallCheck(this, RudderLibraryInfo);
|
11536
11545
|
|
11537
11546
|
this.name = "RudderLabs JavaScript SDK";
|
11538
|
-
this.version = "2.4.
|
11547
|
+
this.version = "2.4.1";
|
11539
11548
|
}); // Operating System information class
|
11540
11549
|
|
11541
11550
|
|