Unable to get latest SDK delivered via CDN

Hi,

I get the following error on console.

I use CDN to get the SDK.

<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
<script src="https://unpkg.com/moralis@latest/dist/moralis.js"></script>

If I replace the second line to <script src="https://unpkg.com/[email protected]/dist/moralis.js"></script>, it works.
But, I get the following warning.

I cannot use standard npm method since I use Moralis on “Bubble” , nonode IDE. Would anybody suggest a solution?

Thanks.

Hello you can use https://unpkg.com/moralis-v1@latest/dist/moralis.js. Make sure to check out the docs.

You can ignore that warning.

Thanks for the feedback. Is v2 available now?

Yes the 2.0 SDK is available. Just note it’s very different from moralis-v1 and is backend focused (so you probably wouldn’t import it via CDN).