@onekeyfe/hd-core 1.0.12 → 1.0.14

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 (88) hide show
  1. package/dist/api/alephium/AlephiumGetAddress.d.ts.map +1 -1
  2. package/dist/api/allnetwork/AllNetworkGetAddress.d.ts.map +1 -1
  3. package/dist/api/aptos/AptosGetAddress.d.ts.map +1 -1
  4. package/dist/api/aptos/AptosGetPublicKey.d.ts +2 -7
  5. package/dist/api/aptos/AptosGetPublicKey.d.ts.map +1 -1
  6. package/dist/api/cosmos/CosmosGetPublicKey.d.ts +2 -7
  7. package/dist/api/cosmos/CosmosGetPublicKey.d.ts.map +1 -1
  8. package/dist/api/evm/EVMGetPublicKey.d.ts +2 -1
  9. package/dist/api/evm/EVMGetPublicKey.d.ts.map +1 -1
  10. package/dist/api/lightning/LnurlAuth.d.ts +6 -1
  11. package/dist/api/lightning/LnurlAuth.d.ts.map +1 -1
  12. package/dist/api/nostr/NostrGetPublicKey.d.ts.map +1 -1
  13. package/dist/api/polkadot/PolkadotGetAddress.d.ts.map +1 -1
  14. package/dist/api/sui/SuiGetAddress.d.ts.map +1 -1
  15. package/dist/api/sui/SuiGetPublicKey.d.ts +2 -7
  16. package/dist/api/sui/SuiGetPublicKey.d.ts.map +1 -1
  17. package/dist/api/ton/TonGetAddress.d.ts.map +1 -1
  18. package/dist/api/xrp/XrpGetAddress.d.ts +5 -1
  19. package/dist/api/xrp/XrpGetAddress.d.ts.map +1 -1
  20. package/dist/constants/ui-request.d.ts +1 -0
  21. package/dist/constants/ui-request.d.ts.map +1 -1
  22. package/dist/core/index.d.ts.map +1 -1
  23. package/dist/device/Device.d.ts.map +1 -1
  24. package/dist/events/ui-request.d.ts +8 -1
  25. package/dist/events/ui-request.d.ts.map +1 -1
  26. package/dist/index.d.ts +39 -13
  27. package/dist/index.js +179 -94
  28. package/dist/types/api/alephiumGetAddress.d.ts +1 -0
  29. package/dist/types/api/alephiumGetAddress.d.ts.map +1 -1
  30. package/dist/types/api/allNetworkGetAddress.d.ts +10 -3
  31. package/dist/types/api/allNetworkGetAddress.d.ts.map +1 -1
  32. package/dist/types/api/aptosGetAddress.d.ts +1 -0
  33. package/dist/types/api/aptosGetAddress.d.ts.map +1 -1
  34. package/dist/types/api/aptosGetPublicKey.d.ts +2 -1
  35. package/dist/types/api/aptosGetPublicKey.d.ts.map +1 -1
  36. package/dist/types/api/cardanoGetPublicKey.d.ts +1 -1
  37. package/dist/types/api/cardanoGetPublicKey.d.ts.map +1 -1
  38. package/dist/types/api/cosmosGetPublicKey.d.ts +2 -1
  39. package/dist/types/api/cosmosGetPublicKey.d.ts.map +1 -1
  40. package/dist/types/api/evmGetPublicKey.d.ts +2 -1
  41. package/dist/types/api/evmGetPublicKey.d.ts.map +1 -1
  42. package/dist/types/api/lnurlAuth.d.ts +1 -0
  43. package/dist/types/api/lnurlAuth.d.ts.map +1 -1
  44. package/dist/types/api/nostrGetPublicKey.d.ts +2 -1
  45. package/dist/types/api/nostrGetPublicKey.d.ts.map +1 -1
  46. package/dist/types/api/polkadotGetAddress.d.ts +2 -1
  47. package/dist/types/api/polkadotGetAddress.d.ts.map +1 -1
  48. package/dist/types/api/suiGetAddress.d.ts +1 -0
  49. package/dist/types/api/suiGetAddress.d.ts.map +1 -1
  50. package/dist/types/api/suiGetPublicKey.d.ts +2 -1
  51. package/dist/types/api/suiGetPublicKey.d.ts.map +1 -1
  52. package/dist/types/api/tonGetAddress.d.ts +2 -1
  53. package/dist/types/api/tonGetAddress.d.ts.map +1 -1
  54. package/dist/types/api/xrpGetAddress.d.ts +1 -0
  55. package/dist/types/api/xrpGetAddress.d.ts.map +1 -1
  56. package/package.json +4 -4
  57. package/src/api/alephium/AlephiumGetAddress.ts +2 -1
  58. package/src/api/allnetwork/AllNetworkGetAddress.ts +52 -32
  59. package/src/api/aptos/AptosGetAddress.ts +63 -38
  60. package/src/api/aptos/AptosGetPublicKey.ts +9 -6
  61. package/src/api/cardano/CardanoGetPublicKey.ts +2 -2
  62. package/src/api/cosmos/CosmosGetPublicKey.ts +9 -6
  63. package/src/api/evm/EVMGetPublicKey.ts +4 -2
  64. package/src/api/lightning/LnurlAuth.ts +4 -1
  65. package/src/api/nostr/NostrGetPublicKey.ts +3 -1
  66. package/src/api/polkadot/PolkadotGetAddress.ts +2 -1
  67. package/src/api/sui/SuiGetAddress.ts +58 -38
  68. package/src/api/sui/SuiGetPublicKey.ts +9 -6
  69. package/src/api/ton/TonGetAddress.ts +2 -1
  70. package/src/api/xrp/XrpGetAddress.ts +2 -1
  71. package/src/constants/ui-request.ts +1 -0
  72. package/src/core/index.ts +8 -18
  73. package/src/device/Device.ts +15 -0
  74. package/src/events/ui-request.ts +9 -0
  75. package/src/types/api/alephiumGetAddress.ts +4 -0
  76. package/src/types/api/allNetworkGetAddress.ts +16 -3
  77. package/src/types/api/aptosGetAddress.ts +4 -0
  78. package/src/types/api/aptosGetPublicKey.ts +5 -1
  79. package/src/types/api/cardanoGetPublicKey.ts +1 -1
  80. package/src/types/api/cosmosGetPublicKey.ts +5 -1
  81. package/src/types/api/evmGetPublicKey.ts +5 -1
  82. package/src/types/api/lnurlAuth.ts +4 -0
  83. package/src/types/api/nostrGetPublicKey.ts +5 -1
  84. package/src/types/api/polkadotGetAddress.ts +5 -1
  85. package/src/types/api/suiGetAddress.ts +4 -0
  86. package/src/types/api/suiGetPublicKey.ts +5 -1
  87. package/src/types/api/tonGetAddress.ts +5 -1
  88. package/src/types/api/xrpGetAddress.ts +4 -0
@@ -1 +1 @@
1
- {"version":3,"file":"AlephiumGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/alephium/AlephiumGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAG1F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,eAAe,EAA4B,MAAM,aAAa,CAAC;AAExE,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,0BAA0B,EAAE,CAAC;IACtF,SAAS,UAAS;IAElB,IAAI;IAkCJ,eAAe;;;;;IAQT,GAAG;CA6BV"}
1
+ {"version":3,"file":"AlephiumGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/alephium/AlephiumGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAG1F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,eAAe,EAA4B,MAAM,aAAa,CAAC;AAExE,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,0BAA0B,EAAE,CAAC;IACtF,SAAS,UAAS;IAElB,IAAI;IAkCJ,eAAe;;;;;IAQT,GAAG;CA8BV"}
@@ -1 +1 @@
1
- {"version":3,"file":"AllNetworkGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/allnetwork/AllNetworkGetAddress.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,QAAQ,EACT,MAAM,sCAAsC,CAAC;AA4N9C,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,UAAU,CAC1D;IACE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,EAAE,CACJ;IACC,IAAI;IAkBJ,kBAAkB,CAAC,EACjB,OAAO,EACP,OAAO,GACR,EAAE;QACD,OAAO,EAAE,QAAQ,CAAC;QAClB,OAAO,EAAE,uBAAuB,CAAC;KAClC,GAAG;QACF,UAAU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AG;YAAE,aAAa,EAAE,uBAAuB,CAAA;SAAE,CAAC;QAC3F,eAAe,EACX;YACE,UAAU,EAAE,MAAM,OAAO,CAAC;YAC1B,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;SAC/C,EAAE,GACH,SAAS,CAAC;KACf;IAyBK,UAAU,CAAC,UAAU,EAAE,MAAM,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,oBAAoB;IAiDnF,GAAG;CAqDV"}
@@ -1 +1 @@
1
- {"version":3,"file":"AptosGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/aptos/AptosGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMpF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAyB,MAAM,aAAa,CAAC;AAIlE,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,uBAAuB,EAAE,CAAC;IAChF,SAAS,UAAS;IAElB,aAAa,UAAS;IAEtB,IAAI;IAiCJ,kBAAkB,CAAC,SAAS,EAAE,MAAM;IAOpC,eAAe;;;;;IAQT,GAAG;CA2CV"}
1
+ {"version":3,"file":"AptosGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/aptos/AptosGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMpF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAyB,MAAM,aAAa,CAAC;AAIlE,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,uBAAuB,EAAE,CAAC;IAChF,SAAS,UAAS;IAElB,aAAa,UAAS;IAEtB,IAAI;IAiCJ,kBAAkB,CAAC,SAAS,EAAE,MAAM;IAOpC,eAAe;;;;;IAQT,GAAG;CAoEV"}
@@ -1,4 +1,5 @@
1
1
  import { BaseMethod } from '../BaseMethod';
2
+ import { AptosPublicKey } from '../../types';
2
3
  export default class AptosGetPublicKey extends BaseMethod<any> {
3
4
  hasBundle: boolean;
4
5
  init(): void;
@@ -7,12 +8,6 @@ export default class AptosGetPublicKey extends BaseMethod<any> {
7
8
  min: string;
8
9
  };
9
10
  };
10
- run(): Promise<{
11
- path: string;
12
- publicKey: string;
13
- } | {
14
- path: string;
15
- publicKey: string;
16
- }[]>;
11
+ run(): Promise<AptosPublicKey | AptosPublicKey[]>;
17
12
  }
18
13
  //# sourceMappingURL=AptosGetPublicKey.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AptosGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/aptos/AptosGetPublicKey.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CAAC,GAAG,CAAC;IAC5D,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;IAQT,GAAG;;;;;;;CAiBV"}
1
+ {"version":3,"file":"AptosGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/aptos/AptosGetPublicKey.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAyB,cAAc,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CAAC,GAAG,CAAC;IAC5D,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;IAQT,GAAG;CAoBV"}
@@ -1,4 +1,5 @@
1
1
  import { BaseMethod } from '../BaseMethod';
2
+ import { CosmosAddress } from '../../types';
2
3
  export default class CosmosGetPublicKey extends BaseMethod<any> {
3
4
  hasBundle: boolean;
4
5
  init(): void;
@@ -10,12 +11,6 @@ export default class CosmosGetPublicKey extends BaseMethod<any> {
10
11
  min: string;
11
12
  };
12
13
  };
13
- run(): Promise<{
14
- path: string;
15
- publicKey: string;
16
- } | {
17
- path: string;
18
- publicKey: string;
19
- }[]>;
14
+ run(): Promise<CosmosAddress | CosmosAddress[]>;
20
15
  }
21
16
  //# sourceMappingURL=CosmosGetPublicKey.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CosmosGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/cosmos/CosmosGetPublicKey.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,GAAG,CAAC;IAC7D,SAAS,UAAS;IAElB,IAAI;IAwCJ,eAAe;;;;;;;;IAWT,GAAG;;;;;;;CAiBV"}
1
+ {"version":3,"file":"CosmosGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/cosmos/CosmosGetPublicKey.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,aAAa,EAA4B,MAAM,aAAa,CAAC;AAEtE,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,GAAG,CAAC;IAC7D,SAAS,UAAS;IAElB,IAAI;IAwCJ,eAAe;;;;;;;;IAWT,GAAG;CAoBV"}
@@ -6,8 +6,9 @@ export default class EVMGetPublicKey extends BaseMethod<EthereumGetPublicKeyOneK
6
6
  useBatch: boolean;
7
7
  init(): void;
8
8
  getEvmPublicKey(param: EthereumGetPublicKey): Promise<import("@onekeyfe/hd-transport").MessageResponse<"EthereumPublicKeyOneKey">> | Promise<import("@onekeyfe/hd-transport").MessageResponse<"EthereumPublicKey">>;
9
- run(): Promise<EVMPublicKey | {
9
+ run(): Promise<EVMPublicKey | EVMPublicKey[] | {
10
10
  path: string;
11
+ pub: string;
11
12
  publicKey: string;
12
13
  }[]>;
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EVMGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/evm/EVMGetPublicKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAG1F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAyB,YAAY,EAAE,MAAM,aAAa,CAAC;AAMlE,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,0BAA0B,EAAE,CAAC;IACnF,SAAS,UAAS;IAElB,QAAQ,UAAS;IAEjB,IAAI;IAgCJ,eAAe,CAAC,KAAK,EAAE,oBAAoB;IAcrC,GAAG;;;;CAqCV"}
1
+ {"version":3,"file":"EVMGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/evm/EVMGetPublicKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAG1F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAyB,YAAY,EAAE,MAAM,aAAa,CAAC;AAMlE,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,0BAA0B,EAAE,CAAC;IACnF,SAAS,UAAS;IAElB,QAAQ,UAAS;IAEjB,IAAI;IAgCJ,eAAe,CAAC,KAAK,EAAE,oBAAoB;IAcrC,GAAG;;;;;CAuCV"}
@@ -11,6 +11,11 @@ export default class LnurlAuth1 extends BaseMethod<ILnurlAuth> {
11
11
  min: string;
12
12
  };
13
13
  };
14
- run(): Promise<import("@onekeyfe/hd-transport").LnurlAuthResp>;
14
+ run(): Promise<{
15
+ pub: string | undefined;
16
+ publickey?: string | undefined;
17
+ path?: string | undefined;
18
+ signature?: string | undefined;
19
+ }>;
15
20
  }
16
21
  //# sourceMappingURL=LnurlAuth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LnurlAuth.d.ts","sourceRoot":"","sources":["../../../src/api/lightning/LnurlAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,UAAU,CAAC,UAAU,CAAC;IAC5D,SAAS,UAAS;IAElB,IAAI;IAgBJ,eAAe;;;;;;;;IAWT,GAAG;CAWV"}
1
+ {"version":3,"file":"LnurlAuth.d.ts","sourceRoot":"","sources":["../../../src/api/lightning/LnurlAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,UAAU,CAAC,UAAU,CAAC;IAC5D,SAAS,UAAS;IAElB,IAAI;IAgBJ,eAAe;;;;;;;;IAWT,GAAG;;;;;;CAcV"}
@@ -1 +1 @@
1
- {"version":3,"file":"NostrGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/nostr/NostrGetPublicKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CAAC,YAAY,EAAE,CAAC;IACvE,SAAS,UAAS;IAElB,IAAI;IA4BJ,eAAe;;;;;;;;IAWT,GAAG;CAoBV"}
1
+ {"version":3,"file":"NostrGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/nostr/NostrGetPublicKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CAAC,YAAY,EAAE,CAAC;IACvE,SAAS,UAAS;IAElB,IAAI;IA4BJ,eAAe;;;;;;;;IAWT,GAAG;CAsBV"}
@@ -1 +1 @@
1
- {"version":3,"file":"PolkadotGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/polkadot/PolkadotGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAG1F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,eAAe,EAA4B,MAAM,aAAa,CAAC;AAGxE,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,0BAA0B,EAAE,CAAC;IACtF,SAAS,UAAS;IAElB,IAAI;IAkCJ,eAAe;;;;;;;;IAKT,GAAG;CA+BV"}
1
+ {"version":3,"file":"PolkadotGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/polkadot/PolkadotGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAG1F,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,eAAe,EAA4B,MAAM,aAAa,CAAC;AAGxE,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,0BAA0B,EAAE,CAAC;IACtF,SAAS,UAAS;IAElB,IAAI;IAkCJ,eAAe;;;;;;;;IAKT,GAAG;CAgCV"}
@@ -1 +1 @@
1
- {"version":3,"file":"SuiGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/sui/SuiGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAIhF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAuB,MAAM,aAAa,CAAC;AAI9D,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,qBAAqB,EAAE,CAAC;IAC5E,SAAS,UAAS;IAElB,aAAa,UAAS;IAEtB,IAAI;IAiCJ,eAAe;;;;;;;;IAWT,GAAG;CA2CV"}
1
+ {"version":3,"file":"SuiGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/sui/SuiGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAIhF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAuB,MAAM,aAAa,CAAC;AAI9D,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,qBAAqB,EAAE,CAAC;IAC5E,SAAS,UAAS;IAElB,aAAa,UAAS;IAEtB,IAAI;IAiCJ,eAAe;;;;;;;;IAWT,GAAG;CA+DV"}
@@ -1,4 +1,5 @@
1
1
  import { BaseMethod } from '../BaseMethod';
2
+ import { SuiPublicKey } from '../../types';
2
3
  export default class SuiGetPublicKey extends BaseMethod<any> {
3
4
  hasBundle: boolean;
4
5
  init(): void;
@@ -10,12 +11,6 @@ export default class SuiGetPublicKey extends BaseMethod<any> {
10
11
  min: string;
11
12
  };
12
13
  };
13
- run(): Promise<{
14
- path: string;
15
- publicKey: string;
16
- } | {
17
- path: string;
18
- publicKey: string;
19
- }[]>;
14
+ run(): Promise<SuiPublicKey | SuiPublicKey[]>;
20
15
  }
21
16
  //# sourceMappingURL=SuiGetPublicKey.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SuiGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/sui/SuiGetPublicKey.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,GAAG,CAAC;IAC1D,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;;;;IAWT,GAAG;;;;;;;CAiBV"}
1
+ {"version":3,"file":"SuiGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/sui/SuiGetPublicKey.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAuB,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhE,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,GAAG,CAAC;IAC1D,SAAS,UAAS;IAElB,IAAI;IA6BJ,eAAe;;;;;;;;IAWT,GAAG;CAoBV"}
@@ -1 +1 @@
1
- {"version":3,"file":"TonGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/ton/TonGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAIhF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAuB,MAAM,aAAa,CAAC;AAE9D,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,qBAAqB,EAAE,CAAC;IAC5E,SAAS,UAAS;IAElB,aAAa,UAAS;IAEtB,IAAI;IA2CJ,eAAe;;;;;IAQT,GAAG;CA0BV"}
1
+ {"version":3,"file":"TonGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/ton/TonGetAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAIhF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAuB,MAAM,aAAa,CAAC;AAE9D,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,qBAAqB,EAAE,CAAC;IAC5E,SAAS,UAAS;IAElB,aAAa,UAAS;IAEtB,IAAI;IA2CJ,eAAe;;;;;IAQT,GAAG;CA2BV"}
@@ -12,6 +12,10 @@ export default class XrpGetAddress extends BaseMethod<{
12
12
  min: string;
13
13
  };
14
14
  };
15
- run(): Promise<XrpAddress | XrpAddress[]>;
15
+ run(): Promise<XrpAddress | XrpAddress[] | {
16
+ path: string;
17
+ publicKey: string;
18
+ address: string;
19
+ }[]>;
16
20
  }
17
21
  //# sourceMappingURL=XrpGetAddress.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"XrpGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/xrp/XrpGetAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAuB,MAAM,+BAA+B,CAAC;AAEhF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CACnD;IACE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;CACvB,EAAE,CACJ;IACC,SAAS,UAAS;IAElB,aAAa,UAAS;IAEtB,IAAI;IA+BJ,eAAe;;;;;IAQT,GAAG;CAwDV"}
1
+ {"version":3,"file":"XrpGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/xrp/XrpGetAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAuB,MAAM,+BAA+B,CAAC;AAEhF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CACnD;IACE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;CACvB,EAAE,CACJ;IACC,SAAS,UAAS;IAElB,aAAa,UAAS;IAEtB,IAAI;IA+BJ,eAAe;;;;;IAQT,GAAG;;;;;CAyDV"}
@@ -11,5 +11,6 @@ export declare const UI_REQUEST: {
11
11
  readonly NOT_USE_ONEKEY_DEVICE: "ui-device_please_use_onekey_device";
12
12
  readonly FIRMWARE_TIP: "ui-firmware-tip";
13
13
  readonly PREVIOUS_ADDRESS_RESULT: "ui-previous_address_result";
14
+ readonly DEVICE_PROGRESS: "ui-device_progress";
14
15
  };
15
16
  //# sourceMappingURL=ui-request.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-request.d.ts","sourceRoot":"","sources":["../../src/constants/ui-request.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAeb,CAAC"}
1
+ {"version":3,"file":"ui-request.d.ts","sourceRoot":"","sources":["../../src/constants/ui-request.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAgBb,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";AACA,OAAO,YAAY,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAY,6BAA6B,EAAoB,MAAM,wBAAwB,CAAC;AAyBnG,OAAO,EAEL,WAAW,EAWZ,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,UAAU,CAAC;AAE7D,OAAO,eAAe,MAAM,2BAA2B,CAAC;AA0CxD,eAAO,MAAM,OAAO,YAAmB,WAAW,iBAgRjD,CAAC;AAmNF,eAAO,MAAM,MAAM,eAAgB,MAAM,SAkBxC,CAAC;AAsJF,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,YAAY;IACtC,aAAa,CAAC,OAAO,EAAE,WAAW;IAkDxC,OAAO;CAGR;AAED,eAAO,MAAM,QAAQ,YAGpB,CAAC;AAEF,eAAO,MAAM,aAAa,uBAIzB,CAAC;AAMF,eAAO,MAAM,IAAI,aACL,eAAe,aACd,GAAG,WACL,6BAA6B,8BAoBvC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";AACA,OAAO,YAAY,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAY,6BAA6B,EAAoB,MAAM,wBAAwB,CAAC;AA6BnG,OAAO,EAEL,WAAW,EAWZ,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,UAAU,CAAC;AAE7D,OAAO,eAAe,MAAM,2BAA2B,CAAC;AA0CxD,eAAO,MAAM,OAAO,YAAmB,WAAW,iBAkQjD,CAAC;AAmNF,eAAO,MAAM,MAAM,eAAgB,MAAM,SAkBxC,CAAC;AAsJF,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,YAAY;IACtC,aAAa,CAAC,OAAO,EAAE,WAAW;IAkDxC,OAAO;CAGR;AAED,eAAO,MAAM,QAAQ,YAGpB,CAAC;AAEF,eAAO,MAAM,aAAa,uBAIzB,CAAC;AAMF,eAAO,MAAM,IAAI,aACL,eAAe,aACd,GAAG,WACL,6BAA6B,8BAoBvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Device.d.ts","sourceRoot":"","sources":["../../src/device/Device.ts"],"names":[],"mappings":";AAAA,OAAO,YAAY,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,gBAAgB,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAEL,QAAQ,EAIT,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EACL,iBAAiB,EACjB,KAAK,MAAM,IAAI,WAAW,EAC1B,KAAK,QAAQ,EACb,KAAK,uBAAuB,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,MAAM;IAiBnC,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,GAAE,MAAM,GAAG,IAAW;IAmBpF,OAAO,CAAC,gBAAgB;IAuBxB,kBAAkB,CAAC,SAAS,CAAC,EAAE,MAAM;IAc/B,UAAU,CAAC,OAAO,CAAC,EAAE,WAAW;IAyChC,WAAW;IAKjB,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,EAAE,OAAO;IAsBrD,gBAAgB,CAAC,UAAU,EAAE,gBAAgB,EAAE,WAAW,UAAQ;IAiBlE,eAAe,CAAC,MAAM,EAAE,MAAM;IASxB,GAAG,CAAC,EAAE,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU;IAYlD,SAAS,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,UAAU;IA8EpE,uBAAuB;IASvB,oBAAoB;IAS1B,OAAO;IAoBP,kBAAkB;IAKlB,qBAAqB;IAKrB,MAAM;IAIN,UAAU;IAQV,eAAe,IAAI,OAAO;IAI1B,YAAY;IAIZ,aAAa;IAIb,UAAU;IAIV,YAAY,IAAI,OAAO;IAIvB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;IAsBpD,gBAAgB;IAQhB,aAAa,CAAC,QAAQ,EAAE,MAAM;IAOxB,0BAA0B,CAAC,eAAe,CAAC,EAAE,MAAM;CAY1D;AAED,eAAe,MAAM,CAAC"}
@@ -10,6 +10,7 @@ export declare const UI_REQUEST: {
10
10
  readonly REQUEST_PASSPHRASE: "ui-request_passphrase";
11
11
  readonly REQUEST_PASSPHRASE_ON_DEVICE: "ui-request_passphrase_on_device";
12
12
  readonly CLOSE_UI_WINDOW: "ui-close_window";
13
+ readonly DEVICE_PROGRESS: "ui-device_progress";
13
14
  readonly BLUETOOTH_PERMISSION: "ui-bluetooth_permission";
14
15
  readonly BLUETOOTH_CHARACTERISTIC_NOTIFY_CHANGE_FAILURE: "ui-bluetooth_characteristic_notify_change_failure";
15
16
  readonly LOCATION_PERMISSION: "ui-location_permission";
@@ -63,6 +64,12 @@ export interface FirmwareTip {
63
64
  };
64
65
  };
65
66
  }
67
+ export interface DeviceProgress {
68
+ type: typeof UI_REQUEST.DEVICE_PROGRESS;
69
+ payload: {
70
+ progress?: number;
71
+ };
72
+ }
66
73
  export interface PreviousAddressResult {
67
74
  type: typeof UI_REQUEST.PREVIOUS_ADDRESS_RESULT;
68
75
  payload: {
@@ -73,7 +80,7 @@ export interface PreviousAddressResult {
73
80
  };
74
81
  };
75
82
  }
76
- export type UiEvent = UiRequestWithoutPayload | UiRequestDeviceAction | UiRequestButton | UiRequestPassphraseOnDevice | UiRequestPassphrase | FirmwareProgress | FirmwareTip | PreviousAddressResult;
83
+ export type UiEvent = UiRequestWithoutPayload | UiRequestDeviceAction | UiRequestButton | UiRequestPassphraseOnDevice | UiRequestPassphrase | FirmwareProgress | FirmwareTip | DeviceProgress | PreviousAddressResult;
77
84
  export type UiEventMessage = UiEvent & {
78
85
  event: typeof UI_EVENT;
79
86
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ui-request.d.ts","sourceRoot":"","sources":["../../src/events/ui-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,QAAQ,aAAa,CAAC;AAEnC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAmBb,CAAC;AAEX,MAAM,WAAW,uBAAuB;IACtC,IAAI,EACA,OA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,qBAAqB;IACpC,IAAI,EAAE,OAAO,UAAU,CAAC,uBAAuB,CAAC;IAChD,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE;YACJ,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,IAAI,CAAC,EAAE,MAAM,CAAC;SACf,CAAC;KACH,CAAC;CACH;AAED,MAAM,MAAM,OAAO,GACf,uBAAuB,GACvB,qBAAqB,GACrB,eAAe,GACf,2BAA2B,GAC3B,mBAAmB,GACnB,gBAAgB,GAChB,WAAW,GACX,cAAc,GACd,qBAAqB,CAAC;AAE1B,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG;IAAE,KAAK,EAAE,OAAO,QAAQ,CAAA;CAAE,CAAC;AAElE,eAAO,MAAM,eAAe,EAAE,gBAAgB,CAAC,OAAO,QAAQ,EAAE,OAAO,CAK5D,CAAC"}
package/dist/index.d.ts CHANGED
@@ -668,11 +668,13 @@ type AllNetworkAddressParams = {
668
668
  chainName?: string;
669
669
  prefix?: string;
670
670
  showOnOneKey?: boolean;
671
+ includePublicKey?: boolean;
672
+ group?: string;
671
673
  };
672
674
  type AllNetworkAddressPayload = {
673
675
  address: string;
674
- publicKey?: string;
675
676
  pub?: string;
677
+ publicKey?: string;
676
678
  npub?: string;
677
679
  } | {
678
680
  addressParameters: CardanoAddressParameters;
@@ -698,8 +700,13 @@ type AllNetworkAddressPayload = {
698
700
  };
699
701
  type AllNetworkAddress = CommonResponseParams & {
700
702
  success: boolean;
701
- error?: string;
702
- payload?: AllNetworkAddressPayload;
703
+ payload?: AllNetworkAddressPayload | {
704
+ error: string;
705
+ code: number;
706
+ connectId?: string;
707
+ deviceId?: string;
708
+ params: any;
709
+ };
703
710
  };
704
711
  type AllNetworkGetAddressParams = {
705
712
  bundle: AllNetworkAddressParams[];
@@ -722,7 +729,8 @@ declare function evmGetAddress(connectId: string, deviceId: string, params: Comm
722
729
 
723
730
  type EVMPublicKey = {
724
731
  path: string;
725
- publicKey: string;
732
+ pub: string;
733
+ publicKey?: string;
726
734
  } & EthereumPublicKey;
727
735
  type EVMGetPublicKeyParams = {
728
736
  path: string | number[];
@@ -1411,6 +1419,7 @@ declare function nearSignTransaction(connectId: string, deviceId: string, params
1411
1419
 
1412
1420
  type AptosAddress = {
1413
1421
  path: string;
1422
+ pub?: string;
1414
1423
  publicKey?: string;
1415
1424
  } & AptosAddress$1;
1416
1425
  type AptosGetAddressParams = {
@@ -1424,7 +1433,8 @@ declare function aptosGetAddress(connectId: string, deviceId: string, params: Co
1424
1433
 
1425
1434
  type AptosPublicKey = {
1426
1435
  path: string;
1427
- publicKey: string;
1436
+ pub: string;
1437
+ publicKey?: string;
1428
1438
  };
1429
1439
  type AptosGetPublicKeyParams = {
1430
1440
  path: string | number[];
@@ -1497,7 +1507,8 @@ declare function cosmosGetAddress(connectId: string, deviceId: string, params: C
1497
1507
 
1498
1508
  type CosmosPublicKey = {
1499
1509
  path: string;
1500
- publicKey: string;
1510
+ pub: string;
1511
+ publicKey?: string;
1501
1512
  };
1502
1513
  type CosmosGetPublicKeyParams = {
1503
1514
  path: string | number[];
@@ -1520,6 +1531,7 @@ declare function cosmosSignTransaction(connectId: string, deviceId: string, para
1520
1531
 
1521
1532
  type XrpAddress = {
1522
1533
  path: string;
1534
+ pub?: string;
1523
1535
  publicKey?: string;
1524
1536
  address: string;
1525
1537
  };
@@ -1552,6 +1564,7 @@ declare function xrpSignTransaction(connectId: string, deviceId: string, params:
1552
1564
 
1553
1565
  type SuiAddress = {
1554
1566
  path: string;
1567
+ pub?: string;
1555
1568
  publicKey?: string;
1556
1569
  } & SuiAddress$1;
1557
1570
  type SuiGetAddressParams = {
@@ -1565,7 +1578,8 @@ declare function suiGetAddress(connectId: string, deviceId: string, params: Comm
1565
1578
 
1566
1579
  type SuiPublicKey = {
1567
1580
  path: string;
1568
- publicKey: string;
1581
+ pub: string;
1582
+ publicKey?: string;
1569
1583
  };
1570
1584
  type SuiGetPublicKeyParams = {
1571
1585
  path: string | number[];
@@ -1626,7 +1640,7 @@ declare function cardanoGetAddress(connectId: string, deviceId: string, params:
1626
1640
  type CardanoPublicKey = {
1627
1641
  path: number[];
1628
1642
  serializedPath: string;
1629
- publicKey: string;
1643
+ xpub: string;
1630
1644
  node: Messages.HDNodeType;
1631
1645
  };
1632
1646
  type CardanoPublicKeyMethodParams = {
@@ -1677,7 +1691,8 @@ declare function filecoinSignTransaction(connectId: string, deviceId: string, pa
1677
1691
 
1678
1692
  type PolkadotAddress = {
1679
1693
  path: string;
1680
- publicKey: string;
1694
+ pub: string;
1695
+ publicKey?: string;
1681
1696
  } & PolkadotAddress$1;
1682
1697
  type PolkadotGetAddressParams = {
1683
1698
  path: string | number[];
@@ -1792,7 +1807,8 @@ declare function nexaSignTransaction(connectId: string, deviceId: string, params
1792
1807
 
1793
1808
  type NostrPublicKey = {
1794
1809
  npub?: string;
1795
- publickey?: string;
1810
+ pub?: string;
1811
+ publicKey?: string;
1796
1812
  path: string;
1797
1813
  };
1798
1814
  interface NostrPublicKeyParams {
@@ -1887,6 +1903,7 @@ type NostrSignedSchnorrResponse = {
1887
1903
  declare function nostrSignSchnorr(connectId: string, deviceId: string, params: CommonParams & NostrSignSchnorrParams): Response<NostrSignedSchnorrResponse>;
1888
1904
 
1889
1905
  interface LnurlAuth {
1906
+ pub?: string;
1890
1907
  publickey?: string;
1891
1908
  path?: string;
1892
1909
  signature?: string;
@@ -1962,7 +1979,8 @@ declare function dnxSignTransaction(connectId: string, deviceId: string, params:
1962
1979
 
1963
1980
  type TonAddress = {
1964
1981
  path: string;
1965
- publicKey: string;
1982
+ pub: string;
1983
+ publicKey?: string;
1966
1984
  address: string;
1967
1985
  };
1968
1986
  type TonGetAddressParams = {
@@ -2056,6 +2074,7 @@ declare function scdoSignTransaction(connectId: string, deviceId: string, params
2056
2074
  type AlephiumAddress = {
2057
2075
  path: string;
2058
2076
  publicKey?: string;
2077
+ pub?: string;
2059
2078
  address: string;
2060
2079
  derivedPath: string;
2061
2080
  };
@@ -2300,6 +2319,7 @@ declare const UI_REQUEST: {
2300
2319
  readonly REQUEST_PASSPHRASE: "ui-request_passphrase";
2301
2320
  readonly REQUEST_PASSPHRASE_ON_DEVICE: "ui-request_passphrase_on_device";
2302
2321
  readonly CLOSE_UI_WINDOW: "ui-close_window";
2322
+ readonly DEVICE_PROGRESS: "ui-device_progress";
2303
2323
  readonly BLUETOOTH_PERMISSION: "ui-bluetooth_permission";
2304
2324
  readonly BLUETOOTH_CHARACTERISTIC_NOTIFY_CHANGE_FAILURE: "ui-bluetooth_characteristic_notify_change_failure";
2305
2325
  readonly LOCATION_PERMISSION: "ui-location_permission";
@@ -2353,6 +2373,12 @@ interface FirmwareTip {
2353
2373
  };
2354
2374
  };
2355
2375
  }
2376
+ interface DeviceProgress {
2377
+ type: typeof UI_REQUEST.DEVICE_PROGRESS;
2378
+ payload: {
2379
+ progress?: number;
2380
+ };
2381
+ }
2356
2382
  interface PreviousAddressResult {
2357
2383
  type: typeof UI_REQUEST.PREVIOUS_ADDRESS_RESULT;
2358
2384
  payload: {
@@ -2363,7 +2389,7 @@ interface PreviousAddressResult {
2363
2389
  };
2364
2390
  };
2365
2391
  }
2366
- type UiEvent = UiRequestWithoutPayload | UiRequestDeviceAction | UiRequestButton | UiRequestPassphraseOnDevice | UiRequestPassphrase | FirmwareProgress | FirmwareTip | PreviousAddressResult;
2392
+ type UiEvent = UiRequestWithoutPayload | UiRequestDeviceAction | UiRequestButton | UiRequestPassphraseOnDevice | UiRequestPassphrase | FirmwareProgress | FirmwareTip | DeviceProgress | PreviousAddressResult;
2367
2393
  type UiEventMessage = UiEvent & {
2368
2394
  event: typeof UI_EVENT;
2369
2395
  };
@@ -2844,4 +2870,4 @@ declare const HardwareSdk: ({ init, call, dispose, eventEmitter, uiResponse, can
2844
2870
  declare const HardwareSDKLowLevel: ({ init, call, dispose, eventEmitter, addHardwareGlobalEventListener, uiResponse, cancel, updateSettings, }: LowLevelInjectApi) => LowLevelCoreApi;
2845
2871
  declare const HardwareTopLevelSdk: () => CoreApi;
2846
2872
 
2847
- export { AccountAddress, AccountAddresses, AlephiumAddress, AlephiumGetAddressParams, AlephiumSignMessageParams, AlephiumSignTransactionParams, AlephiumSignedTx, AlgoAddress, AlgoGetAddressParams, AlgoSignTransactionParams, AlgoSignedTx, AllNetworkAddressParams, AllNetworkGetAddressParams, AptosAddress, AptosGetAddressParams, AptosGetPublicKeyParams, AptosMessageSignature, AptosPublicKey, AptosSignMessageParams, AptosSignTransactionParams, AptosSignedTx, AssetsMap, BTCAddress, BTCGetAddressParams, BTCGetPublicKeyParams, BTCPublicKey, BTCSignMessageParams, BTCSignTransactionParams, BTCVerifyMessageParams, BleReleaseInfoEvent, BleReleaseInfoPayload, CORE_EVENT, CallMethod, CallMethodAnyResponse, CallMethodKeys, CallMethodPayload, CallMethodResponse, CallMethodUnion, CardanoAddress, CardanoGetAddressMethodParams, CardanoGetAddressParams, CardanoSignTransaction, CardanoSignedTxData, CipheredKeyValue, CipheredKeyValueParams, CommonParams, ConfluxAddress, ConfluxGetAddressParams, ConfluxSignMessageCIP23Params, ConfluxSignMessageParams, ConfluxSignTransactionParams, ConfluxSignedTx, ConfluxTransaction, ConnectSettings, Core, CoreApi, CoreMessage, CosmosAddress, CosmosGetAddressParams, CosmosGetPublicKeyParams, CosmosPublicKey, CosmosSignTransactionParams, CosmosSignedTx, DEFAULT_PRIORITY, DEVICE, DEVICE_EVENT, DataManager, Device$1 as Device, DeviceButtonRequest, DeviceButtonRequestPayload, DeviceChangePinParams, DeviceConnnectRequest, DeviceDisconnnectRequest, DeviceEvent, DeviceEventListenerFn, DeviceEventMessage, DeviceFeaturesPayload, DeviceFirmwareRange, DeviceFlagsParams, DeviceModelToTypes, DeviceRecoveryParams, DeviceResetParams, DeviceSendFeatures, DeviceSendSupportFeatures, DeviceSettingsParams, DeviceStatus, DeviceSupportFeatures, DeviceSupportFeaturesPayload, DeviceTypeMap, DeviceTypeToModels, DeviceUploadResourceParams, DeviceVerifyParams, DeviceVerifySignature, DnxAddress, DnxGetAddressParams, DnxSignTransactionParams, DnxSignature, DnxTxKey, EOneKeyDeviceMode, EVMAccessList, EVMAddress, EVMGetAddressParams, EVMGetPublicKeyParams, EVMPublicKey, EVMSignMessageEIP712Params, EVMSignMessageParams, EVMSignTransactionParams, EVMSignTypedDataParams, EVMSignedTx, EVMTransaction, EVMTransactionEIP1559, EVMVerifyMessageParams, EthereumSignTypedDataMessage, EthereumSignTypedDataTypeProperty, EthereumSignTypedDataTypes, FIRMWARE, FIRMWARE_EVENT, Features, FilecoinAddress, FilecoinGetAddressParams, FilecoinSignTransactionParams, FilecoinSignedTx, FirmwareEvent, FirmwareMessage, FirmwareProgress, FirmwareRange, FirmwareRelease$2 as FirmwareRelease, FirmwareTip, FirmwareUpdateBinaryParams, FirmwareUpdateParams, HardwareSDKLowLevel, HardwareTopLevelSdk, IBLEFirmwareReleaseInfo, IDeviceBLEFirmwareStatus, IDeviceFirmwareStatus, IDeviceModel, IDeviceType, IFRAME, IFirmwareReleaseInfo, IFrameBridge, IFrameCallMessage, IFrameCancelMessage, IFrameEvent, IFrameEventMessage, IFrameInit, ILocale, ITransportStatus, IVersionArray, IVersionRange, KaspaAddress, KaspaGetAddressParams, KaspaSignInputParams, KaspaSignOutputParams, KaspaSignTransactionParams, KaspaSignature, KnownDevice, LOG, LOG_EVENT, LogBlockEvent, LogEvent, LogEventMessage, LogOutput, LoggerNames, LowLevelCoreApi, LowLevelInjectApi, MajorVersion, MethodResponseMessage, NEMAddress, NEMAggregateModificationTransaction, NEMGetAddressParams, NEMImportanceTransaction, NEMMosaic, NEMMosaicCreationTransaction, NEMMultisigTransaction, NEMProvisionNamespaceTransaction, NEMSignTransactionParams, NEMSupplyChangeTransaction, NEMTransaction, NEMTransferTransaction, NearAddress, NearGetAddressParams, NearSignTransactionParams, NervosAddress, NervosGetAddressParams, NervosSignTransactionParams, NervosSignedTx, NexaAddress, NexaGetAddressParams, NexaSignInputParams, NexaSignOutputParams, NexaSignTransactionParams, NexaSignature, OnekeyFeatures, Params, PolkadotAddress, PolkadotGetAddressParams, PolkadotSignTransactionParams, PolkadotSignedTx, PostMessageEvent, PreviousAddressResult, RESPONSE_EVENT, RefTransaction, ReleaseInfo, ReleaseInfoEvent, ReleaseInfoPayload, RemoteConfigResponse, Response, ScdoAddress, ScdoGetAddressParams, ScdoSignMessageParams, ScdoSignTransactionParams, ScdoSignedTx, SearchDevice, SignedTransaction, SolanaAddress, SolanaGetAddressParams, SolanaSignTransactionParams, SolanaSignedTx, StarcoinAddress, StarcoinGetAddressParams, StarcoinGetPublicKeyParams, StarcoinPublicKey, StarcoinSignMessageParams, StarcoinSignTransactionParams, StarcoinVerifyMessageParams, StellarAddress, StellarAsset, StellarGetAddressParams, StellarOperation, StellarSignTransactionParams, StellarTransaction, StrictFeatures, Success, SuiAddress, SuiGetAddressParams, SuiGetPublicKeyParams, SuiPublicKey, SuiSignMessageParams, SuiSignTransactionParams, SuiSignedTx, SupportFeatureType, SupportFeatures, TonAddress, TonGetAddressParams, TonSignMessageParams, TonSignProofParams, TopLevelInjectApi, TransactionOptions, TransportReleaseStatus, TronAddress, TronDelegateResourceContract, TronFreezeBalanceV2Contract, TronGetAddressParams, TronSignMessageParams, TronSignTransactionParams, TronTransaction, TronTransactionContract, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceV2Contract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, UI_EVENT, UI_REQUEST, UI_RESPONSE, UiEvent, UiEventMessage, UiPromise, UiPromiseResponse, UiRequestButton, UiRequestDeviceAction, UiRequestPassphrase, UiRequestPassphraseOnDevice, UiRequestWithoutPayload, UiResponseEvent, UiResponseMessage, UiResponsePassphrase, UiResponsePin, UnavailableCapabilities, UnavailableCapability, Unsuccessful, VersionArray, checkNeedUpdateBootForClassicAndMini, checkNeedUpdateBootForTouch, corsValidator, createDeviceMessage, createErrorMessage, createFirmwareMessage, createIFrameMessage, createLogMessage, createResponseMessage, createUiMessage, createUiResponse, HardwareSdk as default, enableLog, getDeviceBLEFirmwareVersion, getDeviceBleName, getDeviceBoardloaderVersion, getDeviceBootloaderVersion, getDeviceFirmwareVersion, getDeviceLabel, getDeviceType, getDeviceTypeByBleName, getDeviceUUID, getEnv, getFirmwareUpdateField, getHDPath, getHomeScreenDefaultList, getHomeScreenHex, getHomeScreenSize, getLog, getLogger, getMethodVersionRange, getOutputScriptType, getSDKVersion, getScriptType, getTimeStamp, httpRequest, init as initCore, isBleConnect, isValidVersionArray, isValidVersionString, normalizeVersionArray, parseConnectSettings, parseMessage, patchFeatures, safeThrowError, setLoggerPostMessage, supportInputPinOnSoftware, versionCompare, versionSplit, wait, whitelist, whitelistExtension };
2873
+ export { AccountAddress, AccountAddresses, AlephiumAddress, AlephiumGetAddressParams, AlephiumSignMessageParams, AlephiumSignTransactionParams, AlephiumSignedTx, AlgoAddress, AlgoGetAddressParams, AlgoSignTransactionParams, AlgoSignedTx, AllNetworkAddressParams, AllNetworkGetAddressParams, AptosAddress, AptosGetAddressParams, AptosGetPublicKeyParams, AptosMessageSignature, AptosPublicKey, AptosSignMessageParams, AptosSignTransactionParams, AptosSignedTx, AssetsMap, BTCAddress, BTCGetAddressParams, BTCGetPublicKeyParams, BTCPublicKey, BTCSignMessageParams, BTCSignTransactionParams, BTCVerifyMessageParams, BleReleaseInfoEvent, BleReleaseInfoPayload, CORE_EVENT, CallMethod, CallMethodAnyResponse, CallMethodKeys, CallMethodPayload, CallMethodResponse, CallMethodUnion, CardanoAddress, CardanoGetAddressMethodParams, CardanoGetAddressParams, CardanoSignTransaction, CardanoSignedTxData, CipheredKeyValue, CipheredKeyValueParams, CommonParams, ConfluxAddress, ConfluxGetAddressParams, ConfluxSignMessageCIP23Params, ConfluxSignMessageParams, ConfluxSignTransactionParams, ConfluxSignedTx, ConfluxTransaction, ConnectSettings, Core, CoreApi, CoreMessage, CosmosAddress, CosmosGetAddressParams, CosmosGetPublicKeyParams, CosmosPublicKey, CosmosSignTransactionParams, CosmosSignedTx, DEFAULT_PRIORITY, DEVICE, DEVICE_EVENT, DataManager, Device$1 as Device, DeviceButtonRequest, DeviceButtonRequestPayload, DeviceChangePinParams, DeviceConnnectRequest, DeviceDisconnnectRequest, DeviceEvent, DeviceEventListenerFn, DeviceEventMessage, DeviceFeaturesPayload, DeviceFirmwareRange, DeviceFlagsParams, DeviceModelToTypes, DeviceProgress, DeviceRecoveryParams, DeviceResetParams, DeviceSendFeatures, DeviceSendSupportFeatures, DeviceSettingsParams, DeviceStatus, DeviceSupportFeatures, DeviceSupportFeaturesPayload, DeviceTypeMap, DeviceTypeToModels, DeviceUploadResourceParams, DeviceVerifyParams, DeviceVerifySignature, DnxAddress, DnxGetAddressParams, DnxSignTransactionParams, DnxSignature, DnxTxKey, EOneKeyDeviceMode, EVMAccessList, EVMAddress, EVMGetAddressParams, EVMGetPublicKeyParams, EVMPublicKey, EVMSignMessageEIP712Params, EVMSignMessageParams, EVMSignTransactionParams, EVMSignTypedDataParams, EVMSignedTx, EVMTransaction, EVMTransactionEIP1559, EVMVerifyMessageParams, EthereumSignTypedDataMessage, EthereumSignTypedDataTypeProperty, EthereumSignTypedDataTypes, FIRMWARE, FIRMWARE_EVENT, Features, FilecoinAddress, FilecoinGetAddressParams, FilecoinSignTransactionParams, FilecoinSignedTx, FirmwareEvent, FirmwareMessage, FirmwareProgress, FirmwareRange, FirmwareRelease$2 as FirmwareRelease, FirmwareTip, FirmwareUpdateBinaryParams, FirmwareUpdateParams, HardwareSDKLowLevel, HardwareTopLevelSdk, IBLEFirmwareReleaseInfo, IDeviceBLEFirmwareStatus, IDeviceFirmwareStatus, IDeviceModel, IDeviceType, IFRAME, IFirmwareReleaseInfo, IFrameBridge, IFrameCallMessage, IFrameCancelMessage, IFrameEvent, IFrameEventMessage, IFrameInit, ILocale, ITransportStatus, IVersionArray, IVersionRange, KaspaAddress, KaspaGetAddressParams, KaspaSignInputParams, KaspaSignOutputParams, KaspaSignTransactionParams, KaspaSignature, KnownDevice, LOG, LOG_EVENT, LogBlockEvent, LogEvent, LogEventMessage, LogOutput, LoggerNames, LowLevelCoreApi, LowLevelInjectApi, MajorVersion, MethodResponseMessage, NEMAddress, NEMAggregateModificationTransaction, NEMGetAddressParams, NEMImportanceTransaction, NEMMosaic, NEMMosaicCreationTransaction, NEMMultisigTransaction, NEMProvisionNamespaceTransaction, NEMSignTransactionParams, NEMSupplyChangeTransaction, NEMTransaction, NEMTransferTransaction, NearAddress, NearGetAddressParams, NearSignTransactionParams, NervosAddress, NervosGetAddressParams, NervosSignTransactionParams, NervosSignedTx, NexaAddress, NexaGetAddressParams, NexaSignInputParams, NexaSignOutputParams, NexaSignTransactionParams, NexaSignature, OnekeyFeatures, Params, PolkadotAddress, PolkadotGetAddressParams, PolkadotSignTransactionParams, PolkadotSignedTx, PostMessageEvent, PreviousAddressResult, RESPONSE_EVENT, RefTransaction, ReleaseInfo, ReleaseInfoEvent, ReleaseInfoPayload, RemoteConfigResponse, Response, ScdoAddress, ScdoGetAddressParams, ScdoSignMessageParams, ScdoSignTransactionParams, ScdoSignedTx, SearchDevice, SignedTransaction, SolanaAddress, SolanaGetAddressParams, SolanaSignTransactionParams, SolanaSignedTx, StarcoinAddress, StarcoinGetAddressParams, StarcoinGetPublicKeyParams, StarcoinPublicKey, StarcoinSignMessageParams, StarcoinSignTransactionParams, StarcoinVerifyMessageParams, StellarAddress, StellarAsset, StellarGetAddressParams, StellarOperation, StellarSignTransactionParams, StellarTransaction, StrictFeatures, Success, SuiAddress, SuiGetAddressParams, SuiGetPublicKeyParams, SuiPublicKey, SuiSignMessageParams, SuiSignTransactionParams, SuiSignedTx, SupportFeatureType, SupportFeatures, TonAddress, TonGetAddressParams, TonSignMessageParams, TonSignProofParams, TopLevelInjectApi, TransactionOptions, TransportReleaseStatus, TronAddress, TronDelegateResourceContract, TronFreezeBalanceV2Contract, TronGetAddressParams, TronSignMessageParams, TronSignTransactionParams, TronTransaction, TronTransactionContract, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceV2Contract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, UI_EVENT, UI_REQUEST, UI_RESPONSE, UiEvent, UiEventMessage, UiPromise, UiPromiseResponse, UiRequestButton, UiRequestDeviceAction, UiRequestPassphrase, UiRequestPassphraseOnDevice, UiRequestWithoutPayload, UiResponseEvent, UiResponseMessage, UiResponsePassphrase, UiResponsePin, UnavailableCapabilities, UnavailableCapability, Unsuccessful, VersionArray, checkNeedUpdateBootForClassicAndMini, checkNeedUpdateBootForTouch, corsValidator, createDeviceMessage, createErrorMessage, createFirmwareMessage, createIFrameMessage, createLogMessage, createResponseMessage, createUiMessage, createUiResponse, HardwareSdk as default, enableLog, getDeviceBLEFirmwareVersion, getDeviceBleName, getDeviceBoardloaderVersion, getDeviceBootloaderVersion, getDeviceFirmwareVersion, getDeviceLabel, getDeviceType, getDeviceTypeByBleName, getDeviceUUID, getEnv, getFirmwareUpdateField, getHDPath, getHomeScreenDefaultList, getHomeScreenHex, getHomeScreenSize, getLog, getLogger, getMethodVersionRange, getOutputScriptType, getSDKVersion, getScriptType, getTimeStamp, httpRequest, init as initCore, isBleConnect, isValidVersionArray, isValidVersionString, normalizeVersionArray, parseConnectSettings, parseMessage, patchFeatures, safeThrowError, setLoggerPostMessage, supportInputPinOnSoftware, versionCompare, versionSplit, wait, whitelist, whitelistExtension };