@adapt-toolkit/sdk 0.5.14 → 0.5.15

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.
@@ -906,7 +906,7 @@ var createEMSCModule = (() => {
906
906
  } instantiateAsync().catch(readyPromiseReject); return {}; }
907
907
  var tempDouble;
908
908
  var tempI64;
909
- var ASM_CONSTS = { 625528: function () { return Module.getRandomValue(); }, 625564: function () { if (Module.getRandomValue === undefined) {
909
+ var ASM_CONSTS = { 1686928: function () { return Module.getRandomValue(); }, 1686964: function () { if (Module.getRandomValue === undefined) {
910
910
  try {
911
911
  var window_ = "object" === typeof window ? window : self;
912
912
  var crypto_ = typeof window_.crypto !== "undefined" ? window_.crypto : window_.msCrypto;
@@ -1065,7 +1065,6 @@ var createEMSCModule = (() => {
1065
1065
  function ___cxa_throw(ptr, type, destructor) { var info = new ExceptionInfo(ptr); info.init(type, destructor); exceptionLast = ptr; uncaughtExceptionCount++; throw ptr; }
1066
1066
  function ___cxa_uncaught_exceptions() { return uncaughtExceptionCount; }
1067
1067
  function ___handle_stack_overflow() { abort("stack overflow"); }
1068
- function setErrNo(value) { HEAP32[___errno_location() >> 2] = value; return value; }
1069
1068
  var PATH = { splitPath: function (filename) { var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; return splitPathRe.exec(filename).slice(1); }, normalizeArray: function (parts, allowAboveRoot) { var up = 0; for (var i = parts.length - 1; i >= 0; i--) {
1070
1069
  var last = parts[i];
1071
1070
  if (last === ".") {
@@ -2269,49 +2268,6 @@ var createEMSCModule = (() => {
2269
2268
  assert(high === 0);
2270
2269
  else
2271
2270
  assert(high === -1); return low; } };
2272
- function ___syscall_fcntl64(fd, cmd, varargs) { SYSCALLS.varargs = varargs; try {
2273
- var stream = SYSCALLS.getStreamFromFD(fd);
2274
- switch (cmd) {
2275
- case 0: {
2276
- var arg = SYSCALLS.get();
2277
- if (arg < 0) {
2278
- return -28;
2279
- }
2280
- var newStream;
2281
- newStream = FS.open(stream.path, stream.flags, 0, arg);
2282
- return newStream.fd;
2283
- }
2284
- case 1:
2285
- case 2: return 0;
2286
- case 3: return stream.flags;
2287
- case 4: {
2288
- var arg = SYSCALLS.get();
2289
- stream.flags |= arg;
2290
- return 0;
2291
- }
2292
- case 5: {
2293
- var arg = SYSCALLS.get();
2294
- var offset = 0;
2295
- HEAP16[arg + offset >> 1] = 2;
2296
- return 0;
2297
- }
2298
- case 6:
2299
- case 7: return 0;
2300
- case 16:
2301
- case 8: return -28;
2302
- case 9:
2303
- setErrNo(28);
2304
- return -1;
2305
- default: {
2306
- return -28;
2307
- }
2308
- }
2309
- }
2310
- catch (e) {
2311
- if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError))
2312
- throw e;
2313
- return -e.errno;
2314
- } }
2315
2271
  function ___syscall_ioctl(fd, op, varargs) { SYSCALLS.varargs = varargs; try {
2316
2272
  var stream = SYSCALLS.getStreamFromFD(fd);
2317
2273
  switch (op) {
@@ -2384,6 +2340,7 @@ var createEMSCModule = (() => {
2384
2340
  else
2385
2341
  _emscripten_get_now = (() => performance.now());
2386
2342
  var _emscripten_get_now_is_monotonic = true;
2343
+ function setErrNo(value) { HEAP32[___errno_location() >> 2] = value; return value; }
2387
2344
  function _clock_gettime(clk_id, tp) { var now; if (clk_id === 0) {
2388
2345
  now = Date.now();
2389
2346
  }
@@ -2637,7 +2594,7 @@ var createEMSCModule = (() => {
2637
2594
  catch (_) {
2638
2595
  throw new Error("Converting base64 string to bytes failed.");
2639
2596
  } }
2640
- var asmLibraryArg = { "__assert_fail": ___assert_fail, "__cxa_allocate_exception": ___cxa_allocate_exception, "__cxa_begin_catch": ___cxa_begin_catch, "__cxa_end_catch": ___cxa_end_catch, "__cxa_find_matching_catch_2": ___cxa_find_matching_catch_2, "__cxa_find_matching_catch_3": ___cxa_find_matching_catch_3, "__cxa_free_exception": ___cxa_free_exception, "__cxa_rethrow": ___cxa_rethrow, "__cxa_throw": ___cxa_throw, "__cxa_uncaught_exceptions": ___cxa_uncaught_exceptions, "__handle_stack_overflow": ___handle_stack_overflow, "__resumeException": ___resumeException, "__syscall_fcntl64": ___syscall_fcntl64, "__syscall_ioctl": ___syscall_ioctl, "__syscall_open": ___syscall_open, "abort": _abort, "array_bounds_check_error": array_bounds_check_error, "clock_gettime": _clock_gettime, "emscripten_asm_const_int": _emscripten_asm_const_int, "emscripten_get_heap_max": _emscripten_get_heap_max, "emscripten_memcpy_big": _emscripten_memcpy_big, "emscripten_resize_heap": _emscripten_resize_heap, "environ_get": _environ_get, "environ_sizes_get": _environ_sizes_get, "exit": _exit, "fd_close": _fd_close, "fd_read": _fd_read, "fd_seek": _fd_seek, "fd_write": _fd_write, "getTempRet0": _getTempRet0, "invoke_i": invoke_i, "invoke_ii": invoke_ii, "invoke_iii": invoke_iii, "invoke_iiii": invoke_iiii, "invoke_iiiii": invoke_iiiii, "invoke_iiiiiii": invoke_iiiiiii, "invoke_iiiiiiii": invoke_iiiiiiii, "invoke_iiiiiiiiiiii": invoke_iiiiiiiiiiii, "invoke_j": invoke_j, "invoke_v": invoke_v, "invoke_vi": invoke_vi, "invoke_vii": invoke_vii, "invoke_viii": invoke_viii, "invoke_viiii": invoke_viiii, "invoke_viiiiiii": invoke_viiiiiii, "invoke_viiiiiiiiii": invoke_viiiiiiiiii, "invoke_viiiiiiiiiiiiiii": invoke_viiiiiiiiiiiiiii, "setTempRet0": _setTempRet0, "strftime_l": _strftime_l };
2597
+ var asmLibraryArg = { "__assert_fail": ___assert_fail, "__cxa_allocate_exception": ___cxa_allocate_exception, "__cxa_begin_catch": ___cxa_begin_catch, "__cxa_end_catch": ___cxa_end_catch, "__cxa_find_matching_catch_2": ___cxa_find_matching_catch_2, "__cxa_find_matching_catch_3": ___cxa_find_matching_catch_3, "__cxa_free_exception": ___cxa_free_exception, "__cxa_rethrow": ___cxa_rethrow, "__cxa_throw": ___cxa_throw, "__cxa_uncaught_exceptions": ___cxa_uncaught_exceptions, "__handle_stack_overflow": ___handle_stack_overflow, "__resumeException": ___resumeException, "__syscall_ioctl": ___syscall_ioctl, "__syscall_open": ___syscall_open, "abort": _abort, "array_bounds_check_error": array_bounds_check_error, "clock_gettime": _clock_gettime, "emscripten_asm_const_int": _emscripten_asm_const_int, "emscripten_get_heap_max": _emscripten_get_heap_max, "emscripten_memcpy_big": _emscripten_memcpy_big, "emscripten_resize_heap": _emscripten_resize_heap, "environ_get": _environ_get, "environ_sizes_get": _environ_sizes_get, "exit": _exit, "fd_close": _fd_close, "fd_read": _fd_read, "fd_seek": _fd_seek, "fd_write": _fd_write, "getTempRet0": _getTempRet0, "invoke_i": invoke_i, "invoke_ii": invoke_ii, "invoke_iii": invoke_iii, "invoke_iiii": invoke_iiii, "invoke_iiiii": invoke_iiiii, "invoke_iiiiiii": invoke_iiiiiii, "invoke_iiiiiiii": invoke_iiiiiiii, "invoke_iiiiiiiiiiii": invoke_iiiiiiiiiiii, "invoke_j": invoke_j, "invoke_v": invoke_v, "invoke_vi": invoke_vi, "invoke_vii": invoke_vii, "invoke_viii": invoke_viii, "invoke_viiii": invoke_viiii, "invoke_viiiiiii": invoke_viiiiiii, "invoke_viiiiiiiiii": invoke_viiiiiiiiii, "invoke_viiiiiiiiiiiiiii": invoke_viiiiiiiiiiiiiii, "setTempRet0": _setTempRet0, "strftime_l": _strftime_l };
2641
2598
  var asm = createWasm();
2642
2599
  var ___wasm_call_ctors = Module["___wasm_call_ctors"] = createExportWrapper("__wasm_call_ctors");
2643
2600
  var _emscripten_bind_VoidPtr___destroy___0 = Module["_emscripten_bind_VoidPtr___destroy___0"] = createExportWrapper("emscripten_bind_VoidPtr___destroy___0");
@@ -2747,7 +2704,6 @@ var createEMSCModule = (() => {
2747
2704
  var dynCall_iiijiii = Module["dynCall_iiijiii"] = createExportWrapper("dynCall_iiijiii");
2748
2705
  var dynCall_j = Module["dynCall_j"] = createExportWrapper("dynCall_j");
2749
2706
  var dynCall_jiji = Module["dynCall_jiji"] = createExportWrapper("dynCall_jiji");
2750
- var dynCall_iij = Module["dynCall_iij"] = createExportWrapper("dynCall_iij");
2751
2707
  var dynCall_viij = Module["dynCall_viij"] = createExportWrapper("dynCall_viij");
2752
2708
  var dynCall_viiji = Module["dynCall_viiji"] = createExportWrapper("dynCall_viiji");
2753
2709
  var dynCall_viijii = Module["dynCall_viijii"] = createExportWrapper("dynCall_viijii");