@onekeyfe/hd-transport 1.1.27-alpha.38 → 1.1.27-alpha.39
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 +1 -1
- package/package.json +2 -2
- package/src/protocols/v2/session.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -929,7 +929,7 @@ class ProtocolV2Session {
|
|
|
929
929
|
logPrefix,
|
|
930
930
|
context: `rx:${name}`,
|
|
931
931
|
});
|
|
932
|
-
if (
|
|
932
|
+
if (decoded.seq !== expectedSeq) {
|
|
933
933
|
(_d = logger === null || logger === void 0 ? void 0 : logger.debug) === null || _d === void 0 ? void 0 : _d.call(logger, `[${logPrefix}] seq differs for ${name}: tx=${expectedSeq}, rx=${decoded.seq}`);
|
|
934
934
|
}
|
|
935
935
|
if (!shouldReduceDebug) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/hd-transport",
|
|
3
|
-
"version": "1.1.27-alpha.
|
|
3
|
+
"version": "1.1.27-alpha.39",
|
|
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": "e439aa105f1a898a8050037430ba23a5e31203b1"
|
|
32
32
|
}
|
|
@@ -286,7 +286,7 @@ export class ProtocolV2Session {
|
|
|
286
286
|
logPrefix,
|
|
287
287
|
context: `rx:${name}`,
|
|
288
288
|
});
|
|
289
|
-
if (
|
|
289
|
+
if (decoded.seq !== expectedSeq) {
|
|
290
290
|
logger?.debug?.(
|
|
291
291
|
`[${logPrefix}] seq differs for ${name}: tx=${expectedSeq}, rx=${decoded.seq}`
|
|
292
292
|
);
|