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`);
208
208
}
209
+
209
210
if(!isEmpty(newIdentities)){
210
211
// Call identify with the new user identities
211
212
try{
@@ -327,4 +328,27 @@ export default class RoktManager {
327
328
privatequeueMessage(message: IRoktMessage): void{
328
329
this.messageQueue.push(message);
329
330
}
331
+
332
+
/**
333
+
* Checks if an identity value has changed by comparing current and new values
334
+
*
335
+
* @param {string | undefined} currentValue - The current identity value
336
+
* @param {string | undefined} newValue - The new identity value to compare against
337
+
* @returns {boolean} True if the identity has changed (new value exists and differs from current), false otherwise
0 commit comments