
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@vbet/webhid-sdk
Advanced tools
Include the package locally in your repository.
npm install @vbet/webhid-sdk
import { webhidConsent, IDevice, DeviceSignalType, findDevice } from '@vbet/webhid-sdk';
device = webhidConsent({config: {productId?: number}})device = findDevice(name:string)device.ring()device.offHook()device.onHook()device.muteOn()device.muteOff()device.subscribe(callback: (signal: DeviceSignalType) => void)device.unsubscribe()const device = await webhidConsent({productId:0x0014});
//listen to device's event
device.subscribe((signal) => {
switch (signal) {
case DeviceSignalType.ACCEPT_CALL:
//call was accepted by the device, softphone should answer the call
//Remark: must call this function to sync device state either at here or somewhere at softphone state change confirmation callback
device.offHook()
break;
case DeviceSignalType.END_CALL:
//call was ended by the device, softphone should end the call
//Remark: must call this function to sync device state either at here or somewhere at softphone state change confirmation callback
device.onHook()
break;
case DeviceSignalType.REJECT_CALL:
//call was ended by the device, softphone should end the call
//Remark: must call this function to sync device state either at here or somewhere at softphone state change confirmation callback
device.onHook()
break;
case DeviceSignalType.MUTE_CALL:
//call was muted by the device, softphone should mute the call
//Remark: must call this function to sync device state either at here or somewhere at softphone state change confirmation callback
device.muteOn()
break;
case DeviceSignalType.UNMUTE_CALL:
//call was unmuted by the device, softphone should unmute the call
//Remark: must call this function to sync device state either at here or somewhere at softphone state change confirmation callback
device.muteOff()
break;
}
});
device.ring()
FAQs
Controls VBet devices from WebHID
We found that @vbet/webhid-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.