Skip to content

Commit

Permalink
Merge pull request #2732 from ghayman/window.WAPI.waitNewAcknowledgem…
Browse files Browse the repository at this point in the history
…ents-is-not-a-function

Removed WAPI.waitNewAcknowledgements from middleware
  • Loading branch information
orkestral committed May 2, 2024
2 parents 04de179 + 975827c commit 3473865
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 3473865

Please sign in to comment.