Skip to content

Commit

Permalink
Removed WAPI.waitNewAcknowledgements from middleware as it does not s…
Browse files Browse the repository at this point in the history
…eem to be fully implemented. Move from addScriptTag to page.evaluate highlighted this issue
  • Loading branch information
ghayman committed May 2, 2024
1 parent 04de179 commit 975827c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/middleware/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ enum ExposedFn {
});
});

// This does not appear to be implemented anywhere right now and is breaking code injection via evaluate instead of addScriptTag
/*
(window as any).WAPI.waitNewAcknowledgements(function (data: any) {
if (window[ExposedFn.OnAck]) {
window[ExposedFn.OnAck](data);
}
});
*/

0 comments on commit 975827c

Please sign in to comment.