@onekeyfe/hd-transport-react-native 1.0.34-alpha.0 → 1.0.34

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,7 +1,6 @@
1
1
  import { Device, Characteristic } from 'react-native-ble-plx';
2
2
  export default class BleTransport {
3
3
  id: string;
4
- name: string;
5
4
  device: Device;
6
5
  mtuSize: number;
7
6
  writeCharacteristic: Characteristic;
@@ -1 +1 @@
1
- {"version":3,"file":"BleTransport.d.ts","sourceRoot":"","sources":["../src/BleTransport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAgB,MAAM,sBAAsB,CAAC;AAM5E,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,EAAE,EAAE,MAAM,CAAC;IAEX,IAAI,SAA6B;IAEjC,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,SAAM;IAEb,mBAAmB,EAAE,cAAc,CAAC;IAEpC,oBAAoB,EAAE,cAAc,CAAC;IAErC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAEhC,MAAM,CAAC,WAAW,SAAK;IAEvB,MAAM,CAAC,WAAW,SAAQ;gBAGxB,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,cAAc,EACnC,oBAAoB,EAAE,cAAc;IAehC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,SAA2B,GAAG,OAAO,CAAC,IAAI,CAAC;CA2BzF"}
1
+ {"version":3,"file":"BleTransport.d.ts","sourceRoot":"","sources":["../src/BleTransport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAgB,MAAM,sBAAsB,CAAC;AAM5E,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,EAAE,EAAE,MAAM,CAAC;IAEX,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,SAAM;IAEb,mBAAmB,EAAE,cAAc,CAAC;IAEpC,oBAAoB,EAAE,cAAc,CAAC;IAErC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAEhC,MAAM,CAAC,WAAW,SAAK;IAEvB,MAAM,CAAC,WAAW,SAAQ;gBAGxB,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,cAAc,EACnC,oBAAoB,EAAE,cAAc;IAehC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,SAA2B,GAAG,OAAO,CAAC,IAAI,CAAC;CA2BzF"}
package/dist/index.js CHANGED
@@ -182,7 +182,6 @@ const isHeaderChunk = (chunk) => {
182
182
  const Log = hdCore.getLogger(hdCore.LoggerNames.HdBleTransport);
183
183
  class BleTransport {
184
184
  constructor(device, writeCharacteristic, notifyCharacteristic) {
185
- this.name = 'ReactNativeBleTransport';
186
185
  this.mtuSize = 20;
187
186
  this.id = device.id;
188
187
  this.device = device;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-transport-react-native",
3
- "version": "1.0.34-alpha.0",
3
+ "version": "1.0.34",
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": "^1.0.34-alpha.0",
23
- "@onekeyfe/hd-transport": "^1.0.34-alpha.0",
22
+ "@onekeyfe/hd-shared": "^1.0.34",
23
+ "@onekeyfe/hd-transport": "^1.0.34",
24
24
  "@onekeyfe/react-native-ble-utils": "^0.1.4",
25
25
  "react-native-ble-plx": "3.5.0"
26
26
  },
27
- "gitHead": "a910879dea6198bd96016aec81429f31b9692bf1"
27
+ "gitHead": "3172095f33c4637dd76b36fee3ea0cfa0bd3ae40"
28
28
  }
@@ -7,8 +7,6 @@ const Log = getLogger(LoggerNames.HdBleTransport);
7
7
  export default class BleTransport {
8
8
  id: string;
9
9
 
10
- name = 'ReactNativeBleTransport';
11
-
12
10
  device: Device;
13
11
 
14
12
  mtuSize = 20;