diff --git a/packages/lib-web/build/src/main.rs b/packages/lib-web/build/src/main.rs index e6cdaba4..9c8d237f 100644 --- a/packages/lib-web/build/src/main.rs +++ b/packages/lib-web/build/src/main.rs @@ -31,6 +31,9 @@ fn fix_wrapper_script(wrapper: String) -> String { },\n \ free: function(ptr) {\n \ wasm.__wbindgen_free(ptr);\n \ + },\n \ + now: function() {\n \ + return new Date().getTime();\n \ },\n \ };" ),