Socket
Socket
Sign inDemoInstall

iconnectivity-js

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iconnectivity-js - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

lib/commands/advanced-midi-processor/index.d.ts

19

lib/index.js

@@ -67,3 +67,22 @@ "use strict";

}
/**
* Waits for the first device(s) to be found and returns them.
* If devices are already found, this returns immediately.
*/
async waitForDevices() {
if (this.devices.length) {
return this.devices;
}
else {
return new Promise((resolve) => {
const unsubscribe = this.devicesChanged.addListener((devices) => {
if (devices.length) {
unsubscribe();
resolve(devices);
}
});
});
}
}
}
exports.DeviceManager = DeviceManager;

5

package.json
{
"name": "iconnectivity-js",
"version": "1.0.0",
"version": "1.0.1",
"main": "lib/index.js",

@@ -8,3 +8,4 @@ "license": "MIT",

"test": "jest",
"build": "tsc"
"build": "tsc",
"prepublishOnly": "yarn build"
},

@@ -11,0 +12,0 @@ "dependencies": {

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