Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre-filters to adapter #70

Merged
merged 1 commit into from
Jul 23, 2020
Merged

Add pre-filters to adapter #70

merged 1 commit into from
Jul 23, 2020

Conversation

thegecko
Copy link
Owner

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

cc @brandonros

Copy link

@brandonros brandonros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i was wondering if you could DRY it out and use “device passes filters” from
adapters

@thegecko
Copy link
Owner Author

Does this fix your Windows issue?

@brandonros
Copy link

most likely yes

can you merge and release? i’ll test

@thegecko
Copy link
Owner Author

Merging it should create a preview on npm

@thegecko thegecko merged commit 0a3f331 into master Jul 23, 2020
@thegecko thegecko deleted the pre-filters branch July 23, 2020 15:16
@brandonros
Copy link

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
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants