From 40801575b2913b7095380187de137244209968e0 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 7 Jul 2021 00:48:04 +0530 Subject: [PATCH] update wasm binary loading --- build.rs | 2 +- templates/widget/js/prove.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 87dcb943..7e23b3cb 100644 --- a/build.rs +++ b/build.rs @@ -48,7 +48,7 @@ fn cache_bust() { // mime::TEXT_CSS, // ]; - let no_hash = vec!["bundle/6b88f6ccf97567b46745.module.wasm"]; + let no_hash = vec!["bundle/f3c927fe82899094538e.module.wasm"]; let config = BusterBuilder::default() .source("./static/cache") diff --git a/templates/widget/js/prove.ts b/templates/widget/js/prove.ts index 3d4c1553..d40bb88a 100644 --- a/templates/widget/js/prove.ts +++ b/templates/widget/js/prove.ts @@ -9,7 +9,7 @@ * MIT or for Apache. */ -import {gen_pow} from '../../../browser/pkg/index'; +import {gen_pow} from '../../../browser/pkg/mcaptcha_browser'; import {PoWConfig} from './fetchPoWConfig'; import * as CONST from './const';