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

react-native-ble-manager

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-ble-manager - npm Package Compare versions

Comparing version 7.4.0 to 7.4.1

5

index.d.ts

@@ -115,3 +115,6 @@ declare module "react-native-ble-manager" {

export function createBond(peripheralID: string): Promise<void>;
export function createBond(
peripheralID: string,
peripheralPin: string
): Promise<void>;
export function removeBond(peripheralID: string): Promise<void>;

@@ -118,0 +121,0 @@ export function getBondedPeripherals(): Promise<Peripheral[]>;

2

package.json
{
"name": "react-native-ble-manager",
"version": "7.4.0",
"version": "7.4.1",
"description": "A BLE module for react native.",

@@ -5,0 +5,0 @@ "main": "BleManager",

@@ -544,5 +544,5 @@ # react-native-ble-manager

### createBond(peripheralId) [Android only]
### createBond(peripheralId,peripheralPin) [Android only]
Start the bonding (pairing) process with the remote device.
Start the bonding (pairing) process with the remote device. If you pass peripheralPin(optional), bonding will be auto(without manual entering pin)
Returns a `Promise` object. The promise is resolved when either `new bond successfully created` or `bond already existed`, otherwise it will be rejected.

@@ -549,0 +549,0 @@

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