Skip to content

Commit

Permalink
deploy: 453219f
Browse files Browse the repository at this point in the history
  • Loading branch information
elsirion committed Aug 18, 2023
1 parent b07b4cc commit 4be373f
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ function takeObject(idx) {
return ret;
}

function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
heap_next = heap[idx];

heap[idx] = obj;
return idx;
}

const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );

if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
Expand All @@ -47,6 +38,15 @@ function getStringFromWasm0(ptr, len) {
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}

function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
heap_next = heap[idx];

heap[idx] = obj;
return idx;
}

let WASM_VECTOR_LEN = 0;

const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
Expand Down Expand Up @@ -205,11 +205,11 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_32(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0fa33fbdf60b3ea4(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6c92dcbfbfcfa150(arg0, arg1, addHeapObject(arg2));
}

function __wbg_adapter_37(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hba2e7f31ad859ce1(arg0, arg1, addHeapObject(arg2));
function __wbg_adapter_35(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3453d497d02ca942(arg0, arg1, addHeapObject(arg2));
}

function __wbg_adapter_40(arg0, arg1) {
Expand Down Expand Up @@ -294,14 +294,14 @@ function __wbg_get_imports() {
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbg_mark_40e050a77cc39fea = function(arg0, arg1) {
var v0 = getCachedStringFromWasm0(arg0, arg1);
performance.mark(v0);
Expand Down Expand Up @@ -880,44 +880,44 @@ imports.wbg.__wbindgen_memory = function() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1990 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 41, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper2087 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1992 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 41, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper2089 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3, __wbg_adapter_35);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper1994 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 41, __wbg_adapter_37);
imports.wbg.__wbindgen_closure_wrapper2091 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3167 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 863, __wbg_adapter_40);
imports.wbg.__wbindgen_closure_wrapper3245 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 884, __wbg_adapter_40);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper19392 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3970, __wbg_adapter_43);
imports.wbg.__wbindgen_closure_wrapper19774 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3994, __wbg_adapter_43);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper19394 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3970, __wbg_adapter_46);
imports.wbg.__wbindgen_closure_wrapper19776 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3994, __wbg_adapter_46);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper19396 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3970, __wbg_adapter_43);
imports.wbg.__wbindgen_closure_wrapper19778 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3994, __wbg_adapter_43);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper19398 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3970, __wbg_adapter_51);
imports.wbg.__wbindgen_closure_wrapper19780 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 3994, __wbg_adapter_51);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper21627 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4109, __wbg_adapter_54);
imports.wbg.__wbindgen_closure_wrapper22009 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4132, __wbg_adapter_54);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper21719 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4128, __wbg_adapter_57);
imports.wbg.__wbindgen_closure_wrapper22101 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 4151, __wbg_adapter_57);
return addHeapObject(ret);
};

Expand Down Expand Up @@ -958,7 +958,7 @@ async function __wbg_init(input) {
if (wasm !== undefined) return wasm;

if (typeof input === 'undefined') {
input = new URL('fedimint-leptos-test-4a858e4090a04f58_bg.wasm', import.meta.url);
input = new URL('fedimint-leptos-test-d1e3fdb6befb52d5_bg.wasm', import.meta.url);
}
const imports = __wbg_get_imports();

Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html><html><head>
<link rel="stylesheet" href="/index-60393efcff770482.css">
<script type="module">import init from '/fedimint-leptos-test-4a858e4090a04f58.js';init('/fedimint-leptos-test-4a858e4090a04f58_bg.wasm');</script>
<script type="module">import init from '/fedimint-leptos-test-d1e3fdb6befb52d5.js';init('/fedimint-leptos-test-d1e3fdb6befb52d5_bg.wasm');</script>


<link rel="preload" href="/fedimint-leptos-test-4a858e4090a04f58_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
<link rel="modulepreload" href="/fedimint-leptos-test-4a858e4090a04f58.js"></head>
<link rel="preload" href="/fedimint-leptos-test-d1e3fdb6befb52d5_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
<link rel="modulepreload" href="/fedimint-leptos-test-d1e3fdb6befb52d5.js"></head>
<body>

</body></html>

0 comments on commit 4be373f

Please sign in to comment.