You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2023. It is now read-only.
constLitJsSdk=require("lit-js-sdk");functioncheckLitWasm(){if(!globalThis.wasmExports){setTimeout(checkLitWasm,100);/* this checks the flag every 100 milliseconds*/}else{const{ verified, header, payload }=LitJsSdk.verifyJwt({jwt: "",});console.log(verified,header,payload);}}checkLitWasm();
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Executing lit-js-sdk in an environment where a method will be executed before the wasm completes to load, will result in a
[Lit-JS-SDK] wasmExports is not loaded.
error.the promise is returned after the main thread is idle.
simple recreation
simple work around
The text was updated successfully, but these errors were encountered: