use re-exported waila

This commit is contained in:
Paul Miller
2024-02-22 11:48:09 +00:00
parent 2782e13285
commit b54fce992e
2 changed files with 2 additions and 5 deletions

View File

@@ -1,10 +1,7 @@
import initWaila, { PaymentParams } from "@mutinywallet/waila-wasm";
import { PaymentParams } from "@mutinywallet/mutiny-wasm";
import { Result } from "~/utils";
// Make sure we've initialzied waila before we try to use it
await initWaila();
export type ParsedParams = {
original: string;
address?: string;

View File

@@ -71,7 +71,7 @@ export default defineConfig({
"@capacitor/toast"
],
// This is necessary because otherwise `vite dev` can't find the wasm
exclude: ["@mutinywallet/mutiny-wasm", "@mutinywallet/waila-wasm"]
exclude: ["@mutinywallet/mutiny-wasm"]
},
css: {
postcss: {