@onekeyfe/hd-transport-emulator 1.1.20-alpha.1 → 1.1.20

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.d.ts CHANGED
@@ -22,7 +22,7 @@ declare class EmulatorTransport {
22
22
  configure(signedData: any): void;
23
23
  listen(old?: Array<OneKeyDeviceInfoWithSession>): Promise<OneKeyDeviceInfoWithSession[]>;
24
24
  enumerate(): Promise<{
25
- type: string;
25
+ commType: string;
26
26
  path: string;
27
27
  session?: string | null | undefined;
28
28
  debugSession?: string | null | undefined;
package/dist/index.js CHANGED
@@ -167,7 +167,7 @@ class EmulatorTransport {
167
167
  return __awaiter(this, void 0, void 0, function* () {
168
168
  const devicesS = yield this._post({ url: '/enumerate' });
169
169
  const devices = check.devices(devicesS);
170
- return devices.map(device => (Object.assign(Object.assign({}, device), { type: 'emulator' })));
170
+ return devices.map(device => (Object.assign(Object.assign({}, device), { commType: 'emulator' })));
171
171
  });
172
172
  }
173
173
  _acquireMixed(input) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-transport-emulator",
3
- "version": "1.1.20-alpha.1",
3
+ "version": "1.1.20",
4
4
  "description": "hardware emulator transport",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -24,10 +24,10 @@
24
24
  "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@onekeyfe/hd-shared": "1.1.20-alpha.1",
28
- "@onekeyfe/hd-transport": "1.1.20-alpha.1",
27
+ "@onekeyfe/hd-shared": "1.1.20",
28
+ "@onekeyfe/hd-transport": "1.1.20",
29
29
  "axios": "1.12.2",
30
30
  "secure-json-parse": "^4.0.0"
31
31
  },
32
- "gitHead": "4a835d088a44adaeb6b1088816ece1bc1e8474e2"
32
+ "gitHead": "3f1367f1ad5253e2207442e74fa47361df7ff442"
33
33
  }
package/src/index.ts CHANGED
@@ -81,7 +81,7 @@ export default class EmulatorTransport {
81
81
  async enumerate() {
82
82
  const devicesS = await this._post({ url: '/enumerate' });
83
83
  const devices = check.devices(devicesS);
84
- return devices.map(device => ({ ...device, type: 'emulator' }));
84
+ return devices.map(device => ({ ...device, commType: 'emulator' }));
85
85
  }
86
86
 
87
87
  _acquireMixed(input: AcquireInput) {