Closed dragonlobster closed 1 year ago
If using this JS SDK without the browser, XMLHttpRequest won't exist - therefore this error occurs:
XMLHttpRequest
const descriptor = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, "withCredentials"); ^ ReferenceError: XMLHttpRequest is not defined
In order to fix this we should check if XMLHttpRequest exists first before.
All committers have signed the CLA.
If using this JS SDK without the browser,
XMLHttpRequest
won't exist - therefore this error occurs:In order to fix this we should check if XMLHttpRequest exists first before.