From ab90cf475ee4207db20d724c0261666d0c84721a Mon Sep 17 00:00:00 2001 From: ymekuria Date: Wed, 18 Sep 2024 13:59:34 -0700 Subject: [PATCH] feat(zkappWorker.ts): import Comlink library to enable communication with web workers --- examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorker.ts b/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorker.ts index 12cf91014..ff855bc2e 100644 --- a/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorker.ts +++ b/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorker.ts @@ -1,4 +1,5 @@ import { Mina, PublicKey, fetchAccount } from 'o1js'; +import * as Comlink from "comlink"; type Transaction = Awaited>;