diff --git a/wasm/lib/src/vm_class.rs b/wasm/lib/src/vm_class.rs index be732d843..90916396f 100644 --- a/wasm/lib/src/vm_class.rs +++ b/wasm/lib/src/vm_class.rs @@ -9,10 +9,10 @@ thread_local! { static STORED_VMS: RefCell> = RefCell::default(); } -#[wasm_bindgen(js_name = vms)] +#[wasm_bindgen(js_name = vmStore)] pub struct VMStore; -#[wasm_bindgen(js_class = vms)] +#[wasm_bindgen(js_class = vmStore)] impl VMStore { pub fn init(id: String) -> WASMVirtualMachine { STORED_VMS.with(|cell| {