
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@webex/plugin-device-manager
Advanced tools
Plugin for the DeviceManager service
npm install --save @webex/plugin-device-manager
This is a plugin for the Cisco Webex JS SDK . Please see our developer portal and the API docs for full details.
###Samples
yarn run samples:devicemanager
// initialize webex instance -> connects to mercury -> registers device -> // initializes plugin-device-manager to listen for device updates
import '@webex/plugin-device-manager';
import WebexCore from '@webex/webex-core';
function connect() {
if (!webex) {
webex = WebexCore.init({
config: {},
credentials: {
access_token: document.getElementById('access-token').value,
},
});
}
if (!webex.internal.device.registered) {
webex.internal.device.register().then(() => {
return webex.internal.mercury.connect();
});
}
}
// Typical flow
webex.devicemanager
.getAll() // gets a list of all devices registered to the user
.refresh() // refreshes and re-populates all devices registered to the user
.search() // search a device by name
.requestPin() // displays PIN Challenge on the device
.pair() // pairs the device and registers for subsequent fetches
.increaseVolume() // increases paired device's volume
.decreaseVolume() // decreases paired device's volume
.mute() // mutes the paired device
.unmute() // unmutes the paired device
.bindSpace() // binds the space to the paired device
.unbindSpace() // unbinds the space to the paired device
.unpair(); // disconnects the device paired session
This package is maintained by Cisco Webex for Developers.
Pull requests welcome. Please see CONTRIBUTING.md for more details.
© 2016-2020 Cisco and/or its affiliates. All Rights Reserved.
FAQs
Unknown package
The npm package @webex/plugin-device-manager receives a total of 2,228 weekly downloads. As such, @webex/plugin-device-manager popularity was classified as popular.
We found that @webex/plugin-device-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.