supertokens-website icon indicating copy to clipboard operation
supertokens-website copied to clipboard

Events produced by the XHR interceptor have the wrong target

Open porcellus opened this issue 2 years ago • 0 comments

The events received by listeners added through addEventListener have the wrong target. Ideally, we should forward the same events and implement our own callback instead of using the built-in EventTarget and re-dispatching events.

porcellus avatar Oct 17 '22 17:10 porcellus