diff --git a/src/chrome/chrome-dapp-client.ts b/src/chrome/chrome-dapp-client.ts index 1f20623c..114b594e 100644 --- a/src/chrome/chrome-dapp-client.ts +++ b/src/chrome/chrome-dapp-client.ts @@ -20,11 +20,11 @@ export const ChromeDAppClient = () => { } const sendMessageEvent = ( - requestId: string, + interactionId: string, eventType: keyof typeof messageLifeCycleEvent ) => sendMessage({ - requestId, + interactionId, eventType, }) diff --git a/src/chrome/content.ts b/src/chrome/content.ts index b5151057..0e829c5c 100644 --- a/src/chrome/content.ts +++ b/src/chrome/content.ts @@ -19,7 +19,7 @@ chromeDAppClient.messageListener((message) => { .map(chrome.runtime.sendMessage) .andThen(() => chromeDAppClient.sendMessageEvent( - message.requestId, + message.interactionId, messageLifeCycleEvent.receivedByExtension ) )