buttplug 1.0.13 → 1.0.17
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/CHANGELOG.md +29 -0
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi.d.ts +9 -4
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi.js +2 -2
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg.js +6 -630
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg.wasm +0 -0
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg.wasm.d.ts +6 -6
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg_node.js +799 -0
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg_web.js +788 -0
- package/dist/module/buttplug_ffi.d.ts +2 -1
- package/dist/module/buttplug_ffi.js +2747 -2105
- package/dist/module/client.d.ts +2 -2
- package/dist/module/client.js +13 -13
- package/dist/module/client.js.map +1 -1
- package/dist/module/connectors.d.ts +2 -2
- package/dist/module/connectors.js +19 -14
- package/dist/module/connectors.js.map +1 -1
- package/dist/module/device.d.ts +4 -3
- package/dist/module/device.js +15 -14
- package/dist/module/device.js.map +1 -1
- package/dist/module/errors.d.ts +1 -1
- package/dist/module/errors.js +1 -1
- package/dist/module/errors.js.map +1 -1
- package/dist/module/ffi.d.ts +19 -19
- package/dist/module/ffi.js +52 -47
- package/dist/module/ffi.js.map +1 -1
- package/dist/module/index.d.ts +8 -8
- package/dist/module/index.js +8 -6
- package/dist/module/index.js.map +1 -1
- package/dist/module/sorter.d.ts +1 -1
- package/dist/module/sorter.js +1 -1
- package/dist/module/sorter.js.map +1 -1
- package/dist/module/web_index.d.ts +1 -1
- package/dist/module/web_index.js +1 -1
- package/dist/module/web_index.js.map +1 -1
- package/dist/web/0.buttplug.js +663 -384
- package/dist/web/1.buttplug.min.js +1 -1
- package/dist/web/1.buttplug.min.js.map +1 -1
- package/dist/web/b0219b34bc18e1ad0240.module.wasm +0 -0
- package/dist/web/buttplug.js +825 -740
- package/dist/web/buttplug.min.js +8 -8
- package/dist/web/buttplug.min.js.map +1 -1
- package/dist/web/e5566a8b6a3fda978549.module.wasm +0 -0
- package/index.html +6 -10
- package/package.json +28 -17
- package/tsconfig.json +0 -1
- package/{webpack.base.js → webpack.base.cjs} +30 -6
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi.js.map +0 -1
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg.d.ts +0 -117
- package/dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg.js.map +0 -1
- package/dist/module/buttplug_ffi.js.map +0 -1
- package/dist/web/17a5dc1db11d74b795d7.module.wasm +0 -0
- package/dist/web/7cd0851698bfb0cd22ea.module.wasm +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
# v1.0.17 (2021/12/09)
|
|
2
|
+
|
|
3
|
+
## Features
|
|
4
|
+
|
|
5
|
+
- Update to Buttplug v5.1
|
|
6
|
+
|
|
7
|
+
# v1.0.16 (2021/10/16)
|
|
8
|
+
|
|
9
|
+
## Bugfixes
|
|
10
|
+
|
|
11
|
+
- Revert WASM loading specification to fix webpack/MIME issues
|
|
12
|
+
|
|
13
|
+
# v1.0.15 (2021/08/29)
|
|
14
|
+
|
|
15
|
+
## Features
|
|
16
|
+
|
|
17
|
+
- Update to buttplug v5
|
|
18
|
+
|
|
19
|
+
## Bugfixes
|
|
20
|
+
|
|
21
|
+
- Allow specification of WASM loading source for buttplug_init()
|
|
22
|
+
- ButtplugClientDevice equality testing now works as expected
|
|
23
|
+
|
|
24
|
+
# v1.0.14 (2021/03/21)
|
|
25
|
+
|
|
26
|
+
## Bugfixes
|
|
27
|
+
|
|
28
|
+
- Actually fix #60 and #51
|
|
29
|
+
|
|
1
30
|
# v1.0.13 (2021/03/21)
|
|
2
31
|
|
|
3
32
|
## Features
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* @param {Function} callback
|
|
5
4
|
* @param {string} client_name
|
|
5
|
+
* @param {Function} callback
|
|
6
|
+
* @param {number} callback_context
|
|
6
7
|
* @returns {number}
|
|
7
8
|
*/
|
|
8
|
-
export function
|
|
9
|
+
export function buttplug_create_protobuf_client(client_name: string, callback: Function, callback_context: number): number;
|
|
9
10
|
/**
|
|
10
11
|
* @param {number} ptr
|
|
11
12
|
*/
|
|
@@ -13,8 +14,10 @@ export function buttplug_free_client(ptr: number): void;
|
|
|
13
14
|
/**
|
|
14
15
|
* @param {number} client_ptr
|
|
15
16
|
* @param {Uint8Array} buf
|
|
17
|
+
* @param {Function} callback
|
|
18
|
+
* @param {number} callback_context
|
|
16
19
|
*/
|
|
17
|
-
export function
|
|
20
|
+
export function buttplug_client_protobuf_message(client_ptr: number, buf: Uint8Array, callback: Function, callback_context: number): void;
|
|
18
21
|
/**
|
|
19
22
|
* @param {number} client_ptr
|
|
20
23
|
* @param {number} device_index
|
|
@@ -24,8 +27,10 @@ export function buttplug_create_device(client_ptr: number, device_index: number)
|
|
|
24
27
|
/**
|
|
25
28
|
* @param {number} device_ptr
|
|
26
29
|
* @param {Uint8Array} buf
|
|
30
|
+
* @param {Function} callback
|
|
31
|
+
* @param {number} callback_context
|
|
27
32
|
*/
|
|
28
|
-
export function
|
|
33
|
+
export function buttplug_device_protobuf_message(device_ptr: number, buf: Uint8Array, callback: Function, callback_context: number): void;
|
|
29
34
|
/**
|
|
30
35
|
* @param {number} ptr
|
|
31
36
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as wasm from "./buttplug_rs_ffi_bg.wasm";
|
|
2
|
+
export * from "./buttplug_rs_ffi_bg.js";
|