yolkbot 1.0.8 → 1.0.9

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.
@@ -1,3 +1,3 @@
1
1
  /* eslint-disable */
2
2
 
3
- import{getWasm as d}from"./wrapper.js";import{addToExternrefTable as r,passStringToWasm as c,getStringFromWasm as o}from"./utils.js";const n={queueMicrotask:e=>{},document:{body:{},currentScript:{}}},s={textContent:""},i={wbg:{__wbg_appendChild_8204974b7328bf98:()=>{},__wbg_body_942ea927546a04ba:(...e)=>r(e[0].body),__wbg_call_672a4d21634d4a24:()=>{},__wbg_createElement_8c9931a732ee2fea:()=>s,__wbg_currentScript_696dfba63dbe2fbe:(...e)=>r(e[0].currentScript),__wbg_document_d249400bd7bd996d:()=>r(n.document),__wbg_get_e27dfaeb6f46bd45:()=>new Proxy({},{get:(e,_)=>{if(_.toString().includes("toPrim"))return t=>{if(t==="number")return 1}},set:(e,_,t)=>(e[_]=t,!0)}),__wbg_instanceof_Element_0af65443936d5154:()=>!0,__wbg_instanceof_HtmlScriptElement_2e62e6b65dda86a4:(...e)=>e[0]===n.document.currentScript,__wbg_instanceof_Window_def73ea0955fc569:()=>!0,__wbg_length_49b2ba67f0897e97:(...e)=>1,__wbg_newnoargs_105ed471475aaf50:()=>{},__wbg_now_807e54c39636c349:()=>Date.now(),__wbg_querySelectorAll_40998fd748f057ef:(...e)=>{const _=o(e[1],e[2]);return[{}]},__wbg_settextContent_d29397f7b994d314:async()=>{},__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>{},__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>{},__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>r(n),__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>{},__wbg_textContent_215d0f87d539368a:(e,_)=>{const[t,b]=c("Shell Shockers and our partners"),a=new DataView(d().memory.buffer);a.setInt32(e+4*1,b,!0),a.setInt32(e+4*0,t,!0)},__wbindgen_debug_string:()=>{},__wbindgen_init_externref_table:()=>{},__wbindgen_is_undefined:(...e)=>e[0]===void 0,__wbindgen_throw:()=>{}}};export{i as imports};
3
+ import{getWasm as o,jsResolve as c}from"./wrapper.js";import{addToExternrefTable as r,getStringFromWasm as s,passStringToWasm as u}from"./utils.js";const a={queueMicrotask:()=>{},document:{body:{},currentScript:{}}},n={textContent:""},w={wbg:{__wbg_appendChild_8204974b7328bf98:()=>{},__wbg_body_942ea927546a04ba:(...e)=>r(e[0].body),__wbg_call_672a4d21634d4a24:()=>{},__wbg_createElement_8c9931a732ee2fea:()=>n,__wbg_currentScript_696dfba63dbe2fbe:(...e)=>r(e[0].currentScript),__wbg_document_d249400bd7bd996d:()=>r(a.document),__wbg_get_e27dfaeb6f46bd45:()=>new Proxy({},{get:(e,t)=>{if(t.toString().includes("toPrim"))return _=>{if(_==="number")return 1}},set:(e,t,_)=>(e[t]=_,!0)}),__wbg_instanceof_Element_0af65443936d5154:()=>!0,__wbg_instanceof_HtmlScriptElement_2e62e6b65dda86a4:(...e)=>e[0]===a.document.currentScript,__wbg_instanceof_Window_def73ea0955fc569:()=>!0,__wbg_length_49b2ba67f0897e97:()=>1,__wbg_newnoargs_105ed471475aaf50:()=>{},__wbg_now_807e54c39636c349:()=>Date.now(),__wbg_querySelectorAll_40998fd748f057ef:()=>[{}],__wbg_settextContent_d29397f7b994d314:async(...e)=>{n.textContent=s(e[1],e[2]),c?.(n.textContent)},__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>{},__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>{},__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>r(a),__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>{},__wbg_textContent_215d0f87d539368a:(e,t)=>{const[_,d]=u(t===n?n.textContent:"Shell Shockers and our partners"),b=new DataView(o().memory.buffer);b.setInt32(e+4*1,d,!0),b.setInt32(e+4*0,_,!0)},__wbindgen_debug_string:()=>{},__wbindgen_init_externref_table:()=>{},__wbindgen_is_undefined:(...e)=>e[0]===void 0,__wbindgen_throw:()=>{}}};export{w as imports};
@@ -1,3 +1,3 @@
1
1
  /* eslint-disable */
2
2
 
3
- import{imports as i}from"./imports.js";import{getStringFromWasm as m,passStringToWasm as p}from"./utils.js";import{wasmBytes as l}from"./bytes.js";const c=await WebAssembly.instantiate(l,i),r=c.instance.exports,y=()=>r,f=o=>{let t,e;try{const[n,a]=p(o),s=r.validate(n,a);return t=s[0],e=s[1],m(t,e)}finally{r.__wbindgen_free(t,e,1)}};export{y as getWasm,f as validate};
3
+ import{imports as m}from"./imports.js";import{getStringFromWasm as p,passStringToWasm as i}from"./utils.js";import{wasmBytes as c}from"./bytes.js";const l=await WebAssembly.instantiate(c,m),s=l.instance.exports,b=()=>s;let f;const g=async r=>{const t=new Promise(n=>{f=n}),[e,o]=i(r);return s.process(e,o),t},w=r=>{let t,e;try{const[o,n]=i(r),a=s.validate(o,n);return t=a[0],e=a[1],p(t,e)}finally{s.__wbindgen_free(t,e,1)}};export{b as getWasm,f as jsResolve,g as process,w as validate};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yolkbot",
3
3
  "description": "create a shell shockers bot in under 10 lines.",
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "keywords": [
6
6
  "shell shockers",
7
7
  "shellshock.io",