@boardgamers/clash-server
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@boardgamers/clash-server", | ||
"description": "A server for Clash of Cultures", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -13,2 +13,16 @@ | ||
let heap_next = heap.length; | ||
function dropObject(idx) { | ||
if (idx < 132) return; | ||
heap[idx] = heap_next; | ||
heap_next = idx; | ||
} | ||
function takeObject(idx) { | ||
const ret = getObject(idx); | ||
dropObject(idx); | ||
return ret; | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -92,16 +106,2 @@ | ||
let heap_next = heap.length; | ||
function dropObject(idx) { | ||
if (idx < 132) return; | ||
heap[idx] = heap_next; | ||
heap_next = idx; | ||
} | ||
function takeObject(idx) { | ||
const ret = getObject(idx); | ||
dropObject(idx); | ||
return ret; | ||
} | ||
function addHeapObject(obj) { | ||
@@ -372,2 +372,6 @@ if (heap_next === heap.length) heap.push(heap.length + 1); | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_string_get = function(arg0, arg1) { | ||
@@ -382,6 +386,2 @@ const obj = getObject(arg1); | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_is_bigint = function(arg0) { | ||
@@ -673,2 +673,27 @@ const ret = typeof(getObject(arg0)) === 'bigint'; | ||
module.exports.__wbg_new_abda76e883ba8a5f = function() { | ||
const ret = new Error(); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) { | ||
const ret = getObject(arg1).stack; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
}; | ||
module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) { | ||
let deferred0_0; | ||
let deferred0_1; | ||
try { | ||
deferred0_0 = arg0; | ||
deferred0_1 = arg1; | ||
console.error(getStringFromWasm0(arg0, arg1)); | ||
} finally { | ||
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); | ||
} | ||
}; | ||
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) { | ||
@@ -698,4 +723,4 @@ const v = getObject(arg1); | ||
module.exports.__wbindgen_closure_wrapper827 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 157, __wbg_adapter_48); | ||
module.exports.__wbindgen_closure_wrapper842 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 162, __wbg_adapter_48); | ||
return addHeapObject(ret); | ||
@@ -702,0 +727,0 @@ }; |
Sorry, the diff of this file is not supported yet
532471
702