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.2 to 1.0.3

.netlify/state.json

9

CHANGELOG.md

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

# 1.0.3 (2021/01/18)
## Features
- Update to Buttplug-rs v2.0.0
- Lovense Ferri support
- Init/Event API cleanup
- Panic messages/stacks now emitted on WASM panic
# 1.0.2 (2021/01/10)

@@ -2,0 +11,0 @@

32

dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg.d.ts

@@ -36,5 +36,7 @@ /**

export function __wbindgen_object_drop_ref(arg0: any): void;
export function __wbindgen_cb_drop(arg0: any): boolean;
export function __wbindgen_object_clone_ref(arg0: any): number;
export function __wbindgen_cb_drop(arg0: any): boolean;
export function __wbindgen_string_new(arg0: any, arg1: any): number;
export function __wbindgen_is_undefined(arg0: any): boolean;
export function __wbg_log_9b97f4a146c96ce0(arg0: any, arg1: any): void;
export function __wbg_instanceof_Window_49f532f06a9786ee(arg0: any): boolean;

@@ -62,2 +64,5 @@ export function __wbg_navigator_95ba9cd684cf90aa(arg0: any): number;

export function __wbg_data_5c896013c39c6e21(arg0: any): number;
export function __wbg_new_59cb74e423758ede(): number;
export function __wbg_stack_558ba5917b466edd(arg0: any, arg1: any): void;
export function __wbg_error_4bb6c2a97407129a(arg0: any, arg1: any): void;
export function __wbg_log_75fc43480a5907a7(arg0: any, arg1: any): void;

@@ -67,2 +72,3 @@ export function __wbg_log_a73f6bdd88fae982(arg0: any, arg1: any, arg2: any, arg3: any, arg4: any, arg5: any, arg6: any, arg7: any): void;

export function __wbg_measure_0c2a5c5e55e16643(arg0: any, arg1: any, arg2: any, arg3: any): void;
export function __wbg_get_85e0a3b459845fe2(...args: any[]): any;
export function __wbg_call_951bd0c6d815d6f1(...args: any[]): any;

@@ -82,3 +88,2 @@ export function __wbg_new_9dff83a08f5994f3(): number;

export function __wbg_global_b87245cd886d7113(...args: any[]): any;
export function __wbindgen_is_undefined(arg0: any): boolean;
export function __wbg_buffer_3f12a1c608c6d04e(arg0: any): number;

@@ -91,10 +96,9 @@ export function __wbg_newwithbyteoffsetandlength_4c51342f87299c5a(arg0: any, arg1: any, arg2: any): number;

export function __wbg_set_9bdd413385146137(...args: any[]): any;
export function __wbg_self_1c83eb4471d9eb9b(...args: any[]): any;
export function __wbg_static_accessor_MODULE_abf5ae284bffdf45(): number;
export function __wbg_require_5b2b5b594d809d9f(arg0: any, arg1: any, arg2: any): number;
export function __wbg_crypto_c12f14e810edcaa2(arg0: any): number;
export function __wbg_msCrypto_679be765111ba775(arg0: any): number;
export function __wbg_getRandomValues_05a60bf171bfc2be(arg0: any): number;
export function __wbg_getRandomValues_3ac1b33c90b52596(arg0: any, arg1: any, arg2: any): void;
export function __wbg_randomFillSync_6f956029658662ec(arg0: any, arg1: any, arg2: any): void;
export function __wbg_getRandomValues_11115a852729f4e8(...args: any[]): any;
export function __wbg_randomFillSync_a2d002fc3b8e30f7(...args: any[]): any;
export function __wbg_self_a5f0fe5564782787(...args: any[]): any;
export function __wbg_static_accessor_MODULE_7f278c5446c126c8(): number;
export function __wbg_require_29e58b5f6f133563(...args: any[]): any;
export function __wbg_crypto_d91429ea1a087f70(arg0: any): number;
export function __wbg_msCrypto_c8be2bb4fc7d8cd3(arg0: any): number;
export function __wbindgen_is_string(arg0: any): boolean;

@@ -105,5 +109,5 @@ export function __wbindgen_string_get(arg0: any, arg1: any): void;

export function __wbindgen_memory(): number;
export function __wbindgen_closure_wrapper476(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper478(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper480(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper2556(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper238(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper240(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper242(arg0: any, arg1: any, arg2: any): number;
export function __wbindgen_closure_wrapper2509(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__h20d06278678f4af5(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1757f38e7449ef52(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__h20d06278678f4af5(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1757f38e7449ef52(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__h20d06278678f4af5(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1757f38e7449ef52(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__hf7abc9a702c4a21c(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4e040739a13f1447(arg0, arg1, addHeapObject(arg2));
}

@@ -290,6 +290,2 @@ let stack_pointer = 32;

};
export const __wbindgen_object_clone_ref = function (arg0) {
var ret = getObject(arg0);
return addHeapObject(ret);
};
export const __wbindgen_cb_drop = function (arg0) {

@@ -304,2 +300,6 @@ const obj = takeObject(arg0).original;

};
export const __wbindgen_object_clone_ref = function (arg0) {
var ret = getObject(arg0);
return addHeapObject(ret);
};
export const __wbindgen_string_new = function (arg0, arg1) {

@@ -309,2 +309,9 @@ var ret = getStringFromWasm0(arg0, arg1);

};
export const __wbindgen_is_undefined = function (arg0) {
var ret = getObject(arg0) === undefined;
return ret;
};
export const __wbg_log_9b97f4a146c96ce0 = function (arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
export const __wbg_instanceof_Window_49f532f06a9786ee = function (arg0) {

@@ -398,2 +405,21 @@ var ret = getObject(arg0) instanceof Window;

};
export const __wbg_new_59cb74e423758ede = function () {
var ret = new Error();
return addHeapObject(ret);
};
export const __wbg_stack_558ba5917b466edd = function (arg0, arg1) {
var ret = getObject(arg1).stack;
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
export const __wbg_error_4bb6c2a97407129a = function (arg0, arg1) {
try {
console.error(getStringFromWasm0(arg0, arg1));
}
finally {
wasm.__wbindgen_free(arg0, arg1);
}
};
export const __wbg_log_75fc43480a5907a7 = function (arg0, arg1) {

@@ -411,2 +437,6 @@ console.log(getStringFromWasm0(arg0, arg1));

};
export const __wbg_get_85e0a3b459845fe2 = handleError(function (arg0, arg1) {
var ret = Reflect.get(getObject(arg0), getObject(arg1));
return addHeapObject(ret);
});
export const __wbg_call_951bd0c6d815d6f1 = handleError(function (arg0, arg1) {

@@ -468,6 +498,2 @@ var ret = getObject(arg0).call(getObject(arg1));

});
export const __wbindgen_is_undefined = function (arg0) {
var ret = getObject(arg0) === undefined;
return ret;
};
export const __wbg_buffer_3f12a1c608c6d04e = function (arg0) {

@@ -500,32 +526,28 @@ var ret = getObject(arg0).buffer;

});
export const __wbg_self_1c83eb4471d9eb9b = handleError(function () {
export const __wbg_getRandomValues_11115a852729f4e8 = handleError(function (arg0, arg1, arg2) {
getObject(arg0).getRandomValues(getArrayU8FromWasm0(arg1, arg2));
});
export const __wbg_randomFillSync_a2d002fc3b8e30f7 = handleError(function (arg0, arg1, arg2) {
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
});
export const __wbg_self_a5f0fe5564782787 = handleError(function () {
var ret = self.self;
return addHeapObject(ret);
});
export const __wbg_static_accessor_MODULE_abf5ae284bffdf45 = function () {
export const __wbg_static_accessor_MODULE_7f278c5446c126c8 = function () {
var ret = module;
return addHeapObject(ret);
};
export const __wbg_require_5b2b5b594d809d9f = function (arg0, arg1, arg2) {
export const __wbg_require_29e58b5f6f133563 = handleError(function (arg0, arg1, arg2) {
var ret = getObject(arg0).require(getStringFromWasm0(arg1, arg2));
return addHeapObject(ret);
};
export const __wbg_crypto_c12f14e810edcaa2 = function (arg0) {
});
export const __wbg_crypto_d91429ea1a087f70 = function (arg0) {
var ret = getObject(arg0).crypto;
return addHeapObject(ret);
};
export const __wbg_msCrypto_679be765111ba775 = function (arg0) {
export const __wbg_msCrypto_c8be2bb4fc7d8cd3 = function (arg0) {
var ret = getObject(arg0).msCrypto;
return addHeapObject(ret);
};
export const __wbg_getRandomValues_05a60bf171bfc2be = function (arg0) {
var ret = getObject(arg0).getRandomValues;
return addHeapObject(ret);
};
export const __wbg_getRandomValues_3ac1b33c90b52596 = function (arg0, arg1, arg2) {
getObject(arg0).getRandomValues(getArrayU8FromWasm0(arg1, arg2));
};
export const __wbg_randomFillSync_6f956029658662ec = function (arg0, arg1, arg2) {
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
};
export const __wbindgen_is_string = function (arg0) {

@@ -557,18 +579,18 @@ var ret = typeof (getObject(arg0)) === 'string';

};
export const __wbindgen_closure_wrapper476 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 114, __wbg_adapter_22);
export const __wbindgen_closure_wrapper238 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 19, __wbg_adapter_22);
return addHeapObject(ret);
};
export const __wbindgen_closure_wrapper478 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 114, __wbg_adapter_25);
export const __wbindgen_closure_wrapper240 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 19, __wbg_adapter_25);
return addHeapObject(ret);
};
export const __wbindgen_closure_wrapper480 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 114, __wbg_adapter_28);
export const __wbindgen_closure_wrapper242 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 19, __wbg_adapter_28);
return addHeapObject(ret);
};
export const __wbindgen_closure_wrapper2556 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 1105, __wbg_adapter_31);
export const __wbindgen_closure_wrapper2509 = function (arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 1150, __wbg_adapter_31);
return addHeapObject(ret);
};
//# sourceMappingURL=buttplug_rs_ffi_bg.js.map

@@ -14,4 +14,5 @@ /* 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__h20d06278678f4af5(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf7abc9a702c4a21c(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1757f38e7449ef52(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4e040739a13f1447(a: number, b: number, c: number): void;
export function __wbindgen_exn_store(a: number): void;
export function __wbindgen_free(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.sb})),r.d(t,"buttplug_free_client",(function(){return e.ub})),r.d(t,"buttplug_parse_client_message",(function(){return e.wb})),r.d(t,"buttplug_create_device",(function(){return e.tb})),r.d(t,"buttplug_parse_device_message",(function(){return e.xb})),r.d(t,"buttplug_free_device",(function(){return e.vb})),r.d(t,"buttplug_activate_env_logger",(function(){return e.rb})),r.d(t,"__wbindgen_object_drop_ref",(function(){return e.nb})),r.d(t,"__wbindgen_object_clone_ref",(function(){return e.mb})),r.d(t,"__wbindgen_cb_drop",(function(){return e.db})),r.d(t,"__wbindgen_string_new",(function(){return e.pb})),r.d(t,"__wbg_instanceof_Window_49f532f06a9786ee",(function(){return e.r})),r.d(t,"__wbg_navigator_95ba9cd684cf90aa",(function(){return e.z})),r.d(t,"__wbg_getCharacteristic_b001b7c09638ce1e",(function(){return e.k})),r.d(t,"__wbg_value_3776803576d97fcc",(function(){return e.ab})),r.d(t,"__wbg_setoncharacteristicvaluechanged_f7ee268791e4983f",(function(){return e.R})),r.d(t,"__wbg_startNotifications_a4df90bb7133a56e",(function(){return e.V})),r.d(t,"__wbg_writeValue_da005325ac8ca005",(function(){return e.cb})),r.d(t,"__wbg_connect_1fca84c2f4ff511c",(function(){return e.g})),r.d(t,"__wbg_getPrimaryService_b884fcd1544ed03c",(function(){return e.l})),r.d(t,"__wbg_target_4bc4eb28204bcc44",(function(){return e.X})),r.d(t,"__wbg_requestDevice_84f02605191b7abe",(function(){return e.J})),r.d(t,"__wbg_id_1d8f28399ea3eab4",(function(){return e.q})),r.d(t,"__wbg_name_fb1fa7e6ecd19fc5",(function(){return e.y})),r.d(t,"__wbg_gatt_75077e6ef5ab3193",(function(){return e.j})),r.d(t,"__wbg_bluetooth_22ee2659ffe37867",(function(){return e.a})),r.d(t,"__wbg_setonopen_c24d49cee44daad8",(function(){return e.U})),r.d(t,"__wbg_setonerror_64ee2a67b3f7eebf",(function(){return e.S})),r.d(t,"__wbg_setonmessage_fcc92da9f859cdc2",(function(){return e.T})),r.d(t,"__wbg_new_df8fc59a35e30ae9",(function(){return e.D})),r.d(t,"__wbg_close_95e96a88da73491e",(function(){return e.f})),r.d(t,"__wbg_send_c6982a9ac7d4b83d",(function(){return e.O})),r.d(t,"__wbg_data_5c896013c39c6e21",(function(){return e.i})),r.d(t,"__wbg_log_75fc43480a5907a7",(function(){return e.t})),r.d(t,"__wbg_log_a73f6bdd88fae982",(function(){return e.u})),r.d(t,"__wbg_mark_e32edf3b52687c6a",(function(){return e.v})),r.d(t,"__wbg_measure_0c2a5c5e55e16643",(function(){return e.w})),r.d(t,"__wbg_call_951bd0c6d815d6f1",(function(){return e.d})),r.d(t,"__wbg_new_9dff83a08f5994f3",(function(){return e.A})),r.d(t,"__wbg_push_3ddd8187ff2ff82d",(function(){return e.H})),r.d(t,"__wbg_buffer_20c611418be17f9d",(function(){return e.b})),r.d(t,"__wbg_newnoargs_7c6bd521992b4022",(function(){return e.E})),r.d(t,"__wbg_call_bf745b1758bb6693",(function(){return e.e})),r.d(t,"__wbg_new_ba07d0daa0e4677e",(function(){return e.B})),r.d(t,"__wbg_resolve_6e61e640925a0db9",(function(){return e.L})),r.d(t,"__wbg_then_dd3785597974798a",(function(){return e.Z})),r.d(t,"__wbg_then_0f957e0f4c3e537a",(function(){return e.Y})),r.d(t,"__wbg_self_6baf3a3aa7b63415",(function(){return e.N})),r.d(t,"__wbg_window_63fc4027b66c265b",(function(){return e.bb})),r.d(t,"__wbg_globalThis_513fb247e8e4e6d2",(function(){return e.o})),r.d(t,"__wbg_global_b87245cd886d7113",(function(){return e.p})),r.d(t,"__wbindgen_is_undefined",(function(){return e.kb})),r.d(t,"__wbg_buffer_3f12a1c608c6d04e",(function(){return e.c})),r.d(t,"__wbg_newwithbyteoffsetandlength_4c51342f87299c5a",(function(){return e.G})),r.d(t,"__wbg_length_c645e7c02233b440",(function(){return e.s})),r.d(t,"__wbg_new_c6c0228e6d22a2f9",(function(){return e.C})),r.d(t,"__wbg_set_b91afac9fd216d99",(function(){return e.Q})),r.d(t,"__wbg_newwithbyteoffset_2f2d8bb07cac609c",(function(){return e.F})),r.d(t,"__wbg_set_9bdd413385146137",(function(){return e.P})),r.d(t,"__wbg_self_1c83eb4471d9eb9b",(function(){return e.M})),r.d(t,"__wbg_static_accessor_MODULE_abf5ae284bffdf45",(function(){return e.W})),r.d(t,"__wbg_require_5b2b5b594d809d9f",(function(){return e.K})),r.d(t,"__wbg_crypto_c12f14e810edcaa2",(function(){return e.h})),r.d(t,"__wbg_msCrypto_679be765111ba775",(function(){return e.x})),r.d(t,"__wbg_getRandomValues_05a60bf171bfc2be",(function(){return e.m})),r.d(t,"__wbg_getRandomValues_3ac1b33c90b52596",(function(){return e.n})),r.d(t,"__wbg_randomFillSync_6f956029658662ec",(function(){return e.I})),r.d(t,"__wbindgen_is_string",(function(){return e.jb})),r.d(t,"__wbindgen_string_get",(function(){return e.ob})),r.d(t,"__wbindgen_debug_string",(function(){return e.ib})),r.d(t,"__wbindgen_throw",(function(){return e.qb})),r.d(t,"__wbindgen_memory",(function(){return e.lb})),r.d(t,"__wbindgen_closure_wrapper476",(function(){return e.fb})),r.d(t,"__wbindgen_closure_wrapper478",(function(){return e.gb})),r.d(t,"__wbindgen_closure_wrapper480",(function(){return e.hb})),r.d(t,"__wbindgen_closure_wrapper2556",(function(){return e.eb}))},"./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.js":function(n,t,r){"use strict";(function(n,e){r.d(t,"sb",(function(){return S})),r.d(t,"ub",(function(){return T})),r.d(t,"wb",(function(){return P})),r.d(t,"tb",(function(){return E})),r.d(t,"xb",(function(){return D})),r.d(t,"vb",(function(){return V})),r.d(t,"rb",(function(){return C})),r.d(t,"nb",(function(){return U})),r.d(t,"mb",(function(){return $})),r.d(t,"db",(function(){return I})),r.d(t,"pb",(function(){return J})),r.d(t,"r",(function(){return N})),r.d(t,"z",(function(){return W})),r.d(t,"k",(function(){return M})),r.d(t,"ab",(function(){return B})),r.d(t,"R",(function(){return L})),r.d(t,"V",(function(){return z})),r.d(t,"cb",(function(){return G})),r.d(t,"g",(function(){return H})),r.d(t,"l",(function(){return K})),r.d(t,"X",(function(){return Q})),r.d(t,"J",(function(){return X})),r.d(t,"q",(function(){return Y})),r.d(t,"y",(function(){return Z})),r.d(t,"j",(function(){return nn})),r.d(t,"a",(function(){return tn})),r.d(t,"U",(function(){return rn})),r.d(t,"S",(function(){return en})),r.d(t,"T",(function(){return un})),r.d(t,"D",(function(){return cn})),r.d(t,"f",(function(){return on})),r.d(t,"O",(function(){return fn})),r.d(t,"i",(function(){return _n})),r.d(t,"t",(function(){return dn})),r.d(t,"u",(function(){return bn})),r.d(t,"v",(function(){return an})),r.d(t,"w",(function(){return ln})),r.d(t,"d",(function(){return gn})),r.d(t,"A",(function(){return sn})),r.d(t,"H",(function(){return wn})),r.d(t,"b",(function(){return pn})),r.d(t,"E",(function(){return hn})),r.d(t,"e",(function(){return yn})),r.d(t,"B",(function(){return mn})),r.d(t,"L",(function(){return vn})),r.d(t,"Z",(function(){return jn})),r.d(t,"Y",(function(){return kn})),r.d(t,"N",(function(){return xn})),r.d(t,"bb",(function(){return On})),r.d(t,"o",(function(){return An})),r.d(t,"p",(function(){return Sn})),r.d(t,"kb",(function(){return Tn})),r.d(t,"c",(function(){return qn})),r.d(t,"G",(function(){return Pn})),r.d(t,"s",(function(){return En})),r.d(t,"C",(function(){return Dn})),r.d(t,"Q",(function(){return Vn})),r.d(t,"F",(function(){return Cn})),r.d(t,"P",(function(){return Fn})),r.d(t,"M",(function(){return Rn})),r.d(t,"W",(function(){return Un})),r.d(t,"K",(function(){return $n})),r.d(t,"h",(function(){return In})),r.d(t,"x",(function(){return Jn})),r.d(t,"m",(function(){return Nn})),r.d(t,"n",(function(){return Wn})),r.d(t,"I",(function(){return Mn})),r.d(t,"jb",(function(){return Bn})),r.d(t,"ob",(function(){return Ln})),r.d(t,"ib",(function(){return zn})),r.d(t,"qb",(function(){return Gn})),r.d(t,"lb",(function(){return Hn})),r.d(t,"fb",(function(){return Kn})),r.d(t,"gb",(function(){return Qn})),r.d(t,"hb",(function(){return Xn})),r.d(t,"eb",(function(){return Yn}));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 f=c.length;function i(n){const t=o(n);return function(n){n<36||(c[n]=f,f=n)}(n),t}function _(n){f===c.length&&c.push(c.length+1);const t=f;return f=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.n.buffer||(b=new Uint8Array(u.n.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 y=null;function m(){return null!==y&&y.buffer===u.n.buffer||(y=new Int32Array(u.n.buffer)),y}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.e(n,t,_(r))}function k(n,t,r){u.e(n,t,_(r))}function x(n,t,r){u.e(n,t,_(r))}function O(n,t,r){u.f(n,t,_(r))}let A=32;function S(n,t){try{var r=p(t,u.c,u.d),e=g;return u.h(function(n){if(1==A)throw new Error("out of js stack");return c[--A]=n,A}(n),r,e)}finally{c[A++]=void 0}}function T(n){u.j(n)}function q(n,t){const r=t(1*n.length);return a().set(n,r/1),g=n.length,r}function P(n,t){var r=q(t,u.c),e=g;u.l(n,r,e)}function E(n,t){return u.i(n,t)}function D(n,t){var r=q(t,u.c),e=g;u.m(n,r,e)}function V(n){u.k(n)}function C(n){var t=p(n,u.c,u.d),r=g;u.g(t,r)}function F(n,t){return a().subarray(n/1,n/1+t)}function R(n){return function(){try{return n.apply(this,arguments)}catch(n){u.a(_(n))}}}const U=function(n){i(n)},$=function(n){return _(o(n))},I=function(n){const t=i(n).original;if(1==t.cnt--)return t.a=0,!0;return!1},J=function(n,t){return _(l(n,t))},N=function(n){return o(n)instanceof Window},W=function(n){return _(o(n).navigator)},M=function(n,t,r){return _(o(n).getCharacteristic(l(t,r)))},B=function(n){var t=o(n).value;return h(t)?0:_(t)},L=function(n,t){o(n).oncharacteristicvaluechanged=o(t)},z=function(n){return _(o(n).startNotifications())},G=function(n,t,r){return _(o(n).writeValue(F(t,r)))},H=function(n){return _(o(n).connect())},K=function(n,t,r){return _(o(n).getPrimaryService(l(t,r)))},Q=function(n){var t=o(n).target;return h(t)?0:_(t)},X=function(n,t){return _(o(n).requestDevice(o(t)))},Y=function(n,t){var r=p(o(t).id,u.c,u.d),e=g;m()[n/4+1]=e,m()[n/4+0]=r},Z=function(n,t){var r=o(t).name,e=h(r)?0:p(r,u.c,u.d),c=g;m()[n/4+1]=c,m()[n/4+0]=e},nn=function(n){var t=o(n).gatt;return h(t)?0:_(t)},tn=function(n){return _(o(n).bluetooth)},rn=function(n,t){o(n).onopen=o(t)},en=function(n,t){o(n).onerror=o(t)},un=function(n,t){o(n).onmessage=o(t)},cn=R((function(n,t){return _(new WebSocket(l(n,t)))})),on=R((function(n){o(n).close()})),fn=R((function(n,t,r){o(n).send(l(t,r))})),_n=function(n){return _(o(n).data)},dn=function(n,t){console.log(l(n,t))},bn=function(n,t,r,e,u,c,o,f){console.log(l(n,t),l(r,e),l(u,c),l(o,f))},an=function(n,t){performance.mark(l(n,t))},ln=function(n,t,r,e){performance.measure(l(n,t),l(r,e))},gn=R((function(n,t){return _(o(n).call(o(t)))})),sn=function(){return _(new Array)},wn=function(n,t){return o(n).push(o(t))},pn=function(n){return _(o(n).buffer)},hn=function(n,t){return _(new Function(l(n,t)))},yn=R((function(n,t,r){return _(o(n).call(o(t),o(r)))})),mn=function(){return _(new Object)},vn=function(n){return _(Promise.resolve(o(n)))},jn=function(n,t){return _(o(n).then(o(t)))},kn=function(n,t,r){return _(o(n).then(o(t),o(r)))},xn=R((function(){return _(self.self)})),On=R((function(){return _(window.window)})),An=R((function(){return _(globalThis.globalThis)})),Sn=R((function(){return _(e.global)})),Tn=function(n){return void 0===o(n)},qn=function(n){return _(o(n).buffer)},Pn=function(n,t,r){return _(new Uint8Array(o(n),t>>>0,r>>>0))},En=function(n){return o(n).length},Dn=function(n){return _(new Uint8Array(o(n)))},Vn=function(n,t,r){o(n).set(o(t),r>>>0)},Cn=function(n,t){return _(new Uint8Array(o(n),t>>>0))},Fn=R((function(n,t,r){return Reflect.set(o(n),o(t),o(r))})),Rn=R((function(){return _(self.self)})),Un=function(){return _(n)},$n=function(n,t,r){return _(o(n).require(l(t,r)))},In=function(n){return _(o(n).crypto)},Jn=function(n){return _(o(n).msCrypto)},Nn=function(n){return _(o(n).getRandomValues)},Wn=function(n,t,r){o(n).getRandomValues(F(t,r))},Mn=function(n,t,r){o(n).randomFillSync(F(t,r))},Bn=function(n){return"string"==typeof o(n)},Ln=function(n,t){const r=o(t);var e="string"==typeof r?r:void 0,c=h(e)?0:p(e,u.c,u.d),f=g;m()[n/4+1]=f,m()[n/4+0]=c},zn=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.c,u.d),e=g;m()[n/4+1]=e,m()[n/4+0]=r},Gn=function(n,t){throw new Error(l(n,t))},Hn=function(){return _(u.n)},Kn=function(n,t,r){return _(v(n,t,114,j))},Qn=function(n,t,r){return _(v(n,t,114,k))},Xn=function(n,t,r){return _(v(n,t,114,x))},Yn=function(n,t,r){return _(v(n,t,1105,O))}}).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.o()}}]);
(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.wb})),r.d(t,"buttplug_free_client",(function(){return e.yb})),r.d(t,"buttplug_parse_client_message",(function(){return e.Ab})),r.d(t,"buttplug_create_device",(function(){return e.xb})),r.d(t,"buttplug_parse_device_message",(function(){return e.Bb})),r.d(t,"buttplug_free_device",(function(){return e.zb})),r.d(t,"buttplug_activate_env_logger",(function(){return e.vb})),r.d(t,"__wbindgen_object_drop_ref",(function(){return e.rb})),r.d(t,"__wbindgen_cb_drop",(function(){return e.hb})),r.d(t,"__wbindgen_object_clone_ref",(function(){return e.qb})),r.d(t,"__wbindgen_string_new",(function(){return e.tb})),r.d(t,"__wbindgen_is_undefined",(function(){return e.ob})),r.d(t,"__wbg_log_9b97f4a146c96ce0",(function(){return e.v})),r.d(t,"__wbg_instanceof_Window_49f532f06a9786ee",(function(){return e.s})),r.d(t,"__wbg_navigator_95ba9cd684cf90aa",(function(){return e.B})),r.d(t,"__wbg_getCharacteristic_b001b7c09638ce1e",(function(){return e.l})),r.d(t,"__wbg_value_3776803576d97fcc",(function(){return e.eb})),r.d(t,"__wbg_setoncharacteristicvaluechanged_f7ee268791e4983f",(function(){return e.U})),r.d(t,"__wbg_startNotifications_a4df90bb7133a56e",(function(){return e.Z})),r.d(t,"__wbg_writeValue_da005325ac8ca005",(function(){return e.gb})),r.d(t,"__wbg_connect_1fca84c2f4ff511c",(function(){return e.g})),r.d(t,"__wbg_getPrimaryService_b884fcd1544ed03c",(function(){return e.m})),r.d(t,"__wbg_target_4bc4eb28204bcc44",(function(){return e.bb})),r.d(t,"__wbg_requestDevice_84f02605191b7abe",(function(){return e.M})),r.d(t,"__wbg_id_1d8f28399ea3eab4",(function(){return e.r})),r.d(t,"__wbg_name_fb1fa7e6ecd19fc5",(function(){return e.A})),r.d(t,"__wbg_gatt_75077e6ef5ab3193",(function(){return e.k})),r.d(t,"__wbg_bluetooth_22ee2659ffe37867",(function(){return e.a})),r.d(t,"__wbg_setonopen_c24d49cee44daad8",(function(){return e.X})),r.d(t,"__wbg_setonerror_64ee2a67b3f7eebf",(function(){return e.V})),r.d(t,"__wbg_setonmessage_fcc92da9f859cdc2",(function(){return e.W})),r.d(t,"__wbg_new_df8fc59a35e30ae9",(function(){return e.G})),r.d(t,"__wbg_close_95e96a88da73491e",(function(){return e.f})),r.d(t,"__wbg_send_c6982a9ac7d4b83d",(function(){return e.R})),r.d(t,"__wbg_data_5c896013c39c6e21",(function(){return e.i})),r.d(t,"__wbg_new_59cb74e423758ede",(function(){return e.C})),r.d(t,"__wbg_stack_558ba5917b466edd",(function(){return e.Y})),r.d(t,"__wbg_error_4bb6c2a97407129a",(function(){return e.j})),r.d(t,"__wbg_log_75fc43480a5907a7",(function(){return e.u})),r.d(t,"__wbg_log_a73f6bdd88fae982",(function(){return e.w})),r.d(t,"__wbg_mark_e32edf3b52687c6a",(function(){return e.x})),r.d(t,"__wbg_measure_0c2a5c5e55e16643",(function(){return e.y})),r.d(t,"__wbg_get_85e0a3b459845fe2",(function(){return e.o})),r.d(t,"__wbg_call_951bd0c6d815d6f1",(function(){return e.d})),r.d(t,"__wbg_new_9dff83a08f5994f3",(function(){return e.D})),r.d(t,"__wbg_push_3ddd8187ff2ff82d",(function(){return e.K})),r.d(t,"__wbg_buffer_20c611418be17f9d",(function(){return e.b})),r.d(t,"__wbg_newnoargs_7c6bd521992b4022",(function(){return e.H})),r.d(t,"__wbg_call_bf745b1758bb6693",(function(){return e.e})),r.d(t,"__wbg_new_ba07d0daa0e4677e",(function(){return e.E})),r.d(t,"__wbg_resolve_6e61e640925a0db9",(function(){return e.O})),r.d(t,"__wbg_then_dd3785597974798a",(function(){return e.db})),r.d(t,"__wbg_then_0f957e0f4c3e537a",(function(){return e.cb})),r.d(t,"__wbg_self_6baf3a3aa7b63415",(function(){return e.P})),r.d(t,"__wbg_window_63fc4027b66c265b",(function(){return e.fb})),r.d(t,"__wbg_globalThis_513fb247e8e4e6d2",(function(){return e.p})),r.d(t,"__wbg_global_b87245cd886d7113",(function(){return e.q})),r.d(t,"__wbg_buffer_3f12a1c608c6d04e",(function(){return e.c})),r.d(t,"__wbg_newwithbyteoffsetandlength_4c51342f87299c5a",(function(){return e.J})),r.d(t,"__wbg_length_c645e7c02233b440",(function(){return e.t})),r.d(t,"__wbg_new_c6c0228e6d22a2f9",(function(){return e.F})),r.d(t,"__wbg_set_b91afac9fd216d99",(function(){return e.T})),r.d(t,"__wbg_newwithbyteoffset_2f2d8bb07cac609c",(function(){return e.I})),r.d(t,"__wbg_set_9bdd413385146137",(function(){return e.S})),r.d(t,"__wbg_getRandomValues_11115a852729f4e8",(function(){return e.n})),r.d(t,"__wbg_randomFillSync_a2d002fc3b8e30f7",(function(){return e.L})),r.d(t,"__wbg_self_a5f0fe5564782787",(function(){return e.Q})),r.d(t,"__wbg_static_accessor_MODULE_7f278c5446c126c8",(function(){return e.ab})),r.d(t,"__wbg_require_29e58b5f6f133563",(function(){return e.N})),r.d(t,"__wbg_crypto_d91429ea1a087f70",(function(){return e.h})),r.d(t,"__wbg_msCrypto_c8be2bb4fc7d8cd3",(function(){return e.z})),r.d(t,"__wbindgen_is_string",(function(){return e.nb})),r.d(t,"__wbindgen_string_get",(function(){return e.sb})),r.d(t,"__wbindgen_debug_string",(function(){return e.mb})),r.d(t,"__wbindgen_throw",(function(){return e.ub})),r.d(t,"__wbindgen_memory",(function(){return e.pb})),r.d(t,"__wbindgen_closure_wrapper238",(function(){return e.ib})),r.d(t,"__wbindgen_closure_wrapper240",(function(){return e.jb})),r.d(t,"__wbindgen_closure_wrapper242",(function(){return e.kb})),r.d(t,"__wbindgen_closure_wrapper2509",(function(){return e.lb}))},"./src/buttplug-rs-ffi/buttplug_rs_ffi_bg.js":function(n,t,r){"use strict";(function(n,e){r.d(t,"wb",(function(){return S})),r.d(t,"yb",(function(){return T})),r.d(t,"Ab",(function(){return E})),r.d(t,"xb",(function(){return P})),r.d(t,"Bb",(function(){return D})),r.d(t,"zb",(function(){return C})),r.d(t,"vb",(function(){return F})),r.d(t,"rb",(function(){return V})),r.d(t,"hb",(function(){return $})),r.d(t,"qb",(function(){return B})),r.d(t,"tb",(function(){return I})),r.d(t,"ob",(function(){return J})),r.d(t,"v",(function(){return N})),r.d(t,"s",(function(){return W})),r.d(t,"B",(function(){return z})),r.d(t,"l",(function(){return M})),r.d(t,"eb",(function(){return L})),r.d(t,"U",(function(){return G})),r.d(t,"Z",(function(){return H})),r.d(t,"gb",(function(){return K})),r.d(t,"g",(function(){return Q})),r.d(t,"m",(function(){return X})),r.d(t,"bb",(function(){return Y})),r.d(t,"M",(function(){return Z})),r.d(t,"r",(function(){return nn})),r.d(t,"A",(function(){return tn})),r.d(t,"k",(function(){return rn})),r.d(t,"a",(function(){return en})),r.d(t,"X",(function(){return un})),r.d(t,"V",(function(){return cn})),r.d(t,"W",(function(){return on})),r.d(t,"G",(function(){return fn})),r.d(t,"f",(function(){return _n})),r.d(t,"R",(function(){return dn})),r.d(t,"i",(function(){return bn})),r.d(t,"C",(function(){return an})),r.d(t,"Y",(function(){return ln})),r.d(t,"j",(function(){return gn})),r.d(t,"u",(function(){return sn})),r.d(t,"w",(function(){return wn})),r.d(t,"x",(function(){return pn})),r.d(t,"y",(function(){return hn})),r.d(t,"o",(function(){return yn})),r.d(t,"d",(function(){return mn})),r.d(t,"D",(function(){return vn})),r.d(t,"K",(function(){return jn})),r.d(t,"b",(function(){return kn})),r.d(t,"H",(function(){return xn})),r.d(t,"e",(function(){return An})),r.d(t,"E",(function(){return On})),r.d(t,"O",(function(){return Sn})),r.d(t,"db",(function(){return Tn})),r.d(t,"cb",(function(){return qn})),r.d(t,"P",(function(){return En})),r.d(t,"fb",(function(){return Pn})),r.d(t,"p",(function(){return Dn})),r.d(t,"q",(function(){return Cn})),r.d(t,"c",(function(){return Fn})),r.d(t,"J",(function(){return Un})),r.d(t,"t",(function(){return Rn})),r.d(t,"F",(function(){return Vn})),r.d(t,"T",(function(){return $n})),r.d(t,"I",(function(){return Bn})),r.d(t,"S",(function(){return In})),r.d(t,"n",(function(){return Jn})),r.d(t,"L",(function(){return Nn})),r.d(t,"Q",(function(){return Wn})),r.d(t,"ab",(function(){return zn})),r.d(t,"N",(function(){return Mn})),r.d(t,"h",(function(){return Ln})),r.d(t,"z",(function(){return Gn})),r.d(t,"nb",(function(){return Hn})),r.d(t,"sb",(function(){return Kn})),r.d(t,"mb",(function(){return Qn})),r.d(t,"ub",(function(){return Xn})),r.d(t,"pb",(function(){return Yn})),r.d(t,"ib",(function(){return Zn})),r.d(t,"jb",(function(){return nt})),r.d(t,"kb",(function(){return tt})),r.d(t,"lb",(function(){return rt}));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 f=c.length;function i(n){const t=o(n);return function(n){n<36||(c[n]=f,f=n)}(n),t}function _(n){f===c.length&&c.push(c.length+1);const t=f;return f=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.o.buffer||(b=new Uint8Array(u.o.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 y=null;function m(){return null!==y&&y.buffer===u.o.buffer||(y=new Int32Array(u.o.buffer)),y}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 x(n,t,r){u.f(n,t,_(r))}function A(n,t,r){u.g(n,t,_(r))}let O=32;function S(n,t){try{var r=p(t,u.d,u.e),e=g;return u.i(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 T(n){u.k(n)}function q(n,t){const r=t(1*n.length);return a().set(n,r/1),g=n.length,r}function E(n,t){var r=q(t,u.d),e=g;u.m(n,r,e)}function P(n,t){return u.j(n,t)}function D(n,t){var r=q(t,u.d),e=g;u.n(n,r,e)}function C(n){u.l(n)}function F(n){var t=p(n,u.d,u.e),r=g;u.h(t,r)}function U(n,t){return a().subarray(n/1,n/1+t)}function R(n){return function(){try{return n.apply(this,arguments)}catch(n){u.a(_(n))}}}const V=function(n){i(n)},$=function(n){const t=i(n).original;if(1==t.cnt--)return t.a=0,!0;return!1},B=function(n){return _(o(n))},I=function(n,t){return _(l(n,t))},J=function(n){return void 0===o(n)},N=function(n,t){console.log(l(n,t))},W=function(n){return o(n)instanceof Window},z=function(n){return _(o(n).navigator)},M=function(n,t,r){return _(o(n).getCharacteristic(l(t,r)))},L=function(n){var t=o(n).value;return h(t)?0:_(t)},G=function(n,t){o(n).oncharacteristicvaluechanged=o(t)},H=function(n){return _(o(n).startNotifications())},K=function(n,t,r){return _(o(n).writeValue(U(t,r)))},Q=function(n){return _(o(n).connect())},X=function(n,t,r){return _(o(n).getPrimaryService(l(t,r)))},Y=function(n){var t=o(n).target;return h(t)?0:_(t)},Z=function(n,t){return _(o(n).requestDevice(o(t)))},nn=function(n,t){var r=p(o(t).id,u.d,u.e),e=g;m()[n/4+1]=e,m()[n/4+0]=r},tn=function(n,t){var r=o(t).name,e=h(r)?0:p(r,u.d,u.e),c=g;m()[n/4+1]=c,m()[n/4+0]=e},rn=function(n){var t=o(n).gatt;return h(t)?0:_(t)},en=function(n){return _(o(n).bluetooth)},un=function(n,t){o(n).onopen=o(t)},cn=function(n,t){o(n).onerror=o(t)},on=function(n,t){o(n).onmessage=o(t)},fn=R((function(n,t){return _(new WebSocket(l(n,t)))})),_n=R((function(n){o(n).close()})),dn=R((function(n,t,r){o(n).send(l(t,r))})),bn=function(n){return _(o(n).data)},an=function(){return _(new Error)},ln=function(n,t){var r=p(o(t).stack,u.d,u.e),e=g;m()[n/4+1]=e,m()[n/4+0]=r},gn=function(n,t){try{console.error(l(n,t))}finally{u.c(n,t)}},sn=function(n,t){console.log(l(n,t))},wn=function(n,t,r,e,u,c,o,f){console.log(l(n,t),l(r,e),l(u,c),l(o,f))},pn=function(n,t){performance.mark(l(n,t))},hn=function(n,t,r,e){performance.measure(l(n,t),l(r,e))},yn=R((function(n,t){return _(Reflect.get(o(n),o(t)))})),mn=R((function(n,t){return _(o(n).call(o(t)))})),vn=function(){return _(new Array)},jn=function(n,t){return o(n).push(o(t))},kn=function(n){return _(o(n).buffer)},xn=function(n,t){return _(new Function(l(n,t)))},An=R((function(n,t,r){return _(o(n).call(o(t),o(r)))})),On=function(){return _(new Object)},Sn=function(n){return _(Promise.resolve(o(n)))},Tn=function(n,t){return _(o(n).then(o(t)))},qn=function(n,t,r){return _(o(n).then(o(t),o(r)))},En=R((function(){return _(self.self)})),Pn=R((function(){return _(window.window)})),Dn=R((function(){return _(globalThis.globalThis)})),Cn=R((function(){return _(e.global)})),Fn=function(n){return _(o(n).buffer)},Un=function(n,t,r){return _(new Uint8Array(o(n),t>>>0,r>>>0))},Rn=function(n){return o(n).length},Vn=function(n){return _(new Uint8Array(o(n)))},$n=function(n,t,r){o(n).set(o(t),r>>>0)},Bn=function(n,t){return _(new Uint8Array(o(n),t>>>0))},In=R((function(n,t,r){return Reflect.set(o(n),o(t),o(r))})),Jn=R((function(n,t,r){o(n).getRandomValues(U(t,r))})),Nn=R((function(n,t,r){o(n).randomFillSync(U(t,r))})),Wn=R((function(){return _(self.self)})),zn=function(){return _(n)},Mn=R((function(n,t,r){return _(o(n).require(l(t,r)))})),Ln=function(n){return _(o(n).crypto)},Gn=function(n){return _(o(n).msCrypto)},Hn=function(n){return"string"==typeof o(n)},Kn=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),f=g;m()[n/4+1]=f,m()[n/4+0]=c},Qn=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;m()[n/4+1]=e,m()[n/4+0]=r},Xn=function(n,t){throw new Error(l(n,t))},Yn=function(){return _(u.o)},Zn=function(n,t,r){return _(v(n,t,19,j))},nt=function(n,t,r){return _(v(n,t,19,k))},tt=function(n,t,r){return _(v(n,t,19,x))},rt=function(n,t,r){return _(v(n,t,1150,A))}}).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.p()}}]);
//# 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.2",
"version": "1.0.3",
"license": "BSD-3-Clause",

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

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

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