Skip to content

Commit

Permalink
fix: add vendor and product id's (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
sverben authored Aug 19, 2024
1 parent 1cbe15f commit 5c96268
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leaphy-robotics/playwright-arduino",
"version": "1.0.4",
"version": "1.0.5",
"license": "LGPL-3.0-only",
"main": "./dist/index.js",
"type": "module",
Expand Down
2 changes: 2 additions & 0 deletions src/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ if (!globalThis.getPorts) {
class SerialPort {
readable?: ReadableStream<Uint8Array> = undefined
writable?: WritableStream<Uint8Array> = undefined
vendorId = 0x0403
productId = 0x6001

constructor(private id: string) { }

Expand Down

0 comments on commit 5c96268

Please sign in to comment.