As of version JS SDK v212, I'm seeing a vite build warning:
[plugin:vite:resolve] [plugin vite:resolve] Module "https" has been externalized for browser compatibility, imported by "readacted/node_modules/purecloud-platform-client-v2/src/purecloud-platform-client-v2/ApiClient.js". See Troubleshooting | Vite for more details.
purecloud-platform-client-v2 212.0.0 vite 6.0.6
I'm not sure if this causes any behavioral issues, or if it's just emitting noise (which is impactful).
Thanks for reporting this. We will try to take a look at it when possible (and I'll update this post).
Just to make sure we understand and can troubleshoot:
Do you mean that your build was ok with previous version of the JS SDK? And that starting with v212, you now have a warning on the https module?
Ok. We have a fix pending - or let's say attempt to fix this (as I didn't try to reproduce it). I'll let you know when we create a new SDK version. We'll try to issue a minor release in the next days if e can.