@onekeyfe/hd-transport-usb 1.1.28 → 1.2.0-alpha.1

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.
@@ -1,5 +0,0 @@
1
- export declare const PACKET_SIZE = 64;
2
- export declare const REPORT_ID = 63;
3
- export declare const PAYLOAD_SIZE: number;
4
- export declare const HEADER_LENGTH = 6;
5
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,KAAK,CAAC;AAG9B,eAAO,MAAM,SAAS,KAAO,CAAC;AAG9B,eAAO,MAAM,YAAY,QAAkB,CAAC;AAG5C,eAAO,MAAM,aAAa,IAAI,CAAC"}
package/src/constants.ts DELETED
@@ -1,11 +0,0 @@
1
- /** USB packet size in bytes */
2
- export const PACKET_SIZE = 64;
3
-
4
- /** Protocol marker byte (0x3F = '?') — first byte of every packet */
5
- export const REPORT_ID = 0x3f;
6
-
7
- /** Usable payload per packet after stripping the 0x3F report byte */
8
- export const PAYLOAD_SIZE = PACKET_SIZE - 1;
9
-
10
- /** Protocol header length: typeId (2 bytes) + length (4 bytes) */
11
- export const HEADER_LENGTH = 6;