You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Kevin, thanks for reporting this. Indeed, this looks like a regression that may have been caused by a bugfix shipped in 0.1.16. I'll dig further and hope to have a solution released by early next week at the latest.
Hey Kevin, I looked into this a bit. I believe there is a subtle bug where if you specify the apiEndpoint in the SDK constructor (as in your first code block), it won't actually be used when creating the widget. I.e., if you specify eu in the SDK constructor, the widgets will be created using the global endpoint. I'm unable to reproduce the error message you're seeing though. You can see this behavior in this CodePen:
Previously (in version 0.1.15) a widget could be created as follows:
As of version 0.1.16 this fails with the following error:
However, the following version does appear to work correctly:
I'm not sure if this is an intended change in functionality and the documentation hasn't caught up, or if something is indeed broken.
The text was updated successfully, but these errors were encountered: