@mparticle/web-rokt-kit 1.9.0 → 1.10.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/dist/Rokt-Kit.common.js +8 -2
- package/dist/Rokt-Kit.iife.js +8 -2
- package/package.json +1 -1
package/dist/Rokt-Kit.common.js
CHANGED
|
@@ -439,14 +439,20 @@ var constructor = function () {
|
|
|
439
439
|
function isPartnerInLocalLauncherTestGroup() {
|
|
440
440
|
return (
|
|
441
441
|
window.mParticle.config &&
|
|
442
|
-
window.mParticle.config.isLocalLauncherEnabled
|
|
442
|
+
window.mParticle.config.isLocalLauncherEnabled &&
|
|
443
|
+
_isAssignedToSampleGroup()
|
|
443
444
|
);
|
|
444
445
|
}
|
|
446
|
+
|
|
447
|
+
function _isAssignedToSampleGroup() {
|
|
448
|
+
var LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD = 0.5;
|
|
449
|
+
return Math.random() > LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD;
|
|
450
|
+
}
|
|
445
451
|
};
|
|
446
452
|
|
|
447
453
|
function generateIntegrationName(customIntegrationName) {
|
|
448
454
|
var coreSdkVersion = window.mParticle.getVersion();
|
|
449
|
-
var kitVersion = "1.
|
|
455
|
+
var kitVersion = "1.10.0";
|
|
450
456
|
var name = 'mParticle_' + 'wsdkv_' + coreSdkVersion + '_kitv_' + kitVersion;
|
|
451
457
|
|
|
452
458
|
if (customIntegrationName) {
|
package/dist/Rokt-Kit.iife.js
CHANGED
|
@@ -438,14 +438,20 @@ var RoktKit = (function (exports) {
|
|
|
438
438
|
function isPartnerInLocalLauncherTestGroup() {
|
|
439
439
|
return (
|
|
440
440
|
window.mParticle.config &&
|
|
441
|
-
window.mParticle.config.isLocalLauncherEnabled
|
|
441
|
+
window.mParticle.config.isLocalLauncherEnabled &&
|
|
442
|
+
_isAssignedToSampleGroup()
|
|
442
443
|
);
|
|
443
444
|
}
|
|
445
|
+
|
|
446
|
+
function _isAssignedToSampleGroup() {
|
|
447
|
+
var LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD = 0.5;
|
|
448
|
+
return Math.random() > LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD;
|
|
449
|
+
}
|
|
444
450
|
};
|
|
445
451
|
|
|
446
452
|
function generateIntegrationName(customIntegrationName) {
|
|
447
453
|
var coreSdkVersion = window.mParticle.getVersion();
|
|
448
|
-
var kitVersion = "1.
|
|
454
|
+
var kitVersion = "1.10.0";
|
|
449
455
|
var name = 'mParticle_' + 'wsdkv_' + coreSdkVersion + '_kitv_' + kitVersion;
|
|
450
456
|
|
|
451
457
|
if (customIntegrationName) {
|