You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.logger.warning(`emailsha256 mismatch detected. Current mParticle ${normalizedHashedEmailUserIdentityType} identity, ${currentHashedEmail}, differs from from 'emailsha256' passed to selectPlacements call, ${newHashedEmail}. Proceeding to call identify with ${normalizedHashedEmailUserIdentityType} set to ${newHashedEmail}. Please verify your implementation`);
220
220
}
221
+
221
222
if(!isEmpty(newIdentities)){
222
223
// Call identify with the new user identities
223
224
try{
@@ -397,4 +398,27 @@ export default class RoktManager {
397
398
398
399
this.messageQueue.delete(messageId);
399
400
}
401
+
402
+
/**
403
+
* Checks if an identity value has changed by comparing current and new values
404
+
*
405
+
* @param {string | undefined} currentValue - The current identity value
406
+
* @param {string | undefined} newValue - The new identity value to compare against
407
+
* @returns {boolean} True if the identity has changed (new value exists and differs from current), false otherwise
0 commit comments