There is a script which uses Dropbox-sdk.min.js.
The script was fully working yesterday, but today the "Dropbox is not a constructor" error is thrown, although there is the Dropbox object, as planned. Everything MUST work, but it doesn't.
SDK is linked in HTML as
<script type="text/javascript" src="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js"></script>
This line throws the error
var dbx = new Dropbox({accessToken: '***************'});
Someone, please, help me. I have tried everything therefore I am completely desperate.