@onekeyfe/hd-transport-react-native 0.3.16 → 0.3.18-alpha.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/dist/index.js CHANGED
@@ -550,6 +550,7 @@ class ReactNativeBleTransport {
550
550
  index += 1;
551
551
  if (chunk.offset === packetCapacity || index >= buffers.length) {
552
552
  chunk.reset();
553
+ this.Log.debug('send more packet hex strting: ', chunk.toString('hex'));
553
554
  try {
554
555
  yield transport.writeCharacteristic.writeWithoutResponse(chunk.toString('base64'));
555
556
  chunk = ByteBuffer__default["default"].allocate(packetCapacity);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-transport-react-native",
3
- "version": "0.3.16",
3
+ "version": "0.3.18-alpha.0",
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.16",
23
- "@onekeyfe/hd-transport": "^0.3.16",
22
+ "@onekeyfe/hd-shared": "^0.3.18-alpha.0",
23
+ "@onekeyfe/hd-transport": "^0.3.18-alpha.0",
24
24
  "@onekeyfe/react-native-ble-plx": "3.0.0",
25
25
  "react-native-ble-manager": "^8.1.0"
26
26
  },
27
- "gitHead": "68c0d52583363a105c63ea1db9dff357c7174739"
27
+ "gitHead": "8ef1dfbd9aa7b154a8143f75de552aca843faced"
28
28
  }
package/src/index.ts CHANGED
@@ -507,7 +507,7 @@ export default class ReactNativeBleTransport {
507
507
  if (chunk.offset === packetCapacity || index >= buffers.length) {
508
508
  chunk.reset();
509
509
  // Upgrading Packet Logs, Too much content to ignore
510
- // this.Log.debug('send more packet hex strting: ', chunk.toString('hex'));
510
+ this.Log.debug('send more packet hex strting: ', chunk.toString('hex'));
511
511
  try {
512
512
  await transport.writeCharacteristic.writeWithoutResponse(chunk.toString('base64'));
513
513
  chunk = ByteBuffer.allocate(packetCapacity);