New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

buttplug

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buttplug - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

dist/web/62c2ca38e697de2bd7e6.module.wasm

13

CHANGELOG.md

@@ -1,3 +0,10 @@

# v1.0.8 (2020/02/10)
# v1.0.9 (2021/02/20)
## Bugfixes
- Update to buttplug-rs v2.1.5. The Handy support, client connect race bugfixes, device
disconnection panic bugfixes.
# v1.0.8 (2021/02/10)
## Features

@@ -9,3 +16,3 @@

# v1.0.7 (2020/01/24)
# v1.0.7 (2021/01/24)

@@ -16,3 +23,3 @@ ## Bugfixes

# v1.0.6 (2020/01/24)
# v1.0.6 (2021/01/24)

@@ -19,0 +26,0 @@ ## Bugfixes

@@ -36,4 +36,4 @@ /**

export function __wbindgen_object_drop_ref(arg0: any): void;
export function __wbg_log_c4384c5721dc6261(arg0: any, arg1: any): void;
export function __wbindgen_object_clone_ref(arg0: any): number;
export function __wbg_log_431c9949c713519b(arg0: any, arg1: any): void;
export function __wbindgen_string_new(arg0: any, arg1: any): number;

@@ -111,7 +111,7 @@ export function __wbindgen_cb_drop(arg0: any): boolean;

export function __wbindgen_memory(): number;
export function __wbindgen_closure_wrapper649(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper651(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper653(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper655(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper657(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper659(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper2417(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper4039(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper2439(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper4082(arg0: any, arg1: any, arg2: any): number;

@@ -186,12 +186,12 @@ import * as wasm from './buttplug_rs_ffi_bg.wasm';

function __wbg_adapter_22(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1b87d069cae75427(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39fb3cffa7ed2a52(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_25(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1b87d069cae75427(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39fb3cffa7ed2a52(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_28(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1b87d069cae75427(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39fb3cffa7ed2a52(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_31(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1b87d069cae75427(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39fb3cffa7ed2a52(arg0, arg1, addHeapObject(arg2));
}

@@ -296,2 +296,5 @@ function __wbg_adapter_34(arg0, arg1, arg2) {

};
export const __wbg_log_c4384c5721dc6261 = function (arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
export const __wbindgen_object_clone_ref = function (arg0) {

@@ -301,5 +304,2 @@ var ret = getObject(arg0);

};
export const __wbg_log_431c9949c713519b = function (arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
export const __wbindgen_string_new = function (arg0, arg1) {

@@ -601,26 +601,26 @@ var ret = getStringFromWasm0(arg0, arg1);

};
export const __wbindgen_closure_wrapper653 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_22);
export const __wbindgen_closure_wrapper649 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 211, __wbg_adapter_22);
return addHeapObject(ret);
};
export const __wbindgen_closure_wrapper655 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_25);
export const __wbindgen_closure_wrapper651 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 211, __wbg_adapter_25);
return addHeapObject(ret);
};
export const __wbindgen_closure_wrapper657 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_28);
export const __wbindgen_closure_wrapper653 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 211, __wbg_adapter_28);
return addHeapObject(ret);
};
export const __wbindgen_closure_wrapper659 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_31);
export const __wbindgen_closure_wrapper655 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 211, __wbg_adapter_31);
return addHeapObject(ret);
};
export const __wbindgen_closure_wrapper2417 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 1202, __wbg_adapter_34);
export const __wbindgen_closure_wrapper2439 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 1198, __wbg_adapter_34);
return addHeapObject(ret);
};
export const __wbindgen_closure_wrapper4039 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 1873, __wbg_adapter_37);
export const __wbindgen_closure_wrapper4082 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 1879, __wbg_adapter_37);
return addHeapObject(ret);
};
//# sourceMappingURL=buttplug_rs_ffi_bg.js.map

@@ -14,3 +14,3 @@ /* tslint:disable */

export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1b87d069cae75427(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h39fb3cffa7ed2a52(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8f3de705032feca7(a: number, b: number, c: number): void;

@@ -17,0 +17,0 @@ export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h76b40233d425c2a7(a: number, b: number): void;

@@ -1,2 +0,2 @@

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"./node_modules/webpack/buildin/harmony-module.js":function(n,t){n.exports=function(n){if(!n.webpackPolyfill){var t=Object.create(n);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"./src/buttplug-rs-ffi/buttplug_rs_ffi.js":function(n,t,r){"use strict";r.r(t);var e=r("./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.js");r.d(t,"buttplug_create_client",(function(){return e.Eb})),r.d(t,"buttplug_free_client",(function(){return e.Gb})),r.d(t,"buttplug_parse_client_message",(function(){return e.Ib})),r.d(t,"buttplug_create_device",(function(){return e.Fb})),r.d(t,"buttplug_parse_device_message",(function(){return e.Jb})),r.d(t,"buttplug_free_device",(function(){return e.Hb})),r.d(t,"buttplug_activate_env_logger",(function(){return e.Db})),r.d(t,"__wbindgen_object_drop_ref",(function(){return e.zb})),r.d(t,"__wbindgen_object_clone_ref",(function(){return e.yb})),r.d(t,"__wbg_log_431c9949c713519b",(function(){return e.x})),r.d(t,"__wbindgen_string_new",(function(){return e.Bb})),r.d(t,"__wbindgen_cb_drop",(function(){return e.nb})),r.d(t,"__wbg_new_59cb74e423758ede",(function(){return e.H})),r.d(t,"__wbg_stack_558ba5917b466edd",(function(){return e.eb})),r.d(t,"__wbg_error_4bb6c2a97407129a",(function(){return e.n})),r.d(t,"__wbg_log_75fc43480a5907a7",(function(){return e.y})),r.d(t,"__wbg_log_a73f6bdd88fae982",(function(){return e.z})),r.d(t,"__wbg_mark_e32edf3b52687c6a",(function(){return e.A})),r.d(t,"__wbg_measure_0c2a5c5e55e16643",(function(){return e.B})),r.d(t,"__wbg_Window_f826a1dec163bacb",(function(){return e.a})),r.d(t,"__wbindgen_is_undefined",(function(){return e.wb})),r.d(t,"__wbg_WorkerGlobalScope_967d186155183d38",(function(){return e.b})),r.d(t,"__wbg_instanceof_Window_fbe0320f34c4cd31",(function(){return e.v})),r.d(t,"__wbg_navigator_74ca2cbc2348b985",(function(){return e.E})),r.d(t,"__wbg_clearTimeout_691ea78b4285bbea",(function(){return e.h})),r.d(t,"__wbg_setTimeout_62ddbd1dbc58b759",(function(){return e.V})),r.d(t,"__wbg_getCharacteristic_65c13e59ceaf8c8d",(function(){return e.p})),r.d(t,"__wbg_value_9a00dc0aad5295ac",(function(){return e.kb})),r.d(t,"__wbg_setoncharacteristicvaluechanged_a33b0f85ecea7368",(function(){return e.Z})),r.d(t,"__wbg_startNotifications_d49842931c930a11",(function(){return e.fb})),r.d(t,"__wbg_writeValue_034f0ba94268d234",(function(){return e.mb})),r.d(t,"__wbg_connect_5c2075a8c06276c5",(function(){return e.k})),r.d(t,"__wbg_getPrimaryService_8cc1dc94912a3410",(function(){return e.q})),r.d(t,"__wbg_target_62e7aaed452a6541",(function(){return e.hb})),r.d(t,"__wbg_requestDevice_cc9afae828c2ac9f",(function(){return e.P})),r.d(t,"__wbg_id_d1000b241d09274f",(function(){return e.u})),r.d(t,"__wbg_name_87829ccaae19dc7b",(function(){return e.D})),r.d(t,"__wbg_gatt_c92ccfd7b968afb2",(function(){return e.o})),r.d(t,"__wbg_setongattserverdisconnected_6c8d7074af07b193",(function(){return e.bb})),r.d(t,"__wbg_clearTimeout_e97232387865edcf",(function(){return e.i})),r.d(t,"__wbg_setTimeout_e5c727d4159ae515",(function(){return e.W})),r.d(t,"__wbg_bluetooth_a74a5601131dd641",(function(){return e.c})),r.d(t,"__wbg_setonopen_48801d21f66dc5b2",(function(){return e.db})),r.d(t,"__wbg_setonerror_926b779f5ef98aec",(function(){return e.ab})),r.d(t,"__wbg_setonmessage_73e6657a1d4e949a",(function(){return e.cb})),r.d(t,"__wbg_new_d7419781a618ac1a",(function(){return e.I})),r.d(t,"__wbg_close_bff451ff5feb5b9f",(function(){return e.j})),r.d(t,"__wbg_send_7e7d1873965d2755",(function(){return e.U})),r.d(t,"__wbg_data_b59dd3983cd7c614",(function(){return e.m})),r.d(t,"__wbg_call_ab183a630df3a257",(function(){return e.g})),r.d(t,"__wbg_new_1abc33d4f9ba3e80",(function(){return e.F})),r.d(t,"__wbg_push_44968dcdf4cfbb43",(function(){return e.N})),r.d(t,"__wbg_buffer_3ee252ffa7d82e3f",(function(){return e.d})),r.d(t,"__wbg_newnoargs_ab5e899738c0eff4",(function(){return e.K})),r.d(t,"__wbg_call_7a2b5e98ac536644",(function(){return e.f})),r.d(t,"__wbg_new_dc5b27cfd2149b8f",(function(){return e.J})),r.d(t,"__wbg_resolve_9b0f9ddf5f89cb1e",(function(){return e.R})),r.d(t,"__wbg_then_b4358f6ec1ee6657",(function(){return e.jb})),r.d(t,"__wbg_then_3d9a54b0affdf26d",(function(){return e.ib})),r.d(t,"__wbg_self_77eca7b42660e1bb",(function(){return e.S})),r.d(t,"__wbg_window_51dac01569f1ba70",(function(){return e.lb})),r.d(t,"__wbg_globalThis_34bac2d08ebb9b58",(function(){return e.s})),r.d(t,"__wbg_global_1c436164a66c9c22",(function(){return e.t})),r.d(t,"__wbg_buffer_bc64154385c04ac4",(function(){return e.e})),r.d(t,"__wbg_newwithbyteoffsetandlength_3c8748473807c7cf",(function(){return e.M})),r.d(t,"__wbg_length_e9f6f145de2fede5",(function(){return e.w})),r.d(t,"__wbg_new_22a33711cf65b661",(function(){return e.G})),r.d(t,"__wbg_set_b29de3f25280c6ec",(function(){return e.Y})),r.d(t,"__wbg_newwithbyteoffset_1220284753489dde",(function(){return e.L})),r.d(t,"__wbg_set_3afd31f38e771338",(function(){return e.X})),r.d(t,"__wbg_getRandomValues_11115a852729f4e8",(function(){return e.r})),r.d(t,"__wbg_randomFillSync_a2d002fc3b8e30f7",(function(){return e.O})),r.d(t,"__wbg_self_a5f0fe5564782787",(function(){return e.T})),r.d(t,"__wbg_static_accessor_MODULE_7f278c5446c126c8",(function(){return e.gb})),r.d(t,"__wbg_require_29e58b5f6f133563",(function(){return e.Q})),r.d(t,"__wbg_crypto_d91429ea1a087f70",(function(){return e.l})),r.d(t,"__wbg_msCrypto_c8be2bb4fc7d8cd3",(function(){return e.C})),r.d(t,"__wbindgen_is_string",(function(){return e.vb})),r.d(t,"__wbindgen_string_get",(function(){return e.Ab})),r.d(t,"__wbindgen_debug_string",(function(){return e.ub})),r.d(t,"__wbindgen_throw",(function(){return e.Cb})),r.d(t,"__wbindgen_memory",(function(){return e.xb})),r.d(t,"__wbindgen_closure_wrapper653",(function(){return e.qb})),r.d(t,"__wbindgen_closure_wrapper655",(function(){return e.rb})),r.d(t,"__wbindgen_closure_wrapper657",(function(){return e.sb})),r.d(t,"__wbindgen_closure_wrapper659",(function(){return e.tb})),r.d(t,"__wbindgen_closure_wrapper2417",(function(){return e.ob})),r.d(t,"__wbindgen_closure_wrapper4039",(function(){return e.pb}))},"./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.js":function(n,t,r){"use strict";(function(n,e){r.d(t,"Eb",(function(){return E})),r.d(t,"Gb",(function(){return q})),r.d(t,"Ib",(function(){return P})),r.d(t,"Fb",(function(){return C})),r.d(t,"Jb",(function(){return F})),r.d(t,"Hb",(function(){return W})),r.d(t,"Db",(function(){return I})),r.d(t,"zb",(function(){return G})),r.d(t,"yb",(function(){return V})),r.d(t,"x",(function(){return $})),r.d(t,"Bb",(function(){return B})),r.d(t,"nb",(function(){return N})),r.d(t,"H",(function(){return R})),r.d(t,"eb",(function(){return z})),r.d(t,"n",(function(){return H})),r.d(t,"y",(function(){return M})),r.d(t,"z",(function(){return L})),r.d(t,"A",(function(){return K})),r.d(t,"B",(function(){return Q})),r.d(t,"a",(function(){return X})),r.d(t,"wb",(function(){return Y})),r.d(t,"b",(function(){return Z})),r.d(t,"v",(function(){return nn})),r.d(t,"E",(function(){return tn})),r.d(t,"h",(function(){return rn})),r.d(t,"V",(function(){return en})),r.d(t,"p",(function(){return un})),r.d(t,"kb",(function(){return cn})),r.d(t,"Z",(function(){return on})),r.d(t,"fb",(function(){return fn})),r.d(t,"mb",(function(){return _n})),r.d(t,"k",(function(){return dn})),r.d(t,"q",(function(){return bn})),r.d(t,"hb",(function(){return an})),r.d(t,"P",(function(){return ln})),r.d(t,"u",(function(){return gn})),r.d(t,"D",(function(){return sn})),r.d(t,"o",(function(){return wn})),r.d(t,"bb",(function(){return pn})),r.d(t,"i",(function(){return hn})),r.d(t,"W",(function(){return mn})),r.d(t,"c",(function(){return yn})),r.d(t,"db",(function(){return vn})),r.d(t,"ab",(function(){return jn})),r.d(t,"cb",(function(){return kn})),r.d(t,"I",(function(){return Tn})),r.d(t,"j",(function(){return xn})),r.d(t,"U",(function(){return An})),r.d(t,"m",(function(){return Sn})),r.d(t,"g",(function(){return On})),r.d(t,"F",(function(){return En})),r.d(t,"N",(function(){return qn})),r.d(t,"d",(function(){return Dn})),r.d(t,"K",(function(){return Pn})),r.d(t,"f",(function(){return Cn})),r.d(t,"J",(function(){return Fn})),r.d(t,"R",(function(){return Wn})),r.d(t,"jb",(function(){return In})),r.d(t,"ib",(function(){return Jn})),r.d(t,"S",(function(){return Un})),r.d(t,"lb",(function(){return Gn})),r.d(t,"s",(function(){return Vn})),r.d(t,"t",(function(){return $n})),r.d(t,"e",(function(){return Bn})),r.d(t,"M",(function(){return Nn})),r.d(t,"w",(function(){return Rn})),r.d(t,"G",(function(){return zn})),r.d(t,"Y",(function(){return Hn})),r.d(t,"L",(function(){return Mn})),r.d(t,"X",(function(){return Ln})),r.d(t,"r",(function(){return Kn})),r.d(t,"O",(function(){return Qn})),r.d(t,"T",(function(){return Xn})),r.d(t,"gb",(function(){return Yn})),r.d(t,"Q",(function(){return Zn})),r.d(t,"l",(function(){return nt})),r.d(t,"C",(function(){return tt})),r.d(t,"vb",(function(){return rt})),r.d(t,"Ab",(function(){return et})),r.d(t,"ub",(function(){return ut})),r.d(t,"Cb",(function(){return ct})),r.d(t,"xb",(function(){return ot})),r.d(t,"qb",(function(){return it})),r.d(t,"rb",(function(){return ft})),r.d(t,"sb",(function(){return _t})),r.d(t,"tb",(function(){return dt})),r.d(t,"ob",(function(){return bt})),r.d(t,"pb",(function(){return at}));var u=r("./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.wasm");const c=new Array(32).fill(void 0);function o(n){return c[n]}c.push(void 0,null,!0,!1);let i=c.length;function f(n){const t=o(n);return function(n){n<36||(c[n]=i,i=n)}(n),t}function _(n){i===c.length&&c.push(c.length+1);const t=i;return i=c[t],c[t]=n,t}let d=new("undefined"==typeof TextDecoder?(0,n.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});d.decode();let b=null;function a(){return null!==b&&b.buffer===u.p.buffer||(b=new Uint8Array(u.p.buffer)),b}function l(n,t){return d.decode(a().subarray(n,n+t))}let g=0;let s=new("undefined"==typeof TextEncoder?(0,n.require)("util").TextEncoder:TextEncoder)("utf-8");const w="function"==typeof s.encodeInto?function(n,t){return s.encodeInto(n,t)}:function(n,t){const r=s.encode(n);return t.set(r),{read:n.length,written:r.length}};function p(n,t,r){if(void 0===r){const r=s.encode(n),e=t(r.length);return a().subarray(e,e+r.length).set(r),g=r.length,e}let e=n.length,u=t(e);const c=a();let o=0;for(;o<e;o++){const t=n.charCodeAt(o);if(t>127)break;c[u+o]=t}if(o!==e){0!==o&&(n=n.slice(o)),u=r(u,e,e=o+3*n.length);const t=a().subarray(u+o,u+e);o+=w(n,t).written}return g=o,u}function h(n){return null==n}let m=null;function y(){return null!==m&&m.buffer===u.p.buffer||(m=new Int32Array(u.p.buffer)),m}function v(n,t,r,e){const c={a:n,b:t,cnt:1,dtor:r},o=(...n)=>{c.cnt++;const t=c.a;c.a=0;try{return e(t,c.b,...n)}finally{0==--c.cnt?u.b.get(c.dtor)(t,c.b):c.a=t}};return o.original=c,o}function j(n,t,r){u.f(n,t,_(r))}function k(n,t,r){u.f(n,t,_(r))}function T(n,t,r){u.f(n,t,_(r))}function x(n,t,r){u.f(n,t,_(r))}function A(n,t,r){u.g(n,t,_(r))}function S(n,t){u.h(n,t)}let O=32;function E(n,t){try{var r=p(t,u.d,u.e),e=g;return u.j(function(n){if(1==O)throw new Error("out of js stack");return c[--O]=n,O}(n),r,e)}finally{c[O++]=void 0}}function q(n){u.l(n)}function D(n,t){const r=t(1*n.length);return a().set(n,r/1),g=n.length,r}function P(n,t){var r=D(t,u.d),e=g;u.n(n,r,e)}function C(n,t){return u.k(n,t)}function F(n,t){var r=D(t,u.d),e=g;u.o(n,r,e)}function W(n){u.m(n)}function I(n){var t=p(n,u.d,u.e),r=g;u.i(t,r)}function J(n){return function(){try{return n.apply(this,arguments)}catch(n){u.a(_(n))}}}function U(n,t){return a().subarray(n/1,n/1+t)}const G=function(n){f(n)},V=function(n){return _(o(n))},$=function(n,t){console.log(l(n,t))},B=function(n,t){return _(l(n,t))},N=function(n){const t=f(n).original;if(1==t.cnt--)return t.a=0,!0;return!1},R=function(){return _(new Error)},z=function(n,t){var r=p(o(t).stack,u.d,u.e),e=g;y()[n/4+1]=e,y()[n/4+0]=r},H=function(n,t){try{console.error(l(n,t))}finally{u.c(n,t)}},M=function(n,t){console.log(l(n,t))},L=function(n,t,r,e,u,c,o,i){console.log(l(n,t),l(r,e),l(u,c),l(o,i))},K=function(n,t){performance.mark(l(n,t))},Q=function(n,t,r,e){performance.measure(l(n,t),l(r,e))},X=function(n){return _(o(n).Window)},Y=function(n){return void 0===o(n)},Z=function(n){return _(o(n).WorkerGlobalScope)},nn=function(n){return o(n)instanceof Window},tn=function(n){return _(o(n).navigator)},rn=function(n,t){o(n).clearTimeout(t)},en=J((function(n,t,r){return o(n).setTimeout(o(t),r)})),un=function(n,t,r){return _(o(n).getCharacteristic(l(t,r)))},cn=function(n){var t=o(n).value;return h(t)?0:_(t)},on=function(n,t){o(n).oncharacteristicvaluechanged=o(t)},fn=function(n){return _(o(n).startNotifications())},_n=function(n,t,r){return _(o(n).writeValue(U(t,r)))},dn=function(n){return _(o(n).connect())},bn=function(n,t,r){return _(o(n).getPrimaryService(l(t,r)))},an=function(n){var t=o(n).target;return h(t)?0:_(t)},ln=function(n,t){return _(o(n).requestDevice(o(t)))},gn=function(n,t){var r=p(o(t).id,u.d,u.e),e=g;y()[n/4+1]=e,y()[n/4+0]=r},sn=function(n,t){var r=o(t).name,e=h(r)?0:p(r,u.d,u.e),c=g;y()[n/4+1]=c,y()[n/4+0]=e},wn=function(n){var t=o(n).gatt;return h(t)?0:_(t)},pn=function(n,t){o(n).ongattserverdisconnected=o(t)},hn=function(n,t){o(n).clearTimeout(t)},mn=J((function(n,t,r){return o(n).setTimeout(o(t),r)})),yn=function(n){var t=o(n).bluetooth;return h(t)?0:_(t)},vn=function(n,t){o(n).onopen=o(t)},jn=function(n,t){o(n).onerror=o(t)},kn=function(n,t){o(n).onmessage=o(t)},Tn=J((function(n,t){return _(new WebSocket(l(n,t)))})),xn=J((function(n){o(n).close()})),An=J((function(n,t,r){o(n).send(l(t,r))})),Sn=function(n){return _(o(n).data)},On=J((function(n,t){return _(o(n).call(o(t)))})),En=function(){return _(new Array)},qn=function(n,t){return o(n).push(o(t))},Dn=function(n){return _(o(n).buffer)},Pn=function(n,t){return _(new Function(l(n,t)))},Cn=J((function(n,t,r){return _(o(n).call(o(t),o(r)))})),Fn=function(){return _(new Object)},Wn=function(n){return _(Promise.resolve(o(n)))},In=function(n,t){return _(o(n).then(o(t)))},Jn=function(n,t,r){return _(o(n).then(o(t),o(r)))},Un=J((function(){return _(self.self)})),Gn=J((function(){return _(window.window)})),Vn=J((function(){return _(globalThis.globalThis)})),$n=J((function(){return _(e.global)})),Bn=function(n){return _(o(n).buffer)},Nn=function(n,t,r){return _(new Uint8Array(o(n),t>>>0,r>>>0))},Rn=function(n){return o(n).length},zn=function(n){return _(new Uint8Array(o(n)))},Hn=function(n,t,r){o(n).set(o(t),r>>>0)},Mn=function(n,t){return _(new Uint8Array(o(n),t>>>0))},Ln=J((function(n,t,r){return Reflect.set(o(n),o(t),o(r))})),Kn=J((function(n,t,r){o(n).getRandomValues(U(t,r))})),Qn=J((function(n,t,r){o(n).randomFillSync(U(t,r))})),Xn=J((function(){return _(self.self)})),Yn=function(){return _(n)},Zn=J((function(n,t,r){return _(o(n).require(l(t,r)))})),nt=function(n){return _(o(n).crypto)},tt=function(n){return _(o(n).msCrypto)},rt=function(n){return"string"==typeof o(n)},et=function(n,t){const r=o(t);var e="string"==typeof r?r:void 0,c=h(e)?0:p(e,u.d,u.e),i=g;y()[n/4+1]=i,y()[n/4+0]=c},ut=function(n,t){var r=p(function n(t){const r=typeof t;if("number"==r||"boolean"==r||null==t)return""+t;if("string"==r)return`"${t}"`;if("symbol"==r){const n=t.description;return null==n?"Symbol":`Symbol(${n})`}if("function"==r){const n=t.name;return"string"==typeof n&&n.length>0?`Function(${n})`:"Function"}if(Array.isArray(t)){const r=t.length;let e="[";r>0&&(e+=n(t[0]));for(let u=1;u<r;u++)e+=", "+n(t[u]);return e+="]",e}const e=/\[object ([^\]]+)\]/.exec(toString.call(t));let u;if(!(e.length>1))return toString.call(t);if(u=e[1],"Object"==u)try{return"Object("+JSON.stringify(t)+")"}catch(n){return"Object"}return t instanceof Error?`${t.name}: ${t.message}\n${t.stack}`:u}(o(t)),u.d,u.e),e=g;y()[n/4+1]=e,y()[n/4+0]=r},ct=function(n,t){throw new Error(l(n,t))},ot=function(){return _(u.p)},it=function(n,t,r){return _(v(n,t,217,j))},ft=function(n,t,r){return _(v(n,t,217,k))},_t=function(n,t,r){return _(v(n,t,217,T))},dt=function(n,t,r){return _(v(n,t,217,x))},bt=function(n,t,r){return _(v(n,t,1202,A))},at=function(n,t,r){return _(v(n,t,1873,S))}}).call(this,r("./node_modules/webpack/buildin/harmony-module.js")(n),r("./node_modules/webpack/buildin/global.js"))},"./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.wasm":function(n,t,r){"use strict";var e=r.w[n.i];n.exports=e;r("./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.js");e.q()}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"./node_modules/webpack/buildin/harmony-module.js":function(n,t){n.exports=function(n){if(!n.webpackPolyfill){var t=Object.create(n);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"./src/buttplug-rs-ffi/buttplug_rs_ffi.js":function(n,t,r){"use strict";r.r(t);var e=r("./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.js");r.d(t,"buttplug_create_client",(function(){return e.Eb})),r.d(t,"buttplug_free_client",(function(){return e.Gb})),r.d(t,"buttplug_parse_client_message",(function(){return e.Ib})),r.d(t,"buttplug_create_device",(function(){return e.Fb})),r.d(t,"buttplug_parse_device_message",(function(){return e.Jb})),r.d(t,"buttplug_free_device",(function(){return e.Hb})),r.d(t,"buttplug_activate_env_logger",(function(){return e.Db})),r.d(t,"__wbindgen_object_drop_ref",(function(){return e.zb})),r.d(t,"__wbg_log_c4384c5721dc6261",(function(){return e.z})),r.d(t,"__wbindgen_object_clone_ref",(function(){return e.yb})),r.d(t,"__wbindgen_string_new",(function(){return e.Bb})),r.d(t,"__wbindgen_cb_drop",(function(){return e.nb})),r.d(t,"__wbg_new_59cb74e423758ede",(function(){return e.H})),r.d(t,"__wbg_stack_558ba5917b466edd",(function(){return e.eb})),r.d(t,"__wbg_error_4bb6c2a97407129a",(function(){return e.n})),r.d(t,"__wbg_log_75fc43480a5907a7",(function(){return e.x})),r.d(t,"__wbg_log_a73f6bdd88fae982",(function(){return e.y})),r.d(t,"__wbg_mark_e32edf3b52687c6a",(function(){return e.A})),r.d(t,"__wbg_measure_0c2a5c5e55e16643",(function(){return e.B})),r.d(t,"__wbg_Window_f826a1dec163bacb",(function(){return e.a})),r.d(t,"__wbindgen_is_undefined",(function(){return e.wb})),r.d(t,"__wbg_WorkerGlobalScope_967d186155183d38",(function(){return e.b})),r.d(t,"__wbg_instanceof_Window_fbe0320f34c4cd31",(function(){return e.v})),r.d(t,"__wbg_navigator_74ca2cbc2348b985",(function(){return e.E})),r.d(t,"__wbg_clearTimeout_691ea78b4285bbea",(function(){return e.h})),r.d(t,"__wbg_setTimeout_62ddbd1dbc58b759",(function(){return e.V})),r.d(t,"__wbg_getCharacteristic_65c13e59ceaf8c8d",(function(){return e.p})),r.d(t,"__wbg_value_9a00dc0aad5295ac",(function(){return e.kb})),r.d(t,"__wbg_setoncharacteristicvaluechanged_a33b0f85ecea7368",(function(){return e.Z})),r.d(t,"__wbg_startNotifications_d49842931c930a11",(function(){return e.fb})),r.d(t,"__wbg_writeValue_034f0ba94268d234",(function(){return e.mb})),r.d(t,"__wbg_connect_5c2075a8c06276c5",(function(){return e.k})),r.d(t,"__wbg_getPrimaryService_8cc1dc94912a3410",(function(){return e.q})),r.d(t,"__wbg_target_62e7aaed452a6541",(function(){return e.hb})),r.d(t,"__wbg_requestDevice_cc9afae828c2ac9f",(function(){return e.P})),r.d(t,"__wbg_id_d1000b241d09274f",(function(){return e.u})),r.d(t,"__wbg_name_87829ccaae19dc7b",(function(){return e.D})),r.d(t,"__wbg_gatt_c92ccfd7b968afb2",(function(){return e.o})),r.d(t,"__wbg_setongattserverdisconnected_6c8d7074af07b193",(function(){return e.bb})),r.d(t,"__wbg_clearTimeout_e97232387865edcf",(function(){return e.i})),r.d(t,"__wbg_setTimeout_e5c727d4159ae515",(function(){return e.W})),r.d(t,"__wbg_bluetooth_a74a5601131dd641",(function(){return e.c})),r.d(t,"__wbg_setonopen_48801d21f66dc5b2",(function(){return e.db})),r.d(t,"__wbg_setonerror_926b779f5ef98aec",(function(){return e.ab})),r.d(t,"__wbg_setonmessage_73e6657a1d4e949a",(function(){return e.cb})),r.d(t,"__wbg_new_d7419781a618ac1a",(function(){return e.I})),r.d(t,"__wbg_close_bff451ff5feb5b9f",(function(){return e.j})),r.d(t,"__wbg_send_7e7d1873965d2755",(function(){return e.U})),r.d(t,"__wbg_data_b59dd3983cd7c614",(function(){return e.m})),r.d(t,"__wbg_call_ab183a630df3a257",(function(){return e.g})),r.d(t,"__wbg_new_1abc33d4f9ba3e80",(function(){return e.F})),r.d(t,"__wbg_push_44968dcdf4cfbb43",(function(){return e.N})),r.d(t,"__wbg_buffer_3ee252ffa7d82e3f",(function(){return e.d})),r.d(t,"__wbg_newnoargs_ab5e899738c0eff4",(function(){return e.K})),r.d(t,"__wbg_call_7a2b5e98ac536644",(function(){return e.f})),r.d(t,"__wbg_new_dc5b27cfd2149b8f",(function(){return e.J})),r.d(t,"__wbg_resolve_9b0f9ddf5f89cb1e",(function(){return e.R})),r.d(t,"__wbg_then_b4358f6ec1ee6657",(function(){return e.jb})),r.d(t,"__wbg_then_3d9a54b0affdf26d",(function(){return e.ib})),r.d(t,"__wbg_self_77eca7b42660e1bb",(function(){return e.S})),r.d(t,"__wbg_window_51dac01569f1ba70",(function(){return e.lb})),r.d(t,"__wbg_globalThis_34bac2d08ebb9b58",(function(){return e.s})),r.d(t,"__wbg_global_1c436164a66c9c22",(function(){return e.t})),r.d(t,"__wbg_buffer_bc64154385c04ac4",(function(){return e.e})),r.d(t,"__wbg_newwithbyteoffsetandlength_3c8748473807c7cf",(function(){return e.M})),r.d(t,"__wbg_length_e9f6f145de2fede5",(function(){return e.w})),r.d(t,"__wbg_new_22a33711cf65b661",(function(){return e.G})),r.d(t,"__wbg_set_b29de3f25280c6ec",(function(){return e.Y})),r.d(t,"__wbg_newwithbyteoffset_1220284753489dde",(function(){return e.L})),r.d(t,"__wbg_set_3afd31f38e771338",(function(){return e.X})),r.d(t,"__wbg_getRandomValues_11115a852729f4e8",(function(){return e.r})),r.d(t,"__wbg_randomFillSync_a2d002fc3b8e30f7",(function(){return e.O})),r.d(t,"__wbg_self_a5f0fe5564782787",(function(){return e.T})),r.d(t,"__wbg_static_accessor_MODULE_7f278c5446c126c8",(function(){return e.gb})),r.d(t,"__wbg_require_29e58b5f6f133563",(function(){return e.Q})),r.d(t,"__wbg_crypto_d91429ea1a087f70",(function(){return e.l})),r.d(t,"__wbg_msCrypto_c8be2bb4fc7d8cd3",(function(){return e.C})),r.d(t,"__wbindgen_is_string",(function(){return e.vb})),r.d(t,"__wbindgen_string_get",(function(){return e.Ab})),r.d(t,"__wbindgen_debug_string",(function(){return e.ub})),r.d(t,"__wbindgen_throw",(function(){return e.Cb})),r.d(t,"__wbindgen_memory",(function(){return e.xb})),r.d(t,"__wbindgen_closure_wrapper649",(function(){return e.qb})),r.d(t,"__wbindgen_closure_wrapper651",(function(){return e.rb})),r.d(t,"__wbindgen_closure_wrapper653",(function(){return e.sb})),r.d(t,"__wbindgen_closure_wrapper655",(function(){return e.tb})),r.d(t,"__wbindgen_closure_wrapper2439",(function(){return e.ob})),r.d(t,"__wbindgen_closure_wrapper4082",(function(){return e.pb}))},"./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.js":function(n,t,r){"use strict";(function(n,e){r.d(t,"Eb",(function(){return E})),r.d(t,"Gb",(function(){return q})),r.d(t,"Ib",(function(){return P})),r.d(t,"Fb",(function(){return C})),r.d(t,"Jb",(function(){return F})),r.d(t,"Hb",(function(){return W})),r.d(t,"Db",(function(){return I})),r.d(t,"zb",(function(){return G})),r.d(t,"z",(function(){return V})),r.d(t,"yb",(function(){return $})),r.d(t,"Bb",(function(){return B})),r.d(t,"nb",(function(){return N})),r.d(t,"H",(function(){return R})),r.d(t,"eb",(function(){return z})),r.d(t,"n",(function(){return H})),r.d(t,"x",(function(){return M})),r.d(t,"y",(function(){return L})),r.d(t,"A",(function(){return K})),r.d(t,"B",(function(){return Q})),r.d(t,"a",(function(){return X})),r.d(t,"wb",(function(){return Y})),r.d(t,"b",(function(){return Z})),r.d(t,"v",(function(){return nn})),r.d(t,"E",(function(){return tn})),r.d(t,"h",(function(){return rn})),r.d(t,"V",(function(){return en})),r.d(t,"p",(function(){return un})),r.d(t,"kb",(function(){return cn})),r.d(t,"Z",(function(){return on})),r.d(t,"fb",(function(){return fn})),r.d(t,"mb",(function(){return _n})),r.d(t,"k",(function(){return dn})),r.d(t,"q",(function(){return bn})),r.d(t,"hb",(function(){return an})),r.d(t,"P",(function(){return ln})),r.d(t,"u",(function(){return gn})),r.d(t,"D",(function(){return sn})),r.d(t,"o",(function(){return wn})),r.d(t,"bb",(function(){return pn})),r.d(t,"i",(function(){return hn})),r.d(t,"W",(function(){return mn})),r.d(t,"c",(function(){return yn})),r.d(t,"db",(function(){return vn})),r.d(t,"ab",(function(){return jn})),r.d(t,"cb",(function(){return kn})),r.d(t,"I",(function(){return Tn})),r.d(t,"j",(function(){return xn})),r.d(t,"U",(function(){return An})),r.d(t,"m",(function(){return Sn})),r.d(t,"g",(function(){return On})),r.d(t,"F",(function(){return En})),r.d(t,"N",(function(){return qn})),r.d(t,"d",(function(){return Dn})),r.d(t,"K",(function(){return Pn})),r.d(t,"f",(function(){return Cn})),r.d(t,"J",(function(){return Fn})),r.d(t,"R",(function(){return Wn})),r.d(t,"jb",(function(){return In})),r.d(t,"ib",(function(){return Jn})),r.d(t,"S",(function(){return Un})),r.d(t,"lb",(function(){return Gn})),r.d(t,"s",(function(){return Vn})),r.d(t,"t",(function(){return $n})),r.d(t,"e",(function(){return Bn})),r.d(t,"M",(function(){return Nn})),r.d(t,"w",(function(){return Rn})),r.d(t,"G",(function(){return zn})),r.d(t,"Y",(function(){return Hn})),r.d(t,"L",(function(){return Mn})),r.d(t,"X",(function(){return Ln})),r.d(t,"r",(function(){return Kn})),r.d(t,"O",(function(){return Qn})),r.d(t,"T",(function(){return Xn})),r.d(t,"gb",(function(){return Yn})),r.d(t,"Q",(function(){return Zn})),r.d(t,"l",(function(){return nt})),r.d(t,"C",(function(){return tt})),r.d(t,"vb",(function(){return rt})),r.d(t,"Ab",(function(){return et})),r.d(t,"ub",(function(){return ut})),r.d(t,"Cb",(function(){return ct})),r.d(t,"xb",(function(){return ot})),r.d(t,"qb",(function(){return it})),r.d(t,"rb",(function(){return ft})),r.d(t,"sb",(function(){return _t})),r.d(t,"tb",(function(){return dt})),r.d(t,"ob",(function(){return bt})),r.d(t,"pb",(function(){return at}));var u=r("./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.wasm");const c=new Array(32).fill(void 0);function o(n){return c[n]}c.push(void 0,null,!0,!1);let i=c.length;function f(n){const t=o(n);return function(n){n<36||(c[n]=i,i=n)}(n),t}function _(n){i===c.length&&c.push(c.length+1);const t=i;return i=c[t],c[t]=n,t}let d=new("undefined"==typeof TextDecoder?(0,n.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});d.decode();let b=null;function a(){return null!==b&&b.buffer===u.p.buffer||(b=new Uint8Array(u.p.buffer)),b}function l(n,t){return d.decode(a().subarray(n,n+t))}let g=0;let s=new("undefined"==typeof TextEncoder?(0,n.require)("util").TextEncoder:TextEncoder)("utf-8");const w="function"==typeof s.encodeInto?function(n,t){return s.encodeInto(n,t)}:function(n,t){const r=s.encode(n);return t.set(r),{read:n.length,written:r.length}};function p(n,t,r){if(void 0===r){const r=s.encode(n),e=t(r.length);return a().subarray(e,e+r.length).set(r),g=r.length,e}let e=n.length,u=t(e);const c=a();let o=0;for(;o<e;o++){const t=n.charCodeAt(o);if(t>127)break;c[u+o]=t}if(o!==e){0!==o&&(n=n.slice(o)),u=r(u,e,e=o+3*n.length);const t=a().subarray(u+o,u+e);o+=w(n,t).written}return g=o,u}function h(n){return null==n}let m=null;function y(){return null!==m&&m.buffer===u.p.buffer||(m=new Int32Array(u.p.buffer)),m}function v(n,t,r,e){const c={a:n,b:t,cnt:1,dtor:r},o=(...n)=>{c.cnt++;const t=c.a;c.a=0;try{return e(t,c.b,...n)}finally{0==--c.cnt?u.b.get(c.dtor)(t,c.b):c.a=t}};return o.original=c,o}function j(n,t,r){u.f(n,t,_(r))}function k(n,t,r){u.f(n,t,_(r))}function T(n,t,r){u.f(n,t,_(r))}function x(n,t,r){u.f(n,t,_(r))}function A(n,t,r){u.g(n,t,_(r))}function S(n,t){u.h(n,t)}let O=32;function E(n,t){try{var r=p(t,u.d,u.e),e=g;return u.j(function(n){if(1==O)throw new Error("out of js stack");return c[--O]=n,O}(n),r,e)}finally{c[O++]=void 0}}function q(n){u.l(n)}function D(n,t){const r=t(1*n.length);return a().set(n,r/1),g=n.length,r}function P(n,t){var r=D(t,u.d),e=g;u.n(n,r,e)}function C(n,t){return u.k(n,t)}function F(n,t){var r=D(t,u.d),e=g;u.o(n,r,e)}function W(n){u.m(n)}function I(n){var t=p(n,u.d,u.e),r=g;u.i(t,r)}function J(n){return function(){try{return n.apply(this,arguments)}catch(n){u.a(_(n))}}}function U(n,t){return a().subarray(n/1,n/1+t)}const G=function(n){f(n)},V=function(n,t){console.log(l(n,t))},$=function(n){return _(o(n))},B=function(n,t){return _(l(n,t))},N=function(n){const t=f(n).original;if(1==t.cnt--)return t.a=0,!0;return!1},R=function(){return _(new Error)},z=function(n,t){var r=p(o(t).stack,u.d,u.e),e=g;y()[n/4+1]=e,y()[n/4+0]=r},H=function(n,t){try{console.error(l(n,t))}finally{u.c(n,t)}},M=function(n,t){console.log(l(n,t))},L=function(n,t,r,e,u,c,o,i){console.log(l(n,t),l(r,e),l(u,c),l(o,i))},K=function(n,t){performance.mark(l(n,t))},Q=function(n,t,r,e){performance.measure(l(n,t),l(r,e))},X=function(n){return _(o(n).Window)},Y=function(n){return void 0===o(n)},Z=function(n){return _(o(n).WorkerGlobalScope)},nn=function(n){return o(n)instanceof Window},tn=function(n){return _(o(n).navigator)},rn=function(n,t){o(n).clearTimeout(t)},en=J((function(n,t,r){return o(n).setTimeout(o(t),r)})),un=function(n,t,r){return _(o(n).getCharacteristic(l(t,r)))},cn=function(n){var t=o(n).value;return h(t)?0:_(t)},on=function(n,t){o(n).oncharacteristicvaluechanged=o(t)},fn=function(n){return _(o(n).startNotifications())},_n=function(n,t,r){return _(o(n).writeValue(U(t,r)))},dn=function(n){return _(o(n).connect())},bn=function(n,t,r){return _(o(n).getPrimaryService(l(t,r)))},an=function(n){var t=o(n).target;return h(t)?0:_(t)},ln=function(n,t){return _(o(n).requestDevice(o(t)))},gn=function(n,t){var r=p(o(t).id,u.d,u.e),e=g;y()[n/4+1]=e,y()[n/4+0]=r},sn=function(n,t){var r=o(t).name,e=h(r)?0:p(r,u.d,u.e),c=g;y()[n/4+1]=c,y()[n/4+0]=e},wn=function(n){var t=o(n).gatt;return h(t)?0:_(t)},pn=function(n,t){o(n).ongattserverdisconnected=o(t)},hn=function(n,t){o(n).clearTimeout(t)},mn=J((function(n,t,r){return o(n).setTimeout(o(t),r)})),yn=function(n){var t=o(n).bluetooth;return h(t)?0:_(t)},vn=function(n,t){o(n).onopen=o(t)},jn=function(n,t){o(n).onerror=o(t)},kn=function(n,t){o(n).onmessage=o(t)},Tn=J((function(n,t){return _(new WebSocket(l(n,t)))})),xn=J((function(n){o(n).close()})),An=J((function(n,t,r){o(n).send(l(t,r))})),Sn=function(n){return _(o(n).data)},On=J((function(n,t){return _(o(n).call(o(t)))})),En=function(){return _(new Array)},qn=function(n,t){return o(n).push(o(t))},Dn=function(n){return _(o(n).buffer)},Pn=function(n,t){return _(new Function(l(n,t)))},Cn=J((function(n,t,r){return _(o(n).call(o(t),o(r)))})),Fn=function(){return _(new Object)},Wn=function(n){return _(Promise.resolve(o(n)))},In=function(n,t){return _(o(n).then(o(t)))},Jn=function(n,t,r){return _(o(n).then(o(t),o(r)))},Un=J((function(){return _(self.self)})),Gn=J((function(){return _(window.window)})),Vn=J((function(){return _(globalThis.globalThis)})),$n=J((function(){return _(e.global)})),Bn=function(n){return _(o(n).buffer)},Nn=function(n,t,r){return _(new Uint8Array(o(n),t>>>0,r>>>0))},Rn=function(n){return o(n).length},zn=function(n){return _(new Uint8Array(o(n)))},Hn=function(n,t,r){o(n).set(o(t),r>>>0)},Mn=function(n,t){return _(new Uint8Array(o(n),t>>>0))},Ln=J((function(n,t,r){return Reflect.set(o(n),o(t),o(r))})),Kn=J((function(n,t,r){o(n).getRandomValues(U(t,r))})),Qn=J((function(n,t,r){o(n).randomFillSync(U(t,r))})),Xn=J((function(){return _(self.self)})),Yn=function(){return _(n)},Zn=J((function(n,t,r){return _(o(n).require(l(t,r)))})),nt=function(n){return _(o(n).crypto)},tt=function(n){return _(o(n).msCrypto)},rt=function(n){return"string"==typeof o(n)},et=function(n,t){const r=o(t);var e="string"==typeof r?r:void 0,c=h(e)?0:p(e,u.d,u.e),i=g;y()[n/4+1]=i,y()[n/4+0]=c},ut=function(n,t){var r=p(function n(t){const r=typeof t;if("number"==r||"boolean"==r||null==t)return""+t;if("string"==r)return`"${t}"`;if("symbol"==r){const n=t.description;return null==n?"Symbol":`Symbol(${n})`}if("function"==r){const n=t.name;return"string"==typeof n&&n.length>0?`Function(${n})`:"Function"}if(Array.isArray(t)){const r=t.length;let e="[";r>0&&(e+=n(t[0]));for(let u=1;u<r;u++)e+=", "+n(t[u]);return e+="]",e}const e=/\[object ([^\]]+)\]/.exec(toString.call(t));let u;if(!(e.length>1))return toString.call(t);if(u=e[1],"Object"==u)try{return"Object("+JSON.stringify(t)+")"}catch(n){return"Object"}return t instanceof Error?`${t.name}: ${t.message}\n${t.stack}`:u}(o(t)),u.d,u.e),e=g;y()[n/4+1]=e,y()[n/4+0]=r},ct=function(n,t){throw new Error(l(n,t))},ot=function(){return _(u.p)},it=function(n,t,r){return _(v(n,t,211,j))},ft=function(n,t,r){return _(v(n,t,211,k))},_t=function(n,t,r){return _(v(n,t,211,T))},dt=function(n,t,r){return _(v(n,t,211,x))},bt=function(n,t,r){return _(v(n,t,1198,A))},at=function(n,t,r){return _(v(n,t,1879,S))}}).call(this,r("./node_modules/webpack/buildin/harmony-module.js")(n),r("./node_modules/webpack/buildin/global.js"))},"./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.wasm":function(n,t,r){"use strict";var e=r.w[n.i];n.exports=e;r("./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.js");e.q()}}]);
//# sourceMappingURL=1.buttplug.min.js.map

@@ -7,3 +7,3 @@ {

"description": "Buttplug WASM library for web applications (Node/Web). Does not work for native node at the moment.",
"version": "1.0.8",
"version": "1.0.9",
"license": "BSD-3-Clause",

@@ -10,0 +10,0 @@ "homepage": "https://buttplug.io",

@@ -93,2 +93,11 @@ # Buttplug Rust FFI - WASM/Typescript/Javascript

If you're seeing MIME issues (i.e. "unknown type" when trying load your app), you may need to set the MIME type in the Webpack configuration file. Add the following block to your rules object:
```javascript
{
test: /\.wasm$/,
type: "webassembly/experimental"
}
```
If you still run into problems, [file an issue](https://github.com/buttplugio/buttplug-rs-ffi/issues)

@@ -95,0 +104,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc