@mparticle/web-braze-kit 4.1.1 → 4.1.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.
@@ -9172,7 +9172,7 @@ window.braze = require$$0;
9172
9172
  var name = 'Appboy',
9173
9173
  suffix = 'v4',
9174
9174
  moduleId = 28,
9175
- version = '4.1.1',
9175
+ version = '4.1.2',
9176
9176
  MessageType = {
9177
9177
  PageView: 3,
9178
9178
  PageEvent: 4,
@@ -9929,6 +9929,11 @@ var constructor = function () {
9929
9929
  function finishBrazeInitialization(forwarderSettings) {
9930
9930
  braze.addSdkMetadata(['mp']);
9931
9931
  primeBrazeWebPush();
9932
+
9933
+ if (forwarderSettings.userIdentificationType === 'MPID' && mParticle.Identity != null && mParticle.Identity.getCurrentUser().getMPID() != null) {
9934
+ onUserIdentified(mParticle.Identity.getCurrentUser());
9935
+ }
9936
+
9932
9937
  openSession(forwarderSettings);
9933
9938
  }
9934
9939
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/web-braze-kit",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "author": "mParticle Developers <developers@mparticle.com> (https://www.mparticle.com)",
5
5
  "description": "mParticle integration sdk for Braze",
6
6
  "main": "dist/BrazeKit.common.js",