Skip to content

Commit 76b9bd7

Browse files
Fix kit process method reference
1 parent fbe8f1e commit 76b9bd7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Rokt-Kit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ var constructor = function () {
372372

373373
// Kit Callback Methods
374374
this.init = initForwarder;
375-
this.processEvent = processEvent;
375+
this.process = processEvent;
376376
this.setExtensionData = setExtensionData;
377377
this.setUserAttribute = setUserAttribute;
378378
this.onUserIdentified = onUserIdentified;

test/src/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,7 @@ describe('Rokt Forwarder', () => {
18401840

18411841
await waitForCondition(() => window.mParticle.Rokt.attachKitCalled);
18421842

1843-
window.mParticle.forwarder.processEvent({
1843+
window.mParticle.forwarder.process({
18441844
EventName: 'Video Watched',
18451845
EventCategory: EventType.Other,
18461846
EventDataType: MessageType.PageEvent,

0 commit comments

Comments
 (0)