thegecko / webusb

Node.js implementation of the WebUSB Specification
https://thegecko.github.io/webusb/
MIT License
183 stars 27 forks source link

Add pre-filters to adapter #70

Closed thegecko closed 4 years ago

thegecko commented 4 years ago

As mentioned on #68 , this PR passes filters down to the adapter to shortcut building device lists.

cc @brandonros

thegecko commented 4 years ago

Does this fix your Windows issue?

brandonros commented 4 years ago

most likely yes

can you merge and release? i’ll test

thegecko commented 4 years ago

Merging it should create a preview on npm

brandonros commented 4 years ago

you don't have to do a npm version minor && npm publish? i'd expect a v2.0.3 or v2.1

thanks for doing this, really appreciate it. nice package, makes isomorphic code easy

thegecko commented 4 years ago

you don't have to do a npm version minor && npm publish? i'd expect a v2.0.3 or v2.1

No, the build system does next versions. Here's one with those changes:

https://www.npmjs.com/package/webusb/v/2.0.3-next.0a3f331.0