-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: standardise hashing for all CAPI integrations (#3379)
* fix: standardize hashing for all CAPI integrations * fix: use trim before hashing for GAOC,GAEC,impact,YDSP,fb and fbconv
- Loading branch information
1 parent
90e60a5
commit c249a69
Showing
17 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1436,7 +1436,7 @@ export const data = [ | |
traits: { | ||
email: '[email protected]', | ||
birthday: '2005-01-01T23:28:56.782Z', | ||
firstName: 'test', | ||
firstName: ' test', | ||
name: 'test rudderlabs', | ||
address: { | ||
city: 'kalkata', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -497,7 +497,7 @@ export const data = [ | |
traits: { | ||
email: '[email protected]', | ||
anonymousId: 'c82cbdff-e5be-4009-ac78-cdeea09ab4b1', | ||
firstName: 'test', | ||
firstName: ' test', | ||
lastName: 'last', | ||
gender: 1234, | ||
phone: '+91-9831311135', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -321,7 +321,7 @@ export const data = [ | |
advertisingId: '44c97318-9040-4361-8bc7-4eb30f665ca8', | ||
}, | ||
traits: { | ||
email: '[email protected]', | ||
email: ' [email protected]', | ||
phone: '+1-202-555-0146', | ||
firstName: 'John', | ||
lastName: 'Gomes', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ export const data = [ | |
namespace: 'com.rudderlabs.javascript', | ||
}, | ||
traits: { | ||
email: '[email protected]', | ||
email: ' [email protected]', | ||
phone: '+917836362334', | ||
userId: 'user123', | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,8 @@ export const data = [ | |
userAgent: 'chrome', | ||
traits: { | ||
anonymousId: '50be5c78-6c3f-4b60-be84-97805a316fb1', | ||
email: '[email protected]', | ||
phone: '+1234589947', | ||
email: ' [email protected]', | ||
phone: '+1234589947 ', | ||
gender: 'non-binary', | ||
db: '19950715', | ||
lastname: 'Rudderlabs', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,13 +12,13 @@ export const data = [ | |
message: { | ||
context: { | ||
traits: { | ||
email: '[email protected]', | ||
email: '[email protected] ', | ||
}, | ||
userAgent: | ||
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36', | ||
ip: '54.100.200.255', | ||
ip: ' 54.100.200.255', | ||
device: { | ||
advertisingId: 'asfds7fdsihf734b34j43f', | ||
advertisingId: ' asfds7fdsihf734b34j43f', | ||
}, | ||
os: { | ||
name: 'android', | ||
|
@@ -29,7 +29,7 @@ export const data = [ | |
originalTimestamp: '2019-10-14T09:03:17.562Z', | ||
anonymousId: '123456', | ||
event: 'Order Completed', | ||
userId: 'testuserId1', | ||
userId: ' testuserId1', | ||
properties: { | ||
checkout_id: '12345', | ||
order_id: '1234', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ export const data = [ | |
}, | ||
{ | ||
ipAddress: 'fdffddf', | ||
email: '[email protected]', | ||
email: '[email protected] ', | ||
deviceId: 'djfdjfkdjf', | ||
phone: '@09876543210', | ||
firstName: 'test', | ||
|