@onekeyfe/hd-transport-react-native 1.1.20-alpha.1 → 1.1.20

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/index.js CHANGED
@@ -338,7 +338,7 @@ class ReactNativeBleTransport {
338
338
  });
339
339
  const addDevice = (device) => {
340
340
  if (deviceList.every(d => d.id !== device.id)) {
341
- deviceList.push(Object.assign(Object.assign({}, device), { type: 'ble' }));
341
+ deviceList.push(Object.assign(Object.assign({}, device), { commType: 'ble' }));
342
342
  }
343
343
  };
344
344
  timer.timeout(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-transport-react-native",
3
- "version": "1.1.20-alpha.1",
3
+ "version": "1.1.20",
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.1.20-alpha.1",
23
- "@onekeyfe/hd-transport": "1.1.20-alpha.1",
22
+ "@onekeyfe/hd-shared": "1.1.20",
23
+ "@onekeyfe/hd-transport": "1.1.20",
24
24
  "@onekeyfe/react-native-ble-utils": "^0.1.4",
25
25
  "react-native-ble-plx": "3.5.0"
26
26
  },
27
- "gitHead": "4a835d088a44adaeb6b1088816ece1bc1e8474e2"
27
+ "gitHead": "3f1367f1ad5253e2207442e74fa47361df7ff442"
28
28
  }
package/src/index.ts CHANGED
@@ -215,7 +215,7 @@ export default class ReactNativeBleTransport {
215
215
 
216
216
  const addDevice = (device: Device) => {
217
217
  if (deviceList.every(d => d.id !== device.id)) {
218
- deviceList.push({ ...device, type: 'ble' } as IOneKeyDevice);
218
+ deviceList.push({ ...device, commType: 'ble' } as IOneKeyDevice);
219
219
  }
220
220
  };
221
221