@francisdb/vpin-wasm 0.26.2 → 0.26.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/vpin.js +22 -22
  3. package/vpin_bg.wasm +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@francisdb/vpin-wasm",
3
- "version": "0.26.2",
3
+ "version": "0.26.4",
4
4
  "description": "WASM bindings for vpin, a rust library for the visual/virtual pinball ecosystem.",
5
5
  "homepage": "https://github.com/francisdb/vpin",
6
6
  "bugs": {
package/vpin.js CHANGED
@@ -247,18 +247,18 @@ export function obj_to_mesh(data, convert_to_left_handed) {
247
247
  function __wbg_get_imports() {
248
248
  const import0 = {
249
249
  __proto__: null,
250
- __wbg_Error_bce6d499ff0a4aff: function(arg0, arg1) {
250
+ __wbg_Error_ef53bc310eb298a0: function(arg0, arg1) {
251
251
  const ret = Error(getStringFromWasm0(arg0, arg1));
252
252
  return ret;
253
253
  },
254
- __wbg___wbindgen_debug_string_edece8177ad01481: function(arg0, arg1) {
254
+ __wbg___wbindgen_debug_string_0accd80f45e5faa2: function(arg0, arg1) {
255
255
  const ret = debugString(arg1);
256
256
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
257
257
  const len1 = WASM_VECTOR_LEN;
258
258
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
259
259
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
260
260
  },
261
- __wbg___wbindgen_string_get_d109740c0d18f4d7: function(arg0, arg1) {
261
+ __wbg___wbindgen_string_get_72bdf95d3ae505b1: function(arg0, arg1) {
262
262
  const obj = arg1;
263
263
  const ret = typeof(obj) === 'string' ? obj : undefined;
264
264
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -266,10 +266,10 @@ function __wbg_get_imports() {
266
266
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
267
267
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
268
268
  },
269
- __wbg___wbindgen_throw_9c31b086c2b26051: function(arg0, arg1) {
269
+ __wbg___wbindgen_throw_1506f2235d1bdba0: function(arg0, arg1) {
270
270
  throw new Error(getStringFromWasm0(arg0, arg1));
271
271
  },
272
- __wbg_call_dfde26266607c996: function() { return handleError(function (arg0, arg1, arg2) {
272
+ __wbg_call_9c758de292015997: function() { return handleError(function (arg0, arg1, arg2) {
273
273
  const ret = arg0.call(arg1, arg2);
274
274
  return ret;
275
275
  }, arguments); },
@@ -284,54 +284,54 @@ function __wbg_get_imports() {
284
284
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
285
285
  }
286
286
  },
287
- __wbg_get_98fdf51d029a75eb: function(arg0, arg1) {
287
+ __wbg_get_2b48c7d0d006a781: function(arg0, arg1) {
288
288
  const ret = arg0[arg1 >>> 0];
289
289
  return ret;
290
290
  },
291
- __wbg_get_dcf82ab8aad1a593: function() { return handleError(function (arg0, arg1) {
291
+ __wbg_get_de6a0f7d4d18a304: function() { return handleError(function (arg0, arg1) {
292
292
  const ret = Reflect.get(arg0, arg1);
293
293
  return ret;
294
294
  }, arguments); },
295
- __wbg_keys_682010b680c9b1f8: function(arg0) {
295
+ __wbg_keys_19cb80412a6f5349: function(arg0) {
296
296
  const ret = Object.keys(arg0);
297
297
  return ret;
298
298
  },
299
- __wbg_length_2591a0f4f659a55c: function(arg0) {
299
+ __wbg_length_4a591ecaa01354d9: function(arg0) {
300
300
  const ret = arg0.length;
301
301
  return ret;
302
302
  },
303
- __wbg_length_56fcd3e2b7e0299d: function(arg0) {
303
+ __wbg_length_66f1a4b2e9026940: function(arg0) {
304
304
  const ret = arg0.length;
305
305
  return ret;
306
306
  },
307
- __wbg_new_02d162bc6cf02f60: function() {
308
- const ret = new Object();
309
- return ret;
310
- },
311
307
  __wbg_new_227d7c05414eb861: function() {
312
308
  const ret = new Error();
313
309
  return ret;
314
310
  },
315
- __wbg_new_from_slice_269e35316ed2d061: function(arg0, arg1) {
316
- const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
311
+ __wbg_new_ce1ab61c1c2b300d: function() {
312
+ const ret = new Object();
317
313
  return ret;
318
314
  },
319
- __wbg_new_from_slice_7a419f18ea6472bf: function(arg0, arg1) {
320
- const ret = new Float32Array(getArrayF32FromWasm0(arg0, arg1));
315
+ __wbg_new_from_slice_18fa1f71286d66b8: function(arg0, arg1) {
316
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
321
317
  return ret;
322
318
  },
323
- __wbg_new_from_slice_f92bf65e9a895613: function(arg0, arg1) {
319
+ __wbg_new_from_slice_47be4219028de35d: function(arg0, arg1) {
324
320
  const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
325
321
  return ret;
326
322
  },
327
- __wbg_now_81363d44c96dd239: function() {
323
+ __wbg_new_from_slice_956df4f769fb782c: function(arg0, arg1) {
324
+ const ret = new Float32Array(getArrayF32FromWasm0(arg0, arg1));
325
+ return ret;
326
+ },
327
+ __wbg_now_190933fa139cc119: function() {
328
328
  const ret = Date.now();
329
329
  return ret;
330
330
  },
331
- __wbg_prototypesetcall_5f9bdc8d75e07276: function(arg0, arg1, arg2) {
331
+ __wbg_prototypesetcall_3249fc62a0fafa30: function(arg0, arg1, arg2) {
332
332
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
333
333
  },
334
- __wbg_set_a0e911be3da02782: function() { return handleError(function (arg0, arg1, arg2) {
334
+ __wbg_set_6e30c9374c26414c: function() { return handleError(function (arg0, arg1, arg2) {
335
335
  const ret = Reflect.set(arg0, arg1, arg2);
336
336
  return ret;
337
337
  }, arguments); },
package/vpin_bg.wasm CHANGED
Binary file