buttplugio / buttplug-js

Buttplug Typescript/Javascript Client Implementation
https://buttplug.io
BSD 3-Clause "New" or "Revised" License
128 stars 18 forks source link

Fleshlight Launch not working in buttplug-js v0.8.0 #129

Closed qdot closed 6 years ago

qdot commented 6 years ago

The Fleshlight Launch will connect, and messages seem to send fine, but no motion happens when commands are sent.

qdot commented 6 years ago

Introduced here:

https://github.com/buttplugio/buttplug-js/commit/9ff0dbe38f9f2cba0435d32073106f33d3ee422c#diff-f0b2d65ff8b75286e1b4281a74ba349fR69

Map.entries.length converts to Function.length, which is always 0 because entries is a getter function for an iterator. We need Map.size.