@onekeyfe/hd-transport 1.1.26-alpha.106 → 1.1.26-alpha.2
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.
|
@@ -4,8 +4,13 @@ const ByteBuffer = require('bytebuffer');
|
|
|
4
4
|
const { decode } = require('../src/serialization/protobuf/decode');
|
|
5
5
|
const { decode: decodeProtocol } = require('../src/serialization/protocol/decode');
|
|
6
6
|
|
|
7
|
-
//
|
|
8
|
-
|
|
7
|
+
// Reuse the messages.json already committed alongside @onekeyfe/hd-core
|
|
8
|
+
// (runtime data for DataManager). hd-transport's own messages.json is
|
|
9
|
+
// generated locally via `./scripts/protobuf-build.sh` and gitignored —
|
|
10
|
+
// pointing the test at core's committed copy avoids a ~300KB duplicate
|
|
11
|
+
// while keeping the two in sync naturally (they are regenerated together
|
|
12
|
+
// from the same firmware .proto source).
|
|
13
|
+
const messages = require('../../core/src/data/messages/messages.json');
|
|
9
14
|
|
|
10
15
|
const fixtures = [
|
|
11
16
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/hd-transport",
|
|
3
|
-
"version": "1.1.26-alpha.
|
|
3
|
+
"version": "1.1.26-alpha.2",
|
|
4
4
|
"description": "Transport layer abstractions and utilities for OneKey hardware SDK.",
|
|
5
5
|
"author": "OneKey",
|
|
6
6
|
"homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"long": "^4.0.0",
|
|
29
29
|
"protobufjs": "^6.11.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "ca94380e4128cb7d3495d3b7b8bfed40a50d4646"
|
|
32
32
|
}
|