@onekeyfe/hd-core 0.2.16 → 0.2.18

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.
Files changed (68) hide show
  1. package/dist/api/cardano/helper/cardanoInputs.d.ts.map +1 -1
  2. package/dist/api/device/DeviceUploadResource.d.ts.map +1 -1
  3. package/dist/api/evm/EVMGetAddress.d.ts.map +1 -1
  4. package/dist/api/evm/EVMGetPublicKey.d.ts.map +1 -1
  5. package/dist/api/evm/EVMSignMessage.d.ts.map +1 -1
  6. package/dist/api/evm/EVMSignTypedData.d.ts +1 -0
  7. package/dist/api/evm/EVMSignTypedData.d.ts.map +1 -1
  8. package/dist/api/evm/EVMVerifyMessage.d.ts.map +1 -1
  9. package/dist/api/filecoin/FilecoinGetAddress.d.ts +17 -0
  10. package/dist/api/filecoin/FilecoinGetAddress.d.ts.map +1 -0
  11. package/dist/api/filecoin/FilecoinSignTransaction.d.ts +19 -0
  12. package/dist/api/filecoin/FilecoinSignTransaction.d.ts.map +1 -0
  13. package/dist/api/index.d.ts +2 -0
  14. package/dist/api/index.d.ts.map +1 -1
  15. package/dist/api/stellar/StellarSignTransaction.d.ts.map +1 -1
  16. package/dist/index.d.ts +34 -3
  17. package/dist/index.js +433 -276
  18. package/dist/inject.d.ts.map +1 -1
  19. package/dist/types/api/cardano.d.ts.map +1 -1
  20. package/dist/types/api/evmGetAddress.d.ts +1 -0
  21. package/dist/types/api/evmGetAddress.d.ts.map +1 -1
  22. package/dist/types/api/evmGetPublicKey.d.ts +1 -0
  23. package/dist/types/api/evmGetPublicKey.d.ts.map +1 -1
  24. package/dist/types/api/evmSignMessage.d.ts +1 -0
  25. package/dist/types/api/evmSignMessage.d.ts.map +1 -1
  26. package/dist/types/api/evmSignTypedData.d.ts +1 -0
  27. package/dist/types/api/evmSignTypedData.d.ts.map +1 -1
  28. package/dist/types/api/evmVerifyMessage.d.ts +1 -0
  29. package/dist/types/api/evmVerifyMessage.d.ts.map +1 -1
  30. package/dist/types/api/export.d.ts +2 -0
  31. package/dist/types/api/export.d.ts.map +1 -1
  32. package/dist/types/api/filecoinGetAddress.d.ts +14 -0
  33. package/dist/types/api/filecoinGetAddress.d.ts.map +1 -0
  34. package/dist/types/api/filecoinSignTransaction.d.ts +14 -0
  35. package/dist/types/api/filecoinSignTransaction.d.ts.map +1 -0
  36. package/dist/types/api/index.d.ts +4 -0
  37. package/dist/types/api/index.d.ts.map +1 -1
  38. package/dist/utils/patch.d.ts +1 -1
  39. package/dist/utils/patch.d.ts.map +1 -1
  40. package/package.json +4 -4
  41. package/src/api/device/DeviceUploadResource.ts +6 -0
  42. package/src/api/evm/EVMGetAddress.ts +2 -0
  43. package/src/api/evm/EVMGetPublicKey.ts +2 -0
  44. package/src/api/evm/EVMSignMessage.ts +3 -1
  45. package/src/api/evm/EVMSignTypedData.ts +8 -3
  46. package/src/api/evm/EVMVerifyMessage.ts +2 -0
  47. package/src/api/filecoin/FilecoinGetAddress.ts +71 -0
  48. package/src/api/filecoin/FilecoinSignTransaction.ts +54 -0
  49. package/src/api/helpers/stringUtils.ts +1 -1
  50. package/src/api/index.ts +3 -0
  51. package/src/api/stellar/StellarSignTransaction.ts +5 -2
  52. package/src/api/xrp/XrpGetAddress.ts +1 -1
  53. package/src/api/xrp/XrpSignTransaction.ts +1 -1
  54. package/src/data/messages/messages.json +463 -419
  55. package/src/inject.ts +5 -0
  56. package/src/types/api/cardano.ts +0 -1
  57. package/src/types/api/evmGetAddress.ts +1 -0
  58. package/src/types/api/evmGetPublicKey.ts +1 -0
  59. package/src/types/api/evmSignMessage.ts +1 -0
  60. package/src/types/api/evmSignTypedData.ts +1 -0
  61. package/src/types/api/evmVerifyMessage.ts +1 -0
  62. package/src/types/api/export.ts +3 -0
  63. package/src/types/api/filecoinGetAddress.ts +23 -0
  64. package/src/types/api/filecoinSignTransaction.ts +23 -0
  65. package/src/types/api/index.ts +9 -0
  66. package/src/types/api/nearSignTransaction.ts +1 -1
  67. package/src/types/api/tronGetAddress.ts +2 -2
  68. package/src/types/api/tronSignTransaction.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"inject.d.ts","sourceRoot":"","sources":["../src/inject.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,+DAOhB,SAAS,KAAG,OAsMd,CAAC"}
1
+ {"version":3,"file":"inject.d.ts","sourceRoot":"","sources":["../src/inject.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,+DAOhB,SAAS,KAAG,OA2Md,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cardano.d.ts","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;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,sBAAsB,EAAE,CAAC;IACpC,uBAAuB,CAAC,EAAE,8BAA8B,CAAC;CAC1D"}
@@ -6,6 +6,7 @@ export declare type EVMAddress = {
6
6
  export declare type EVMGetAddressParams = {
7
7
  path: string | number[];
8
8
  showOnOneKey?: boolean;
9
+ chainId?: number;
9
10
  };
10
11
  export declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & EVMGetAddressParams): Response<EVMAddress>;
11
12
  export declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & {
@@ -1 +1 @@
1
- {"version":3,"file":"evmGetAddress.d.ts","sourceRoot":"","sources":["../../../src/types/api/evmGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,mBAAmB,GACzC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAExB,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG;IAAE,MAAM,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAAE,GACxD,QAAQ,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"evmGetAddress.d.ts","sourceRoot":"","sources":["../../../src/types/api/evmGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,mBAAmB,GACzC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAExB,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG;IAAE,MAAM,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAAE,GACxD,QAAQ,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC"}
@@ -6,6 +6,7 @@ export declare type EVMPublicKey = {
6
6
  export declare type EVMGetPublicKeyParams = {
7
7
  path: string | number[];
8
8
  showOnOneKey?: boolean;
9
+ chainId?: number;
9
10
  };
10
11
  export declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & EVMGetPublicKeyParams): Response<EVMPublicKey>;
11
12
  export declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
@@ -1 +1 @@
1
- {"version":3,"file":"evmGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/types/api/evmGetPublicKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,YAAY,G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C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG;IAAE,MAAM,CAAC,EAAE,qBAAqB,EAAE,CAAA;CAAE,GAC1D,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC"}
@@ -3,6 +3,7 @@ import type { CommonParams, Response } from '../params';
3
3
  export declare type EVMSignMessageParams = {
4
4
  path: string | number[];
5
5
  messageHex: string;
6
+ chainId?: number;
6
7
  };
7
8
  export declare function evmSignMessage(connectId: string, deviceId: string, params: CommonParams & EVMSignMessageParams): Response<EthereumMessageSignature>;
8
9
  //# sourceMappingURL=evmSignMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"evmSignMessage.d.ts","sourceRoot":"","sources":["../../../src/types/api/evmSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,oBAAoB,GAC1C,QAAQ,CAAC,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"evmSignMessage.d.ts","sourceRoot":"","sources":["../../../src/types/api/evmSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,oBAAoB,GAC1C,QAAQ,CAAC,wBAAwB,CAAC,CAAC"}
@@ -28,6 +28,7 @@ export declare type EVMSignTypedDataParams = {
28
28
  data: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>;
29
29
  domainHash?: string;
30
30
  messageHash?: string;
31
+ chainId?: number;
31
32
  };
32
33
  export declare function evmSignTypedData(connectId: string, deviceId: string, params: CommonParams & EVMSignTypedDataParams): Response<EthereumMessageSignature>;
33
34
  //# sourceMappingURL=evmSignTypedData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"evmSignTypedData.d.ts","sourceRoot":"","sources":["../../../src/types/api/evmSignTypedData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,iCAAiC,GAAG;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAGF,oBAAY,0BAA0B,GAAG;IACvC,YAAY,EAAE,iCAAiC,EAAE,CAAC;IAClD,CAAC,oBAAoB,EAAE,MAAM,GAAG,iCAAiC,EAAE,CAAC;CACrE,CAAC;AAGF,oBAAY,4BAA4B,CAAC,CAAC,SAAS,0BAA0B,IAAI;IAC/E,KAAK,EAAE,CAAC,CAAC;IACT,WAAW,EAAE,MAAM,CAAC,CAAC;IACrB,MAAM,EAAE;QACN,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;Q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MAAM,CAAC;QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,IAAI,CAAC,EAAE,WAAW,CAAC;KACpB,CAAC;IACF,OAAO,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CACvC,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,4BAA4B,CAAC,0BAA0B,CAAC,CAAC;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,sBAAsB,GAC5C,QAAQ,CAAC,wBAAwB,CAAC,CAAC"}
@@ -4,6 +4,7 @@ export declare type EVMVerifyMessageParams = {
4
4
  address: string;
5
5
  messageHex: string;
6
6
  signature: string;
7
+ chainId?: number;
7
8
  };
8
9
  export declare function evmVerifyMessage(connectId: string, deviceId: string, params: CommonParams & EVMVerifyMessageParams): Response<Success>;
9
10
  //# sourceMappingURL=evmVerifyMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"evmVerifyMessage.d.ts","sourceRoot":"","sources":["../../../src/types/api/evmVerifyMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,sBAAsB,GAAG;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,sBAAsB,GAC5C,QAAQ,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"evmVerifyMessage.d.ts","sourceRoot":"","sources":["../../../src/types/api/evmVerifyMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,sBAAsB,GAAG;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,sBAAsB,GAC5C,QAAQ,CAAC,OAAO,CAAC,CAAC"}
@@ -54,4 +54,6 @@ export type { SuiPublicKey, SuiGetPublicKeyParams } from './suiGetPublicKey';
54
54
  export type { SuiSignedTx, SuiSignTransactionParams } from './suiSignTransaction';
55
55
  export type { CardanoGetAddressMethodParams, CardanoAddress, CardanoGetAddressParams, } from './cardanoGetAddress';
56
56
  export type { CardanoSignTransaction, CardanoSignedTxData } from './cardano';
57
+ export type { FilecoinAddress, FilecoinGetAddressParams } from './filecoinGetAddress';
58
+ export type { FilecoinSignTransactionParams, FilecoinSignedTx } from './filecoinSignTransaction';
57
59
  //# sourceMappingURL=export.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/types/api/export.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACvE,YAAY,EAAE,YAAY,E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AC;AAElF,YAAY,EACV,6BAA6B,EAC7B,cAAc,EACd,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAE7E,YAAY,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACtF,YAAY,EAAE,6BAA6B,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { FilecoinAddress as HardwareFilecoinAddress } from '@onekeyfe/hd-transport';
2
+ import type { CommonParams, Response } from '../params';
3
+ export declare type FilecoinAddress = {
4
+ path: string;
5
+ } & HardwareFilecoinAddress;
6
+ export declare type FilecoinGetAddressParams = {
7
+ path: string | number[];
8
+ showOnOneKey?: boolean;
9
+ };
10
+ export declare function filecoinGetAddress(connectId: string, deviceId: string, params: CommonParams & FilecoinGetAddressParams): Response<FilecoinAddress>;
11
+ export declare function filecoinGetAddress(connectId: string, deviceId: string, params: CommonParams & {
12
+ bundle?: FilecoinGetAddressParams[];
13
+ }): Response<Array<FilecoinAddress>>;
14
+ //# sourceMappingURL=filecoinGetAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filecoinGetAddress.d.ts","sourceRoot":"","sources":["../../../src/types/api/filecoinGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,uBAAuB,CAAC;AAE5B,oBAAY,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,wBAAwB,GAC9C,QAAQ,CAAC,eAAe,CAAC,CAAC;AAE7B,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG;IAAE,MAAM,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAAE,GAC7D,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { FilecoinSignedTx as HardwareFilecoinSignedTx } from '@onekeyfe/hd-transport';
2
+ import type { CommonParams, Response } from '../params';
3
+ export declare type FilecoinSignedTx = {
4
+ path: string;
5
+ } & HardwareFilecoinSignedTx;
6
+ export declare type FilecoinSignTransactionParams = {
7
+ path: string | number[];
8
+ rawTx?: string;
9
+ };
10
+ export declare function filecoinSignTransaction(connectId: string, deviceId: string, params: CommonParams & FilecoinSignTransactionParams): Response<FilecoinSignedTx>;
11
+ export declare function filecoinSignTransaction(connectId: string, deviceId: string, params: CommonParams & {
12
+ bundle?: FilecoinSignTransactionParams[];
13
+ }): Response<Array<FilecoinSignedTx>>;
14
+ //# sourceMappingURL=filecoinSignTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filecoinSignTransaction.d.ts","sourceRoot":"","sources":["../../../src/types/api/filecoinSignTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACtF,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,wBAAwB,CAAC;AAE7B,oBAAY,6BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,6BAA6B,GACnD,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AAE9B,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG;IAAE,MAAM,CAAC,EAAE,6BAA6B,EAAE,CAAA;CAAE,GAClE,QAAQ,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC"}
@@ -75,6 +75,8 @@ import { suiSignTransaction } from './suiSignTransaction';
75
75
  import { cardanoGetAddress } from './cardanoGetAddress';
76
76
  import { cardanoGetPublicKey } from './cardanoGetPublicKey';
77
77
  import { cardanoSignTransaction } from './cardanoSignTransaction';
78
+ import { filecoinGetAddress } from './filecoinGetAddress';
79
+ import { filecoinSignTransaction } from './filecoinSignTransaction';
78
80
  export * from './export';
79
81
  export declare type CoreApi = {
80
82
  init: typeof init;
@@ -160,5 +162,7 @@ export declare type CoreApi = {
160
162
  cardanoGetAddress: typeof cardanoGetAddress;
161
163
  cardanoGetPublicKey: typeof cardanoGetPublicKey;
162
164
  cardanoSignTransaction: typeof cardanoSignTransaction;
165
+ filecoinGetAddress: typeof filecoinGetAddress;
166
+ filecoinSignTransaction: typeof filecoinSignTransaction;
163
167
  };
164
168
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CA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AAE,OAAO,kBAAkB,CAAC;IAK9C,iBAAiB,EAAE,OAAO,iBAAiB,CAAC;IAC5C,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;IAChD,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;IAKtD,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAC9C,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;CACzD,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { DefaultMessageResponse } from '../device/DeviceCommands';
2
- export declare function patchFeatures(response: DefaultMessageResponse): import("../device/DeviceCommands").TypedResponseMessage<"Address"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosMessagePayload"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"BinancePublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceCoin"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceInputOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceTransferMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceOrderMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceCancelMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"HDNodeType"> | import("../device/DeviceCommands").TypedResponseMessage<"HDNodePathType"> | import("../device/DeviceCommands").TypedResponseMessage<"MultisigRedeemScriptType"> | import("../device/DeviceCommands").TypedResponseMessage<"GetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"PublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"GetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"GetOwnershipId"> | import("../device/DeviceCommands").TypedResponseMessage<"OwnershipId"> | import("../device/DeviceCommands").TypedResponseMessage<"SignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"MessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"VerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"SignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequestDetailsType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequestSerializedType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"TxInputType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxOutputBinType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxOutputType"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevTx"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevInput"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckInputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckInput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckOutputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevMeta"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevInputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevInput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevOutputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevExtraDataWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevExtraData"> | import("../device/DeviceCommands").TypedResponseMessage<"GetOwnershipProof"> | import("../device/DeviceCommands").TypedResponseMessage<"OwnershipProof"> | import("../device/DeviceCommands").TypedResponseMessage<"AuthorizeCoinJoin"> | import("../device/DeviceCommands").TypedResponseMessage<"BIP32Address"> | import("../device/DeviceCommands").TypedResponseMessage<"GetPublicKeyMultiple"> | import("../device/DeviceCommands").TypedResponseMessage<"PublicKeyMultiple"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareErase"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareUpload"> | import("../device/DeviceCommands").TypedResponseMessage<"SelfTest"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareErase_ex"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoBlockchainPointerType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoNativeScript"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetNativeScriptHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoNativeScriptHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAddressParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTxInit"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxInput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAssetGroup"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoToken"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolOwner"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolRelayParameters"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolMetadataType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxCertificate"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWithdrawal"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoCatalystRegistrationParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryData"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxMint"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxItemAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryDataSupplement"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWitnessRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWitnessResponse"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxHostAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxBodyHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTxFinished"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxInputType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTokenType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAssetGroupType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxOutputType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolOwnerType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolRelayParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxCertificateType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWithdrawalType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryDataType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignedTxChunk"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignedTxChunkAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"Success"> | import("../device/DeviceCommands").TypedResponseMessage<"Failure"> | import("../device/DeviceCommands").TypedResponseMessage<"ButtonRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ButtonAck"> | import("../device/DeviceCommands").TypedResponseMessage<"PinMatrixRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"PinMatrixAck"> | import("../device/DeviceCommands").TypedResponseMessage<"PassphraseRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"PassphraseAck"> | import("../device/DeviceCommands").TypedResponseMessage<"Deprecated_PassphraseStateRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"Deprecated_PassphraseStateAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinPinInputOnDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxTxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignMessageCIP23"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CipherKeyValue"> | import("../device/DeviceCommands").TypedResponseMessage<"CipheredKeyValue"> | import("../device/DeviceCommands").TypedResponseMessage<"IdentityType"> | import("../device/DeviceCommands").TypedResponseMessage<"SignIdentity"> | import("../device/DeviceCommands").TypedResponseMessage<"SignedIdentity"> | import("../device/DeviceCommands").TypedResponseMessage<"GetECDHSessionKey"> | import("../device/DeviceCommands").TypedResponseMessage<"ECDHSessionKey"> | import("../device/DeviceCommands").TypedResponseMessage<"Path"> | import("../device/DeviceCommands").TypedResponseMessage<"BatchGetPublickeys"> | import("../device/DeviceCommands").TypedResponseMessage<"EcdsaPublicKeys"> | import("../device/DeviceCommands").TypedResponseMessage<"EosGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxHeader"> | import("../device/DeviceCommands").TypedResponseMessage<"EosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxActionRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAsset"> | import("../device/DeviceCommands").TypedResponseMessage<"EosPermissionLevel"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationAccount"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationWait"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorization"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionCommon"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionDelegate"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUndelegate"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionRefund"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionBuyRam"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionBuyRamBytes"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionSellRam"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionVoteProducer"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUpdateAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionDeleteAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionLinkAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUnlinkAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionNewAccount"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUnknown"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxActionAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTypedData"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataStructRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumFieldType"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumStructMember"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataStructAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataValueRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataValueAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumAccessList"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTxEIP1559"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumVerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignMessageEIP712"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTypedHash"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"Initialize"> | import("../device/DeviceCommands").TypedResponseMessage<"GetFeatures"> | import("../device/DeviceCommands").TypedResponseMessage<"Features"> | import("../device/DeviceCommands").TypedResponseMessage<"LockDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"EndSession"> | import("../device/DeviceCommands").TypedResponseMessage<"ApplySettings"> | import("../device/DeviceCommands").TypedResponseMessage<"ApplyFlags"> | import("../device/DeviceCommands").TypedResponseMessage<"ChangePin"> | import("../device/DeviceCommands").TypedResponseMessage<"ChangeWipeCode"> | import("../device/DeviceCommands").TypedResponseMessage<"SdProtect"> | import("../device/DeviceCommands").TypedResponseMessage<"Ping"> | import("../device/DeviceCommands").TypedResponseMessage<"Cancel"> | import("../device/DeviceCommands").TypedResponseMessage<"GetEntropy"> | import("../device/DeviceCommands").TypedResponseMessage<"Entropy"> | import("../device/DeviceCommands").TypedResponseMessage<"WipeDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"ResetDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BackupDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"EntropyRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EntropyAck"> | import("../device/DeviceCommands").TypedResponseMessage<"RecoveryDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"WordRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"WordAck"> | import("../device/DeviceCommands").TypedResponseMessage<"SetU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"GetNextU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"NextU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"DoPreauthorized"> | import("../device/DeviceCommands").TypedResponseMessage<"PreauthorizedRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"CancelAuthorization"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinSeedOperate"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinMessageSE"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinOutMessageSE"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceBackToBoot"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinRestoreRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinRestoreAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinVerifyDeviceRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinVerifyDeviceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinWhiteListRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinWhiteListAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinLoadDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupDeviceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceInfoSettings"> | import("../device/DeviceCommands").TypedResponseMessage<"GetDeviceInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"ReadSEPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"SEPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"WriteSEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"ReadSEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"SEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashWrite"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashRead"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashData"> | import("../device/DeviceCommands").TypedResponseMessage<"SESignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"SEMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceUpload"> | import("../device/DeviceCommands").TypedResponseMessage<"ZoomRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceUpdate"> | import("../device/DeviceCommands").TypedResponseMessage<"NFTWriteInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"NFTWriteData"> | import("../device/DeviceCommands").TypedResponseMessage<"RebootToBootloader"> | import("../device/DeviceCommands").TypedResponseMessage<"RebootToBoardloader"> | import("../device/DeviceCommands").TypedResponseMessage<"ListResDir"> | import("../device/DeviceCommands").TypedResponseMessage<"FileInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"FileInfoList"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceEraseSector"> | import("../device/DeviceCommands").TypedResponseMessage<"NearGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NearAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NearSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NearSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMTransactionCommon"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaic"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMProvisionNamespace"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicDefinition"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicCreation"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicSupplyChange"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMCosignatoryModification"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMAggregateModification"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMImportanceTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMDecryptMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMDecryptedMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"RipplePayment"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinVerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAsset"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarTxOpRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPaymentOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarCreateAccountOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPathPaymentStrictReceiveOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPathPaymentStrictSendOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageSellOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageBuyOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarCreatePassiveSellOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSetOptionsOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarChangeTrustOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAllowTrustOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAccountMergeOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageDataOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarBumpSequenceOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosContractID"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosRevealOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosManagerTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosParametersManager"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosTransactionOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosOriginationOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosDelegationOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosProposalOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosBallotOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TronAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TronTransferContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronTriggerSmartContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"TronMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"facotry">;
2
+ export declare function patchFeatures(response: DefaultMessageResponse): import("../device/DeviceCommands").TypedResponseMessage<"Address"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosMessagePayload"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"BinancePublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceCoin"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceInputOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceTransferMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceOrderMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceCancelMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"HDNodeType"> | import("../device/DeviceCommands").TypedResponseMessage<"HDNodePathType"> | import("../device/DeviceCommands").TypedResponseMessage<"MultisigRedeemScriptType"> | import("../device/DeviceCommands").TypedResponseMessage<"GetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"PublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"GetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"GetOwnershipId"> | import("../device/DeviceCommands").TypedResponseMessage<"OwnershipId"> | import("../device/DeviceCommands").TypedResponseMessage<"SignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"MessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"VerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"SignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequestDetailsType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequestSerializedType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"TxInputType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxOutputBinType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxOutputType"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevTx"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevInput"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckInputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckInput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckOutputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevMeta"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevInputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevInput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevOutputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevExtraDataWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevExtraData"> | import("../device/DeviceCommands").TypedResponseMessage<"GetOwnershipProof"> | import("../device/DeviceCommands").TypedResponseMessage<"OwnershipProof"> | import("../device/DeviceCommands").TypedResponseMessage<"AuthorizeCoinJoin"> | import("../device/DeviceCommands").TypedResponseMessage<"BIP32Address"> | import("../device/DeviceCommands").TypedResponseMessage<"GetPublicKeyMultiple"> | import("../device/DeviceCommands").TypedResponseMessage<"PublicKeyMultiple"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareErase"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareUpload"> | import("../device/DeviceCommands").TypedResponseMessage<"SelfTest"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareErase_ex"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoBlockchainPointerType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoNativeScript"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetNativeScriptHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoNativeScriptHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAddressParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTxInit"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxInput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAssetGroup"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoToken"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxInlineDatumChunk"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxReferenceScriptChunk"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolOwner"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolRelayParameters"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolMetadataType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxCertificate"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWithdrawal"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGovernanceRegistrationDelegation"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGovernanceRegistrationParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryData"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxMint"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxCollateralInput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxRequiredSigner"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxReferenceInput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxItemAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryDataSupplement"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWitnessRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWitnessResponse"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxHostAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxBodyHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTxFinished"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"Success"> | import("../device/DeviceCommands").TypedResponseMessage<"Failure"> | import("../device/DeviceCommands").TypedResponseMessage<"ButtonRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ButtonAck"> | import("../device/DeviceCommands").TypedResponseMessage<"PinMatrixRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"PinMatrixAck"> | import("../device/DeviceCommands").TypedResponseMessage<"PassphraseRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"PassphraseAck"> | import("../device/DeviceCommands").TypedResponseMessage<"Deprecated_PassphraseStateRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"Deprecated_PassphraseStateAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinPinInputOnDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxTxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignMessageCIP23"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CipherKeyValue"> | import("../device/DeviceCommands").TypedResponseMessage<"CipheredKeyValue"> | import("../device/DeviceCommands").TypedResponseMessage<"IdentityType"> | import("../device/DeviceCommands").TypedResponseMessage<"SignIdentity"> | import("../device/DeviceCommands").TypedResponseMessage<"SignedIdentity"> | import("../device/DeviceCommands").TypedResponseMessage<"GetECDHSessionKey"> | import("../device/DeviceCommands").TypedResponseMessage<"ECDHSessionKey"> | import("../device/DeviceCommands").TypedResponseMessage<"Path"> | import("../device/DeviceCommands").TypedResponseMessage<"BatchGetPublickeys"> | import("../device/DeviceCommands").TypedResponseMessage<"EcdsaPublicKeys"> | import("../device/DeviceCommands").TypedResponseMessage<"EosGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxHeader"> | import("../device/DeviceCommands").TypedResponseMessage<"EosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxActionRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAsset"> | import("../device/DeviceCommands").TypedResponseMessage<"EosPermissionLevel"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationAccount"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationWait"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorization"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionCommon"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionDelegate"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUndelegate"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionRefund"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionBuyRam"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionBuyRamBytes"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionSellRam"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionVoteProducer"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUpdateAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionDeleteAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionLinkAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUnlinkAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionNewAccount"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUnknown"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxActionAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTypedData"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataStructRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumFieldType"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumStructMember"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataStructAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataValueRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataValueAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumAccessList"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTxEIP1559"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumVerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignMessageEIP712"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTypedHash"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"FilecoinGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"FilecoinAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"FilecoinSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"FilecoinSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"Initialize"> | import("../device/DeviceCommands").TypedResponseMessage<"GetFeatures"> | import("../device/DeviceCommands").TypedResponseMessage<"Features"> | import("../device/DeviceCommands").TypedResponseMessage<"LockDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"EndSession"> | import("../device/DeviceCommands").TypedResponseMessage<"ApplySettings"> | import("../device/DeviceCommands").TypedResponseMessage<"ApplyFlags"> | import("../device/DeviceCommands").TypedResponseMessage<"ChangePin"> | import("../device/DeviceCommands").TypedResponseMessage<"ChangeWipeCode"> | import("../device/DeviceCommands").TypedResponseMessage<"SdProtect"> | import("../device/DeviceCommands").TypedResponseMessage<"Ping"> | import("../device/DeviceCommands").TypedResponseMessage<"Cancel"> | import("../device/DeviceCommands").TypedResponseMessage<"GetEntropy"> | import("../device/DeviceCommands").TypedResponseMessage<"Entropy"> | import("../device/DeviceCommands").TypedResponseMessage<"WipeDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"ResetDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BackupDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"EntropyRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EntropyAck"> | import("../device/DeviceCommands").TypedResponseMessage<"RecoveryDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"WordRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"WordAck"> | import("../device/DeviceCommands").TypedResponseMessage<"SetU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"GetNextU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"NextU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"DoPreauthorized"> | import("../device/DeviceCommands").TypedResponseMessage<"PreauthorizedRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"CancelAuthorization"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinSeedOperate"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinMessageSE"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinOutMessageSE"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceBackToBoot"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinRestoreRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinRestoreAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinVerifyDeviceRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinVerifyDeviceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinWhiteListRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinWhiteListAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinLoadDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupDeviceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceInfoSettings"> | import("../device/DeviceCommands").TypedResponseMessage<"GetDeviceInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"ReadSEPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"SEPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"WriteSEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"ReadSEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"SEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashWrite"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashRead"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashData"> | import("../device/DeviceCommands").TypedResponseMessage<"SESignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"SEMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceUpload"> | import("../device/DeviceCommands").TypedResponseMessage<"ZoomRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceUpdate"> | import("../device/DeviceCommands").TypedResponseMessage<"NFTWriteInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"NFTWriteData"> | import("../device/DeviceCommands").TypedResponseMessage<"RebootToBootloader"> | import("../device/DeviceCommands").TypedResponseMessage<"RebootToBoardloader"> | import("../device/DeviceCommands").TypedResponseMessage<"ListResDir"> | import("../device/DeviceCommands").TypedResponseMessage<"FileInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"FileInfoList"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceEraseSector"> | import("../device/DeviceCommands").TypedResponseMessage<"NearGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NearAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NearSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NearSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMTransactionCommon"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaic"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMProvisionNamespace"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicDefinition"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicCreation"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicSupplyChange"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMCosignatoryModification"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMAggregateModification"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMImportanceTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMDecryptMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMDecryptedMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"PolkadotGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"PolkadotAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"PolkadotSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"PolkadotSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"RipplePayment"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinVerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAsset"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarTxOpRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPaymentOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarCreateAccountOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPathPaymentStrictReceiveOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPathPaymentStrictSendOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageSellOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageBuyOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarCreatePassiveSellOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSetOptionsOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarChangeTrustOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAllowTrustOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAccountMergeOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageDataOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarBumpSequenceOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosContractID"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosRevealOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosManagerTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosParametersManager"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosTransactionOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosOriginationOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosDelegationOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosProposalOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosBallotOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TronAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TronTransferContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronTriggerSmartContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"TronMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"facotry">;
3
3
  //# sourceMappingURL=patch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch.d.ts","sourceRoot":"","sources":["../../src/utils/patch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,sBAAsB,uo1BAW7D"}
1
+ {"version":3,"file":"patch.d.ts","sourceRoot":"","sources":["../../src/utils/patch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,sBAAsB,i41BAW7D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-core",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "description": "> TODO: description",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -24,8 +24,8 @@
24
24
  "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@onekeyfe/hd-shared": "^0.2.16",
28
- "@onekeyfe/hd-transport": "^0.2.16",
27
+ "@onekeyfe/hd-shared": "^0.2.18",
28
+ "@onekeyfe/hd-transport": "^0.2.18",
29
29
  "axios": "^0.27.2",
30
30
  "bignumber.js": "^9.0.2",
31
31
  "jszip": "^3.10.1",
@@ -42,5 +42,5 @@
42
42
  "@types/semver": "^7.3.9",
43
43
  "ripple-keypairs": "^1.1.4"
44
44
  },
45
- "gitHead": "27ee64ed4ed7fc08fdf54b1d69b93d24aaccc005"
45
+ "gitHead": "ebdbd2360edeb07fdb5f4cabe253aa7e4a82f265"
46
46
  }
@@ -43,12 +43,18 @@ export default class DeviceUploadResource extends BaseMethod<ResourceUpload> {
43
43
  thumbnailData: hexToBytes(thumbnailDataHex),
44
44
  };
45
45
 
46
+ const fileHash = bytesToHex(blake2s(this.payload.dataHex)).slice(0, 8);
47
+ const file_name_no_ext = `${resType === 0 ? 'wp' : 'nft'}-${fileHash}-${Math.floor(
48
+ Date.now() / 1000
49
+ )}`;
50
+
46
51
  this.params = {
47
52
  extension: suffix,
48
53
  data_length: this.paramsData.data.byteLength,
49
54
  zoom_data_length: this.paramsData.thumbnailData.byteLength,
50
55
  res_type: resType,
51
56
  nft_meta_data: nftMetaData,
57
+ file_name_no_ext,
52
58
  };
53
59
  }
54
60
 
@@ -26,6 +26,7 @@ export default class EvmGetAddress extends BaseMethod<EthereumGetAddress[]> {
26
26
  validateParams(batch, [
27
27
  { name: 'path', required: true },
28
28
  { name: 'showOnOneKey', type: 'boolean' },
29
+ { name: 'chainId', type: 'number' },
29
30
  ]);
30
31
 
31
32
  const showOnOneKey = batch.showOnOneKey ?? true;
@@ -33,6 +34,7 @@ export default class EvmGetAddress extends BaseMethod<EthereumGetAddress[]> {
33
34
  this.params.push({
34
35
  address_n: addressN,
35
36
  show_display: showOnOneKey,
37
+ chain_id: batch.chainId,
36
38
  });
37
39
  });
38
40
  }
@@ -26,6 +26,7 @@ export default class EVMGetPublicKey extends BaseMethod<EthereumGetPublicKey[]>
26
26
  validateParams(batch, [
27
27
  { name: 'path', required: true },
28
28
  { name: 'showOnOneKey', type: 'boolean' },
29
+ { name: 'chainId', type: 'number' },
29
30
  ]);
30
31
 
31
32
  const showOnOneKey = batch.showOnOneKey ?? true;
@@ -33,6 +34,7 @@ export default class EVMGetPublicKey extends BaseMethod<EthereumGetPublicKey[]>
33
34
  this.params.push({
34
35
  address_n: addressN,
35
36
  show_display: showOnOneKey,
37
+ chain_id: batch.chainId,
36
38
  });
37
39
  });
38
40
  }
@@ -14,9 +14,10 @@ export default class EVMSignMessage extends BaseMethod<EthereumSignMessage> {
14
14
  validateParams(this.payload, [
15
15
  { name: 'path', required: true },
16
16
  { name: 'messageHex', type: 'hexString', required: true },
17
+ { name: 'chainId', type: 'number' },
17
18
  ]);
18
19
 
19
- const { path, messageHex } = this.payload;
20
+ const { path, messageHex, chainId } = this.payload;
20
21
 
21
22
  const addressN = validatePath(path, 3);
22
23
 
@@ -24,6 +25,7 @@ export default class EVMSignMessage extends BaseMethod<EthereumSignMessage> {
24
25
  this.params = {
25
26
  address_n: addressN,
26
27
  message: formatAnyHex(messageHex),
28
+ chain_id: chainId,
27
29
  };
28
30
  }
29
31
 
@@ -22,6 +22,7 @@ export type EVMSignTypedDataParams = {
22
22
  data: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>;
23
23
  domainHash?: string;
24
24
  messageHash?: string;
25
+ chainId?: number;
25
26
  };
26
27
 
27
28
  export default class EVMSignTypedData extends BaseMethod<EVMSignTypedDataParams> {
@@ -35,9 +36,10 @@ export default class EVMSignTypedData extends BaseMethod<EVMSignTypedDataParams>
35
36
  { name: 'data', type: 'object' },
36
37
  { name: 'domainHash', type: 'hexString' },
37
38
  { name: 'messageHash', type: 'hexString' },
39
+ { name: 'chainId', type: 'number' },
38
40
  ]);
39
41
 
40
- const { path, data, metamaskV4Compat, domainHash, messageHash } = this.payload;
42
+ const { path, data, metamaskV4Compat, domainHash, messageHash, chainId } = this.payload;
41
43
 
42
44
  const addressN = validatePath(path, 3);
43
45
 
@@ -45,6 +47,7 @@ export default class EVMSignTypedData extends BaseMethod<EVMSignTypedDataParams>
45
47
  addressN,
46
48
  metamaskV4Compat,
47
49
  data,
50
+ chainId,
48
51
  };
49
52
 
50
53
  if (domainHash) {
@@ -62,7 +65,7 @@ export default class EVMSignTypedData extends BaseMethod<EVMSignTypedDataParams>
62
65
 
63
66
  async signTypedData() {
64
67
  const { commands } = this.device;
65
- const { addressN, data, metamaskV4Compat } = this.params;
68
+ const { addressN, data, metamaskV4Compat, chainId } = this.params;
66
69
 
67
70
  const {
68
71
  types,
@@ -82,6 +85,7 @@ export default class EVMSignTypedData extends BaseMethod<EVMSignTypedDataParams>
82
85
  address_n: addressN,
83
86
  primary_type: primaryType as string,
84
87
  metamask_v4_compat: metamaskV4Compat,
88
+ chain_id: chainId,
85
89
  }
86
90
  );
87
91
 
@@ -204,7 +208,7 @@ export default class EVMSignTypedData extends BaseMethod<EVMSignTypedDataParams>
204
208
  );
205
209
  }
206
210
 
207
- const { addressN } = this.params;
211
+ const { addressN, chainId } = this.params;
208
212
 
209
213
  // For Classic、Mini device we use EthereumSignTypedData
210
214
  const deviceType = getDeviceType(this.device.features);
@@ -225,6 +229,7 @@ export default class EVMSignTypedData extends BaseMethod<EVMSignTypedDataParams>
225
229
  address_n: addressN,
226
230
  domain_separator_hash: domainHash ?? '',
227
231
  message_hash: messageHash,
232
+ chain_id: chainId,
228
233
  }
229
234
  );
230
235
  } else {
@@ -13,6 +13,7 @@ export default class EVMSignMessage extends BaseMethod<EthereumVerifyMessage> {
13
13
  { name: 'address', type: 'string', required: true },
14
14
  { name: 'messageHex', type: 'hexString', required: true },
15
15
  { name: 'signature', type: 'hexString', required: true },
16
+ { name: 'chainId', type: 'number' },
16
17
  ]);
17
18
 
18
19
  const { address, messageHex, signature } = formatAnyHex(this.payload);
@@ -21,6 +22,7 @@ export default class EVMSignMessage extends BaseMethod<EthereumVerifyMessage> {
21
22
  address,
22
23
  message: messageHex,
23
24
  signature,
25
+ chain_id: this.payload.chainId,
24
26
  };
25
27
  }
26
28