Socket
Socket
Sign inDemoInstall

@e-is/capacitor-bluetooth-serial

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@e-is/capacitor-bluetooth-serial - npm Package Compare versions

Comparing version 0.0.5-rc8 to 0.0.5-rc9

28

dist/docs.json

@@ -10,9 +10,9 @@ {

"name": "isEnabled",
"signature": "() => Promise<BluetoothEnabledResult>",
"signature": "() => Promise<BluetoothState>",
"parameters": [],
"returns": "Promise<BluetoothEnabledResult>",
"returns": "Promise<BluetoothState>",
"tags": [],
"docs": "",
"complexTypes": [
"BluetoothEnabledResult"
"BluetoothState"
],

@@ -23,9 +23,9 @@ "slug": "isenabled"

"name": "enable",
"signature": "() => Promise<BluetoothEnabledResult>",
"signature": "() => Promise<BluetoothState>",
"parameters": [],
"returns": "Promise<BluetoothEnabledResult>",
"returns": "Promise<BluetoothState>",
"tags": [],
"docs": "",
"complexTypes": [
"BluetoothEnabledResult"
"BluetoothState"
],

@@ -35,2 +35,14 @@ "slug": "enable"

{
"name": "disable",
"signature": "() => Promise<BluetoothState>",
"parameters": [],
"returns": "Promise<BluetoothState>",
"tags": [],
"docs": "",
"complexTypes": [
"BluetoothState"
],
"slug": "disable"
},
{
"name": "scan",

@@ -261,4 +273,4 @@ "signature": "() => Promise<BluetoothScanResult>",

{
"name": "BluetoothEnabledResult",
"slug": "bluetoothenabledresult",
"name": "BluetoothState",
"slug": "bluetoothstate",
"docs": "",

@@ -265,0 +277,0 @@ "tags": [],

import { PluginListenerHandle } from "@capacitor/core";
export interface BluetoothSerialPlugin {
isEnabled(): Promise<BluetoothEnabledResult>;
enable(): Promise<BluetoothEnabledResult>;
isEnabled(): Promise<BluetoothState>;
enable(): Promise<BluetoothState>;
disable(): Promise<BluetoothState>;
scan(): Promise<BluetoothScanResult>;

@@ -26,3 +27,3 @@ connect(options: BluetoothConnectOptions): Promise<void>;

}
export interface BluetoothEnabledResult {
export interface BluetoothState {
enabled: boolean;

@@ -29,0 +30,0 @@ }

import { WebPlugin } from '@capacitor/core';
import { BluetoothConnectOptions, BluetoothConnectResult, BluetoothDataResult, BluetoothDisableNotificationsOptions, BluetoothEnabledResult, BluetoothEnableNotificationsOptions, BluetoothEnableNotificationsResult, BluetoothReadOptions, BluetoothReadUntilOptions, BluetoothScanResult, BluetoothSerialPlugin, BluetoothWriteOptions } from './definitions';
import { BluetoothConnectOptions, BluetoothConnectResult, BluetoothDataResult, BluetoothDisableNotificationsOptions, BluetoothEnableNotificationsOptions, BluetoothEnableNotificationsResult, BluetoothReadOptions, BluetoothReadUntilOptions, BluetoothScanResult, BluetoothSerialPlugin, BluetoothState, BluetoothWriteOptions } from './definitions';
export declare class BluetoothSerialWeb extends WebPlugin implements BluetoothSerialPlugin {
isEnabled(): Promise<BluetoothEnabledResult>;
enable(): Promise<BluetoothEnabledResult>;
isEnabled(): Promise<BluetoothState>;
enable(): Promise<BluetoothState>;
disable(): Promise<BluetoothState>;
scan(): Promise<BluetoothScanResult>;

@@ -7,0 +8,0 @@ connect(options: BluetoothConnectOptions): Promise<void>;

@@ -10,2 +10,5 @@ import { WebPlugin } from '@capacitor/core';

}
disable() {
throw new Error('Method not implemented.');
}
async scan() {

@@ -12,0 +15,0 @@ throw new Error('Method not implemented.');

@@ -24,2 +24,5 @@ 'use strict';

}
disable() {
throw new Error('Method not implemented.');
}
async scan() {

@@ -26,0 +29,0 @@ throw new Error('Method not implemented.');

@@ -21,2 +21,5 @@ var capacitorBluetoothSerialPlugin = (function (exports, core) {

}
disable() {
throw new Error('Method not implemented.');
}
async scan() {

@@ -23,0 +26,0 @@ throw new Error('Method not implemented.');

{
"name": "@e-is/capacitor-bluetooth-serial",
"version": "0.0.5-rc8",
"version": "0.0.5-rc9",
"description": "Capacitor Bluetooth Serial Plugin",

@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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