New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1 to 2.0.2

5

index.d.ts

@@ -9,3 +9,4 @@ export class ChipReaderWatcher extends USBDevice {

export default ChipReaderWatcher;
declare const _default: ChipReaderWatcher;
export default _default;
export class USBDevice {

@@ -191,3 +192,3 @@ protected connectedDevices: Array<WebUSBDevice>;

global {
declare global {
interface Navigator {

@@ -194,0 +195,0 @@ readonly usb?: WebUSB

2

package.json
{
"name": "@keiser/echip-webusb",
"version": "2.0.1",
"version": "2.0.2",
"description": "Keiser Air eChip WebUSB Library",

@@ -5,0 +5,0 @@ "keywords": [

@@ -12,3 +12,3 @@ # Keiser Air eChip WebUSB Library

## Installation
Install with [NPM](https://www.npmjs.com/): `npm install @keiser/echip-webusb`
Install with [npm](https://www.npmjs.com/): `npm install @keiser/echip-webusb`

@@ -59,3 +59,5 @@ ## Usage

console.log('Chip Connected: ' + chip.id)
console.log(await chip.getData())
if (chip instanceof DataChip) {
chip.onData(data => console.log(data))
}
})

@@ -68,3 +70,3 @@ ```

```ts
import ChipReaderWatcher from '@keiser/echip-webusb'
import ChipReaderWatcher, { DataChip } from '@keiser/echip-webusb'

@@ -89,3 +91,5 @@ document.addEventListener('DOMContentLoaded', event => {

console.log('Chip Connected: ' + chip.id)
chip.onData(data => console.log(data))
if (chip instanceof DataChip) {
chip.onData(data => console.log(data))
}
})

@@ -153,7 +157,7 @@

## TZChip and RTCChip
### TZChip and RTCChip
The `TZChip` and `RTCChip` are class extensions on the `BaseChip` class. They add no additional properties or methods, but allow the identification of chip type and will perform chip set operations automatically when detected. An event issued on the `onData` event indicates that the chips data has been successfully updated.
## DataChip
### DataChip

@@ -160,0 +164,0 @@ The `DataChip` class extension on the `BaseChip` class adds additional properties and methods specific to the data chip.

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