Import an SDK in plug-in builder


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="" type="text/typescript"></script>

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

Thank you very much!

@vini_brito any ideas Vini?

hey ,

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.