From 095c0640a52b920774965192cfb868badb82f012 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Tue, 2 May 2023 21:51:37 +0100 Subject: [PATCH] fix: typo --- packages/node/package.json | 2 +- packages/node/src/methods.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/node/package.json b/packages/node/package.json index 0a15ecd..feee0f7 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "xkeys", - "version": "2.5.0-0", + "version": "2.5.0-1", "description": "An npm module for interfacing with the X-keys panels in Node.js", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/packages/node/src/methods.ts b/packages/node/src/methods.ts index 242988b..82f4c42 100644 --- a/packages/node/src/methods.ts +++ b/packages/node/src/methods.ts @@ -70,7 +70,7 @@ export async function setupXkeysPanel(devicePathOrHIDDevice?: HID.Device | HID.H if (!deviceInfo) { // @ts-expect-error getDeviceInfo missing in typings - const nodeHidInfo: HID.Device = await this.device.getDeviceInfo() + const nodeHidInfo: HID.Device = await device.getDeviceInfo() // Look through HID.devices(), bevause HID.Device contains the productId deviceInfo = { product: nodeHidInfo.product,