Import an SDK in plug-in builder

Hi,

I am simply trying to import an SDK into an element action.

I have tried the syntax below but this will not work. Can someone please help me format the syntax to import using the plug-in editor?

Library header
<script src="https://cdn.jsdelivr.net/npm/@thirdweb-dev/sdk@2/dist/index.min.js" type="text/typescript"></script>

Attempt to import below
import { ThirdwebSDK } from "@thirdweb-dev/sdk"

Thank you very much!

@vini_brito any ideas Vini?

hey @JackMorgan.xyz ,

I don’t think you need to write

import { ThirdwebSDK } from "@thirdweb-dev/sdk"

you can directly use the ThirdwebSDK object, I am not 100% sure through.

But using the network inspector you can verify, your package is download or not.