@onekeyfe/hd-transport 1.0.35 → 1.0.36-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
@@ -28,7 +28,7 @@ function _interopNamespace(e) {
28
28
  }
29
29
 
30
30
  var protobuf__namespace = /*#__PURE__*/_interopNamespace(protobuf);
31
- var Long__namespace = /*#__PURE__*/_interopNamespace(Long);
31
+ var Long__default = /*#__PURE__*/_interopDefaultLegacy(Long);
32
32
  var ByteBuffer__default = /*#__PURE__*/_interopDefaultLegacy(ByteBuffer);
33
33
 
34
34
  /******************************************************************************
@@ -910,7 +910,7 @@ var messages = /*#__PURE__*/Object.freeze({
910
910
 
911
911
  const LogBlockCommand = new Set(['PassphraseAck', 'PinMatrixAck']);
912
912
 
913
- protobuf__namespace.util.Long = Long__namespace;
913
+ protobuf__namespace.util.Long = Long__default["default"];
914
914
  protobuf__namespace.configure();
915
915
  var index = {
916
916
  check,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-transport",
3
- "version": "1.0.35",
3
+ "version": "1.0.36-alpha.0",
4
4
  "description": "> TODO: description",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "bytebuffer": "^5.0.1",
28
- "long": "^4.0.0",
29
- "protobufjs": "^6.11.2"
28
+ "long": "5.2.5",
29
+ "protobufjs": "7.4.0"
30
30
  },
31
- "gitHead": "8775875f070433e8133d6465885bc050d53b6ea5"
31
+ "gitHead": "e22164ae7bccb8f7632a758401561b78ce5a3778"
32
32
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as protobuf from 'protobufjs/light';
2
- import * as Long from 'long';
2
+ import Long from 'long';
3
3
  import {
4
4
  buildBuffers,
5
5
  buildEncodeBuffers,