shinkom 1.0.1 → 1.0.2

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 (38) hide show
  1. package/README.md +4 -2
  2. package/dist/bundles/_virtual/_rolldown/runtime.js +1 -1
  3. package/dist/bundles/core/constants.d.ts +1 -1
  4. package/dist/bundles/core/constants.js +1 -1
  5. package/dist/bundles/core/event-bus.d.ts +1 -1
  6. package/dist/bundles/core/event-bus.js +1 -1
  7. package/dist/bundles/core/helpers.js +1 -1
  8. package/dist/bundles/core/index.d.ts +1 -1
  9. package/dist/bundles/core/index.js +1 -1
  10. package/dist/bundles/core/state-service.d.ts +1 -1
  11. package/dist/bundles/core/state-service.js +1 -1
  12. package/dist/bundles/core/ui-component.d.ts +1 -1
  13. package/dist/bundles/core/ui-component.js +1 -1
  14. package/dist/bundles/engine/engine.d.ts +1 -1
  15. package/dist/bundles/engine/engine.js +1 -1
  16. package/dist/bundles/engine/index.js +1 -1
  17. package/dist/bundles/gen/browser-data.js +96 -96
  18. package/dist/bundles/gen/browser-usage-data.js +669 -669
  19. package/dist/bundles/gen/index.js +1 -1
  20. package/dist/bundles/index.d.ts +1 -1
  21. package/dist/bundles/index.js +1 -1
  22. package/dist/bundles/node_modules/@mdn/browser-compat-data/types.d.ts +1 -1
  23. package/dist/bundles/pkg/shinkore.d.ts +1 -1
  24. package/dist/bundles/pkg/shinkore.js +4 -1
  25. package/dist/bundles/pkg/shinkore_bg.wasm +0 -0
  26. package/dist/bundles/shinkom.d.ts +1 -1
  27. package/dist/bundles/shinkom.js +1 -1
  28. package/dist/bundles/ui/compat-ui/compat-ui.d.ts +1 -1
  29. package/dist/bundles/ui/compat-ui/compat-ui.js +1 -1
  30. package/dist/bundles/ui/control-panel/control-panel.d.ts +1 -1
  31. package/dist/bundles/ui/control-panel/control-panel.js +1 -1
  32. package/dist/bundles/ui/index.d.ts +1 -1
  33. package/dist/bundles/ui/index.js +1 -1
  34. package/dist/bundles/ui/inspector/inspector.d.ts +1 -1
  35. package/dist/bundles/ui/inspector/inspector.js +1 -1
  36. package/dist/modules/pkg/shinkore.cjs +1 -1
  37. package/dist/modules/pkg/shinkore_bg.wasm +0 -0
  38. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - gen
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - index
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - index
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - browser-compat-data
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - pkg
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - pkg
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -253,6 +253,9 @@ function __wbg_get_imports() {
253
253
  __wbg_value_ee3a06f4579184fa: function(arg0) {
254
254
  return arg0.value;
255
255
  },
256
+ __wbg_warn_3cc416af27dbdc02: function(arg0) {
257
+ console.warn(arg0);
258
+ },
256
259
  __wbindgen_cast_0000000000000001: function(arg0) {
257
260
  return arg0;
258
261
  },
Binary file
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - shinkom
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - shinkom
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - compat-ui
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - compat-ui
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - control-panel
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - control-panel
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - ui
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - ui
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - inspector
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Shinkom - inspector
3
- * @version 1.0.0
3
+ * @version 1.0.2
4
4
  * @license MIT
5
5
  * @copyright 2026 - OneilNvM
6
6
  */
@@ -1 +1 @@
1
- var e=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,n.unregister(this),e}free(){let e=this.__destroy_into_raw();b.__wbg_compatengine_free(e,0)}check_element(e){let t=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),n=y,r=b.compatengine_check_element(this.__wbg_ptr,t,n);if(r[2])throw m(r[1]);return m(r[0])}check_elements(e,t){let n=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),r=y,i=b.compatengine_check_elements(this.__wbg_ptr,n,r,t);if(i[2])throw m(i[1]);return m(i[0])}full_inspect(e){let t=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),n=y,r=b.compatengine_full_inspect(this.__wbg_ptr,t,n);if(r[2])throw m(r[1]);return m(r[0])}constructor(e,t,r,i){return this.__wbg_ptr=b.compatengine_new(e,t,r,i)>>>0,n.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(e.prototype[Symbol.dispose]=e.prototype.free);function t(){let e={__proto__:null,__wbg_Error_960c155d3d49e4c2:function(e,t){return Error(c(e,t))},__wbg_String_8564e559799eccda:function(e,t){let n=p(String(t),b.__wbindgen_malloc,b.__wbindgen_realloc),r=y;s().setInt32(e+4,r,!0),s().setInt32(e+0,n,!0)},__wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51:function(e,t){let n=t,r=typeof n==`bigint`?n:void 0;s().setBigInt64(e+8,f(r)?BigInt(0):r,!0),s().setInt32(e+0,!f(r),!0)},__wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff:function(e){let t=e,n=typeof t==`boolean`?t:void 0;return f(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_ab4b34d23d6778bd:function(e,t){let n=p(i(t),b.__wbindgen_malloc,b.__wbindgen_realloc),r=y;s().setInt32(e+4,r,!0),s().setInt32(e+0,n,!0)},__wbg___wbindgen_in_a5d8b22e52b24dd1:function(e,t){return e in t},__wbg___wbindgen_is_bigint_ec25c7f91b4d9e93:function(e){return typeof e==`bigint`},__wbg___wbindgen_is_function_3baa9db1a987f47d:function(e){return typeof e==`function`},__wbg___wbindgen_is_object_63322ec0cd6ea4ef:function(e){let t=e;return typeof t==`object`&&!!t},__wbg___wbindgen_is_string_6df3bf7ef1164ed3:function(e){return typeof e==`string`},__wbg___wbindgen_is_undefined_29a43b4d42920abd:function(e){return e===void 0},__wbg___wbindgen_jsval_eq_d3465d8a07697228:function(e,t){return e===t},__wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c:function(e,t){return e==t},__wbg___wbindgen_number_get_c7f42aed0525c451:function(e,t){let n=t,r=typeof n==`number`?n:void 0;s().setFloat64(e+8,f(r)?0:r,!0),s().setInt32(e+0,!f(r),!0)},__wbg___wbindgen_string_get_7ed5322991caaec5:function(e,t){let n=t,r=typeof n==`string`?n:void 0;var i=f(r)?0:p(r,b.__wbindgen_malloc,b.__wbindgen_realloc),a=y;s().setInt32(e+4,a,!0),s().setInt32(e+0,i,!0)},__wbg___wbindgen_throw_6b64449b9b9ed33c:function(e,t){throw Error(c(e,t))},__wbg_call_14b169f759b26747:function(){return d(function(e,t){return e.call(t)},arguments)},__wbg_done_9158f7cc8751ba32:function(e){return e.done},__wbg_entries_e0b73aa8571ddb56:function(e){return Object.entries(e)},__wbg_error_2001591ad2463697:function(e){console.error(e)},__wbg_get_1affdbdd5573b16a:function(){return d(function(e,t){return Reflect.get(e,t)},arguments)},__wbg_get_8360291721e2339f:function(e,t){return e[t>>>0]},__wbg_get_unchecked_17f53dad852b9588:function(e,t){return e[t>>>0]},__wbg_get_with_ref_key_6412cf3094599694:function(e,t){return e[t]},__wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3:function(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t},__wbg_instanceof_Map_1b76fd4635be43eb:function(e){let t;try{t=e instanceof Map}catch{t=!1}return t},__wbg_instanceof_Uint8Array_152ba1f289edcf3f:function(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t},__wbg_isArray_c3109d14ffc06469:function(e){return Array.isArray(e)},__wbg_isSafeInteger_4fc213d1989d6d2a:function(e){return Number.isSafeInteger(e)},__wbg_iterator_013bc09ec998c2a7:function(){return Symbol.iterator},__wbg_length_3d4ecd04bd8d22f1:function(e){return e.length},__wbg_length_9f1775224cf1d815:function(e){return e.length},__wbg_new_0c7403db6e782f19:function(e){return new Uint8Array(e)},__wbg_new_34d45cc8e36aaead:function(){return new Map},__wbg_new_682678e2f47e32bc:function(){return[]},__wbg_new_aa8d0fa9762c29bd:function(){return{}},__wbg_next_0340c4ae324393c3:function(){return d(function(e){return e.next()},arguments)},__wbg_next_7646edaa39458ef7:function(e){return e.next},__wbg_prototypesetcall_a6b02eb00b0f4ce2:function(e,t,n){Uint8Array.prototype.set.call(a(e,t),n)},__wbg_set_3bf1de9fab0cd644:function(e,t,n){e[t>>>0]=n},__wbg_set_6be42768c690e380:function(e,t,n){e[t]=n},__wbg_set_fde2cec06c23692b:function(e,t,n){return e.set(t,n)},__wbg_value_ee3a06f4579184fa:function(e){return e.value},__wbindgen_cast_0000000000000001:function(e){return e},__wbindgen_cast_0000000000000002:function(e){return e},__wbindgen_cast_0000000000000003:function(e,t){return c(e,t)},__wbindgen_cast_0000000000000004:function(e){return BigInt.asUintN(64,e)},__wbindgen_init_externref_table:function(){let e=b.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}};return{__proto__:null,"./shinkore_bg.js":e}}const n=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>b.__wbg_compatengine_free(e>>>0,1));function r(e){let t=b.__externref_table_alloc();return b.__wbindgen_externrefs.set(t,e),t}function i(e){let t=typeof e;if(t==`number`||t==`boolean`||e==null)return`${e}`;if(t==`string`)return`"${e}"`;if(t==`symbol`){let t=e.description;return t==null?`Symbol`:`Symbol(${t})`}if(t==`function`){let t=e.name;return typeof t==`string`&&t.length>0?`Function(${t})`:`Function`}if(Array.isArray(e)){let t=e.length,n=`[`;t>0&&(n+=i(e[0]));for(let r=1;r<t;r++)n+=`, `+i(e[r]);return n+=`]`,n}let n=/\[object ([^\]]+)\]/.exec(toString.call(e)),r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r==`Object`)try{return`Object(`+JSON.stringify(e)+`)`}catch{return`Object`}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:r}function a(e,t){return e>>>=0,u().subarray(e/1,e/1+t)}let o=null;function s(){return(o===null||o.buffer.detached===!0||o.buffer.detached===void 0&&o.buffer!==b.memory.buffer)&&(o=new DataView(b.memory.buffer)),o}function c(e,t){return e>>>=0,_(e,t)}let l=null;function u(){return(l===null||l.byteLength===0)&&(l=new Uint8Array(b.memory.buffer)),l}function d(e,t){try{return e.apply(this,t)}catch(e){let t=r(e);b.__wbindgen_exn_store(t)}}function f(e){return e==null}function p(e,t,n){if(n===void 0){let n=v.encode(e),r=t(n.length,1)>>>0;return u().subarray(r,r+n.length).set(n),y=n.length,r}let r=e.length,i=t(r,1)>>>0,a=u(),o=0;for(;o<r;o++){let t=e.charCodeAt(o);if(t>127)break;a[i+o]=t}if(o!==r){o!==0&&(e=e.slice(o)),i=n(i,r,r=o+e.length*3,1)>>>0;let t=u().subarray(i+o,i+r),a=v.encodeInto(e,t);o+=a.written,i=n(i,r,o,1)>>>0}return y=o,i}function m(e){let t=b.__wbindgen_externrefs.get(e);return b.__externref_table_dealloc(e),t}let h=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0});h.decode();let g=0;function _(e,t){return g+=t,g>=2146435072&&(h=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0}),h.decode(),g=t),h.decode(u().subarray(e,e+t))}const v=new TextEncoder;`encodeInto`in v||(v.encodeInto=function(e,t){let n=v.encode(e);return t.set(n),{read:e.length,written:n.length}});let y=0,b;function x(e,t){return b=e.exports,o=null,l=null,b.__wbindgen_start(),b}async function S(e,t){if(typeof Response==`function`&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming==`function`)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&n(e.type)&&e.headers.get(`Content-Type`)!==`application/wasm`)console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t);else throw t}let r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}function n(e){switch(e){case`basic`:case`cors`:case`default`:return!0}return!1}}async function C(e){if(b!==void 0)return b;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn(`using deprecated parameters for the initialization function; pass a single object instead`)),e===void 0&&(e=new URL(`shinkore_bg.wasm`,{}.url));let n=t();(typeof e==`string`||typeof Request==`function`&&e instanceof Request||typeof URL==`function`&&e instanceof URL)&&(e=fetch(e));let{instance:r,module:i}=await S(await e,n);return x(r,i)}exports.CompatEngine=e,exports.__wbg_init=C;
1
+ var e=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,n.unregister(this),e}free(){let e=this.__destroy_into_raw();b.__wbg_compatengine_free(e,0)}check_element(e){let t=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),n=y,r=b.compatengine_check_element(this.__wbg_ptr,t,n);if(r[2])throw m(r[1]);return m(r[0])}check_elements(e,t){let n=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),r=y,i=b.compatengine_check_elements(this.__wbg_ptr,n,r,t);if(i[2])throw m(i[1]);return m(i[0])}full_inspect(e){let t=p(e,b.__wbindgen_malloc,b.__wbindgen_realloc),n=y,r=b.compatengine_full_inspect(this.__wbg_ptr,t,n);if(r[2])throw m(r[1]);return m(r[0])}constructor(e,t,r,i){return this.__wbg_ptr=b.compatengine_new(e,t,r,i)>>>0,n.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(e.prototype[Symbol.dispose]=e.prototype.free);function t(){let e={__proto__:null,__wbg_Error_960c155d3d49e4c2:function(e,t){return Error(c(e,t))},__wbg_String_8564e559799eccda:function(e,t){let n=p(String(t),b.__wbindgen_malloc,b.__wbindgen_realloc),r=y;s().setInt32(e+4,r,!0),s().setInt32(e+0,n,!0)},__wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51:function(e,t){let n=t,r=typeof n==`bigint`?n:void 0;s().setBigInt64(e+8,f(r)?BigInt(0):r,!0),s().setInt32(e+0,!f(r),!0)},__wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff:function(e){let t=e,n=typeof t==`boolean`?t:void 0;return f(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_ab4b34d23d6778bd:function(e,t){let n=p(i(t),b.__wbindgen_malloc,b.__wbindgen_realloc),r=y;s().setInt32(e+4,r,!0),s().setInt32(e+0,n,!0)},__wbg___wbindgen_in_a5d8b22e52b24dd1:function(e,t){return e in t},__wbg___wbindgen_is_bigint_ec25c7f91b4d9e93:function(e){return typeof e==`bigint`},__wbg___wbindgen_is_function_3baa9db1a987f47d:function(e){return typeof e==`function`},__wbg___wbindgen_is_object_63322ec0cd6ea4ef:function(e){let t=e;return typeof t==`object`&&!!t},__wbg___wbindgen_is_string_6df3bf7ef1164ed3:function(e){return typeof e==`string`},__wbg___wbindgen_is_undefined_29a43b4d42920abd:function(e){return e===void 0},__wbg___wbindgen_jsval_eq_d3465d8a07697228:function(e,t){return e===t},__wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c:function(e,t){return e==t},__wbg___wbindgen_number_get_c7f42aed0525c451:function(e,t){let n=t,r=typeof n==`number`?n:void 0;s().setFloat64(e+8,f(r)?0:r,!0),s().setInt32(e+0,!f(r),!0)},__wbg___wbindgen_string_get_7ed5322991caaec5:function(e,t){let n=t,r=typeof n==`string`?n:void 0;var i=f(r)?0:p(r,b.__wbindgen_malloc,b.__wbindgen_realloc),a=y;s().setInt32(e+4,a,!0),s().setInt32(e+0,i,!0)},__wbg___wbindgen_throw_6b64449b9b9ed33c:function(e,t){throw Error(c(e,t))},__wbg_call_14b169f759b26747:function(){return d(function(e,t){return e.call(t)},arguments)},__wbg_done_9158f7cc8751ba32:function(e){return e.done},__wbg_entries_e0b73aa8571ddb56:function(e){return Object.entries(e)},__wbg_error_2001591ad2463697:function(e){console.error(e)},__wbg_get_1affdbdd5573b16a:function(){return d(function(e,t){return Reflect.get(e,t)},arguments)},__wbg_get_8360291721e2339f:function(e,t){return e[t>>>0]},__wbg_get_unchecked_17f53dad852b9588:function(e,t){return e[t>>>0]},__wbg_get_with_ref_key_6412cf3094599694:function(e,t){return e[t]},__wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3:function(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t},__wbg_instanceof_Map_1b76fd4635be43eb:function(e){let t;try{t=e instanceof Map}catch{t=!1}return t},__wbg_instanceof_Uint8Array_152ba1f289edcf3f:function(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t},__wbg_isArray_c3109d14ffc06469:function(e){return Array.isArray(e)},__wbg_isSafeInteger_4fc213d1989d6d2a:function(e){return Number.isSafeInteger(e)},__wbg_iterator_013bc09ec998c2a7:function(){return Symbol.iterator},__wbg_length_3d4ecd04bd8d22f1:function(e){return e.length},__wbg_length_9f1775224cf1d815:function(e){return e.length},__wbg_new_0c7403db6e782f19:function(e){return new Uint8Array(e)},__wbg_new_34d45cc8e36aaead:function(){return new Map},__wbg_new_682678e2f47e32bc:function(){return[]},__wbg_new_aa8d0fa9762c29bd:function(){return{}},__wbg_next_0340c4ae324393c3:function(){return d(function(e){return e.next()},arguments)},__wbg_next_7646edaa39458ef7:function(e){return e.next},__wbg_prototypesetcall_a6b02eb00b0f4ce2:function(e,t,n){Uint8Array.prototype.set.call(a(e,t),n)},__wbg_set_3bf1de9fab0cd644:function(e,t,n){e[t>>>0]=n},__wbg_set_6be42768c690e380:function(e,t,n){e[t]=n},__wbg_set_fde2cec06c23692b:function(e,t,n){return e.set(t,n)},__wbg_value_ee3a06f4579184fa:function(e){return e.value},__wbg_warn_3cc416af27dbdc02:function(e){console.warn(e)},__wbindgen_cast_0000000000000001:function(e){return e},__wbindgen_cast_0000000000000002:function(e){return e},__wbindgen_cast_0000000000000003:function(e,t){return c(e,t)},__wbindgen_cast_0000000000000004:function(e){return BigInt.asUintN(64,e)},__wbindgen_init_externref_table:function(){let e=b.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}};return{__proto__:null,"./shinkore_bg.js":e}}const n=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>b.__wbg_compatengine_free(e>>>0,1));function r(e){let t=b.__externref_table_alloc();return b.__wbindgen_externrefs.set(t,e),t}function i(e){let t=typeof e;if(t==`number`||t==`boolean`||e==null)return`${e}`;if(t==`string`)return`"${e}"`;if(t==`symbol`){let t=e.description;return t==null?`Symbol`:`Symbol(${t})`}if(t==`function`){let t=e.name;return typeof t==`string`&&t.length>0?`Function(${t})`:`Function`}if(Array.isArray(e)){let t=e.length,n=`[`;t>0&&(n+=i(e[0]));for(let r=1;r<t;r++)n+=`, `+i(e[r]);return n+=`]`,n}let n=/\[object ([^\]]+)\]/.exec(toString.call(e)),r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r==`Object`)try{return`Object(`+JSON.stringify(e)+`)`}catch{return`Object`}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:r}function a(e,t){return e>>>=0,u().subarray(e/1,e/1+t)}let o=null;function s(){return(o===null||o.buffer.detached===!0||o.buffer.detached===void 0&&o.buffer!==b.memory.buffer)&&(o=new DataView(b.memory.buffer)),o}function c(e,t){return e>>>=0,_(e,t)}let l=null;function u(){return(l===null||l.byteLength===0)&&(l=new Uint8Array(b.memory.buffer)),l}function d(e,t){try{return e.apply(this,t)}catch(e){let t=r(e);b.__wbindgen_exn_store(t)}}function f(e){return e==null}function p(e,t,n){if(n===void 0){let n=v.encode(e),r=t(n.length,1)>>>0;return u().subarray(r,r+n.length).set(n),y=n.length,r}let r=e.length,i=t(r,1)>>>0,a=u(),o=0;for(;o<r;o++){let t=e.charCodeAt(o);if(t>127)break;a[i+o]=t}if(o!==r){o!==0&&(e=e.slice(o)),i=n(i,r,r=o+e.length*3,1)>>>0;let t=u().subarray(i+o,i+r),a=v.encodeInto(e,t);o+=a.written,i=n(i,r,o,1)>>>0}return y=o,i}function m(e){let t=b.__wbindgen_externrefs.get(e);return b.__externref_table_dealloc(e),t}let h=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0});h.decode();let g=0;function _(e,t){return g+=t,g>=2146435072&&(h=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0}),h.decode(),g=t),h.decode(u().subarray(e,e+t))}const v=new TextEncoder;`encodeInto`in v||(v.encodeInto=function(e,t){let n=v.encode(e);return t.set(n),{read:e.length,written:n.length}});let y=0,b;function x(e,t){return b=e.exports,o=null,l=null,b.__wbindgen_start(),b}async function S(e,t){if(typeof Response==`function`&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming==`function`)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&n(e.type)&&e.headers.get(`Content-Type`)!==`application/wasm`)console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t);else throw t}let r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}function n(e){switch(e){case`basic`:case`cors`:case`default`:return!0}return!1}}async function C(e){if(b!==void 0)return b;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn(`using deprecated parameters for the initialization function; pass a single object instead`)),e===void 0&&(e=new URL(`shinkore_bg.wasm`,{}.url));let n=t();(typeof e==`string`||typeof Request==`function`&&e instanceof Request||typeof URL==`function`&&e instanceof URL)&&(e=fetch(e));let{instance:r,module:i}=await S(await e,n);return x(r,i)}exports.CompatEngine=e,exports.__wbg_init=C;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shinkom",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A cross-browser compatibility library for developers",
5
5
  "license": "MIT",
6
6
  "author": "OneilNvM <oneil324@outlook.com>",