Socket
Socket
Sign inDemoInstall

cordova-plugin-bluetoothle

Package Overview
Dependencies
0
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.5.0 to 6.5.1

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 6.5.1 - 2021-07-08
- Make JavaScript compatible with Android 5.1
## 6.5.0 - 2021-06-21

@@ -2,0 +5,0 @@ - Operations are queued per device connection rather than globally on Android

2

package.json
{
"name": "cordova-plugin-bluetoothle",
"version": "6.5.0",
"version": "6.5.1",
"description": "Use the Bluetooth Low Energy plugin to connect your Cordova app to new Bluetooth devices like heart rate monitors, thermometers, etc...",

@@ -5,0 +5,0 @@ "types": "./types/index.d.ts",

@@ -0,1 +1,2 @@

"use strict";
var bluetoothleName = "BluetoothLePlugin";

@@ -18,3 +19,3 @@ var bluetoothle = {

this.callback(obj);
return;
return;
}

@@ -53,3 +54,3 @@

cordova.exec(successCallback, successCallback, bluetoothleName, "getAdapterInfo", []);
},
},
startScan: function(successCallback, errorCallback, params) {

@@ -214,3 +215,3 @@ cordova.exec(successCallback, errorCallback, bluetoothleName, "startScan", [params]);

encodeUnicode: function(str) {
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, (match, p1) => {
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function(match, p1) {
return String.fromCharCode(parseInt(p1, 16))

@@ -221,3 +222,3 @@ }))

// Going backwards: from byte stream, to percent-encoding, to original string.
return decodeURIComponent(atob(str).split('').map((c) => {
return decodeURIComponent(atob(str).split('').map(function(c) {
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);

@@ -224,0 +225,0 @@ }).join(''));

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc