Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
bhackett1024 committed Nov 24, 2024
1 parent 2e419c5 commit 45a23c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/protocolClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -2429,6 +2429,7 @@ function createDeferred() {
return { promise, resolve, reject };
}
var ProtocolClient = class {
openDeferred = createDeferred();
eventListeners = /* @__PURE__ */ new Map();
nextMessageId = 1;
pendingCommands = /* @__PURE__ */ new Map();
Expand All @@ -2444,6 +2445,9 @@ var ProtocolClient = class {
logDebug(`Session error ${error}`);
});
}
initialize() {
return this.openDeferred.promise;
}
close() {
this.socket.close();
}
Expand Down Expand Up @@ -2511,6 +2515,7 @@ var ProtocolClient = class {
};
onSocketOpen = async () => {
logDebug("Socket opened");
this.openDeferred.resolve();
};
};
module.exports = ProtocolClient;
1 change: 1 addition & 0 deletions dist/rerecord.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ async function rerecordIssue(options) {
serverURL,
recordingId
} = options;
await client.initialize();
const sessionRv = await client.sendCommand({
method: "Recording.createSession",
params: { recordingId }
Expand Down

0 comments on commit 45a23c2

Please sign in to comment.