Skip to content

Commit

Permalink
chore: Generate latest bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
rmi22186 committed May 7, 2024
1 parent 425e1a1 commit f0cfe2e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 12 deletions.
20 changes: 14 additions & 6 deletions dist/BrazeKit.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -9172,7 +9172,7 @@ window.braze = require$$0;
var name = 'Appboy',
suffix = 'v4',
moduleId = 28,
version = '4.1.4',
version = '4.1.5',
MessageType = {
PageView: 3,
PageEvent: 4,
Expand Down Expand Up @@ -9786,9 +9786,11 @@ var constructor = function () {
];
}

kitLogger('braze.changeUser', brazeUserIDType);
if (brazeUserIDType) {
kitLogger('braze.changeUser', brazeUserIDType);

braze.changeUser(brazeUserIDType);
braze.changeUser(brazeUserIDType);
}

if (userIdentities.email) {
kitLogger('braze.getUser().setEmail', userIdentities.email);
Expand Down Expand Up @@ -9946,10 +9948,16 @@ var constructor = function () {
braze.addSdkMetadata(['mp']);
primeBrazeWebPush();

if (forwarderSettings.userIdentificationType === 'MPID' && mParticle.Identity != null && mParticle.Identity.getCurrentUser().getMPID() != null) {
onUserIdentified(mParticle.Identity.getCurrentUser());
const currentUser =
mParticle.Identity !== null
? mParticle.Identity.getCurrentUser()
: null;
const mpid = currentUser ? currentUser.getMPID() : null;

if (currentUser && mpid) {
onUserIdentified(currentUser);
}

openSession(forwarderSettings);
}

Expand Down
20 changes: 14 additions & 6 deletions dist/BrazeKit.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -9172,7 +9172,7 @@ var mpBrazeKitV4 = (function (exports) {
var name = 'Appboy',
suffix = 'v4',
moduleId = 28,
version = '4.1.4',
version = '4.1.5',
MessageType = {
PageView: 3,
PageEvent: 4,
Expand Down Expand Up @@ -9786,9 +9786,11 @@ var mpBrazeKitV4 = (function (exports) {
];
}

kitLogger('braze.changeUser', brazeUserIDType);
if (brazeUserIDType) {
kitLogger('braze.changeUser', brazeUserIDType);

braze.changeUser(brazeUserIDType);
braze.changeUser(brazeUserIDType);
}

if (userIdentities.email) {
kitLogger('braze.getUser().setEmail', userIdentities.email);
Expand Down Expand Up @@ -9946,10 +9948,16 @@ var mpBrazeKitV4 = (function (exports) {
braze.addSdkMetadata(['mp']);
primeBrazeWebPush();

if (forwarderSettings.userIdentificationType === 'MPID' && mParticle.Identity != null && mParticle.Identity.getCurrentUser().getMPID() != null) {
onUserIdentified(mParticle.Identity.getCurrentUser());
const currentUser =
mParticle.Identity !== null
? mParticle.Identity.getCurrentUser()
: null;
const mpid = currentUser ? currentUser.getMPID() : null;

if (currentUser && mpid) {
onUserIdentified(currentUser);
}

openSession(forwarderSettings);
}

Expand Down

0 comments on commit f0cfe2e

Please sign in to comment.