External Library Confusion / UUIDv7

I don’t know if this is the proper way to do this, but it works. To use the imported module in actions, you need to attach it to the window (global) scope.
<script type="module"> import { uuidv7 } from "https://cdn.jsdelivr.net/npm/uuidv7@1.0.2/+esm"; window.uuidv7 = uuidv7;</script>

1 Like