@onekeyfe/hd-shared 1.0.24-alpha.4 → 1.0.24-alpha.6

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 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;GAGhC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;GAOhC,CAAC"}
package/dist/index.js CHANGED
@@ -5,6 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const ONEKEY_WEBUSB_FILTER = [
6
6
  { vendorId: 0x1209, productId: 0x53c0 },
7
7
  { vendorId: 0x1209, productId: 0x53c1 },
8
+ { vendorId: 0x1209, productId: 0x4f4a },
9
+ { vendorId: 0x1209, productId: 0x4f4b },
8
10
  ];
9
11
 
10
12
  /******************************************************************************
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-shared",
3
- "version": "1.0.24-alpha.4",
3
+ "version": "1.0.24-alpha.6",
4
4
  "description": "Hardware SDK's shared tool library",
5
5
  "keywords": [
6
6
  "Hardware-SDK",
@@ -25,5 +25,5 @@
25
25
  "lint": "eslint .",
26
26
  "lint:fix": "eslint . --fix"
27
27
  },
28
- "gitHead": "9e47718995aed0f9a5873ef2b42ab2fa7a7ba250"
28
+ "gitHead": "4a1e7ef50f159a44d0592e0d4e8f91e3c35823e5"
29
29
  }
package/src/constants.ts CHANGED
@@ -1,4 +1,8 @@
1
1
  export const ONEKEY_WEBUSB_FILTER = [
2
- { vendorId: 0x1209, productId: 0x53c0 },
3
- { vendorId: 0x1209, productId: 0x53c1 },
2
+ { vendorId: 0x1209, productId: 0x53c0 }, // Classic Boot、Classic1s Boot、Mini Boot
3
+ { vendorId: 0x1209, productId: 0x53c1 }, // Classic Firmware、Classic1s Firmware、Mini Firmware、Pro Firmware、Touch Firmware
4
+ { vendorId: 0x1209, productId: 0x4f4a }, // Pro Boot、Touch Boot
5
+ { vendorId: 0x1209, productId: 0x4f4b }, // Pro Firmware、Touch Firmware(Not implemented Trezor)
6
+ // { vendorId: 0x1209, productId: 0x4f4c }, // Pro Board
7
+ // { vendorId: 0x1209, productId: 0x4f50 }, // Touch Board
4
8
  ];