@awesome-cordova-plugins/bluetooth-le
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -407,9 +407,7 @@ import { AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; | ||
* @param {{ services: string[] }} An array of service IDs to filter the retrieval by. If no service IDs are specified, no devices will be returned. | ||
* @returns {Promise<{ devices: DeviceInfo[] }>} | ||
* @returns {Promise<DeviceInfo[]>} | ||
*/ | ||
retrieveConnected(params?: { | ||
services?: string[]; | ||
}): Promise<{ | ||
devices: DeviceInfo[]; | ||
}>; | ||
}): Promise<DeviceInfo[]>; | ||
/** | ||
@@ -421,3 +419,3 @@ * @name bond (Android) | ||
* @param {{ address: string }} params The address/identifier provided by the scan's return object | ||
* @returns {(Observable<{ status: DeviceInfo }>)} | ||
* @returns {(Observable<DeviceInfo>)} | ||
* success: | ||
@@ -432,5 +430,3 @@ * The first success callback should always return with status == bonding. | ||
address: string; | ||
}): Observable<{ | ||
status: DeviceInfo; | ||
}>; | ||
}): Observable<DeviceInfo>; | ||
/** | ||
@@ -441,3 +437,3 @@ * @name unbond (Android) | ||
* @param {{address: string}} params The address/identifier | ||
* @returns {Promise<{ status: DeviceInfo }>} | ||
* @returns {Promise<DeviceInfo>} | ||
* success: The success callback should always return with status == unbonded, that is passed with device object | ||
@@ -448,5 +444,3 @@ * error: The callback that will be triggered when the unbond operation fails | ||
address: string; | ||
}): Promise<{ | ||
status: DeviceInfo; | ||
}>; | ||
}): Promise<DeviceInfo>; | ||
/** | ||
@@ -459,3 +453,3 @@ * @name connect | ||
* @param {ConnectionParams} params | ||
* @returns {(Observable<{ status: DeviceInfo }>)} | ||
* @returns {(Observable<DeviceInfo>)} | ||
* success: device object with status | ||
@@ -536,7 +530,5 @@ * error: The callback that will be triggered when the unbond operation fails | ||
* @param {CharacteristicParams} params Characteristic params | ||
* @returns {Promise<{ characteristics: Characteristics }>} The service id and an Array of characteristics | ||
* @returns {Promise<Characteristics>} The service id and an Array of characteristics | ||
*/ | ||
characteristics(params: CharacteristicParams): Promise<{ | ||
characteristics: Characteristics; | ||
}>; | ||
characteristics(params: CharacteristicParams): Promise<Characteristics>; | ||
/** | ||
@@ -546,7 +538,5 @@ * @name descriptors (iOS) | ||
* @param {DescriptorParams} params | ||
* @returns {Promise<{ descriptors: Descriptors }>} | ||
* @returns {Promise<Descriptors>} | ||
*/ | ||
descriptors(params: DescriptorParams): Promise<{ | ||
descriptors: Descriptors; | ||
}>; | ||
descriptors(params: DescriptorParams): Promise<Descriptors>; | ||
/** | ||
@@ -553,0 +543,0 @@ * @name read |
@@ -407,9 +407,7 @@ import { AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core'; | ||
* @param {{ services: string[] }} An array of service IDs to filter the retrieval by. If no service IDs are specified, no devices will be returned. | ||
* @returns {Promise<{ devices: DeviceInfo[] }>} | ||
* @returns {Promise<DeviceInfo[]>} | ||
*/ | ||
retrieveConnected(params?: { | ||
services?: string[]; | ||
}): Promise<{ | ||
devices: DeviceInfo[]; | ||
}>; | ||
}): Promise<DeviceInfo[]>; | ||
/** | ||
@@ -421,3 +419,3 @@ * @name bond (Android) | ||
* @param {{ address: string }} params The address/identifier provided by the scan's return object | ||
* @returns {(Observable<{ status: DeviceInfo }>)} | ||
* @returns {(Observable<DeviceInfo>)} | ||
* success: | ||
@@ -432,5 +430,3 @@ * The first success callback should always return with status == bonding. | ||
address: string; | ||
}): Observable<{ | ||
status: DeviceInfo; | ||
}>; | ||
}): Observable<DeviceInfo>; | ||
/** | ||
@@ -441,3 +437,3 @@ * @name unbond (Android) | ||
* @param {{address: string}} params The address/identifier | ||
* @returns {Promise<{ status: DeviceInfo }>} | ||
* @returns {Promise<DeviceInfo>} | ||
* success: The success callback should always return with status == unbonded, that is passed with device object | ||
@@ -448,5 +444,3 @@ * error: The callback that will be triggered when the unbond operation fails | ||
address: string; | ||
}): Promise<{ | ||
status: DeviceInfo; | ||
}>; | ||
}): Promise<DeviceInfo>; | ||
/** | ||
@@ -459,3 +453,3 @@ * @name connect | ||
* @param {ConnectionParams} params | ||
* @returns {(Observable<{ status: DeviceInfo }>)} | ||
* @returns {(Observable<DeviceInfo>)} | ||
* success: device object with status | ||
@@ -536,7 +530,5 @@ * error: The callback that will be triggered when the unbond operation fails | ||
* @param {CharacteristicParams} params Characteristic params | ||
* @returns {Promise<{ characteristics: Characteristics }>} The service id and an Array of characteristics | ||
* @returns {Promise<Characteristics>} The service id and an Array of characteristics | ||
*/ | ||
characteristics(params: CharacteristicParams): Promise<{ | ||
characteristics: Characteristics; | ||
}>; | ||
characteristics(params: CharacteristicParams): Promise<Characteristics>; | ||
/** | ||
@@ -546,7 +538,5 @@ * @name descriptors (iOS) | ||
* @param {DescriptorParams} params | ||
* @returns {Promise<{ descriptors: Descriptors }>} | ||
* @returns {Promise<Descriptors>} | ||
*/ | ||
descriptors(params: DescriptorParams): Promise<{ | ||
descriptors: Descriptors; | ||
}>; | ||
descriptors(params: DescriptorParams): Promise<Descriptors>; | ||
/** | ||
@@ -553,0 +543,0 @@ * @name read |
@@ -1,1 +0,1 @@ | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/bluetooth-le","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^6.0.1"},"version":"6.1.0"} | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/bluetooth-le","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^6.0.1"},"version":"6.2.0"} |
@@ -1,1 +0,1 @@ | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/bluetooth-le","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^6.0.1"},"version":"6.1.0"} | ||
{"description":"Awesome Cordova Plugins - Native plugins for ionic apps","main":"bundle.js","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/danielsogl/awesome-cordova-plugins.git"},"name":"@awesome-cordova-plugins/bluetooth-le","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0 || ^7.3.0","@awesome-cordova-plugins/core":"^6.0.1"},"version":"6.2.0"} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235800
2438