@automerge/automerge-wasm
Advanced tools
Comparing version 0.1.23 to 0.1.24
@@ -1,26 +0,13 @@ | ||
import * as wasm from './automerge_wasm_bg.wasm'; | ||
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; | ||
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
cachedTextDecoder.decode(); | ||
let cachedUint8Memory0 = new Uint8Array(); | ||
function getUint8Memory0() { | ||
if (cachedUint8Memory0.byteLength === 0) { | ||
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer); | ||
} | ||
return cachedUint8Memory0; | ||
let wasm; | ||
export function __wbg_set_wasm(val) { | ||
wasm = val; | ||
} | ||
function getStringFromWasm0(ptr, len) { | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
} | ||
const heap = new Array(32).fill(undefined); | ||
const heap = new Array(128).fill(undefined); | ||
heap.push(undefined, null, true, false); | ||
function getObject(idx) { return heap[idx]; } | ||
let heap_next = heap.length; | ||
@@ -37,6 +24,4 @@ | ||
function getObject(idx) { return heap[idx]; } | ||
function dropObject(idx) { | ||
if (idx < 36) return; | ||
if (idx < 132) return; | ||
heap[idx] = heap_next; | ||
@@ -52,2 +37,21 @@ heap_next = idx; | ||
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; | ||
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
cachedTextDecoder.decode(); | ||
let cachedUint8Memory0 = null; | ||
function getUint8Memory0() { | ||
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) { | ||
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer); | ||
} | ||
return cachedUint8Memory0; | ||
} | ||
function getStringFromWasm0(ptr, len) { | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -114,6 +118,6 @@ | ||
let cachedInt32Memory0 = new Int32Array(); | ||
let cachedInt32Memory0 = null; | ||
function getInt32Memory0() { | ||
if (cachedInt32Memory0.byteLength === 0) { | ||
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) { | ||
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer); | ||
@@ -124,6 +128,6 @@ } | ||
let cachedFloat64Memory0 = new Float64Array(); | ||
let cachedFloat64Memory0 = null; | ||
function getFloat64Memory0() { | ||
if (cachedFloat64Memory0.byteLength === 0) { | ||
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) { | ||
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer); | ||
@@ -1270,4 +1274,4 @@ } | ||
export function __wbindgen_string_new(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
export function __wbindgen_object_clone_ref(arg0) { | ||
const ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
@@ -1280,4 +1284,4 @@ }; | ||
export function __wbindgen_object_clone_ref(arg0) { | ||
const ret = getObject(arg0); | ||
export function __wbindgen_string_new(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
@@ -1305,2 +1309,7 @@ }; | ||
export function __wbindgen_is_string(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'string'; | ||
return ret; | ||
}; | ||
export function __wbindgen_is_function(arg0) { | ||
@@ -1318,7 +1327,2 @@ const ret = typeof(getObject(arg0)) === 'function'; | ||
export function __wbindgen_is_string(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'string'; | ||
return ret; | ||
}; | ||
export function __wbindgen_is_null(arg0) { | ||
@@ -1441,11 +1445,11 @@ const ret = getObject(arg0) === null; | ||
export function __wbg_log_4b5638ad60bdc54a(arg0) { | ||
export function __wbg_log_7bb108d119bafbc1(arg0) { | ||
console.log(getObject(arg0)); | ||
}; | ||
export function __wbg_log_89ca282a8a49b121(arg0, arg1) { | ||
export function __wbg_log_d047cf0648d2678e(arg0, arg1) { | ||
console.log(getObject(arg0), getObject(arg1)); | ||
}; | ||
export function __wbg_get_57245cc7d7c7619d(arg0, arg1) { | ||
export function __wbg_get_27fe3dac1c4d0224(arg0, arg1) { | ||
const ret = getObject(arg0)[arg1 >>> 0]; | ||
@@ -1455,3 +1459,3 @@ return addHeapObject(ret); | ||
export function __wbg_length_6e3bbe7c8bd4dbd8(arg0) { | ||
export function __wbg_length_e498fbc24f9c1d4f(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -1461,3 +1465,3 @@ return ret; | ||
export function __wbg_new_1d9a920c6bfc44a8() { | ||
export function __wbg_new_b525de17f44a8943() { | ||
const ret = new Array(); | ||
@@ -1467,3 +1471,3 @@ return addHeapObject(ret); | ||
export function __wbg_newnoargs_b5b063fc6c2f0376(arg0, arg1) { | ||
export function __wbg_newnoargs_2b8b6bd7753c76ba(arg0, arg1) { | ||
const ret = new Function(getStringFromWasm0(arg0, arg1)); | ||
@@ -1473,3 +1477,3 @@ return addHeapObject(ret); | ||
export function __wbg_next_579e583d33566a86(arg0) { | ||
export function __wbg_next_b7d530c04fd8b217(arg0) { | ||
const ret = getObject(arg0).next; | ||
@@ -1479,3 +1483,3 @@ return addHeapObject(ret); | ||
export function __wbg_next_aaef7c8aa5e212ac() { return handleError(function (arg0) { | ||
export function __wbg_next_88560ec06a094dea() { return handleError(function (arg0) { | ||
const ret = getObject(arg0).next(); | ||
@@ -1485,3 +1489,3 @@ return addHeapObject(ret); | ||
export function __wbg_done_1b73b0672e15f234(arg0) { | ||
export function __wbg_done_1ebec03bbd919843(arg0) { | ||
const ret = getObject(arg0).done; | ||
@@ -1491,3 +1495,3 @@ return ret; | ||
export function __wbg_value_1ccc36bc03462d71(arg0) { | ||
export function __wbg_value_6ac8da5cc5b3efda(arg0) { | ||
const ret = getObject(arg0).value; | ||
@@ -1497,3 +1501,3 @@ return addHeapObject(ret); | ||
export function __wbg_iterator_6f9d4f28845f426c() { | ||
export function __wbg_iterator_55f114446221aa5a() { | ||
const ret = Symbol.iterator; | ||
@@ -1503,3 +1507,3 @@ return addHeapObject(ret); | ||
export function __wbg_get_765201544a2b6869() { return handleError(function (arg0, arg1) { | ||
export function __wbg_get_baf4855f9a986186() { return handleError(function (arg0, arg1) { | ||
const ret = Reflect.get(getObject(arg0), getObject(arg1)); | ||
@@ -1509,3 +1513,3 @@ return addHeapObject(ret); | ||
export function __wbg_call_97ae9d8645dc388b() { return handleError(function (arg0, arg1) { | ||
export function __wbg_call_95d1ea488d03e4e8() { return handleError(function (arg0, arg1) { | ||
const ret = getObject(arg0).call(getObject(arg1)); | ||
@@ -1515,3 +1519,3 @@ return addHeapObject(ret); | ||
export function __wbg_new_0b9bfdd97583284e() { | ||
export function __wbg_new_f9876326328f45ed() { | ||
const ret = new Object(); | ||
@@ -1521,3 +1525,3 @@ return addHeapObject(ret); | ||
export function __wbg_length_f2ab5db52e68a619(arg0) { | ||
export function __wbg_length_ea0846e494e3b16e(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -1527,3 +1531,3 @@ return ret; | ||
export function __wbg_self_6d479506f72c6a71() { return handleError(function () { | ||
export function __wbg_self_e7c1f827057f6584() { return handleError(function () { | ||
const ret = self.self; | ||
@@ -1533,3 +1537,3 @@ return addHeapObject(ret); | ||
export function __wbg_window_f2557cc78490aceb() { return handleError(function () { | ||
export function __wbg_window_a09ec664e14b1b81() { return handleError(function () { | ||
const ret = window.window; | ||
@@ -1539,3 +1543,3 @@ return addHeapObject(ret); | ||
export function __wbg_globalThis_7f206bda628d5286() { return handleError(function () { | ||
export function __wbg_globalThis_87cbb8506fecf3a9() { return handleError(function () { | ||
const ret = globalThis.globalThis; | ||
@@ -1545,3 +1549,3 @@ return addHeapObject(ret); | ||
export function __wbg_global_ba75c50d1cf384f4() { return handleError(function () { | ||
export function __wbg_global_c85a9259e621f3db() { return handleError(function () { | ||
const ret = global.global; | ||
@@ -1551,7 +1555,7 @@ return addHeapObject(ret); | ||
export function __wbg_set_a68214f35c417fa9(arg0, arg1, arg2) { | ||
export function __wbg_set_17224bc548dd1d7b(arg0, arg1, arg2) { | ||
getObject(arg0)[arg1 >>> 0] = takeObject(arg2); | ||
}; | ||
export function __wbg_from_7ce3cb27cb258569(arg0) { | ||
export function __wbg_from_67ca20fa722467e6(arg0) { | ||
const ret = Array.from(getObject(arg0)); | ||
@@ -1561,3 +1565,3 @@ return addHeapObject(ret); | ||
export function __wbg_isArray_27c46c67f498e15d(arg0) { | ||
export function __wbg_isArray_39d28997bf6b96b4(arg0) { | ||
const ret = Array.isArray(getObject(arg0)); | ||
@@ -1567,3 +1571,3 @@ return ret; | ||
export function __wbg_push_740e4b286702d964(arg0, arg1) { | ||
export function __wbg_push_49c286f04dd3bf59(arg0, arg1) { | ||
const ret = getObject(arg0).push(getObject(arg1)); | ||
@@ -1573,3 +1577,3 @@ return ret; | ||
export function __wbg_unshift_1bf718f5eb23ad8a(arg0, arg1) { | ||
export function __wbg_unshift_06a94bcbcb492eb3(arg0, arg1) { | ||
const ret = getObject(arg0).unshift(getObject(arg1)); | ||
@@ -1579,3 +1583,3 @@ return ret; | ||
export function __wbg_instanceof_ArrayBuffer_e5e48f4762c5610b(arg0) { | ||
export function __wbg_instanceof_ArrayBuffer_a69f02ee4c4f5065(arg0) { | ||
let result; | ||
@@ -1591,3 +1595,3 @@ try { | ||
export function __wbg_new_8d2af00bc1e329ee(arg0, arg1) { | ||
export function __wbg_new_15d3966e9981a196(arg0, arg1) { | ||
const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
@@ -1597,3 +1601,3 @@ return addHeapObject(ret); | ||
export function __wbg_call_168da88779e35f61() { return handleError(function (arg0, arg1, arg2) { | ||
export function __wbg_call_9495de66fdbe016b() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
@@ -1603,3 +1607,3 @@ return addHeapObject(ret); | ||
export function __wbg_call_e1f72c051cdab859() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
export function __wbg_call_99043a1e2a9e5916() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4)); | ||
@@ -1609,3 +1613,3 @@ return addHeapObject(ret); | ||
export function __wbg_instanceof_Date_b979044f17219415(arg0) { | ||
export function __wbg_instanceof_Date_e353425d719aa266(arg0) { | ||
let result; | ||
@@ -1621,3 +1625,3 @@ try { | ||
export function __wbg_getTime_cb82adb2556ed13e(arg0) { | ||
export function __wbg_getTime_7c59072d1651a3cf(arg0) { | ||
const ret = getObject(arg0).getTime(); | ||
@@ -1627,3 +1631,3 @@ return ret; | ||
export function __wbg_new_c8631234f931e1c4(arg0) { | ||
export function __wbg_new_f127e324c1313064(arg0) { | ||
const ret = new Date(getObject(arg0)); | ||
@@ -1633,3 +1637,3 @@ return addHeapObject(ret); | ||
export function __wbg_instanceof_Object_595a1007518cbea3(arg0) { | ||
export function __wbg_instanceof_Object_f5a826c4da0d4a94(arg0) { | ||
let result; | ||
@@ -1645,3 +1649,3 @@ try { | ||
export function __wbg_assign_e3deabdbb7f0913d(arg0, arg1) { | ||
export function __wbg_assign_b0b6530984f36574(arg0, arg1) { | ||
const ret = Object.assign(getObject(arg0), getObject(arg1)); | ||
@@ -1651,3 +1655,3 @@ return addHeapObject(ret); | ||
export function __wbg_defineProperty_e47dcaf04849e02c(arg0, arg1, arg2) { | ||
export function __wbg_defineProperty_4926f24c724d5310(arg0, arg1, arg2) { | ||
const ret = Object.defineProperty(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
@@ -1657,3 +1661,3 @@ return addHeapObject(ret); | ||
export function __wbg_entries_65a76a413fc91037(arg0) { | ||
export function __wbg_entries_4e1315b774245952(arg0) { | ||
const ret = Object.entries(getObject(arg0)); | ||
@@ -1663,3 +1667,3 @@ return addHeapObject(ret); | ||
export function __wbg_freeze_863b0fb5229a1aa6(arg0) { | ||
export function __wbg_freeze_4dcdbf0b5d9b50f4(arg0) { | ||
const ret = Object.freeze(getObject(arg0)); | ||
@@ -1669,3 +1673,3 @@ return addHeapObject(ret); | ||
export function __wbg_keys_0702294afaeb6044(arg0) { | ||
export function __wbg_keys_60443f4f867207f9(arg0) { | ||
const ret = Object.keys(getObject(arg0)); | ||
@@ -1675,3 +1679,3 @@ return addHeapObject(ret); | ||
export function __wbg_values_f72d246067c121fe(arg0) { | ||
export function __wbg_values_7444c4c2ccefdc9b(arg0) { | ||
const ret = Object.values(getObject(arg0)); | ||
@@ -1681,3 +1685,3 @@ return addHeapObject(ret); | ||
export function __wbg_concat_783dc3b16a989c3a(arg0, arg1) { | ||
export function __wbg_concat_040af6c9ba38dd98(arg0, arg1) { | ||
const ret = getObject(arg0).concat(getObject(arg1)); | ||
@@ -1687,3 +1691,3 @@ return addHeapObject(ret); | ||
export function __wbg_slice_283900b9d91a5de8(arg0, arg1, arg2) { | ||
export function __wbg_slice_47202b1d012cdc55(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).slice(arg1 >>> 0, arg2 >>> 0); | ||
@@ -1693,3 +1697,3 @@ return addHeapObject(ret); | ||
export function __wbg_for_5dcca67bf52b18ca(arg0, arg1) { | ||
export function __wbg_for_9a885d0d6d415e40(arg0, arg1) { | ||
const ret = Symbol.for(getStringFromWasm0(arg0, arg1)); | ||
@@ -1699,3 +1703,3 @@ return addHeapObject(ret); | ||
export function __wbg_toString_1f0448acb8520180(arg0) { | ||
export function __wbg_toString_7a3e0cd68ea2a337(arg0) { | ||
const ret = getObject(arg0).toString(); | ||
@@ -1705,3 +1709,3 @@ return addHeapObject(ret); | ||
export function __wbg_buffer_3f3d764d4747d564(arg0) { | ||
export function __wbg_buffer_cf65c07de34b9a08(arg0) { | ||
const ret = getObject(arg0).buffer; | ||
@@ -1711,3 +1715,3 @@ return addHeapObject(ret); | ||
export function __wbg_newwithbyteoffsetandlength_d9aa266703cb98be(arg0, arg1, arg2) { | ||
export function __wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5(arg0, arg1, arg2) { | ||
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); | ||
@@ -1717,3 +1721,3 @@ return addHeapObject(ret); | ||
export function __wbg_new_8c3f0052272a457a(arg0) { | ||
export function __wbg_new_537b7341ce90bb31(arg0) { | ||
const ret = new Uint8Array(getObject(arg0)); | ||
@@ -1723,7 +1727,7 @@ return addHeapObject(ret); | ||
export function __wbg_set_83db9690f9353e79(arg0, arg1, arg2) { | ||
export function __wbg_set_17499e8aa4003ebd(arg0, arg1, arg2) { | ||
getObject(arg0).set(getObject(arg1), arg2 >>> 0); | ||
}; | ||
export function __wbg_length_9e1ae1900cb0fbd5(arg0) { | ||
export function __wbg_length_27a2afe8ab42b09f(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -1733,3 +1737,3 @@ return ret; | ||
export function __wbg_instanceof_Uint8Array_971eeda69eb75003(arg0) { | ||
export function __wbg_instanceof_Uint8Array_01cebe79ca606cca(arg0) { | ||
let result; | ||
@@ -1745,3 +1749,3 @@ try { | ||
export function __wbg_newwithlength_f5933855e4f48a19(arg0) { | ||
export function __wbg_newwithlength_b56c882b57805732(arg0) { | ||
const ret = new Uint8Array(arg0 >>> 0); | ||
@@ -1751,3 +1755,3 @@ return addHeapObject(ret); | ||
export function __wbg_subarray_58ad4efbb5bcb886(arg0, arg1, arg2) { | ||
export function __wbg_subarray_7526649b91a252a6(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0); | ||
@@ -1757,3 +1761,3 @@ return addHeapObject(ret); | ||
export function __wbg_apply_75f7334893eef4ad() { return handleError(function (arg0, arg1, arg2) { | ||
export function __wbg_apply_5435e78b95a524a6() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = Reflect.apply(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
@@ -1763,3 +1767,3 @@ return addHeapObject(ret); | ||
export function __wbg_deleteProperty_424563545efc9635() { return handleError(function (arg0, arg1) { | ||
export function __wbg_deleteProperty_31090878b92a7c0e() { return handleError(function (arg0, arg1) { | ||
const ret = Reflect.deleteProperty(getObject(arg0), getObject(arg1)); | ||
@@ -1769,3 +1773,3 @@ return ret; | ||
export function __wbg_ownKeys_bf24e1178641d9f0() { return handleError(function (arg0) { | ||
export function __wbg_ownKeys_9efe69be404540aa() { return handleError(function (arg0) { | ||
const ret = Reflect.ownKeys(getObject(arg0)); | ||
@@ -1775,3 +1779,3 @@ return addHeapObject(ret); | ||
export function __wbg_set_bf3f89b92d5a34bf() { return handleError(function (arg0, arg1, arg2) { | ||
export function __wbg_set_6aa458a4ebdb65cb() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
@@ -1778,0 +1782,0 @@ return ret; |
import * as wasm from "./automerge_wasm_bg.wasm"; | ||
export * from "./automerge_wasm_bg.js"; | ||
import { __wbg_set_wasm } from "./automerge_wasm_bg.js"; | ||
__wbg_set_wasm(wasm); | ||
export * from "./automerge_wasm_bg.js"; |
const cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
const heap = new Array(128).fill(undefined); | ||
cachedTextDecoder.decode(); | ||
heap.push(undefined, null, true, false); | ||
let cachedUint8Memory0 = new Uint8Array(); | ||
function getObject(idx) { return heap[idx]; } | ||
function getUint8Memory0() { | ||
if (cachedUint8Memory0.byteLength === 0) { | ||
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer); | ||
} | ||
return cachedUint8Memory0; | ||
} | ||
function getStringFromWasm0(ptr, len) { | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
} | ||
const heap = new Array(32).fill(undefined); | ||
heap.push(undefined, null, true, false); | ||
let heap_next = heap.length; | ||
@@ -35,6 +20,4 @@ | ||
function getObject(idx) { return heap[idx]; } | ||
function dropObject(idx) { | ||
if (idx < 36) return; | ||
if (idx < 132) return; | ||
heap[idx] = heap_next; | ||
@@ -50,2 +33,19 @@ heap_next = idx; | ||
const cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
cachedTextDecoder.decode(); | ||
let cachedUint8Memory0 = null; | ||
function getUint8Memory0() { | ||
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) { | ||
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer); | ||
} | ||
return cachedUint8Memory0; | ||
} | ||
function getStringFromWasm0(ptr, len) { | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -101,6 +101,6 @@ | ||
let cachedInt32Memory0 = new Int32Array(); | ||
let cachedInt32Memory0 = null; | ||
function getInt32Memory0() { | ||
if (cachedInt32Memory0.byteLength === 0) { | ||
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) { | ||
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer); | ||
@@ -111,6 +111,6 @@ } | ||
let cachedFloat64Memory0 = new Float64Array(); | ||
let cachedFloat64Memory0 = null; | ||
function getFloat64Memory0() { | ||
if (cachedFloat64Memory0.byteLength === 0) { | ||
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) { | ||
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer); | ||
@@ -1259,4 +1259,4 @@ } | ||
__wbindgen_placeholder__: { | ||
__wbindgen_string_new: function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
__wbindgen_object_clone_ref: function(arg0) { | ||
const ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
@@ -1267,4 +1267,4 @@ }, | ||
}, | ||
__wbindgen_object_clone_ref: function(arg0) { | ||
const ret = getObject(arg0); | ||
__wbindgen_string_new: function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
@@ -1288,2 +1288,6 @@ }, | ||
}, | ||
__wbindgen_is_string: function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'string'; | ||
return ret; | ||
}, | ||
__wbindgen_is_function: function(arg0) { | ||
@@ -1299,6 +1303,2 @@ const ret = typeof(getObject(arg0)) === 'function'; | ||
}, | ||
__wbindgen_is_string: function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'string'; | ||
return ret; | ||
}, | ||
__wbindgen_is_null: function(arg0) { | ||
@@ -1400,96 +1400,96 @@ const ret = getObject(arg0) === null; | ||
}, arguments) }, | ||
__wbg_log_4b5638ad60bdc54a: function(arg0) { | ||
__wbg_log_7bb108d119bafbc1: function(arg0) { | ||
console.log(getObject(arg0)); | ||
}, | ||
__wbg_log_89ca282a8a49b121: function(arg0, arg1) { | ||
__wbg_log_d047cf0648d2678e: function(arg0, arg1) { | ||
console.log(getObject(arg0), getObject(arg1)); | ||
}, | ||
__wbg_get_57245cc7d7c7619d: function(arg0, arg1) { | ||
__wbg_get_27fe3dac1c4d0224: function(arg0, arg1) { | ||
const ret = getObject(arg0)[arg1 >>> 0]; | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_length_6e3bbe7c8bd4dbd8: function(arg0) { | ||
__wbg_length_e498fbc24f9c1d4f: function(arg0) { | ||
const ret = getObject(arg0).length; | ||
return ret; | ||
}, | ||
__wbg_new_1d9a920c6bfc44a8: function() { | ||
__wbg_new_b525de17f44a8943: function() { | ||
const ret = new Array(); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_newnoargs_b5b063fc6c2f0376: function(arg0, arg1) { | ||
__wbg_newnoargs_2b8b6bd7753c76ba: function(arg0, arg1) { | ||
const ret = new Function(getStringFromWasm0(arg0, arg1)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_next_579e583d33566a86: function(arg0) { | ||
__wbg_next_b7d530c04fd8b217: function(arg0) { | ||
const ret = getObject(arg0).next; | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_next_aaef7c8aa5e212ac: function() { return handleError(function (arg0) { | ||
__wbg_next_88560ec06a094dea: function() { return handleError(function (arg0) { | ||
const ret = getObject(arg0).next(); | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_done_1b73b0672e15f234: function(arg0) { | ||
__wbg_done_1ebec03bbd919843: function(arg0) { | ||
const ret = getObject(arg0).done; | ||
return ret; | ||
}, | ||
__wbg_value_1ccc36bc03462d71: function(arg0) { | ||
__wbg_value_6ac8da5cc5b3efda: function(arg0) { | ||
const ret = getObject(arg0).value; | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_iterator_6f9d4f28845f426c: function() { | ||
__wbg_iterator_55f114446221aa5a: function() { | ||
const ret = Symbol.iterator; | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_get_765201544a2b6869: function() { return handleError(function (arg0, arg1) { | ||
__wbg_get_baf4855f9a986186: function() { return handleError(function (arg0, arg1) { | ||
const ret = Reflect.get(getObject(arg0), getObject(arg1)); | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_call_97ae9d8645dc388b: function() { return handleError(function (arg0, arg1) { | ||
__wbg_call_95d1ea488d03e4e8: function() { return handleError(function (arg0, arg1) { | ||
const ret = getObject(arg0).call(getObject(arg1)); | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_new_0b9bfdd97583284e: function() { | ||
__wbg_new_f9876326328f45ed: function() { | ||
const ret = new Object(); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_length_f2ab5db52e68a619: function(arg0) { | ||
__wbg_length_ea0846e494e3b16e: function(arg0) { | ||
const ret = getObject(arg0).length; | ||
return ret; | ||
}, | ||
__wbg_self_6d479506f72c6a71: function() { return handleError(function () { | ||
__wbg_self_e7c1f827057f6584: function() { return handleError(function () { | ||
const ret = self.self; | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_window_f2557cc78490aceb: function() { return handleError(function () { | ||
__wbg_window_a09ec664e14b1b81: function() { return handleError(function () { | ||
const ret = window.window; | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_globalThis_7f206bda628d5286: function() { return handleError(function () { | ||
__wbg_globalThis_87cbb8506fecf3a9: function() { return handleError(function () { | ||
const ret = globalThis.globalThis; | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_global_ba75c50d1cf384f4: function() { return handleError(function () { | ||
__wbg_global_c85a9259e621f3db: function() { return handleError(function () { | ||
const ret = global.global; | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_set_a68214f35c417fa9: function(arg0, arg1, arg2) { | ||
__wbg_set_17224bc548dd1d7b: function(arg0, arg1, arg2) { | ||
getObject(arg0)[arg1 >>> 0] = takeObject(arg2); | ||
}, | ||
__wbg_from_7ce3cb27cb258569: function(arg0) { | ||
__wbg_from_67ca20fa722467e6: function(arg0) { | ||
const ret = Array.from(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_isArray_27c46c67f498e15d: function(arg0) { | ||
__wbg_isArray_39d28997bf6b96b4: function(arg0) { | ||
const ret = Array.isArray(getObject(arg0)); | ||
return ret; | ||
}, | ||
__wbg_push_740e4b286702d964: function(arg0, arg1) { | ||
__wbg_push_49c286f04dd3bf59: function(arg0, arg1) { | ||
const ret = getObject(arg0).push(getObject(arg1)); | ||
return ret; | ||
}, | ||
__wbg_unshift_1bf718f5eb23ad8a: function(arg0, arg1) { | ||
__wbg_unshift_06a94bcbcb492eb3: function(arg0, arg1) { | ||
const ret = getObject(arg0).unshift(getObject(arg1)); | ||
return ret; | ||
}, | ||
__wbg_instanceof_ArrayBuffer_e5e48f4762c5610b: function(arg0) { | ||
__wbg_instanceof_ArrayBuffer_a69f02ee4c4f5065: function(arg0) { | ||
let result; | ||
@@ -1504,15 +1504,15 @@ try { | ||
}, | ||
__wbg_new_8d2af00bc1e329ee: function(arg0, arg1) { | ||
__wbg_new_15d3966e9981a196: function(arg0, arg1) { | ||
const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_call_168da88779e35f61: function() { return handleError(function (arg0, arg1, arg2) { | ||
__wbg_call_9495de66fdbe016b: function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_call_e1f72c051cdab859: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
__wbg_call_99043a1e2a9e5916: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4)); | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_instanceof_Date_b979044f17219415: function(arg0) { | ||
__wbg_instanceof_Date_e353425d719aa266: function(arg0) { | ||
let result; | ||
@@ -1527,11 +1527,11 @@ try { | ||
}, | ||
__wbg_getTime_cb82adb2556ed13e: function(arg0) { | ||
__wbg_getTime_7c59072d1651a3cf: function(arg0) { | ||
const ret = getObject(arg0).getTime(); | ||
return ret; | ||
}, | ||
__wbg_new_c8631234f931e1c4: function(arg0) { | ||
__wbg_new_f127e324c1313064: function(arg0) { | ||
const ret = new Date(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_instanceof_Object_595a1007518cbea3: function(arg0) { | ||
__wbg_instanceof_Object_f5a826c4da0d4a94: function(arg0) { | ||
let result; | ||
@@ -1546,62 +1546,62 @@ try { | ||
}, | ||
__wbg_assign_e3deabdbb7f0913d: function(arg0, arg1) { | ||
__wbg_assign_b0b6530984f36574: function(arg0, arg1) { | ||
const ret = Object.assign(getObject(arg0), getObject(arg1)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_defineProperty_e47dcaf04849e02c: function(arg0, arg1, arg2) { | ||
__wbg_defineProperty_4926f24c724d5310: function(arg0, arg1, arg2) { | ||
const ret = Object.defineProperty(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_entries_65a76a413fc91037: function(arg0) { | ||
__wbg_entries_4e1315b774245952: function(arg0) { | ||
const ret = Object.entries(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_freeze_863b0fb5229a1aa6: function(arg0) { | ||
__wbg_freeze_4dcdbf0b5d9b50f4: function(arg0) { | ||
const ret = Object.freeze(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_keys_0702294afaeb6044: function(arg0) { | ||
__wbg_keys_60443f4f867207f9: function(arg0) { | ||
const ret = Object.keys(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_values_f72d246067c121fe: function(arg0) { | ||
__wbg_values_7444c4c2ccefdc9b: function(arg0) { | ||
const ret = Object.values(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_concat_783dc3b16a989c3a: function(arg0, arg1) { | ||
__wbg_concat_040af6c9ba38dd98: function(arg0, arg1) { | ||
const ret = getObject(arg0).concat(getObject(arg1)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_slice_283900b9d91a5de8: function(arg0, arg1, arg2) { | ||
__wbg_slice_47202b1d012cdc55: function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).slice(arg1 >>> 0, arg2 >>> 0); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_for_5dcca67bf52b18ca: function(arg0, arg1) { | ||
__wbg_for_9a885d0d6d415e40: function(arg0, arg1) { | ||
const ret = Symbol.for(getStringFromWasm0(arg0, arg1)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_toString_1f0448acb8520180: function(arg0) { | ||
__wbg_toString_7a3e0cd68ea2a337: function(arg0) { | ||
const ret = getObject(arg0).toString(); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_buffer_3f3d764d4747d564: function(arg0) { | ||
__wbg_buffer_cf65c07de34b9a08: function(arg0) { | ||
const ret = getObject(arg0).buffer; | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_newwithbyteoffsetandlength_d9aa266703cb98be: function(arg0, arg1, arg2) { | ||
__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5: function(arg0, arg1, arg2) { | ||
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_new_8c3f0052272a457a: function(arg0) { | ||
__wbg_new_537b7341ce90bb31: function(arg0) { | ||
const ret = new Uint8Array(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_set_83db9690f9353e79: function(arg0, arg1, arg2) { | ||
__wbg_set_17499e8aa4003ebd: function(arg0, arg1, arg2) { | ||
getObject(arg0).set(getObject(arg1), arg2 >>> 0); | ||
}, | ||
__wbg_length_9e1ae1900cb0fbd5: function(arg0) { | ||
__wbg_length_27a2afe8ab42b09f: function(arg0) { | ||
const ret = getObject(arg0).length; | ||
return ret; | ||
}, | ||
__wbg_instanceof_Uint8Array_971eeda69eb75003: function(arg0) { | ||
__wbg_instanceof_Uint8Array_01cebe79ca606cca: function(arg0) { | ||
let result; | ||
@@ -1616,23 +1616,23 @@ try { | ||
}, | ||
__wbg_newwithlength_f5933855e4f48a19: function(arg0) { | ||
__wbg_newwithlength_b56c882b57805732: function(arg0) { | ||
const ret = new Uint8Array(arg0 >>> 0); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_subarray_58ad4efbb5bcb886: function(arg0, arg1, arg2) { | ||
__wbg_subarray_7526649b91a252a6: function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0); | ||
return addHeapObject(ret); | ||
}, | ||
__wbg_apply_75f7334893eef4ad: function() { return handleError(function (arg0, arg1, arg2) { | ||
__wbg_apply_5435e78b95a524a6: function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = Reflect.apply(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_deleteProperty_424563545efc9635: function() { return handleError(function (arg0, arg1) { | ||
__wbg_deleteProperty_31090878b92a7c0e: function() { return handleError(function (arg0, arg1) { | ||
const ret = Reflect.deleteProperty(getObject(arg0), getObject(arg1)); | ||
return ret; | ||
}, arguments) }, | ||
__wbg_ownKeys_bf24e1178641d9f0: function() { return handleError(function (arg0) { | ||
__wbg_ownKeys_9efe69be404540aa: function() { return handleError(function (arg0) { | ||
const ret = Reflect.ownKeys(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}, arguments) }, | ||
__wbg_set_bf3f89b92d5a34bf: function() { return handleError(function (arg0, arg1, arg2) { | ||
__wbg_set_6aa458a4ebdb65cb: function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
@@ -1639,0 +1639,0 @@ return ret; |
@@ -6,23 +6,8 @@ let imports = {}; | ||
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
const heap = new Array(128).fill(undefined); | ||
cachedTextDecoder.decode(); | ||
heap.push(undefined, null, true, false); | ||
let cachedUint8Memory0 = new Uint8Array(); | ||
function getObject(idx) { return heap[idx]; } | ||
function getUint8Memory0() { | ||
if (cachedUint8Memory0.byteLength === 0) { | ||
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer); | ||
} | ||
return cachedUint8Memory0; | ||
} | ||
function getStringFromWasm0(ptr, len) { | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
} | ||
const heap = new Array(32).fill(undefined); | ||
heap.push(undefined, null, true, false); | ||
let heap_next = heap.length; | ||
@@ -39,6 +24,4 @@ | ||
function getObject(idx) { return heap[idx]; } | ||
function dropObject(idx) { | ||
if (idx < 36) return; | ||
if (idx < 132) return; | ||
heap[idx] = heap_next; | ||
@@ -54,2 +37,19 @@ heap_next = idx; | ||
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
cachedTextDecoder.decode(); | ||
let cachedUint8Memory0 = null; | ||
function getUint8Memory0() { | ||
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) { | ||
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer); | ||
} | ||
return cachedUint8Memory0; | ||
} | ||
function getStringFromWasm0(ptr, len) { | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -114,6 +114,6 @@ | ||
let cachedInt32Memory0 = new Int32Array(); | ||
let cachedInt32Memory0 = null; | ||
function getInt32Memory0() { | ||
if (cachedInt32Memory0.byteLength === 0) { | ||
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) { | ||
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer); | ||
@@ -124,6 +124,6 @@ } | ||
let cachedFloat64Memory0 = new Float64Array(); | ||
let cachedFloat64Memory0 = null; | ||
function getFloat64Memory0() { | ||
if (cachedFloat64Memory0.byteLength === 0) { | ||
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) { | ||
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer); | ||
@@ -1272,4 +1272,4 @@ } | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
const ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
@@ -1282,4 +1282,4 @@ }; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
const ret = getObject(arg0); | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
@@ -1307,2 +1307,7 @@ }; | ||
module.exports.__wbindgen_is_string = function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'string'; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_is_function = function(arg0) { | ||
@@ -1320,7 +1325,2 @@ const ret = typeof(getObject(arg0)) === 'function'; | ||
module.exports.__wbindgen_is_string = function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'string'; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_is_null = function(arg0) { | ||
@@ -1443,11 +1443,11 @@ const ret = getObject(arg0) === null; | ||
module.exports.__wbg_log_4b5638ad60bdc54a = function(arg0) { | ||
module.exports.__wbg_log_7bb108d119bafbc1 = function(arg0) { | ||
console.log(getObject(arg0)); | ||
}; | ||
module.exports.__wbg_log_89ca282a8a49b121 = function(arg0, arg1) { | ||
module.exports.__wbg_log_d047cf0648d2678e = function(arg0, arg1) { | ||
console.log(getObject(arg0), getObject(arg1)); | ||
}; | ||
module.exports.__wbg_get_57245cc7d7c7619d = function(arg0, arg1) { | ||
module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) { | ||
const ret = getObject(arg0)[arg1 >>> 0]; | ||
@@ -1457,3 +1457,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_length_6e3bbe7c8bd4dbd8 = function(arg0) { | ||
module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -1463,3 +1463,3 @@ return ret; | ||
module.exports.__wbg_new_1d9a920c6bfc44a8 = function() { | ||
module.exports.__wbg_new_b525de17f44a8943 = function() { | ||
const ret = new Array(); | ||
@@ -1469,3 +1469,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_newnoargs_b5b063fc6c2f0376 = function(arg0, arg1) { | ||
module.exports.__wbg_newnoargs_2b8b6bd7753c76ba = function(arg0, arg1) { | ||
const ret = new Function(getStringFromWasm0(arg0, arg1)); | ||
@@ -1475,3 +1475,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_next_579e583d33566a86 = function(arg0) { | ||
module.exports.__wbg_next_b7d530c04fd8b217 = function(arg0) { | ||
const ret = getObject(arg0).next; | ||
@@ -1481,3 +1481,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_next_aaef7c8aa5e212ac = function() { return handleError(function (arg0) { | ||
module.exports.__wbg_next_88560ec06a094dea = function() { return handleError(function (arg0) { | ||
const ret = getObject(arg0).next(); | ||
@@ -1487,3 +1487,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_done_1b73b0672e15f234 = function(arg0) { | ||
module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) { | ||
const ret = getObject(arg0).done; | ||
@@ -1493,3 +1493,3 @@ return ret; | ||
module.exports.__wbg_value_1ccc36bc03462d71 = function(arg0) { | ||
module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) { | ||
const ret = getObject(arg0).value; | ||
@@ -1499,3 +1499,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_iterator_6f9d4f28845f426c = function() { | ||
module.exports.__wbg_iterator_55f114446221aa5a = function() { | ||
const ret = Symbol.iterator; | ||
@@ -1505,3 +1505,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_get_765201544a2b6869 = function() { return handleError(function (arg0, arg1) { | ||
module.exports.__wbg_get_baf4855f9a986186 = function() { return handleError(function (arg0, arg1) { | ||
const ret = Reflect.get(getObject(arg0), getObject(arg1)); | ||
@@ -1511,3 +1511,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_call_97ae9d8645dc388b = function() { return handleError(function (arg0, arg1) { | ||
module.exports.__wbg_call_95d1ea488d03e4e8 = function() { return handleError(function (arg0, arg1) { | ||
const ret = getObject(arg0).call(getObject(arg1)); | ||
@@ -1517,3 +1517,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_new_0b9bfdd97583284e = function() { | ||
module.exports.__wbg_new_f9876326328f45ed = function() { | ||
const ret = new Object(); | ||
@@ -1523,3 +1523,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_length_f2ab5db52e68a619 = function(arg0) { | ||
module.exports.__wbg_length_ea0846e494e3b16e = function(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -1529,3 +1529,3 @@ return ret; | ||
module.exports.__wbg_self_6d479506f72c6a71 = function() { return handleError(function () { | ||
module.exports.__wbg_self_e7c1f827057f6584 = function() { return handleError(function () { | ||
const ret = self.self; | ||
@@ -1535,3 +1535,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_window_f2557cc78490aceb = function() { return handleError(function () { | ||
module.exports.__wbg_window_a09ec664e14b1b81 = function() { return handleError(function () { | ||
const ret = window.window; | ||
@@ -1541,3 +1541,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_globalThis_7f206bda628d5286 = function() { return handleError(function () { | ||
module.exports.__wbg_globalThis_87cbb8506fecf3a9 = function() { return handleError(function () { | ||
const ret = globalThis.globalThis; | ||
@@ -1547,3 +1547,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_global_ba75c50d1cf384f4 = function() { return handleError(function () { | ||
module.exports.__wbg_global_c85a9259e621f3db = function() { return handleError(function () { | ||
const ret = global.global; | ||
@@ -1553,7 +1553,7 @@ return addHeapObject(ret); | ||
module.exports.__wbg_set_a68214f35c417fa9 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_set_17224bc548dd1d7b = function(arg0, arg1, arg2) { | ||
getObject(arg0)[arg1 >>> 0] = takeObject(arg2); | ||
}; | ||
module.exports.__wbg_from_7ce3cb27cb258569 = function(arg0) { | ||
module.exports.__wbg_from_67ca20fa722467e6 = function(arg0) { | ||
const ret = Array.from(getObject(arg0)); | ||
@@ -1563,3 +1563,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_isArray_27c46c67f498e15d = function(arg0) { | ||
module.exports.__wbg_isArray_39d28997bf6b96b4 = function(arg0) { | ||
const ret = Array.isArray(getObject(arg0)); | ||
@@ -1569,3 +1569,3 @@ return ret; | ||
module.exports.__wbg_push_740e4b286702d964 = function(arg0, arg1) { | ||
module.exports.__wbg_push_49c286f04dd3bf59 = function(arg0, arg1) { | ||
const ret = getObject(arg0).push(getObject(arg1)); | ||
@@ -1575,3 +1575,3 @@ return ret; | ||
module.exports.__wbg_unshift_1bf718f5eb23ad8a = function(arg0, arg1) { | ||
module.exports.__wbg_unshift_06a94bcbcb492eb3 = function(arg0, arg1) { | ||
const ret = getObject(arg0).unshift(getObject(arg1)); | ||
@@ -1581,3 +1581,3 @@ return ret; | ||
module.exports.__wbg_instanceof_ArrayBuffer_e5e48f4762c5610b = function(arg0) { | ||
module.exports.__wbg_instanceof_ArrayBuffer_a69f02ee4c4f5065 = function(arg0) { | ||
let result; | ||
@@ -1593,3 +1593,3 @@ try { | ||
module.exports.__wbg_new_8d2af00bc1e329ee = function(arg0, arg1) { | ||
module.exports.__wbg_new_15d3966e9981a196 = function(arg0, arg1) { | ||
const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
@@ -1599,3 +1599,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_call_168da88779e35f61 = function() { return handleError(function (arg0, arg1, arg2) { | ||
module.exports.__wbg_call_9495de66fdbe016b = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
@@ -1605,3 +1605,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_call_e1f72c051cdab859 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
module.exports.__wbg_call_99043a1e2a9e5916 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4)); | ||
@@ -1611,3 +1611,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_instanceof_Date_b979044f17219415 = function(arg0) { | ||
module.exports.__wbg_instanceof_Date_e353425d719aa266 = function(arg0) { | ||
let result; | ||
@@ -1623,3 +1623,3 @@ try { | ||
module.exports.__wbg_getTime_cb82adb2556ed13e = function(arg0) { | ||
module.exports.__wbg_getTime_7c59072d1651a3cf = function(arg0) { | ||
const ret = getObject(arg0).getTime(); | ||
@@ -1629,3 +1629,3 @@ return ret; | ||
module.exports.__wbg_new_c8631234f931e1c4 = function(arg0) { | ||
module.exports.__wbg_new_f127e324c1313064 = function(arg0) { | ||
const ret = new Date(getObject(arg0)); | ||
@@ -1635,3 +1635,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_instanceof_Object_595a1007518cbea3 = function(arg0) { | ||
module.exports.__wbg_instanceof_Object_f5a826c4da0d4a94 = function(arg0) { | ||
let result; | ||
@@ -1647,3 +1647,3 @@ try { | ||
module.exports.__wbg_assign_e3deabdbb7f0913d = function(arg0, arg1) { | ||
module.exports.__wbg_assign_b0b6530984f36574 = function(arg0, arg1) { | ||
const ret = Object.assign(getObject(arg0), getObject(arg1)); | ||
@@ -1653,3 +1653,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_defineProperty_e47dcaf04849e02c = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_defineProperty_4926f24c724d5310 = function(arg0, arg1, arg2) { | ||
const ret = Object.defineProperty(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
@@ -1659,3 +1659,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_entries_65a76a413fc91037 = function(arg0) { | ||
module.exports.__wbg_entries_4e1315b774245952 = function(arg0) { | ||
const ret = Object.entries(getObject(arg0)); | ||
@@ -1665,3 +1665,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_freeze_863b0fb5229a1aa6 = function(arg0) { | ||
module.exports.__wbg_freeze_4dcdbf0b5d9b50f4 = function(arg0) { | ||
const ret = Object.freeze(getObject(arg0)); | ||
@@ -1671,3 +1671,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_keys_0702294afaeb6044 = function(arg0) { | ||
module.exports.__wbg_keys_60443f4f867207f9 = function(arg0) { | ||
const ret = Object.keys(getObject(arg0)); | ||
@@ -1677,3 +1677,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_values_f72d246067c121fe = function(arg0) { | ||
module.exports.__wbg_values_7444c4c2ccefdc9b = function(arg0) { | ||
const ret = Object.values(getObject(arg0)); | ||
@@ -1683,3 +1683,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_concat_783dc3b16a989c3a = function(arg0, arg1) { | ||
module.exports.__wbg_concat_040af6c9ba38dd98 = function(arg0, arg1) { | ||
const ret = getObject(arg0).concat(getObject(arg1)); | ||
@@ -1689,3 +1689,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_slice_283900b9d91a5de8 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_slice_47202b1d012cdc55 = function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).slice(arg1 >>> 0, arg2 >>> 0); | ||
@@ -1695,3 +1695,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_for_5dcca67bf52b18ca = function(arg0, arg1) { | ||
module.exports.__wbg_for_9a885d0d6d415e40 = function(arg0, arg1) { | ||
const ret = Symbol.for(getStringFromWasm0(arg0, arg1)); | ||
@@ -1701,3 +1701,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_toString_1f0448acb8520180 = function(arg0) { | ||
module.exports.__wbg_toString_7a3e0cd68ea2a337 = function(arg0) { | ||
const ret = getObject(arg0).toString(); | ||
@@ -1707,3 +1707,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_buffer_3f3d764d4747d564 = function(arg0) { | ||
module.exports.__wbg_buffer_cf65c07de34b9a08 = function(arg0) { | ||
const ret = getObject(arg0).buffer; | ||
@@ -1713,3 +1713,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_newwithbyteoffsetandlength_d9aa266703cb98be = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5 = function(arg0, arg1, arg2) { | ||
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); | ||
@@ -1719,3 +1719,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_new_8c3f0052272a457a = function(arg0) { | ||
module.exports.__wbg_new_537b7341ce90bb31 = function(arg0) { | ||
const ret = new Uint8Array(getObject(arg0)); | ||
@@ -1725,7 +1725,7 @@ return addHeapObject(ret); | ||
module.exports.__wbg_set_83db9690f9353e79 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_set_17499e8aa4003ebd = function(arg0, arg1, arg2) { | ||
getObject(arg0).set(getObject(arg1), arg2 >>> 0); | ||
}; | ||
module.exports.__wbg_length_9e1ae1900cb0fbd5 = function(arg0) { | ||
module.exports.__wbg_length_27a2afe8ab42b09f = function(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -1735,3 +1735,3 @@ return ret; | ||
module.exports.__wbg_instanceof_Uint8Array_971eeda69eb75003 = function(arg0) { | ||
module.exports.__wbg_instanceof_Uint8Array_01cebe79ca606cca = function(arg0) { | ||
let result; | ||
@@ -1747,3 +1747,3 @@ try { | ||
module.exports.__wbg_newwithlength_f5933855e4f48a19 = function(arg0) { | ||
module.exports.__wbg_newwithlength_b56c882b57805732 = function(arg0) { | ||
const ret = new Uint8Array(arg0 >>> 0); | ||
@@ -1753,3 +1753,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_subarray_58ad4efbb5bcb886 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_subarray_7526649b91a252a6 = function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0); | ||
@@ -1759,3 +1759,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_apply_75f7334893eef4ad = function() { return handleError(function (arg0, arg1, arg2) { | ||
module.exports.__wbg_apply_5435e78b95a524a6 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = Reflect.apply(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
@@ -1765,3 +1765,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_deleteProperty_424563545efc9635 = function() { return handleError(function (arg0, arg1) { | ||
module.exports.__wbg_deleteProperty_31090878b92a7c0e = function() { return handleError(function (arg0, arg1) { | ||
const ret = Reflect.deleteProperty(getObject(arg0), getObject(arg1)); | ||
@@ -1771,3 +1771,3 @@ return ret; | ||
module.exports.__wbg_ownKeys_bf24e1178641d9f0 = function() { return handleError(function (arg0) { | ||
module.exports.__wbg_ownKeys_9efe69be404540aa = function() { return handleError(function (arg0) { | ||
const ret = Reflect.ownKeys(getObject(arg0)); | ||
@@ -1777,3 +1777,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_set_bf3f89b92d5a34bf = function() { return handleError(function (arg0, arg1, arg2) { | ||
module.exports.__wbg_set_6aa458a4ebdb65cb = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2)); | ||
@@ -1780,0 +1780,0 @@ return ret; |
@@ -11,3 +11,3 @@ { | ||
"repository": "github:automerge/automerge-rs", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4108981
5024
5