cordova-plugin-ble-central
Advanced tools
Comparing version 1.5.2 to 1.5.3-alpha.0
{ | ||
"name": "cordova-plugin-ble-central", | ||
"version": "1.5.2", | ||
"version": "1.5.3-alpha.0", | ||
"description": "Bluetooth Low Energy (BLE) Central Plugin", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -1325,2 +1325,6 @@ # Bluetooth Low Energy (BLE) Central Plugin for Apache Cordova | ||
# Release process | ||
- Create a new pre-relase: `npm version prepatch --preid=alpha` | ||
# Nordic DFU | ||
@@ -1327,0 +1331,0 @@ |
@@ -8,3 +8,3 @@ declare namespace BLECentralPlugin { | ||
properties: string[]; | ||
descriptors?: any[] | undefined; | ||
descriptors?: any[]; | ||
} | ||
@@ -32,3 +32,18 @@ | ||
interface StartScanOptions { | ||
reportDuplicates?: boolean | undefined; | ||
/* Android only */ | ||
scanMode?: 'lowPower' | 'balanced' | 'lowLatency' | 'opportunistic'; | ||
/* Android only */ | ||
callbackType?: 'all' | 'first' | 'lost'; | ||
/* Android only */ | ||
matchMode?: 'aggressive' | 'sticky'; | ||
/* Android only */ | ||
numOfMatches?: 'one' | 'few' | 'max'; | ||
/* Android only */ | ||
phy?: '1m' | 'coded' | 'all'; | ||
/* Android only */ | ||
legacy?: boolean; | ||
/* Android only */ | ||
reportDelay?: number; | ||
reportDuplicates?: boolean; | ||
} | ||
@@ -228,3 +243,3 @@ | ||
success: (rawData: ArrayBuffer | 'registered') => any, | ||
failure?: (error: string | BLEError) => any, | ||
failure: (error: string | BLEError) => any, | ||
options: { emitOnRegistered: boolean } | ||
@@ -231,0 +246,0 @@ ): void; |
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
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
426920
2782
1348
1