buttplugio / buttplug-rs-ffi

FFI from buttplug-rs to Java and other languages
Other
88 stars 22 forks source link

Buttplug.Endpoint not exported to JS? #60

Closed WesleyAC closed 3 years ago

WesleyAC commented 3 years ago

Describe the bug When I include Buttplug via <script lang="javascript" src="https://cdn.jsdelivr.net/npm/buttplug@1.0.12/dist/web/buttplug.min.js"></script> (or similar), Buttplug.Endpoint is undefined.

Expected behavior Buttplug.Endpoint exists and is usable.

Actual behavior Buttplug.Endpoing is undefined.

qdot commented 3 years ago

Well I thought I fixed this in 1.0.13 but I guess not. Reopening.

qdot commented 3 years ago

Ok, this is now ACTUALLY fixed in 1.0.14. Buttplug.Endpoint hands back the enum as expected. Thanks for reporting, just let me know if you have any other issues.