Skip to content

Commit e63e561

Browse files
chore(build): Generate latest bundle [skip ci]
1 parent 06e3f40 commit e63e561

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

dist/Rokt-Kit.common.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,20 @@ var constructor = function () {
439439
function isPartnerInLocalLauncherTestGroup() {
440440
return (
441441
window.mParticle.config &&
442-
window.mParticle.config.isLocalLauncherEnabled
442+
window.mParticle.config.isLocalLauncherEnabled &&
443+
_isAssignedToSampleGroup()
443444
);
444445
}
446+
447+
function _isAssignedToSampleGroup() {
448+
var LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD = 0.5;
449+
return Math.random() > LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD;
450+
}
445451
};
446452

447453
function generateIntegrationName(customIntegrationName) {
448454
var coreSdkVersion = window.mParticle.getVersion();
449-
var kitVersion = "1.9.0";
455+
var kitVersion = "1.10.0";
450456
var name = 'mParticle_' + 'wsdkv_' + coreSdkVersion + '_kitv_' + kitVersion;
451457

452458
if (customIntegrationName) {

dist/Rokt-Kit.iife.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,14 +438,20 @@ var RoktKit = (function (exports) {
438438
function isPartnerInLocalLauncherTestGroup() {
439439
return (
440440
window.mParticle.config &&
441-
window.mParticle.config.isLocalLauncherEnabled
441+
window.mParticle.config.isLocalLauncherEnabled &&
442+
_isAssignedToSampleGroup()
442443
);
443444
}
445+
446+
function _isAssignedToSampleGroup() {
447+
var LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD = 0.5;
448+
return Math.random() > LOCAL_LAUNCHER_TEST_GROUP_THRESHOLD;
449+
}
444450
};
445451

446452
function generateIntegrationName(customIntegrationName) {
447453
var coreSdkVersion = window.mParticle.getVersion();
448-
var kitVersion = "1.9.0";
454+
var kitVersion = "1.10.0";
449455
var name = 'mParticle_' + 'wsdkv_' + coreSdkVersion + '_kitv_' + kitVersion;
450456

451457
if (customIntegrationName) {

0 commit comments

Comments
 (0)