I've spent the evening trying to get this to work (only importing the api to not get issues with the discovery service) in a vue3 project using several polyfills to get the needed node functionality in the browser. Unfortunately it wasn't successful due to I minor issue. You have used the headers.raw() function, which is a node-fetch only feature, and not available in browsers. Would you please consider re-writing this to not use headers.raw() so it can be used in browsers?
I've spent the evening trying to get this to work (only importing the api to not get issues with the discovery service) in a vue3 project using several polyfills to get the needed node functionality in the browser. Unfortunately it wasn't successful due to I minor issue. You have used the headers.raw() function, which is a node-fetch only feature, and not available in browsers. Would you please consider re-writing this to not use headers.raw() so it can be used in browsers?