Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@keiser/echip-webusb

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keiser/echip-webusb - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

23

index.d.ts
export class ChipReaderWatcher extends USBDevice {
constructor();
stop(): Promise<void>;
readonly isConnected: boolean;
getConnectedChipReaders(): ChipReader[];
onConnect(listener: Listener<ChipReader>): Disposable;

@@ -16,2 +14,3 @@ protected connected(device: WebUSBDevice): Promise<void>;

constructor(vendorId: number, productId: number);
protected initialize(): void;
start(): Promise<void>;

@@ -25,3 +24,3 @@ protected connected(device: WebUSBDevice): Promise<void>;

constructor(usbDevice: WebUSBDevice, onDisconnect: (listener: Listener<WebUSBDevice>) => Disposable);
readonly diposed: boolean;
get diposed(): boolean;
onDisconnect(listener: Listener<null>): Disposable;

@@ -205,3 +204,3 @@ onChipDetect(listener: Listener<Chip>): Disposable;

constructor(chipId: Uint8Array, owDevice: OWDevice, onDisconnect: (listener: Listener<null>) => Disposable);
readonly data: DataChipObject;
get data(): DataChipObject;
onData(listener: Listener<DataChipObject>): Disposable;

@@ -231,4 +230,4 @@ protected setChipData(data: DataChipObject): void;

constructor(chipId: Uint8Array, owDevice: OWDevice, onDisconnect: (listener: Listener<null>) => Disposable);
readonly data: ChipObject;
readonly diposed: boolean;
get data(): ChipObject;
get diposed(): boolean;
onData(listener: Listener<ChipObject>): Disposable;

@@ -239,4 +238,4 @@ protected setChipData(data: ChipObject): void;

protected dispose(): void;
readonly id: string;
readonly type: ChipType;
get id(): string;
get type(): ChipType;
destroy(): void;

@@ -260,3 +259,3 @@ }

constructor(chipType: ChipType);
readonly type: ChipType;
get type(): ChipType;
}

@@ -266,7 +265,7 @@

constructor(data?: Uint8Array[]);
readonly machineData: {
get machineData(): {
[index: string]: MachineObject;
};
readonly rawData: Uint8Array[];
readonly validStructure: boolean;
get rawData(): Uint8Array[];
get validStructure(): boolean;
}

@@ -273,0 +272,0 @@

{
"name": "@keiser/echip-webusb",
"version": "2.0.4",
"version": "2.1.0",
"description": "Keiser Air eChip WebUSB Library",

@@ -28,3 +28,3 @@ "keywords": [

"async-mutex": "^0.1.4",
"cockatiel": "^0.1.1",
"cockatiel": "^0.1.2",
"crc": "^3.8.0"

@@ -31,0 +31,0 @@ },

@@ -19,6 +19,2 @@ # Keiser Air eChip WebUSB Library

import ChipReaderWatcher from '@keiser/echip-webusb'
if (ChipReaderWatcher.isConnected) {
console.log('Chip Reader Connected 😄')
}
```

@@ -107,7 +103,2 @@

#### Properties
| Name | Usage |
| ---- | ----- |
| `isConnected: boolean` | Indicates whether a Chip Reader device is connected |
#### Methods

@@ -114,0 +105,0 @@ | Name | Usage |

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc