Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkpiano committed May 13, 2024
1 parent 71fb756 commit 7f3c03e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/webSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,9 @@ export class WebSocketAdapter implements Adapter {
console.log('websocket open');
this.status = 'open';
this.deferredEvents.forEach((inspectionEvent) => {
const preSerializedEvent = defaultInspectorOptions.serialize(
inspectionEvent,
inspectionEvent
);
const serializedEvent = this.options.serialize(
preSerializedEvent,
inspectionEvent
);
const preSerializedEvent =
defaultInspectorOptions.serialize(inspectionEvent);
const serializedEvent = this.options.serialize(preSerializedEvent);
this.ws.send(safeStringify(serializedEvent));
});
};
Expand Down

0 comments on commit 7f3c03e

Please sign in to comment.