Skip to content

Commit 5c96268

Browse files
authored
fix: add vendor and product id's (#3)
1 parent 1cbe15f commit 5c96268

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@leaphy-robotics/playwright-arduino",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"license": "LGPL-3.0-only",
55
"main": "./dist/index.js",
66
"type": "module",

src/page.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ if (!globalThis.getPorts) {
5353
class SerialPort {
5454
readable?: ReadableStream<Uint8Array> = undefined
5555
writable?: WritableStream<Uint8Array> = undefined
56+
vendorId = 0x0403
57+
productId = 0x6001
5658

5759
constructor(private id: string) { }
5860

0 commit comments

Comments
 (0)