munim-bluetooth 0.3.11 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,7 +10,7 @@ import CoreBluetooth
|
|
|
10
10
|
import NitroModules
|
|
11
11
|
import React
|
|
12
12
|
|
|
13
|
-
class HybridMunimBluetooth:
|
|
13
|
+
class HybridMunimBluetooth: HybridMunimBluetoothSpec {
|
|
14
14
|
// Peripheral Manager
|
|
15
15
|
private var peripheralManager: CBPeripheralManager?
|
|
16
16
|
private var peripheralServices: [CBMutableService] = []
|
|
@@ -44,9 +44,11 @@ public extension HybridMunimBluetoothSpec_protocol {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/// See ``HybridMunimBluetoothSpec``
|
|
47
|
-
open class HybridMunimBluetoothSpec_base {
|
|
47
|
+
open class HybridMunimBluetoothSpec_base: NSObject {
|
|
48
48
|
private weak var cxxWrapper: HybridMunimBluetoothSpec_cxx? = nil
|
|
49
|
-
public init() {
|
|
49
|
+
public override init() {
|
|
50
|
+
super.init()
|
|
51
|
+
}
|
|
50
52
|
public func getCxxWrapper() -> HybridMunimBluetoothSpec_cxx {
|
|
51
53
|
#if DEBUG
|
|
52
54
|
guard self is any HybridMunimBluetoothSpec else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "munim-bluetooth",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.13",
|
|
4
4
|
"description": "A comprehensive React Native library for all your Bluetooth Low Energy (BLE) needs, supporting both peripheral and central roles with Expo support",
|
|
5
5
|
"main": "./lib/commonjs/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|