@brust/core-cf 0.0.0-stage → 2.0.0-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,26 @@
1
1
  {
2
2
  "name": "@brust/core-cf",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "2.0.0-alpha.4",
4
+ "description": "brust v2 on Cloudflare Workers — the prebuilt workers-rs host (wasm) that @brust/core's Cloudflare build target links",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/AssetsArt/brust.git"
9
+ },
10
+ "files": [
11
+ "worker",
12
+ "README.md"
13
+ ],
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "brust": {
18
+ "abi": 1,
19
+ "main": "index.js",
20
+ "glue": "index.js",
21
+ "appModuleDir": ".",
22
+ "compatibilityDate": "2026-10-01",
23
+ "workerBuild": "0.8.7",
24
+ "wasmBindgen": "0.2.129"
25
+ }
26
+ }
@@ -0,0 +1,2 @@
1
+ import{WorkerEntrypoint as Fe}from"cloudflare:workers";var B=globalThis.__worker_init_state={criticalError:!1,instanceId:0};import{action as te,install as _e,jobs as ne,loader as re,CONFIG as se,MANIFEST as ie,TEMPLATES as oe}from"./brust-app.js";import H from"./index_bg.wasm";var m=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,le.unregister(this),e}free(){let e=this.__destroy_into_raw();o();try{s.__wbg_containerstartupoptions_free(e,0)}catch(t){i(t)}}get enableInternet(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_containerstartupoptions_enableInternet(this.__wbg_ptr)}catch(t){i(t)}return e===16777215?void 0:e!==0}get entrypoint(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_containerstartupoptions_entrypoint(this.__wbg_ptr)}catch(_){i(_)}var t=Ie(e[0],e[1]);return s.__wbindgen_free(e[0],e[1]*4,4),t}get env(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_containerstartupoptions_env(this.__wbg_ptr)}catch(t){i(t)}return e}set enableInternet(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.__wbg_set_containerstartupoptions_enableInternet(this.__wbg_ptr,u(e)?16777215:e?1:0)}catch(t){i(t)}}set entrypoint(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let t=xe(e,s.__wbindgen_malloc),_=l;o();try{s.__wbg_set_containerstartupoptions_entrypoint(this.__wbg_ptr,t,_)}catch(r){i(r)}}set env(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.__wbg_set_containerstartupoptions_env(this.__wbg_ptr,e)}catch(t){i(t)}}};Symbol.dispose&&(m.prototype[Symbol.dispose]=m.prototype.free);var W=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,he.unregister(this),e}free(){let e=this.__destroy_into_raw();o();try{s.__wbg_intounderlyingbytesource_free(e,0)}catch(t){i(t)}}get autoAllocateChunkSize(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)}catch(t){i(t)}return e>>>0}cancel(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e=this.__destroy_into_raw();o();try{s.intounderlyingbytesource_cancel(e)}catch(t){i(t)}}pull(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let t;o();try{t=s.intounderlyingbytesource_pull(this.__wbg_ptr,e)}catch(_){i(_)}return t}start(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.intounderlyingbytesource_start(this.__wbg_ptr,e)}catch(t){i(t)}}get type(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.intounderlyingbytesource_type(this.__wbg_ptr)}catch(t){i(t)}return ge[e]}};Symbol.dispose&&(W.prototype[Symbol.dispose]=W.prototype.free);var A=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ye.unregister(this),e}free(){let e=this.__destroy_into_raw();o();try{s.__wbg_intounderlyingsink_free(e,0)}catch(t){i(t)}}abort(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let t=this.__destroy_into_raw(),_;o();try{_=s.intounderlyingsink_abort(t,e)}catch(r){i(r)}return _}close(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e=this.__destroy_into_raw(),t;o();try{t=s.intounderlyingsink_close(e)}catch(_){i(_)}return t}write(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let t;o();try{t=s.intounderlyingsink_write(this.__wbg_ptr,e)}catch(_){i(_)}return t}};Symbol.dispose&&(A.prototype[Symbol.dispose]=A.prototype.free);var T=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,pe.unregister(this),e}free(){let e=this.__destroy_into_raw();o();try{s.__wbg_intounderlyingsource_free(e,0)}catch(t){i(t)}}cancel(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e=this.__destroy_into_raw();o();try{s.intounderlyingsource_cancel(e)}catch(t){i(t)}}pull(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let t;o();try{t=s.intounderlyingsource_pull(this.__wbg_ptr,e)}catch(_){i(_)}return t}};Symbol.dispose&&(T.prototype[Symbol.dispose]=T.prototype.free);var v=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,me.unregister(this),e}free(){let e=this.__destroy_into_raw();o();try{s.__wbg_minifyconfig_free(e,0)}catch(t){i(t)}}get css(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_minifyconfig_css(this.__wbg_ptr)}catch(t){i(t)}return e!==0}get html(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_minifyconfig_html(this.__wbg_ptr)}catch(t){i(t)}return e!==0}get js(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_minifyconfig_js(this.__wbg_ptr)}catch(t){i(t)}return e!==0}set css(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.__wbg_set_minifyconfig_css(this.__wbg_ptr,e)}catch(t){i(t)}}set html(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.__wbg_set_minifyconfig_html(this.__wbg_ptr,e)}catch(t){i(t)}}set js(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.__wbg_set_minifyconfig_js(this.__wbg_ptr,e)}catch(t){i(t)}}};Symbol.dispose&&(v.prototype[Symbol.dispose]=v.prototype.free);var I=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ve.unregister(this),e}free(){let e=this.__destroy_into_raw();o();try{s.__wbg_r2range_free(e,0)}catch(t){i(t)}}get length(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_r2range_length(this.__wbg_ptr)}catch(t){i(t)}return e[0]===0?void 0:e[1]}get offset(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_r2range_offset(this.__wbg_ptr)}catch(t){i(t)}return e[0]===0?void 0:e[1]}get suffix(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");let e;o();try{e=s.__wbg_get_r2range_suffix(this.__wbg_ptr)}catch(t){i(t)}return e[0]===0?void 0:e[1]}set length(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.__wbg_set_r2range_length(this.__wbg_ptr,!u(e),u(e)?0:e)}catch(t){i(t)}}set offset(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.__wbg_set_r2range_offset(this.__wbg_ptr,!u(e),u(e)?0:e)}catch(t){i(t)}}set suffix(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==c)throw new Error("Invalid stale object from previous Wasm instance");o();try{s.__wbg_set_r2range_suffix(this.__wbg_ptr,!u(e),u(e)?0:e)}catch(t){i(t)}}};Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);function G(){c++,y=null,x=null,E=null,typeof numBytesDecoded<"u"&&(numBytesDecoded=0),typeof l<"u"&&(l=0),N=!1,O=!1,D=new WebAssembly.Instance(H,Y()),s=D.exports,s.__wbindgen_start()}function K(){let n;o();try{n=s.__worker_init_state()}catch(e){i(e)}return n}function Q(n,e,t){let _;o();try{_=s.fetch(n,e,t)}catch(r){i(r)}return _}function X(){o();try{s.start()}catch(n){i(n)}}function Y(){return{__proto__:null,"./index_bg.js":{__proto__:null,__wbg_String_8564e559799eccda:function(e,t){let _=String(t),r=p(_,s.__wbindgen_malloc,s.__wbindgen_realloc),f=l;b().setInt32(e+4,f,!0),b().setInt32(e+0,r,!0)},__wbg___wbindgen_debug_string_4687d8d8c2017d52:function(e,t){let _=C(t),r=p(_,s.__wbindgen_malloc,s.__wbindgen_realloc),f=l;b().setInt32(e+4,f,!0),b().setInt32(e+0,r,!0)},__wbg___wbindgen_is_function_1f9d30630b8b1d3d:function(e){return typeof e=="function"},__wbg___wbindgen_is_null_or_undefined_f9435d56bdcc06df:function(e){return e==null},__wbg___wbindgen_is_object_3c45d4f2dde4e749:function(e){let t=e;return typeof t=="object"&&t!==null},__wbg___wbindgen_is_undefined_8865fb403f8fe9d8:function(e){return e===void 0},__wbg___wbindgen_number_get_2e0e7dee9f701a71:function(e,t){let _=t,r=typeof _=="number"?_:void 0;b().setFloat64(e+8,u(r)?0:r,!0),b().setInt32(e+0,!u(r),!0)},__wbg___wbindgen_panic_error_1da2bf9da04e868c:function(e){return new V(e)},__wbg___wbindgen_reinit_3f79fdb34dee3ea9:function(){O=!0},__wbg___wbindgen_rethrow_cb2e88c6b2a16733:function(e){throw new WebAssembly.Exception(R,[e])},__wbg___wbindgen_string_get_0380ccaa2f57f0d9:function(e,t){let _=t,r=typeof _=="string"?_:void 0;var f=u(r)?0:p(r,s.__wbindgen_malloc,s.__wbindgen_realloc),a=l;b().setInt32(e+4,a,!0),b().setInt32(e+0,f,!0)},__wbg___wbindgen_throw_41e9ee4f547fc59a:function(e,t){throw new WebAssembly.Exception(R,[new Error(g(e,t))])},__wbg__wbg_cb_unref_dcc1a90847f04c41:function(e){e._wbg_cb_unref()},__wbg_action_dd6841c5b1985c44:function(e){return te(e)},__wbg_append_1938ed58fb5613b8:function(e,t,_,r,f){e.append(g(t,_),g(r,f))},__wbg_body_4792166cb351f162:function(e){let t=e.body;return u(t)?0:w(t)},__wbg_body_4e088733babc630d:function(e){let t=e.body;return u(t)?0:w(t)},__wbg_buffer_56ec2905a66f58b9:function(e){return e.buffer},__wbg_byobRequest_54f7ce41d584549a:function(e){let t=e.byobRequest;return u(t)?0:w(t)},__wbg_byteLength_9f985b8373f1f3fe:function(e){return e.byteLength},__wbg_byteOffset_0bd5a6a03553639c:function(e){return e.byteOffset},__wbg_call_187d372bd5fdd4aa:function(e,t,_){return e.call(t,_)},__wbg_call_939a2607c4484b0b:function(e,t,_,r,f){return e.call(t,_,r,f)},__wbg_cancel_7c2a08c8db4c73f3:function(e){return e.cancel()},__wbg_catch_92594c2d17f55f12:function(e,t){return e.catch(t)},__wbg_cause_19276d032a32d4bd:function(e){return e.cause},__wbg_cf_909bcfb212a8822c:function(e){let t=e.cf;return u(t)?0:w(t)},__wbg_cf_b47fe5ff6d015a0d:function(e){let t=e.cf;return u(t)?0:w(t)},__wbg_clearTimeout_d49a4afcd9b218b7:function(e,t){e.clearTimeout(t)},__wbg_close_185286988f30f252:function(e){e.close()},__wbg_close_748f26698dabe269:function(e){e.close()},__wbg_done_b41a1d26cdb37fb6:function(e){return e.done},__wbg_enqueue_4a01c128f9a0de16:function(e,t){e.enqueue(t)},__wbg_entries_b55ec7e0dc443355:function(e){return e.entries()},__wbg_entries_fb6397112b1de25f:function(e){return Object.entries(e)},__wbg_error_a30e98d44009f1bb:function(e,t){console.error(e,t)},__wbg_error_c9cf3fc2064683a9:function(e){console.error(e)},__wbg_getReader_bf34f92ee19c42b4:function(e){return e.getReader()},__wbg_get_31af05bd4842a84f:function(e,t){return Reflect.get(e,t)},__wbg_get_6c896e0571ddae51:function(e,t){return e[t>>>0]},__wbg_get_88983e33467eae60:function(e,t){let _=Reflect.get(e,t);return u(_)?0:w(_)},__wbg_get_done_7020b91c987365c7:function(e){let t=e.done;return u(t)?16777215:t?1:0},__wbg_get_f75619e20cb68514:function(e,t,_,r){let f=t.get(g(_,r));var a=u(f)?0:p(f,s.__wbindgen_malloc,s.__wbindgen_realloc),d=l;b().setInt32(e+4,d,!0),b().setInt32(e+0,a,!0)},__wbg_get_unchecked_288889d017702237:function(e,t){return e[t>>>0]},__wbg_get_value_87fbd6ad1283f2e7:function(e){return e.value},__wbg_headers_6930a8bd09b630de:function(e){return e.headers},__wbg_headers_eba93595f8944c2f:function(e){return e.headers},__wbg_install_ccd39446ab4d7897:function(e){return _e(e)},__wbg_instanceId_9b67ff33ae8bef8a:function(e){return e.instanceId},__wbg_instanceof_Error_80a725f81f2e102d:function(e){let t;try{t=e instanceof Error}catch{t=!1}return t},__wbg_instanceof_Promise_e1dc6893aa1ece28:function(e){let t;try{t=e instanceof Promise}catch{t=!1}return t},__wbg_instanceof_ReadableStream_e2d77912575119ab:function(e){let t;try{t=e instanceof ReadableStream}catch{t=!1}return t},__wbg_instanceof_Response_b8758567269c30b2:function(e){let t;try{t=e instanceof Response}catch{t=!1}return t},__wbg_instanceof_Uint8Array_828cef2aaacafc31:function(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t},__wbg_jobs_984f6062bd44e70e:function(e,t){return ne(g(e,t))},__wbg_length_7f3c00c40364105e:function(e){return e.length},__wbg_length_d4bdea10311bd9cf:function(e){return e.length},__wbg_loader_3639aca49088de33:function(e,t){return re(g(e,t))},__wbg_message_5f8387f0c32b90a7:function(e){return e.message},__wbg_method_6d02ee0808a7de31:function(e,t){let _=t.method,r=p(_,s.__wbindgen_malloc,s.__wbindgen_realloc),f=l;b().setInt32(e+4,f,!0),b().setInt32(e+0,r,!0)},__wbg_name_e2eac7cdfa054f65:function(e){return e.name},__wbg_new_2bdcdfcebdfc34d2:function(e,t){return new TypeError(g(e,t))},__wbg_new_343a093a3c2ffb4e:function(e,t){return new Error(g(e,t))},__wbg_new_5502aad30c185fc8:function(e,t){try{var _={a:e,b:t},r=(a,d)=>{let h=_.a;_.a=0;try{return de(h,_.b,a,d)}finally{_.a=h}};return new Promise(r)}finally{_.a=0}},__wbg_new_617a8cdb8bb1130e:function(){return new Object},__wbg_new_83ca405eae412a62:function(){return new Headers},__wbg_new_from_slice_9a868026ffa4208a:function(e,t){return new Uint8Array(P(e,t))},__wbg_new_with_byte_offset_and_length_2f5d7fc2a828b74d:function(e,t,_){return new Uint8Array(e,t>>>0,_>>>0)},__wbg_new_with_length_3da0ad195f6f63ba:function(e){return new Uint8Array(e>>>0)},__wbg_new_with_opt_buffer_source_and_init_c1b859a23c80afca:function(e,t){return new Response(e,t)},__wbg_new_with_opt_readable_stream_and_init_df114f2d364f216d:function(e,t){return new Response(e,t)},__wbg_new_with_opt_str_and_init_33bef1b272950372:function(e,t,_){return new Response(e===0?void 0:g(e,t),_)},__wbg_new_with_str_and_init_4618dee4e950224f:function(e,t,_){return new Request(g(e,t),_)},__wbg_next_f4aac29c42af995c:function(e){return e.next()},__wbg_now_aa4ccb83129e9e55:function(){return Date.now()},__wbg_prototypesetcall_bc27214492979395:function(e,t,_){Uint8Array.prototype.set.call(P(e,t),_)},__wbg_queueMicrotask_9833f9a49df95a49:function(e){return e.queueMicrotask},__wbg_queueMicrotask_a72f977e97f23c5f:function(e){queueMicrotask(e)},__wbg_read_2a943774344c9728:function(e){return e.read()},__wbg_releaseLock_eb64cd83aa9fcfe4:function(e){e.releaseLock()},__wbg_resolve_0076e10020304ede:function(e){return Promise.resolve(e)},__wbg_respond_c102fabcc79e5ef0:function(e,t){e.respond(t>>>0)},__wbg_setTimeout_7fb1e1fe294b6ad9:function(e,t,_){return e.setTimeout(t,_)},__wbg_set_145a351398b48c65:function(e,t,_){return Reflect.set(e,t,_)},__wbg_set_575d3ddb70fe831d:function(e,t,_){e.set(P(t,_))},__wbg_set_body_1fb0f1008bfc7df6:function(e,t){e.body=t},__wbg_set_headers_40ad33dcf016613f:function(e,t){e.headers=t},__wbg_set_headers_69ef7c46a2e6c742:function(e,t){e.headers=t},__wbg_set_instanceId_9ad5caac0a4e519c:function(e,t){e.instanceId=t>>>0},__wbg_set_method_dcb32343247ec427:function(e,t,_){e.method=g(t,_)},__wbg_set_status_678f122cbe435d95:function(e,t){e.status=t},__wbg_static_accessor_CONFIG_8c269169bb20bead:function(){return se},__wbg_static_accessor_GLOBAL_266715b9d96ba635:function(){let e=typeof global>"u"?null:global;return u(e)?0:w(e)},__wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179:function(){let e=typeof globalThis>"u"?null:globalThis;return u(e)?0:w(e)},__wbg_static_accessor_INIT_STATE_e3fce2ad8a08e94e:function(){return B},__wbg_static_accessor_MANIFEST_dc28b0e2affbdce7:function(){return ie},__wbg_static_accessor_SELF_0b583911f537483a:function(){let e=typeof self>"u"?null:self;return u(e)?0:w(e)},__wbg_static_accessor_TEMPLATES_21bd7529f4acd43e:function(){return oe},__wbg_static_accessor_WINDOW_d7f903d1508cbdc4:function(){let e=typeof window>"u"?null:window;return u(e)?0:w(e)},__wbg_status_ce0a98d3c57125f3:function(e){return e.status},__wbg_stringify_52ff602c1cc4fbb6:function(e){return JSON.stringify(e)},__wbg_then_c949d5a25a4e78f8:function(e,t,_){return e.then(t,_)},__wbg_then_e71170d78fcf8954:function(e,t){return e.then(t)},__wbg_toString_83fab3d7c865ecd3:function(e){return e.toString()},__wbg_url_7bfada5c2297bc70:function(e,t){let _=t.url,r=p(_,s.__wbindgen_malloc,s.__wbindgen_realloc),f=l;b().setInt32(e+4,f,!0),b().setInt32(e+0,r,!0)},__wbg_value_f3c585ee8f5ba40c:function(e){return e.value},__wbg_view_9c570f33e8d6ab96:function(e){let t=e.view;return u(t)?0:w(t)},__wbg_warn_13abc63e0d4b3527:function(e){console.warn(e)},__wbg_webSocket_2b7e8e9549bed673:function(e){let t=e.webSocket;return u(t)?0:w(t)},__wbindgen_generic_0000000000000001:function(e,t){return z(e,t,we)},__wbindgen_generic_0000000000000002:function(e,t){return L(e,t,fe)},__wbindgen_generic_0000000000000003:function(e,t){return z(e,t,be)},__wbindgen_generic_0000000000000004:function(e,t){return z(e,t,ae)},__wbindgen_generic_0000000000000005:function(e,t){return L(e,t,ue)},__wbindgen_generic_0000000000000006:function(e,t){return L(e,t,ce)},__wbindgen_generic_0000000000000007:function(e){return e},__wbindgen_generic_0000000000000008:function(e,t){return g(e,t)},__wbindgen_init_externref_table:function(){let e=s.__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)},__wbindgen_jstag:WebAssembly.JSTag,__wbindgen_wrapped_jstag:R}}}var R=new WebAssembly.Tag({parameters:["externref"]}),U,N=!1;function Z(){N=!0;try{let n=q()[s.__abort_handler.value/4];n&&s.__wbindgen_export.get(n)()}catch{}}function i(n){throw n instanceof WebAssembly.Exception&&n.is(R)?n.getArg(R,0):(q()[U]=1,Z(),n)}function o(){if(U??=s.__instance_terminated.value/4,q()[U]){if(N||Z(),O){G();return}throw new Error("Module terminated")}else O&&G()}function ce(n,e){o();try{s.wasm_bindgen_fa3f0e7140540ffd___convert__closures_____invoke_______true_(n,e)}catch(t){i(t)}}function fe(n,e,t){o();try{s.wasm_bindgen_fa3f0e7140540ffd___convert__closures_____invoke___wasm_bindgen_fa3f0e7140540ffd___JsValue______true_(n,e,t)}catch(_){i(_)}}function ae(n,e,t){let _;o();try{_=s.wasm_bindgen_fa3f0e7140540ffd___convert__closures_____invoke___wasm_bindgen_fa3f0e7140540ffd___JsValue__bool__true_(n,e,t)}catch(r){i(r)}return _!==0}function ue(n,e,t){let _;o();try{_=s.wasm_bindgen_fa3f0e7140540ffd___convert__closures_____invoke___wasm_bindgen_fa3f0e7140540ffd___JsValue__core_b28dca560acf7347___result__Result_____wasm_bindgen_fa3f0e7140540ffd___JsError___true_(n,e,t)}catch(r){i(r)}if(_[1])throw S(_[0])}function be(n,e,t){let _;o();try{_=s.wasm_bindgen_fa3f0e7140540ffd___convert__closures_____invoke___wasm_bindgen_fa3f0e7140540ffd___JsValue__core_b28dca560acf7347___result__Result_wasm_bindgen_fa3f0e7140540ffd___JsValue__wasm_bindgen_fa3f0e7140540ffd___JsValue___true_(n,e,t)}catch(r){i(r)}if(_[2])throw S(_[1]);return S(_[0])}function de(n,e,t,_){o();try{s.wasm_bindgen_fa3f0e7140540ffd___convert__closures_____invoke___js_sys_f61272f5432720da___Function_fn_wasm_bindgen_fa3f0e7140540ffd___JsValue_____wasm_bindgen_fa3f0e7140540ffd___sys__Undefined___js_sys_f61272f5432720da___Function_fn_wasm_bindgen_fa3f0e7140540ffd___JsValue_____wasm_bindgen_fa3f0e7140540ffd___sys__Undefined_______true_(n,e,t,_)}catch(r){i(r)}}function we(n,e,t,_){let r;o();try{r=s.wasm_bindgen_fa3f0e7140540ffd___convert__closures_____invoke___wasm_bindgen_fa3f0e7140540ffd___JsValue__wasm_bindgen_fa3f0e7140540ffd___JsValue__core_b28dca560acf7347___result__Result_wasm_bindgen_fa3f0e7140540ffd___JsValue__wasm_bindgen_fa3f0e7140540ffd___JsValue___true_(n,e,t,_)}catch(f){i(f)}if(r[2])throw S(r[1]);return S(r[0])}var ge=["bytes"],c=0,le=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:n,instance:e})=>{e===c&&s.__wbg_containerstartupoptions_free(n,1)}),he=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:n,instance:e})=>{e===c&&s.__wbg_intounderlyingbytesource_free(n,1)}),ye=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:n,instance:e})=>{e===c&&s.__wbg_intounderlyingsink_free(n,1)}),pe=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:n,instance:e})=>{e===c&&s.__wbg_intounderlyingsource_free(n,1)}),me=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:n,instance:e})=>{e===c&&s.__wbg_minifyconfig_free(n,1)}),ve=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:n,instance:e})=>{e===c&&s.__wbg_r2range_free(n,1)});function w(n){let e=s.__externref_table_alloc();return s.__wbindgen_externrefs.set(e,n),e}var J=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{n.instance===c&&s.__wbindgen_destroy_closure(n.a,n.b)});function C(n){let e=typeof n;if(e=="number"||e=="boolean"||n==null)return`${n}`;if(e=="string")return`"${n}"`;if(e=="symbol"){let r=n.description;return r==null?"Symbol":`Symbol(${r})`}if(e=="function"){let r=n.name;return typeof r=="string"&&r.length>0?`Function(${r})`:"Function"}if(Array.isArray(n)){let r=n.length,f="[";r>0&&(f+=C(n[0]));for(let a=1;a<r;a++)f+=", "+C(n[a]);return f+="]",f}let t=/\[object ([^\]]+)\]/.exec(toString.call(n)),_;if(t&&t.length>1)_=t[1];else return toString.call(n);if(_=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
2
+ ${n.stack}`:_}function Ie(n,e){n=n>>>0;let t=b(),_=[];for(let r=n;r<n+4*e;r+=4)_.push(s.__wbindgen_externrefs.get(t.getUint32(r,!0)));return s.__externref_drop_slice(n,e),_}function P(n,e){return n=n>>>0,F().subarray(n/1,n/1+e)}var y=null;function b(){return(y===null||y.buffer.detached===!0||y.buffer.detached===void 0&&y.buffer!==s.memory.buffer)&&(y=new DataView(s.memory.buffer)),y}var x=null;function q(){return(x===null||x.byteLength===0)&&(x=new Int32Array(s.memory.buffer)),x}function g(n,e){return Ee(n>>>0,e)}var E=null;function F(){return(E===null||E.byteLength===0)&&(E=new Uint8Array(s.memory.buffer)),E}function u(n){return n==null}function z(n,e,t){let _={a:n,b:e,cnt:1,instance:c},r=(...f)=>{if(_.instance!==c)throw new Error("Cannot invoke closure from previous WASM instance");_.cnt++;try{return t(_.a,_.b,...f)}finally{r._wbg_cb_unref()}};return r._wbg_cb_unref=()=>{--_.cnt===0&&(s.__wbindgen_destroy_closure(_.a,_.b),_.a=0,J.unregister(_))},J.register(r,_,_),r}function L(n,e,t){let _={a:n,b:e,cnt:1,instance:c},r=(...f)=>{if(_.instance!==c)throw new Error("Cannot invoke closure from previous WASM instance");_.cnt++;let a=_.a;_.a=0;try{return t(a,_.b,...f)}finally{_.a=a,r._wbg_cb_unref()}};return r._wbg_cb_unref=()=>{--_.cnt===0&&(s.__wbindgen_destroy_closure(_.a,_.b),_.a=0,J.unregister(_))},J.register(r,_,_),r}var V=class extends Error{};Object.defineProperty(V.prototype,"name",{value:"PanicError"});function xe(n,e){let t=e(n.length*4,4)>>>0;for(let _=0;_<n.length;_++){let r=w(n[_]);b().setUint32(t+4*_,r,!0)}return l=n.length,t}function p(n,e,t){if(t===void 0){let d=j.encode(n),h=e(d.length,1)>>>0;return F().subarray(h,h+d.length).set(d),l=d.length,h}let _=n.length,r=e(_,1)>>>0,f=F(),a=0;for(;a<_;a++){let d=n.charCodeAt(a);if(d>127)break;f[r+a]=d}if(a!==_){a!==0&&(n=n.slice(a)),r=t(r,_,_=a+n.length*3,1)>>>0;let d=F().subarray(r+a,r+_),h=j.encodeInto(n,d);a+=h.written,r=t(r,_,a,1)>>>0}return l=a,r}var O=!1;function S(n){let e=s.__wbindgen_externrefs.get(n);return s.__externref_table_dealloc(n),e}var ee=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});ee.decode();function Ee(n,e){return ee.decode(F().subarray(n,n+e))}var j=new TextEncoder;"encodeInto"in j||(j.encodeInto=function(n,e){let t=j.encode(n);return e.set(t),{read:n.length,written:t.length}});var l=0,D=new WebAssembly.Instance(H,Y()),s=D.exports;s.__wbindgen_start();Error.stackTraceLimit=100;var $=K(),k=class extends Fe{};k.prototype.fetch=function(e){return Q.call(this,e,this.env,this.ctx)};k.prototype.start=X;var je={set:(n,e,t,_)=>Reflect.set(n.instance,e,t,_),has:(n,e)=>Reflect.has(n.instance,e),deleteProperty:(n,e)=>Reflect.deleteProperty(n.instance,e),apply:(n,e,t)=>Reflect.apply(n.instance,e,t),construct:(n,e,t)=>Reflect.construct(n.instance,e,t),getPrototypeOf:n=>Reflect.getPrototypeOf(n.instance),setPrototypeOf:(n,e)=>Reflect.setPrototypeOf(n.instance,e),isExtensible:n=>Reflect.isExtensible(n.instance),preventExtensions:n=>Reflect.preventExtensions(n.instance),getOwnPropertyDescriptor:(n,e)=>Reflect.getOwnPropertyDescriptor(n.instance,e),defineProperty:(n,e,t)=>Reflect.defineProperty(n.instance,e,t),ownKeys:n=>Reflect.ownKeys(n.instance)},M={construct(n,e,t){let _={instance:Reflect.construct(n,e,t),instanceId:$.instanceId,ctor:n,args:e,newTarget:t};return new Proxy(_,{...je,get(r,f,a){return r.instanceId!==$.instanceId&&(r.instance=Reflect.construct(r.ctor,r.args,r.newTarget),r.instanceId=$.instanceId),Reflect.get(r.instance,f,a)}})}},Je=new Proxy(k,M),Ve=new Proxy(m,M),Oe=new Proxy(v,M),Me=new Proxy(I,M);export{Ve as ContainerStartupOptions,Oe as MinifyConfig,Me as R2Range,Je as default};
Binary file
@@ -0,0 +1,4 @@
1
+ // Use index.js directly, this file provided for backwards compat
2
+ // with former shim.mjs only.
3
+ export * from '../index.js';
4
+ export { default } from '../index.js';
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.