@onekeyfe/hwk-adapter-core 1.2.10-alpha.3 → 1.2.11-alpha.1
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/dist/{chunk-Z574MVAT.mjs → chunk-5AIX6YY5.mjs} +2 -2
- package/dist/{chunk-UFNTICCX.js → chunk-EJIHCWWH.js} +9 -2
- package/dist/chunk-EJIHCWWH.js.map +1 -0
- package/dist/{chunk-P7RDL34T.js → chunk-MVP46CIZ.js} +3 -3
- package/dist/{chunk-P7RDL34T.js.map → chunk-MVP46CIZ.js.map} +1 -1
- package/dist/{chunk-V2OHL2JS.mjs → chunk-VKP46GTC.mjs} +8 -1
- package/dist/chunk-VKP46GTC.mjs.map +1 -0
- package/dist/{errors-DednD9bG.d.mts → errors-Cl6Q5lqG.d.mts} +10 -8
- package/dist/{errors-DednD9bG.d.ts → errors-Cl6Q5lqG.d.ts} +10 -8
- package/dist/errors.d.mts +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +2 -2
- package/dist/errors.mjs +1 -1
- package/dist/index.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +57 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -2
- package/dist/index.mjs.map +1 -1
- package/dist/ui-events.js +3 -3
- package/dist/ui-events.mjs +2 -2
- package/package.json +2 -2
- package/dist/chunk-UFNTICCX.js.map +0 -1
- package/dist/chunk-V2OHL2JS.mjs.map +0 -1
- /package/dist/{chunk-Z574MVAT.mjs.map → chunk-5AIX6YY5.mjs.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var _chunkYLCHSNXOjs = require('./chunk-YLCHSNXO.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkMVP46CIZjs = require('./chunk-MVP46CIZ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -19,7 +19,8 @@ var _chunkP7RDL34Tjs = require('./chunk-P7RDL34T.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
var _chunkEJIHCWWHjs = require('./chunk-EJIHCWWH.js');
|
|
23
24
|
|
|
24
25
|
// src/types/response.ts
|
|
25
26
|
function success(payload) {
|
|
@@ -32,7 +33,7 @@ function failure(code, error, params, origin, recovery) {
|
|
|
32
33
|
error,
|
|
33
34
|
code,
|
|
34
35
|
...origin !== void 0 ? { origin } : {},
|
|
35
|
-
recovery: _nullishCoalesce(recovery, () => (
|
|
36
|
+
recovery: _nullishCoalesce(recovery, () => ( _chunkEJIHCWWHjs.defaultRecoveryForCode.call(void 0, code))),
|
|
36
37
|
...params ? { params } : {}
|
|
37
38
|
}
|
|
38
39
|
};
|
|
@@ -314,13 +315,13 @@ var OperationRegistry = class {
|
|
|
314
315
|
if (!active) {
|
|
315
316
|
const ended = this._ended.get(operationId);
|
|
316
317
|
if (ended) {
|
|
317
|
-
throw
|
|
318
|
+
throw _chunkEJIHCWWHjs.createHwkError.call(void 0, {
|
|
318
319
|
code: 10113 /* OperationEnded */,
|
|
319
320
|
message: `Hardware operation has ended (${ended.reason})`,
|
|
320
321
|
params: { operationId, reason: ended.reason }
|
|
321
322
|
});
|
|
322
323
|
}
|
|
323
|
-
throw
|
|
324
|
+
throw _chunkEJIHCWWHjs.createHwkError.call(void 0, {
|
|
324
325
|
code: 10112 /* OperationNotFound */,
|
|
325
326
|
message: "Hardware operation was not found",
|
|
326
327
|
params: { operationId }
|
|
@@ -580,13 +581,13 @@ function isDeviceUnavailableError(error) {
|
|
|
580
581
|
return false;
|
|
581
582
|
}
|
|
582
583
|
function combinedDeviceNotFoundError(message) {
|
|
583
|
-
return
|
|
584
|
+
return _chunkEJIHCWWHjs.createHwkError.call(void 0, {
|
|
584
585
|
code: 10100 /* DeviceNotFound */,
|
|
585
586
|
message
|
|
586
587
|
});
|
|
587
588
|
}
|
|
588
589
|
function combinedSessionNotFoundError(message) {
|
|
589
|
-
return
|
|
590
|
+
return _chunkEJIHCWWHjs.createHwkError.call(void 0, {
|
|
590
591
|
code: 10101 /* DeviceDisconnected */,
|
|
591
592
|
message
|
|
592
593
|
});
|
|
@@ -720,7 +721,7 @@ function createCombinedConnector(connectors) {
|
|
|
720
721
|
}
|
|
721
722
|
}
|
|
722
723
|
const message = lastError instanceof Error ? lastError.message : `Combined connector: device not found: ${deviceId}`;
|
|
723
|
-
throw
|
|
724
|
+
throw _chunkEJIHCWWHjs.createHwkError.call(void 0, {
|
|
724
725
|
code: 10100 /* DeviceNotFound */,
|
|
725
726
|
message
|
|
726
727
|
});
|
|
@@ -846,15 +847,37 @@ var TypedEventEmitter = class {
|
|
|
846
847
|
}
|
|
847
848
|
};
|
|
848
849
|
|
|
850
|
+
// src/types/electronBle.ts
|
|
851
|
+
var isSerializedError = (value) => typeof value === "object" && value !== null && !(value instanceof Error) && typeof value.message === "string";
|
|
852
|
+
var restoreHostError = ({ message, code, params }) => _chunkEJIHCWWHjs.isHardwareErrorCode.call(void 0, code) ? _chunkEJIHCWWHjs.createHwkError.call(void 0, { code, message, ...params ? { params } : {} }) : new Error(message);
|
|
853
|
+
function rehydrateElectronBleErrors(bridge) {
|
|
854
|
+
const wrapped = Object.create(bridge);
|
|
855
|
+
for (const key of Object.keys(bridge)) {
|
|
856
|
+
if (typeof bridge[key] === "function") {
|
|
857
|
+
Object.defineProperty(wrapped, key, {
|
|
858
|
+
value: (...args) => {
|
|
859
|
+
const method = bridge[key];
|
|
860
|
+
const result = method.apply(bridge, args);
|
|
861
|
+
if (typeof _optionalChain([result, 'optionalAccess', _32 => _32.then]) !== "function") return result;
|
|
862
|
+
return Promise.resolve(result).catch((error) => {
|
|
863
|
+
throw isSerializedError(error) ? restoreHostError(error) : error;
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
});
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
return wrapped;
|
|
870
|
+
}
|
|
871
|
+
|
|
849
872
|
// src/utils/requestSaveDeviceBinding.ts
|
|
850
873
|
function emitDeviceBindingStatus(emitter, selectionRequestId, status) {
|
|
851
|
-
emitter.emit(
|
|
852
|
-
type:
|
|
874
|
+
emitter.emit(_chunkMVP46CIZjs.UI_REQUEST.DEVICE_BINDING_STATUS, {
|
|
875
|
+
type: _chunkMVP46CIZjs.UI_REQUEST.DEVICE_BINDING_STATUS,
|
|
853
876
|
payload: { selectionRequestId, status }
|
|
854
877
|
});
|
|
855
878
|
}
|
|
856
879
|
async function requestSaveDeviceBinding(emitter, registry, binding, signal) {
|
|
857
|
-
const type =
|
|
880
|
+
const type = _chunkMVP46CIZjs.UI_REQUEST.REQUEST_SAVE_DEVICE_BINDING;
|
|
858
881
|
const emitStatus = (status) => emitDeviceBindingStatus(emitter, binding.selectionRequestId, status);
|
|
859
882
|
const declined = (reason) => {
|
|
860
883
|
emitStatus("failed");
|
|
@@ -863,29 +886,29 @@ async function requestSaveDeviceBinding(emitter, registry, binding, signal) {
|
|
|
863
886
|
if (!emitter.listenerCount(type)) {
|
|
864
887
|
return declined("skipped");
|
|
865
888
|
}
|
|
866
|
-
if (_optionalChain([signal, 'optionalAccess',
|
|
889
|
+
if (_optionalChain([signal, 'optionalAccess', _33 => _33.aborted])) throw signal.reason;
|
|
867
890
|
const requestId = registry.createRequestId();
|
|
868
891
|
const pending = registry.wait(type, { requestId, operationId: binding.operationId });
|
|
869
892
|
void pending.catch(() => void 0);
|
|
870
893
|
const cancel = () => registry.cancel(type, requestId);
|
|
871
|
-
_optionalChain([signal, 'optionalAccess',
|
|
894
|
+
_optionalChain([signal, 'optionalAccess', _34 => _34.addEventListener, 'call', _35 => _35("abort", cancel, { once: true })]);
|
|
872
895
|
try {
|
|
873
896
|
emitter.emit(type, { type, payload: { ...binding, requestId } });
|
|
874
897
|
const response = await pending;
|
|
875
|
-
if (_optionalChain([signal, 'optionalAccess',
|
|
876
|
-
if (_optionalChain([response, 'optionalAccess',
|
|
877
|
-
return declined(_nullishCoalesce(_optionalChain([response, 'optionalAccess',
|
|
898
|
+
if (_optionalChain([signal, 'optionalAccess', _36 => _36.aborted])) throw signal.reason;
|
|
899
|
+
if (_optionalChain([response, 'optionalAccess', _37 => _37.saved]) !== true) {
|
|
900
|
+
return declined(_nullishCoalesce(_optionalChain([response, 'optionalAccess', _38 => _38.reason]), () => ( "skipped")));
|
|
878
901
|
}
|
|
879
902
|
emitStatus("saved");
|
|
880
903
|
return { saved: true };
|
|
881
904
|
} catch (error) {
|
|
882
|
-
if (_optionalChain([signal, 'optionalAccess',
|
|
905
|
+
if (_optionalChain([signal, 'optionalAccess', _39 => _39.aborted])) {
|
|
883
906
|
emitStatus("cancelled");
|
|
884
907
|
throw error;
|
|
885
908
|
}
|
|
886
909
|
return declined("skipped");
|
|
887
910
|
} finally {
|
|
888
|
-
_optionalChain([signal, 'optionalAccess',
|
|
911
|
+
_optionalChain([signal, 'optionalAccess', _40 => _40.removeEventListener, 'call', _41 => _41("abort", cancel)]);
|
|
889
912
|
registry.cancel(type, requestId);
|
|
890
913
|
}
|
|
891
914
|
}
|
|
@@ -900,10 +923,10 @@ async function requestBleDeviceSelection({
|
|
|
900
923
|
allowUsbFallback = false,
|
|
901
924
|
pollIntervalMs = 1500
|
|
902
925
|
}) {
|
|
903
|
-
const type =
|
|
926
|
+
const type = _chunkMVP46CIZjs.UI_REQUEST.REQUEST_SELECT_DEVICE;
|
|
904
927
|
if (signal.aborted) throw signal.reason;
|
|
905
928
|
if (!emitter.listenerCount(type)) {
|
|
906
|
-
throw
|
|
929
|
+
throw _chunkEJIHCWWHjs.createHwkError.call(void 0, {
|
|
907
930
|
code: 10100 /* DeviceNotFound */,
|
|
908
931
|
message: "Select a Bluetooth device before continuing"
|
|
909
932
|
});
|
|
@@ -918,7 +941,7 @@ async function requestBleDeviceSelection({
|
|
|
918
941
|
const stop = () => {
|
|
919
942
|
stopped = true;
|
|
920
943
|
if (timer !== void 0) clearTimeout(timer);
|
|
921
|
-
_optionalChain([wake, 'optionalCall',
|
|
944
|
+
_optionalChain([wake, 'optionalCall', _42 => _42()]);
|
|
922
945
|
};
|
|
923
946
|
const waitForNextScan = () => new Promise((resolve) => {
|
|
924
947
|
wake = resolve;
|
|
@@ -948,7 +971,7 @@ async function requestBleDeviceSelection({
|
|
|
948
971
|
while (!stopped) {
|
|
949
972
|
const snapshot = await rescan();
|
|
950
973
|
if (stopped || signal.aborted) return;
|
|
951
|
-
const usbFallback = allowUsbFallback ? _optionalChain([snapshot, 'optionalAccess',
|
|
974
|
+
const usbFallback = allowUsbFallback ? _optionalChain([snapshot, 'optionalAccess', _43 => _43.find, 'call', _44 => _44((device2) => device2.connectionType === "usb")]) : void 0;
|
|
952
975
|
if (usbFallback) return usbFallback;
|
|
953
976
|
if (snapshot) {
|
|
954
977
|
devices = snapshot;
|
|
@@ -966,7 +989,7 @@ async function requestBleDeviceSelection({
|
|
|
966
989
|
await polling;
|
|
967
990
|
if (signal.aborted) throw signal.reason;
|
|
968
991
|
if (!device) {
|
|
969
|
-
throw
|
|
992
|
+
throw _chunkEJIHCWWHjs.createHwkError.call(void 0, {
|
|
970
993
|
code: 10100 /* DeviceNotFound */,
|
|
971
994
|
message: "Selected Bluetooth device is no longer available"
|
|
972
995
|
});
|
|
@@ -980,7 +1003,7 @@ async function requestBleDeviceSelection({
|
|
|
980
1003
|
stop();
|
|
981
1004
|
signal.removeEventListener("abort", cancel);
|
|
982
1005
|
registry.cancel(type, requestId);
|
|
983
|
-
await _optionalChain([polling, 'optionalAccess',
|
|
1006
|
+
await _optionalChain([polling, 'optionalAccess', _45 => _45.catch, 'call', _46 => _46(() => void 0)]);
|
|
984
1007
|
}
|
|
985
1008
|
}
|
|
986
1009
|
|
|
@@ -1020,7 +1043,7 @@ var MAX_CBOR_DEPTH = 64;
|
|
|
1020
1043
|
var DEFAULT_MAX_CBOR_BYTES = 8 * 1024 * 1024;
|
|
1021
1044
|
var ARGUMENT_BYTES = [1, 2, 4, 8];
|
|
1022
1045
|
function malformed(reason) {
|
|
1023
|
-
return
|
|
1046
|
+
return _chunkEJIHCWWHjs.createHwkError.call(void 0, {
|
|
1024
1047
|
code: 10002 /* InvalidParams */,
|
|
1025
1048
|
message: `Malformed CBOR payload: ${reason}`
|
|
1026
1049
|
});
|
|
@@ -1485,7 +1508,7 @@ var TREZOR_BLE_SERVICE_UUID = "8c000001-a59b-4d58-a9ad-073df69fa1b1";
|
|
|
1485
1508
|
var LEDGER_USB_VENDOR_ID = 11415;
|
|
1486
1509
|
var KEYSTONE_USB_VENDOR_ID = 4617;
|
|
1487
1510
|
var KEYSTONE_USB_PRODUCT_ID = 12289;
|
|
1488
|
-
var lower = (value) => _nullishCoalesce(_optionalChain([value, 'optionalAccess',
|
|
1511
|
+
var lower = (value) => _nullishCoalesce(_optionalChain([value, 'optionalAccess', _47 => _47.trim, 'call', _48 => _48(), 'access', _49 => _49.toLowerCase, 'call', _50 => _50()]), () => ( ""));
|
|
1489
1512
|
var hasServiceUuid = (input, uuid) => {
|
|
1490
1513
|
const expected = uuid.toLowerCase();
|
|
1491
1514
|
const values = [
|
|
@@ -1528,7 +1551,7 @@ async function batchCall(params, callFn, onProgress) {
|
|
|
1528
1551
|
return result;
|
|
1529
1552
|
}
|
|
1530
1553
|
results.push(result.payload);
|
|
1531
|
-
_optionalChain([onProgress, 'optionalCall',
|
|
1554
|
+
_optionalChain([onProgress, 'optionalCall', _51 => _51({ index: i, total: params.length })]);
|
|
1532
1555
|
}
|
|
1533
1556
|
return { success: true, payload: results };
|
|
1534
1557
|
}
|
|
@@ -1589,7 +1612,7 @@ function getHardwareMethodMetadata(method) {
|
|
|
1589
1612
|
}
|
|
1590
1613
|
var SAFE_NON_CHAIN_METHODS = /* @__PURE__ */ new Set(["getFeatures", "authenticateDevice"]);
|
|
1591
1614
|
function canReplayHardwareMethodAfterTransportFailure(method) {
|
|
1592
|
-
return _optionalChain([getHardwareMethodMetadata, 'call',
|
|
1615
|
+
return _optionalChain([getHardwareMethodMetadata, 'call', _52 => _52(method), 'optionalAccess', _53 => _53.replayAfterTransportFailure]) === "safe" || SAFE_NON_CHAIN_METHODS.has(method);
|
|
1593
1616
|
}
|
|
1594
1617
|
function isAllNetworkMethodName(method) {
|
|
1595
1618
|
return ALL_NETWORK_METHOD_SET.has(method);
|
|
@@ -1618,7 +1641,7 @@ async function runAllNetworkGetAddress({
|
|
|
1618
1641
|
continue;
|
|
1619
1642
|
}
|
|
1620
1643
|
const method = item.methodName;
|
|
1621
|
-
const unsupportedNetwork = _optionalChain([buildUnsupportedNetworkResponse, 'optionalCall',
|
|
1644
|
+
const unsupportedNetwork = _optionalChain([buildUnsupportedNetworkResponse, 'optionalCall', _54 => _54(item, method)]);
|
|
1622
1645
|
if (unsupportedNetwork) {
|
|
1623
1646
|
responses.push(unsupportedNetwork);
|
|
1624
1647
|
continue;
|
|
@@ -1678,8 +1701,8 @@ function isConnectionLost(code) {
|
|
|
1678
1701
|
}
|
|
1679
1702
|
function buildAllNetworkCancelledFailure(signal) {
|
|
1680
1703
|
const reason = signal.reason;
|
|
1681
|
-
const code = typeof _optionalChain([reason, 'optionalAccess',
|
|
1682
|
-
const message = typeof _optionalChain([reason, 'optionalAccess',
|
|
1704
|
+
const code = typeof _optionalChain([reason, 'optionalAccess', _55 => _55.code]) === "number" ? reason.code : 10005 /* UserAborted */;
|
|
1705
|
+
const message = typeof _optionalChain([reason, 'optionalAccess', _56 => _56.message]) === "string" ? reason.message : "";
|
|
1683
1706
|
return failure(code, message || "All-network get-address cancelled");
|
|
1684
1707
|
}
|
|
1685
1708
|
function buildUnsupportedMethodResponse(item) {
|
|
@@ -1782,5 +1805,7 @@ var DEVICE_CONNECT_RETRY_DELAY_MS = 1e3;
|
|
|
1782
1805
|
|
|
1783
1806
|
|
|
1784
1807
|
|
|
1785
|
-
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
exports.ALL_NETWORK_METHOD_NAMES = ALL_NETWORK_METHOD_NAMES; exports.CHAIN_FINGERPRINT_PATHS = CHAIN_FINGERPRINT_PATHS; exports.DEVICE = DEVICE; exports.DEVICE_CONNECT_RETRY_DELAY_MS = DEVICE_CONNECT_RETRY_DELAY_MS; exports.DEVICE_EVENT = DEVICE_EVENT; exports.DeviceJobQueue = DeviceJobQueue; exports.EConnectorInteraction = EConnectorInteraction; exports.HARDWARE_METHOD_CATALOG = HARDWARE_METHOD_CATALOG; exports.HARDWARE_RUNTIME_ID_PREFIX = HARDWARE_RUNTIME_ID_PREFIX; exports.HardwareErrorCode = _chunkEJIHCWWHjs.HardwareErrorCode; exports.MISSING_BIP32_MASTER_FINGERPRINT = MISSING_BIP32_MASTER_FINGERPRINT; exports.OPERATION_DEFAULT_TTL_MS = OPERATION_DEFAULT_TTL_MS; exports.ORPHAN_ELIGIBLE_ERROR_CODES = _chunkEJIHCWWHjs.ORPHAN_ELIGIBLE_ERROR_CODES; exports.OperationRegistry = OperationRegistry; exports.SDK = SDK; exports.TypedEventEmitter = TypedEventEmitter; exports.UI_EVENT = _chunkMVP46CIZjs.UI_EVENT; exports.UI_REQUEST = _chunkMVP46CIZjs.UI_REQUEST; exports.UI_REQUEST_CANCELLED_TAG = _chunkMVP46CIZjs.UI_REQUEST_CANCELLED_TAG; exports.UI_REQUEST_DEFAULT_TIMEOUT_MS = _chunkMVP46CIZjs.UI_REQUEST_DEFAULT_TIMEOUT_MS; exports.UI_REQUEST_PREEMPTED_TAG = _chunkMVP46CIZjs.UI_REQUEST_PREEMPTED_TAG; exports.UI_REQUEST_TIMEOUT_TAG = _chunkMVP46CIZjs.UI_REQUEST_TIMEOUT_TAG; exports.UI_RESPONSE = _chunkMVP46CIZjs.UI_RESPONSE; exports.UiRequestRegistry = _chunkMVP46CIZjs.UiRequestRegistry; exports.assertBoundedCbor = assertBoundedCbor; exports.batchCall = batchCall; exports.boundedCborFromHex = boundedCborFromHex; exports.buildAllNetworkCancelledFailure = buildAllNetworkCancelledFailure; exports.buildUnsupportedMethodResponse = buildUnsupportedMethodResponse; exports.bytesToHex = bytesToHex3; exports.canReplayHardwareMethodAfterTransportFailure = canReplayHardwareMethodAfterTransportFailure; exports.compareSemver = compareSemver; exports.createBridgedConnector = createBridgedConnector; exports.createCombinedConnector = createCombinedConnector; exports.createHardwareLinkId = createHardwareLinkId; exports.createHardwareOperationId = createHardwareOperationId; exports.createHardwareSearchTargetId = createHardwareSearchTargetId; exports.createHwkError = _chunkEJIHCWWHjs.createHwkError; exports.defaultOriginForCode = _chunkEJIHCWWHjs.defaultOriginForCode; exports.defaultRecoveryForCode = _chunkEJIHCWWHjs.defaultRecoveryForCode; exports.deriveDeviceFingerprint = deriveDeviceFingerprint; exports.detectHardwareVendorFromDescriptor = detectHardwareVendorFromDescriptor; exports.emitDeviceBindingStatus = emitDeviceBindingStatus; exports.enrichErrorMessage = _chunkYLCHSNXOjs.enrichErrorMessage; exports.ensure0x = ensure0x; exports.failure = failure; exports.getAllNetworkMethodChain = getAllNetworkMethodChain; exports.getHardwareMethodMetadata = getHardwareMethodMetadata; exports.hasHardwareRuntimeIdPrefix = hasHardwareRuntimeIdPrefix; exports.hexToBytes = hexToBytes; exports.isAllNetworkMethodName = isAllNetworkMethodName; exports.isConnectionLost = isConnectionLost; exports.isHardwareErrorCode = _chunkEJIHCWWHjs.isHardwareErrorCode; exports.isHardwareOperationId = isHardwareOperationId; exports.isHwkRecoveryHint = _chunkEJIHCWWHjs.isHwkRecoveryHint; exports.isKnownNonTargetHardwareVendor = isKnownNonTargetHardwareVendor; exports.isUserRefusal = isUserRefusal; exports.isWalletSafetyFailure = isWalletSafetyFailure; exports.operationMayHaveCompletedParams = _chunkEJIHCWWHjs.operationMayHaveCompletedParams; exports.padHex64 = padHex64; exports.parseBip32MasterFingerprint = parseBip32MasterFingerprint; exports.parseHardwareRuntimeId = parseHardwareRuntimeId; exports.parseWalletMasterFingerprint = parseWalletMasterFingerprint; exports.pickConnectionContext = pickConnectionContext; exports.prepareSolanaOffchainMessageV1 = prepareSolanaOffchainMessageV1; exports.rehydrateConnectorError = rehydrateConnectorError; exports.rehydrateElectronBleErrors = rehydrateElectronBleErrors; exports.requestBleDeviceSelection = requestBleDeviceSelection; exports.requestSaveDeviceBinding = requestSaveDeviceBinding; exports.resolveHardwareOperationTarget = resolveHardwareOperationTarget; exports.resolveSearchTargetReusePolicy = resolveSearchTargetReusePolicy; exports.runAllNetworkGetAddress = runAllNetworkGetAddress; exports.serializeConnectorError = serializeConnectorError; exports.stripHex = stripHex; exports.success = success; exports.summarizeForLog = summarizeForLog; exports.toPhysicalDeviceSearchTarget = toPhysicalDeviceSearchTarget;
|
|
1786
1811
|
//# sourceMappingURL=index.js.map
|