@onekeyfe/hd-core 1.1.27-alpha.37 → 1.1.27-alpha.38

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.
@@ -17,6 +17,8 @@ import GetPassphraseState from '../src/api/GetPassphraseState';
17
17
  import GetOnekeyFeatures from '../src/api/GetOnekeyFeatures';
18
18
  import { batchGetPublickeys } from '../src/api/helpers/batchGetPublickeys';
19
19
  import SuiSignTransaction from '../src/api/sui/SuiSignTransaction';
20
+ import SolGetAddress from '../src/api/solana/SolGetAddress';
21
+ import TronGetAddress from '../src/api/tron/TronGetAddress';
20
22
  import TronSignMessage from '../src/api/tron/TronSignMessage';
21
23
  import XrpSignTransaction from '../src/api/xrp/XrpSignTransaction';
22
24
  import StellarGetAddress from '../src/api/stellar/StellarGetAddress';
@@ -33,6 +35,7 @@ import {
33
35
  } from '../src/utils/deviceFeaturesUtils';
34
36
 
35
37
  import type { DeviceCommands } from '../src/device/DeviceCommands';
38
+ import type { Features } from '../src/types';
36
39
 
37
40
  jest.mock('../src/data/config', () => ({
38
41
  getSDKVersion: jest.fn(() => '1.0.0'),
@@ -562,6 +565,40 @@ describe('API compatibility handling', () => {
562
565
  );
563
566
  });
564
567
 
568
+ test('marks Pro2 Tron and Solana address methods as unsupported', () => {
569
+ const features = {
570
+ onekey_device_type: 'pro2',
571
+ } as Features;
572
+
573
+ const tronMethod = new TronGetAddress({
574
+ id: 1,
575
+ payload: {
576
+ method: 'tronGetAddress',
577
+ path: "m/44'/195'/0'/0/0",
578
+ showOnOneKey: false,
579
+ },
580
+ });
581
+ const solMethod = new SolGetAddress({
582
+ id: 2,
583
+ payload: {
584
+ method: 'solGetAddress',
585
+ path: "m/44'/501'/0'/0'",
586
+ showOnOneKey: false,
587
+ },
588
+ });
589
+
590
+ expect(
591
+ isMethodVersionRangeUnsupported(
592
+ getMethodVersionRange(features, type => tronMethod.getVersionRange()[type])
593
+ )
594
+ ).toBe(true);
595
+ expect(
596
+ isMethodVersionRangeUnsupported(
597
+ getMethodVersionRange(features, type => solMethod.getVersionRange()[type])
598
+ )
599
+ ).toBe(true);
600
+ });
601
+
565
602
  test('uses chunk transfer for large Sui transactions on Protocol V2', async () => {
566
603
  const rawTx = '0x'.concat('ab'.repeat(5000));
567
604
  const typedCall = jest.fn(() => ({
@@ -4,6 +4,12 @@ import type { SolanaAddress } from '../../types';
4
4
  export default class SolGetAddress extends BaseMethod<SolanaGetAddress[]> {
5
5
  hasBundle: boolean;
6
6
  init(): void;
7
+ getVersionRange(): {
8
+ pro2: {
9
+ min: string;
10
+ unsupported: boolean;
11
+ };
12
+ };
7
13
  run(): Promise<SolanaAddress | SolanaAddress[]>;
8
14
  }
9
15
  //# sourceMappingURL=SolGetAddress.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SolGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/solana/SolGetAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,aAAa,CAAC;AAEzE,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,gBAAgB,EAAE,CAAC;IACvE,SAAS,UAAS;IAElB,IAAI;IA6BE,GAAG;CA2BV"}
1
+ {"version":3,"file":"SolGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/solana/SolGetAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,aAAa,CAAC;AAEzE,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,gBAAgB,EAAE,CAAC;IACvE,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;;IAST,GAAG;CA2BV"}
@@ -3,6 +3,10 @@ import type { SolanaSignUnsafeMessage as HardwareSolSignUnsafeMessage } from '@o
3
3
  export default class SolSignMessage extends BaseMethod<HardwareSolSignUnsafeMessage> {
4
4
  init(): void;
5
5
  getVersionRange(): {
6
+ pro2: {
7
+ min: string;
8
+ unsupported: boolean;
9
+ };
6
10
  pro: {
7
11
  min: string;
8
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SolSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/solana/SolSignMessage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAAE,uBAAuB,IAAI,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAEtG,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,4BAA4B,CAAC;IAClF,IAAI;IAoBJ,eAAe;;;;;;;;;;;;;;IAiBT,GAAG;;;;CAcV"}
1
+ {"version":3,"file":"SolSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/solana/SolSignMessage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAAE,uBAAuB,IAAI,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAEtG,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,4BAA4B,CAAC;IAClF,IAAI;IAoBJ,eAAe;;;;;;;;;;;;;;;;;;IAqBT,GAAG;;;;CAcV"}
@@ -3,6 +3,10 @@ import type { SolanaSignOffChainMessage as HardwareSolSignOffChainMessage } from
3
3
  export default class SolSignOffchainMessage extends BaseMethod<HardwareSolSignOffChainMessage> {
4
4
  init(): void;
5
5
  getVersionRange(): {
6
+ pro2: {
7
+ min: string;
8
+ unsupported: boolean;
9
+ };
6
10
  pro: {
7
11
  min: string;
8
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SolSignOffchainMessage.d.ts","sourceRoot":"","sources":["../../../src/api/solana/SolSignOffchainMessage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAAE,yBAAyB,IAAI,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAE1G,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,UAAU,CAAC,8BAA8B,CAAC;IAC5F,IAAI;IA0BJ,eAAe;;;;;;;;IAWT,GAAG;;;;CAcV"}
1
+ {"version":3,"file":"SolSignOffchainMessage.d.ts","sourceRoot":"","sources":["../../../src/api/solana/SolSignOffchainMessage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAAE,yBAAyB,IAAI,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAE1G,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,UAAU,CAAC,8BAA8B,CAAC;IAC5F,IAAI;IA0BJ,eAAe;;;;;;;;;;;;IAeT,GAAG;;;;CAcV"}
@@ -5,6 +5,10 @@ export default class SolSignTransaction extends BaseMethod<HardwareSolanaSignTx[
5
5
  hasBundle: boolean;
6
6
  init(): void;
7
7
  getVersionRange(): {
8
+ pro2: {
9
+ min: string;
10
+ unsupported: boolean;
11
+ };
8
12
  model_mini: {
9
13
  min: string;
10
14
  };
@@ -14,6 +18,10 @@ export default class SolSignTransaction extends BaseMethod<HardwareSolanaSignTx[
14
18
  classic?: undefined;
15
19
  mini?: undefined;
16
20
  } | {
21
+ pro2: {
22
+ min: string;
23
+ unsupported: boolean;
24
+ };
17
25
  classic: {
18
26
  min: string;
19
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SolSignTransaction.d.ts","sourceRoot":"","sources":["../../../src/api/solana/SolSignTransaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnF,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,oBAAoB,EAAE,CAAC;IAChF,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;;;;;;;;;;;;;;;IAsBf,aAAa,CAAC,SAAS,EAAE,MAAM;IAa/B,iBAAiB;IAWX,GAAG;CAoBV"}
1
+ {"version":3,"file":"SolSignTransaction.d.ts","sourceRoot":"","sources":["../../../src/api/solana/SolSignTransaction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnF,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,oBAAoB,EAAE,CAAC;IAChF,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8Bf,aAAa,CAAC,SAAS,EAAE,MAAM;IAa/B,iBAAiB;IAWX,GAAG;CAoBV"}
@@ -5,6 +5,10 @@ export default class TronGetAddress extends BaseMethod<HardwareTronGetAddress[]>
5
5
  hasBundle: boolean;
6
6
  init(): void;
7
7
  getVersionRange(): {
8
+ pro2: {
9
+ min: string;
10
+ unsupported: boolean;
11
+ };
8
12
  model_mini: {
9
13
  min: string;
10
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TronGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/tron/TronGetAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,KAAK,EAAE,WAAW,EAAwB,MAAM,aAAa,CAAC;AAErE,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,sBAAsB,EAAE,CAAC;IAC9E,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;IAQT,GAAG;CA0BV"}
1
+ {"version":3,"file":"TronGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/tron/TronGetAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,KAAK,EAAE,WAAW,EAAwB,MAAM,aAAa,CAAC;AAErE,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,sBAAsB,EAAE,CAAC;IAC9E,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;;;;;IAYT,GAAG;CA0BV"}
@@ -3,6 +3,10 @@ import type { TronSignMessage as HardwareTronSignMessage } from '@onekeyfe/hd-tr
3
3
  export default class TronSignMessage extends BaseMethod<HardwareTronSignMessage> {
4
4
  init(): void;
5
5
  getVersionRange(): {
6
+ pro2: {
7
+ min: string;
8
+ unsupported: boolean;
9
+ };
6
10
  model_mini: {
7
11
  min: string;
8
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TronSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/tron/TronSignMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,KAAK,EAAE,eAAe,IAAI,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEzF,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,uBAAuB,CAAC;IAC9E,IAAI;IA+BJ,eAAe;;;;;IAQf,wBAAwB;;;;;;;;;;;;;;IAiBlB,GAAG;CAmBV"}
1
+ {"version":3,"file":"TronSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/tron/TronSignMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,KAAK,EAAE,eAAe,IAAI,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEzF,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,uBAAuB,CAAC;IAC9E,IAAI;IA+BJ,eAAe;;;;;;;;;IAYf,wBAAwB;;;;;;;;;;;;;;IAiBlB,GAAG;CAmBV"}
@@ -6,6 +6,10 @@ export default class TronSignTransaction extends BaseMethod<TronSignTx> {
6
6
  parseTx(tx: TronTransaction, address_n: number[]): TronSignTx;
7
7
  init(): void;
8
8
  getVersionRange(): {
9
+ pro2: {
10
+ min: string;
11
+ unsupported: boolean;
12
+ };
9
13
  model_mini: {
10
14
  min: string;
11
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TronSignTransaction.d.ts","sourceRoot":"","sources":["../../../src/api/tron/TronSignTransaction.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,UAAU,CAAC,UAAU,CAAC;IACrE,OAAO,CAAC,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,UAAU;IA6G7D,IAAI;IAyBJ,eAAe;;;;;IAQf,0BAA0B,IAAI,mBAAmB;IAcjD,uCAAuC;IASvC,6CAA6C,IAAI,mBAAmB;IAcpE,sCAAsC;IAWhC,GAAG;CAUV"}
1
+ {"version":3,"file":"TronSignTransaction.d.ts","sourceRoot":"","sources":["../../../src/api/tron/TronSignTransaction.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,UAAU,CAAC,UAAU,CAAC;IACrE,OAAO,CAAC,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,UAAU;IA6G7D,IAAI;IAyBJ,eAAe;;;;;;;;;IAYf,0BAA0B,IAAI,mBAAmB;IAcjD,uCAAuC;IASvC,6CAA6C,IAAI,mBAAmB;IAcpE,sCAAsC;IAWhC,GAAG;CAUV"}
package/dist/index.js CHANGED
@@ -49928,6 +49928,14 @@ class SolGetAddress extends BaseMethod {
49928
49928
  });
49929
49929
  });
49930
49930
  }
49931
+ getVersionRange() {
49932
+ return {
49933
+ pro2: {
49934
+ min: '0.0.0',
49935
+ unsupported: true,
49936
+ },
49937
+ };
49938
+ }
49931
49939
  run() {
49932
49940
  return __awaiter(this, void 0, void 0, function* () {
49933
49941
  const responses = [];
@@ -49976,6 +49984,10 @@ class SolSignTransaction extends BaseMethod {
49976
49984
  getVersionRange() {
49977
49985
  if (this.existsVersionedTx()) {
49978
49986
  return {
49987
+ pro2: {
49988
+ min: '0.0.0',
49989
+ unsupported: true,
49990
+ },
49979
49991
  model_mini: {
49980
49992
  min: '3.1.0',
49981
49993
  },
@@ -49985,6 +49997,10 @@ class SolSignTransaction extends BaseMethod {
49985
49997
  };
49986
49998
  }
49987
49999
  return {
50000
+ pro2: {
50001
+ min: '0.0.0',
50002
+ unsupported: true,
50003
+ },
49988
50004
  classic: {
49989
50005
  min: '2.1.9',
49990
50006
  },
@@ -50055,6 +50071,10 @@ class SolSignOffchainMessage extends BaseMethod {
50055
50071
  }
50056
50072
  getVersionRange() {
50057
50073
  return {
50074
+ pro2: {
50075
+ min: '0.0.0',
50076
+ unsupported: true,
50077
+ },
50058
50078
  pro: {
50059
50079
  min: '4.12.0',
50060
50080
  },
@@ -50091,6 +50111,10 @@ class SolSignMessage extends BaseMethod {
50091
50111
  }
50092
50112
  getVersionRange() {
50093
50113
  return {
50114
+ pro2: {
50115
+ min: '0.0.0',
50116
+ unsupported: true,
50117
+ },
50094
50118
  pro: {
50095
50119
  min: '4.12.0',
50096
50120
  },
@@ -50473,6 +50497,10 @@ class TronGetAddress extends BaseMethod {
50473
50497
  }
50474
50498
  getVersionRange() {
50475
50499
  return {
50500
+ pro2: {
50501
+ min: '0.0.0',
50502
+ unsupported: true,
50503
+ },
50476
50504
  model_mini: {
50477
50505
  min: '2.5.0',
50478
50506
  },
@@ -50524,6 +50552,10 @@ class TronSignMessage extends BaseMethod {
50524
50552
  }
50525
50553
  getVersionRange() {
50526
50554
  return {
50555
+ pro2: {
50556
+ min: '0.0.0',
50557
+ unsupported: true,
50558
+ },
50527
50559
  model_mini: {
50528
50560
  min: '2.5.0',
50529
50561
  },
@@ -50676,6 +50708,10 @@ class TronSignTransaction extends BaseMethod {
50676
50708
  }
50677
50709
  getVersionRange() {
50678
50710
  return {
50711
+ pro2: {
50712
+ min: '0.0.0',
50713
+ unsupported: true,
50714
+ },
50679
50715
  model_mini: {
50680
50716
  min: '2.5.0',
50681
50717
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-core",
3
- "version": "1.1.27-alpha.37",
3
+ "version": "1.1.27-alpha.38",
4
4
  "description": "Core processes and APIs for communicating with OneKey hardware devices.",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -25,8 +25,8 @@
25
25
  "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues"
26
26
  },
27
27
  "dependencies": {
28
- "@onekeyfe/hd-shared": "1.1.27-alpha.37",
29
- "@onekeyfe/hd-transport": "1.1.27-alpha.37",
28
+ "@onekeyfe/hd-shared": "1.1.27-alpha.38",
29
+ "@onekeyfe/hd-transport": "1.1.27-alpha.38",
30
30
  "axios": "1.15.2",
31
31
  "bignumber.js": "^9.0.2",
32
32
  "bytebuffer": "^5.0.1",
@@ -44,5 +44,5 @@
44
44
  "@types/w3c-web-usb": "^1.0.10",
45
45
  "@types/web-bluetooth": "^0.0.21"
46
46
  },
47
- "gitHead": "ff58ceb1249ba3f3f673b39f1c175093fab40a8b"
47
+ "gitHead": "71f3b20e3ec0d2c4b21b444501115dc8c0eba20b"
48
48
  }
@@ -38,6 +38,15 @@ export default class SolGetAddress extends BaseMethod<SolanaGetAddress[]> {
38
38
  });
39
39
  }
40
40
 
41
+ getVersionRange() {
42
+ return {
43
+ pro2: {
44
+ min: '0.0.0',
45
+ unsupported: true,
46
+ },
47
+ };
48
+ }
49
+
41
50
  async run() {
42
51
  const responses: SolanaAddress[] = [];
43
52
 
@@ -29,6 +29,10 @@ export default class SolSignMessage extends BaseMethod<HardwareSolSignUnsafeMess
29
29
 
30
30
  getVersionRange() {
31
31
  return {
32
+ pro2: {
33
+ min: '0.0.0',
34
+ unsupported: true,
35
+ },
32
36
  pro: {
33
37
  min: '4.12.0',
34
38
  },
@@ -35,6 +35,10 @@ export default class SolSignOffchainMessage extends BaseMethod<HardwareSolSignOf
35
35
 
36
36
  getVersionRange() {
37
37
  return {
38
+ pro2: {
39
+ min: '0.0.0',
40
+ unsupported: true,
41
+ },
38
42
  pro: {
39
43
  min: '4.12.0',
40
44
  },
@@ -42,6 +42,10 @@ export default class SolSignTransaction extends BaseMethod<HardwareSolanaSignTx[
42
42
  getVersionRange() {
43
43
  if (this.existsVersionedTx()) {
44
44
  return {
45
+ pro2: {
46
+ min: '0.0.0',
47
+ unsupported: true,
48
+ },
45
49
  model_mini: {
46
50
  min: '3.1.0',
47
51
  },
@@ -52,6 +56,10 @@ export default class SolSignTransaction extends BaseMethod<HardwareSolanaSignTx[
52
56
  }
53
57
 
54
58
  return {
59
+ pro2: {
60
+ min: '0.0.0',
61
+ unsupported: true,
62
+ },
55
63
  classic: {
56
64
  min: '2.1.9',
57
65
  },
@@ -40,6 +40,10 @@ export default class TronGetAddress extends BaseMethod<HardwareTronGetAddress[]>
40
40
 
41
41
  getVersionRange() {
42
42
  return {
43
+ pro2: {
44
+ min: '0.0.0',
45
+ unsupported: true,
46
+ },
43
47
  model_mini: {
44
48
  min: '2.5.0',
45
49
  },
@@ -44,6 +44,10 @@ export default class TronSignMessage extends BaseMethod<HardwareTronSignMessage>
44
44
 
45
45
  getVersionRange() {
46
46
  return {
47
+ pro2: {
48
+ min: '0.0.0',
49
+ unsupported: true,
50
+ },
47
51
  model_mini: {
48
52
  min: '2.5.0',
49
53
  },
@@ -147,6 +147,10 @@ export default class TronSignTransaction extends BaseMethod<TronSignTx> {
147
147
 
148
148
  getVersionRange() {
149
149
  return {
150
+ pro2: {
151
+ min: '0.0.0',
152
+ unsupported: true,
153
+ },
150
154
  model_mini: {
151
155
  min: '2.5.0',
152
156
  },