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

@psdk/device-bluetooth-traits

Package Overview
Dependencies
Maintainers
0
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@psdk/device-bluetooth-traits - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

17

build/traits.js

@@ -1,10 +0,1 @@

var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
/**

@@ -14,8 +5,6 @@ * absctract bluetooth class

export class Jluetooth {
isDiscovery() {
return __awaiter(this, void 0, void 0, function* () {
const state = yield this.bluetoothAdapterState();
return state.discovering || false;
});
async isDiscovery() {
const state = await this.bluetoothAdapterState();
return state.discovering || false;
}
}

6

package.json
{
"name": "@psdk/device-bluetooth-traits",
"version": "0.3.3",
"version": "0.3.4",
"description": "psdk",

@@ -29,3 +29,3 @@ "main": "build/index.js",

"dependencies": {
"@psdk/frame-father": "0.3.3",
"@psdk/frame-father": "0.3.4",
"await-timeout": "^1.1.1"

@@ -37,3 +37,3 @@ },

],
"gitHead": "20a3fc1bb587f8d627f9b1e05dd27240b7785dec"
"gitHead": "b8c2fdcb52f1bd3e9d75d004d37d717bd465b4c9"
}
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