@ledgerhq/device-transport-kit-react-native-ble 0.0.0-wip-20250214170223 → 1.1.0
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.
- package/README.md +89 -0
- package/lib/cjs/api/model/Const.js +1 -1
- package/lib/cjs/api/model/Const.js.map +3 -3
- package/lib/cjs/api/model/Errors.js +1 -1
- package/lib/cjs/api/model/Errors.js.map +3 -3
- package/lib/cjs/api/transport/RNBleApduSender.js +1 -1
- package/lib/cjs/api/transport/RNBleApduSender.js.map +3 -3
- package/lib/cjs/api/transport/RNBleApduSender.test.js +2 -0
- package/lib/cjs/api/transport/RNBleApduSender.test.js.map +7 -0
- package/lib/cjs/api/transport/RNBleTransport.js +1 -1
- package/lib/cjs/api/transport/RNBleTransport.js.map +3 -3
- package/lib/cjs/api/transport/RNBleTransport.test.js +2 -0
- package/lib/cjs/api/transport/RNBleTransport.test.js.map +7 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/package.json +22 -20
- package/lib/esm/api/model/Const.js +1 -1
- package/lib/esm/api/model/Const.js.map +3 -3
- package/lib/esm/api/model/Errors.js +1 -1
- package/lib/esm/api/model/Errors.js.map +3 -3
- package/lib/esm/api/transport/RNBleApduSender.js +1 -1
- package/lib/esm/api/transport/RNBleApduSender.js.map +3 -3
- package/lib/esm/api/transport/RNBleApduSender.test.js +2 -0
- package/lib/esm/api/transport/RNBleApduSender.test.js.map +7 -0
- package/lib/esm/api/transport/RNBleTransport.js +1 -1
- package/lib/esm/api/transport/RNBleTransport.js.map +3 -3
- package/lib/esm/api/transport/RNBleTransport.test.js +2 -0
- package/lib/esm/api/transport/RNBleTransport.test.js.map +7 -0
- package/lib/esm/package.json +22 -20
- package/lib/types/api/model/Const.d.ts +3 -2
- package/lib/types/api/model/Const.d.ts.map +1 -1
- package/lib/types/api/model/Errors.d.ts +26 -1
- package/lib/types/api/model/Errors.d.ts.map +1 -1
- package/lib/types/api/transport/RNBleApduSender.d.ts +7 -9
- package/lib/types/api/transport/RNBleApduSender.d.ts.map +1 -1
- package/lib/types/api/transport/RNBleApduSender.test.d.ts +2 -0
- package/lib/types/api/transport/RNBleApduSender.test.d.ts.map +1 -0
- package/lib/types/api/transport/RNBleTransport.d.ts +33 -64
- package/lib/types/api/transport/RNBleTransport.d.ts.map +1 -1
- package/lib/types/api/transport/RNBleTransport.test.d.ts +2 -0
- package/lib/types/api/transport/RNBleTransport.test.d.ts.map +1 -0
- package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
- package/package.json +23 -21
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { type BleManager, type Device
|
|
2
|
-
import { type ApduReceiverServiceFactory, type ApduResponse, type ApduSenderServiceFactory, type BleDeviceInfos, type DeviceApduSender, type DeviceId, type DmkError, type LoggerPublisherService
|
|
3
|
-
import { type Either
|
|
1
|
+
import { type BleManager, type Device } from "react-native-ble-plx";
|
|
2
|
+
import { type ApduReceiverServiceFactory, type ApduResponse, type ApduSenderServiceFactory, type BleDeviceInfos, type DeviceApduSender, type DeviceId, type DmkError, type LoggerPublisherService } from "@ledgerhq/device-management-kit";
|
|
3
|
+
import { type Either } from "purify-ts";
|
|
4
4
|
export type RNBleInternalDevice = {
|
|
5
5
|
id: DeviceId;
|
|
6
6
|
bleDeviceInfos: BleDeviceInfos;
|
|
7
|
-
discoveredDevice: TransportDiscoveredDevice;
|
|
8
|
-
disconnectionSubscription: RNBleSubscription;
|
|
9
|
-
lastDiscoveredTimeStamp: Maybe<number>;
|
|
10
7
|
};
|
|
11
|
-
type RNBleApduSenderConstructorArgs = {
|
|
8
|
+
export type RNBleApduSenderConstructorArgs = {
|
|
12
9
|
dependencies: RNBleApduSenderDependencies;
|
|
13
10
|
apduSenderFactory: ApduSenderServiceFactory;
|
|
14
11
|
apduReceiverFactory: ApduReceiverServiceFactory;
|
|
@@ -26,6 +23,8 @@ export declare class RNBleApduSender implements DeviceApduSender<RNBleApduSender
|
|
|
26
23
|
private readonly _apduSenderFactory;
|
|
27
24
|
private readonly _apduReceiver;
|
|
28
25
|
private _sendApduPromiseResolver;
|
|
26
|
+
private _writeCharacteristic;
|
|
27
|
+
private _characteristicSubscription;
|
|
29
28
|
constructor({ apduSenderFactory, apduReceiverFactory, dependencies, }: RNBleApduSenderConstructorArgs, loggerServiceFactory: (tag: string) => LoggerPublisherService);
|
|
30
29
|
private onReceiveSetupApduResponse;
|
|
31
30
|
private receiveApdu;
|
|
@@ -34,8 +33,7 @@ export declare class RNBleApduSender implements DeviceApduSender<RNBleApduSender
|
|
|
34
33
|
getDependencies(): RNBleApduSenderDependencies;
|
|
35
34
|
setDependencies(dependencies: RNBleApduSenderDependencies): void;
|
|
36
35
|
setupConnection(): Promise<void>;
|
|
37
|
-
sendApdu(apdu: Uint8Array): Promise<Either<DmkError, ApduResponse>>;
|
|
36
|
+
sendApdu(apdu: Uint8Array, _triggersDisconnection?: boolean, abortTimeout?: number): Promise<Either<DmkError, ApduResponse>>;
|
|
38
37
|
closeConnection(): void;
|
|
39
38
|
}
|
|
40
|
-
export {};
|
|
41
39
|
//# sourceMappingURL=RNBleApduSender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNBleApduSender.d.ts","sourceRoot":"","sources":["../../../../src/api/transport/RNBleApduSender.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"RNBleApduSender.d.ts","sourceRoot":"","sources":["../../../../src/api/transport/RNBleApduSender.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,MAAM,EAEZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,0BAA0B,EAC/B,KAAK,YAAY,EAEjB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EAEb,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAE5B,MA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,GACpB,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAgDnC,eAAe;CAGvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RNBleApduSender.test.d.ts","sourceRoot":"","sources":["../../../../src/api/transport/RNBleApduSender.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { PermissionsAndroid, Platform } from "react-native";
|
|
2
|
+
import { BleManager } from "react-native-ble-plx";
|
|
3
|
+
import { type ApduReceiverServiceFactory, type ApduSenderServiceFactory, type ConnectError, DeviceConnectionStateMachine, type DeviceConnectionStateMachineParams, type DeviceId, type DeviceModelDataSource, type DisconnectHandler, type DmkError, type LoggerPublisherService, type Transport, TransportConnectedDevice, type TransportDiscoveredDevice, type TransportFactory, type TransportIdentifier } from "@ledgerhq/device-management-kit";
|
|
4
|
+
import { Either } from "purify-ts";
|
|
5
|
+
import { type Observable } from "rxjs";
|
|
6
|
+
import { RNBleApduSender, type RNBleApduSenderConstructorArgs, type RNBleApduSenderDependencies } from "../transport/RNBleApduSender";
|
|
4
7
|
export declare const rnBleTransportIdentifier = "RN_BLE";
|
|
5
8
|
export declare class RNBleTransport implements Transport {
|
|
6
9
|
private readonly _deviceModelDataSource;
|
|
7
10
|
private readonly _loggerServiceFactory;
|
|
8
11
|
private readonly _apduSenderFactory;
|
|
9
12
|
private readonly _apduReceiverFactory;
|
|
13
|
+
private readonly _manager;
|
|
14
|
+
private readonly _platform;
|
|
15
|
+
private readonly _permissionsAndroid;
|
|
16
|
+
private readonly _deviceConnectionStateMachineFactory;
|
|
17
|
+
private readonly _deviceApduSenderFactory;
|
|
10
18
|
private _logger;
|
|
11
19
|
private _isSupported;
|
|
12
|
-
private _internalDevicesById;
|
|
13
20
|
private _deviceConnectionsById;
|
|
14
|
-
private readonly _manager;
|
|
15
21
|
private readonly identifier;
|
|
16
|
-
|
|
22
|
+
private _reconnectionSubscription;
|
|
23
|
+
private readonly _bleStateSubject;
|
|
24
|
+
constructor(_deviceModelDataSource: DeviceModelDataSource, _loggerServiceFactory: (tag: string) => LoggerPublisherService, _apduSenderFactory: ApduSenderServiceFactory, _apduReceiverFactory: ApduReceiverServiceFactory, _manager: BleManager, _platform?: Platform, _permissionsAndroid?: PermissionsAndroid, _deviceConnectionStateMachineFactory?: (args: DeviceConnectionStateMachineParams<RNBleApduSenderDependencies>) => DeviceConnectionStateMachine<RNBleApduSenderDependencies>, _deviceApduSenderFactory?: (args: RNBleApduSenderConstructorArgs, loggerFactory: (tag: string) => LoggerPublisherService) => RNBleApduSender);
|
|
17
25
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* This method clears the internal device cache and requests necessary permissions
|
|
21
|
-
* before initiating the discovery of both known and new devices. If the Bluetooth
|
|
22
|
-
* Low Energy (BLE) feature is not supported, an error is thrown.
|
|
23
|
-
*
|
|
24
|
-
* @return {Observable<TransportDiscoveredDevice>} An observable emitting discovered devices
|
|
25
|
-
* that match the specified Bluetooth services.
|
|
26
|
+
* Not implemented for now as the return signature is not really usable.
|
|
27
|
+
* Use listenToAvailableDevices instead.
|
|
26
28
|
*/
|
|
27
29
|
startDiscovering(): Observable<TransportDiscoveredDevice>;
|
|
28
30
|
/**
|
|
@@ -31,6 +33,20 @@ export declare class RNBleTransport implements Transport {
|
|
|
31
33
|
* @return {Promise<void>} A promise that resolves once the device scanning has been successfully stopped.
|
|
32
34
|
*/
|
|
33
35
|
stopDiscovering(): Promise<void>;
|
|
36
|
+
private _maybeScanningSubject;
|
|
37
|
+
private _scannedDevicesSubject;
|
|
38
|
+
private _startedScanningSubscriber;
|
|
39
|
+
private _startScanning;
|
|
40
|
+
private _stopScanning;
|
|
41
|
+
/**
|
|
42
|
+
* Listens to known devices and emits updates when new devices are discovered or when properties of existing devices are updated.
|
|
43
|
+
*
|
|
44
|
+
* @return {Observable<TransportDiscoveredDevice[]>} An observable stream of discovered devices, containing device information as an array of TransportDiscoveredDevice objects.
|
|
45
|
+
*/
|
|
46
|
+
listenToAvailableDevices(): Observable<TransportDiscoveredDevice[]>;
|
|
47
|
+
private _mapServicesUUIDsToBluetoothDeviceInfo;
|
|
48
|
+
private _mapServicesUUIDsToDeviceModel;
|
|
49
|
+
private _mapDeviceToTransportDiscoveredDevice;
|
|
34
50
|
/**
|
|
35
51
|
* Establishes a connection to a device and configures the necessary parameters for communication.
|
|
36
52
|
*
|
|
@@ -52,13 +68,6 @@ export declare class RNBleTransport implements Transport {
|
|
|
52
68
|
disconnect(params: {
|
|
53
69
|
connectedDevice: TransportConnectedDevice;
|
|
54
70
|
}): Promise<Either<DmkError, void>>;
|
|
55
|
-
private _isDiscoveredDeviceLost;
|
|
56
|
-
/**
|
|
57
|
-
* Listens to known devices and emits updates when new devices are discovered or when properties of existing devices are updated.
|
|
58
|
-
*
|
|
59
|
-
* @return {Observable<TransportDiscoveredDevice[]>} An observable stream of discovered devices, containing device information as an array of TransportDiscoveredDevice objects.
|
|
60
|
-
*/
|
|
61
|
-
listenToKnownDevices(): Observable<TransportDiscoveredDevice[]>;
|
|
62
71
|
/**
|
|
63
72
|
* Determines if the feature or permission is supported.
|
|
64
73
|
*
|
|
@@ -85,47 +94,6 @@ export declare class RNBleTransport implements Transport {
|
|
|
85
94
|
* @return {Promise<boolean>} A promise that resolves to true if the required permissions are granted, otherwise false.
|
|
86
95
|
*/
|
|
87
96
|
requestPermission(): Promise<boolean>;
|
|
88
|
-
/**
|
|
89
|
-
* Retrieves a discovered device and its BLE device information, if available, from the provided input.
|
|
90
|
-
*
|
|
91
|
-
* @param {Device} rnDevice - The Bluetooth device to analyze for discovery.
|
|
92
|
-
* @param {string[]} ledgerUuids - A list of UUIDs associated with the target Ledger devices.
|
|
93
|
-
* @return {Maybe<{ bleDeviceInfos: BleDeviceInfos; discoveredDevice: TransportDiscoveredDevice }>} A Maybe object containing the discovered device and its BLE information, or Nothing if the device or information cannot be determined.
|
|
94
|
-
*/
|
|
95
|
-
private _getDiscoveredDeviceFrom;
|
|
96
|
-
/**
|
|
97
|
-
* Handles the processing of devices that have been determined to be "lost" by iterating
|
|
98
|
-
* through a collection of internal devices, identifying lost devices, updating their status,
|
|
99
|
-
* and notifying a subscriber about the change.
|
|
100
|
-
*
|
|
101
|
-
* @param {Subscriber<TransportDiscoveredDevice>} subscriber - The observer that will be notified
|
|
102
|
-
* when a device is marked as lost, including updated device information with its availability set to false.
|
|
103
|
-
* @return {void} This method does not return a value.
|
|
104
|
-
*/
|
|
105
|
-
private _handleLostDiscoveredDevices;
|
|
106
|
-
/**
|
|
107
|
-
* Emits a discovered device to the provided subscriber and manages internal state
|
|
108
|
-
* for the discovered device, including handling its availability status and disconnection events.
|
|
109
|
-
*
|
|
110
|
-
* @param {Subscriber<TransportDiscoveredDevice>} subscriber The subscriber to emit the discovered device to.
|
|
111
|
-
* @param {BleDeviceInfos} bleDeviceInfos The BLE device information associated with the discovered device.
|
|
112
|
-
* @param {TransportDiscoveredDevice} discoveredDevice The newly discovered device to be emitted.
|
|
113
|
-
* @return {void} Does*/
|
|
114
|
-
private _emitDiscoveredDevice;
|
|
115
|
-
/**
|
|
116
|
-
* Discovers new devices by scanning for BLE devices and filtering them based on the provided ledger UUIDs.
|
|
117
|
-
*
|
|
118
|
-
* @param {string[]} ledgerUuids - An array of UUIDs used to identify relevant ledger devices.
|
|
119
|
-
* @return {Observable<TransportDiscoveredDevice>} An observable that emits discovered devices matching the provided UUIDs.
|
|
120
|
-
*/
|
|
121
|
-
private _discoverNewDevices;
|
|
122
|
-
/**
|
|
123
|
-
* Discovers and emits known ledger devices based on the provided UUIDs.
|
|
124
|
-
*
|
|
125
|
-
* @param {string[]} ledgerUuids - An array of UUIDs representing the target ledger devices to discover.
|
|
126
|
-
* @return {Observable<TransportDiscoveredDevice>} An Observable that emits discovered devices matching the provided UUIDs.
|
|
127
|
-
*/
|
|
128
|
-
private _discoverKnownDevices;
|
|
129
97
|
/**
|
|
130
98
|
* Handles the event when a Bluetooth device gets disconnected. This method attempts
|
|
131
99
|
* to reconnect to the device, retries a certain number of times on failure, and
|
|
@@ -133,22 +101,23 @@ export declare class RNBleTransport implements Transport {
|
|
|
133
101
|
*
|
|
134
102
|
* @param {BleError | null} error - The error object representing the reason for the disconnection, or null if no error occurred.
|
|
135
103
|
* @param {Device | null} device - The Bluetooth device that was disconnected, or null if no device is provided.
|
|
136
|
-
* @param {DisconnectHandler} onDisconnect - A callback function to be called if the reconnection attempts fail completely.
|
|
137
104
|
* @return {void}
|
|
138
105
|
*/
|
|
139
106
|
private _handleDeviceDisconnected;
|
|
107
|
+
private tryToReconnect;
|
|
140
108
|
/**
|
|
141
109
|
* Handles the reconnection of a device. Configures the device connection and its corresponding
|
|
142
110
|
* internal device upon reconnection, including updating the connection state, registering
|
|
143
111
|
* callbacks for write and monitor operations, and initiating a reconnect operation.
|
|
144
112
|
*
|
|
145
|
-
* @param {Device} device - The
|
|
113
|
+
* @param {Device} device - The ddevice object that has been reconnected. Contains device details,
|
|
146
114
|
* such as the device ID.
|
|
147
115
|
* @return {Promise<Either<DeviceConnectionNotFound | InternalDeviceNotFound, void>>} A promise that completes when the device reconnection has been fully
|
|
148
116
|
* configured. Resolves with no value or rejects if an error occurs during
|
|
149
117
|
* the reconnection process.
|
|
150
118
|
*/
|
|
151
119
|
private _handleDeviceReconnected;
|
|
120
|
+
private _safeCancel;
|
|
152
121
|
}
|
|
153
122
|
export declare const RNBleTransportFactory: TransportFactory;
|
|
154
123
|
//# sourceMappingURL=RNBleTransport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNBleTransport.d.ts","sourceRoot":"","sources":["../../../../src/api/transport/RNBleTransport.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RNBleTransport.d.ts","sourceRoot":"","sources":["../../../../src/api/transport/RNBleTransport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,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