@onekeyfe/hd-transport-react-native 0.3.30 → 0.3.32

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.
@@ -1,6 +1,6 @@
1
1
  export declare const IOS_PACKET_LENGTH = 128;
2
2
  export declare const ANDROID_PACKET_LENGTH = 192;
3
- export declare const isOnekeyDevice: (name: string | null, id?: string | undefined) => boolean;
3
+ export declare const isOnekeyDevice: (name: string | null, id?: string) => boolean;
4
4
  export declare const getBluetoothServiceUuids: () => string[];
5
5
  export declare const getInfosForServiceUuid: (serviceUuid: string, deviceType: 'classic') => {
6
6
  serviceUuid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,eAAO,MAAM,cAAc,SAAU,MAAM,GAAG,IAAI,8BAAgB,OAYjE,CAAC;AA8BF,eAAO,MAAM,wBAAwB,gBAA0B,CAAC;AAChE,eAAO,MAAM,sBAAsB,gBAAiB,MAAM,cAAc,SAAS;iBA1BhE,MAAM;;;QAoCtB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,eAAO,MAAM,cAAc,SAAU,MAAM,GAAG,IAAI,OAAO,MAAM,KAAG,OAYjE,CAAC;AA8BF,eAAO,MAAM,wBAAwB,gBAA0B,CAAC;AAChE,eAAO,MAAM,sBAAsB,gBAAiB,MAAM,cAAc,SAAS;iBA1BhE,MAAM;;;QAoCtB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -4,10 +4,10 @@ import { BleManager, Device, Characteristic } from '@onekeyfe/react-native-ble-p
4
4
  import { Deferred } from '@onekeyfe/hd-shared';
5
5
  import EventEmitter from 'events';
6
6
 
7
- declare type TransportOptions = {
7
+ type TransportOptions = {
8
8
  scanTimeout?: number;
9
9
  };
10
- declare type BleAcquireInput = {
10
+ type BleAcquireInput = {
11
11
  uuid: string;
12
12
  forceCleanRunPromise?: boolean;
13
13
  };
package/dist/types.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export type { BleManager as BlePlxManager } from '@onekeyfe/react-native-ble-plx';
2
- export declare type TransportOptions = {
2
+ export type TransportOptions = {
3
3
  scanTimeout?: number;
4
4
  };
5
- export declare type BleAcquireInput = {
5
+ export type BleAcquireInput = {
6
6
  uuid: string;
7
7
  forceCleanRunPromise?: boolean;
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAElF,oBAAY,gBAAgB,GAAG;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAElF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-transport-react-native",
3
- "version": "0.3.30",
3
+ "version": "0.3.32",
4
4
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -19,10 +19,10 @@
19
19
  "lint:fix": "eslint . --fix"
20
20
  },
21
21
  "dependencies": {
22
- "@onekeyfe/hd-shared": "^0.3.30",
23
- "@onekeyfe/hd-transport": "^0.3.30",
22
+ "@onekeyfe/hd-shared": "^0.3.32",
23
+ "@onekeyfe/hd-transport": "^0.3.32",
24
24
  "@onekeyfe/react-native-ble-plx": "3.0.0",
25
25
  "react-native-ble-manager": "^8.1.0"
26
26
  },
27
- "gitHead": "269ee367141ae2186a9a63d1d89e9f4c70428623"
27
+ "gitHead": "4b1c767b6fe7588ed59d8b4a4ec1b56b3e0ccf85"
28
28
  }