-
Notifications
You must be signed in to change notification settings - Fork 3
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
β¨ (repo) [DSDK-558]: Extract transports into their own packages #474
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
769435c
to
309ecb0
Compare
309ecb0
to
65642da
Compare
65642da
to
c5dcb98
Compare
c5dcb98
to
158aebb
Compare
158aebb
to
18652b1
Compare
packages/device-management-kit/src/api/device-session/service/ApduReceiverService.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great refactor π
Just a few comments about import TransportFactory
and few naming stuffs.
You could also create TransportService
interface to implement it from DefaultTransportService
and TransportServiceStub
classes IMO
packages/device-management-kit/src/internal/transport/service/TransportService.ts
Outdated
Show resolved
Hide resolved
packages/device-management-kit/src/internal/transport/service/TransportService.ts
Outdated
Show resolved
Hide resolved
packages/device-management-kit/src/internal/transport/service/TransportService.stub.ts
Outdated
Show resolved
Hide resolved
packages/transport/web-hid/src/api/transport/WebHidTransport.ts
Outdated
Show resolved
Hide resolved
packages/transport/web-hid/src/api/transport/WebHidTransport.ts
Outdated
Show resolved
Hide resolved
packages/device-management-kit/src/internal/transport/service/TransportService.ts
Outdated
Show resolved
Hide resolved
packages/device-management-kit/src/internal/transport/service/TransportService.ts
Outdated
Show resolved
Hide resolved
57d8b0d
to
cd277b5
Compare
cd277b5
to
55d2623
Compare
55d2623
to
fae2934
Compare
84e7879
to
d1a0521
Compare
d1a0521
to
1d3a799
Compare
1d3a799
to
0859764
Compare
0859764
to
048a069
Compare
048a069
to
0da86c7
Compare
0da86c7
to
e741e0e
Compare
Also exported the factories to make it easier to pass to addTransport
e741e0e
to
d3033a4
Compare
π Description
Extract transport to their own packages
A lot of rework here, you can have a breakdown of the steps here #454 (unfortunately with the renaming of the packages before we merged this it was too complicated to rebase)
api
folder of the dmkβ Context
β Checklist
Pull Requests must pass CI checks and undergo code review. Set the PR as Draft if it is not yet ready for review.
π§ Checklist for the PR Reviewers