@ukeyfe/hardware-core 1.1.14 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/checkBootloaderReleast.test.ts +1 -1
- package/__tests__/evmSignTransaction.test.ts +1 -1
- package/dist/api/FirmwareUpdate.d.ts +1 -1
- package/dist/api/FirmwareUpdateV2.d.ts +1 -1
- package/dist/api/GetFeatures.d.ts +1 -1
- package/dist/api/GetUkeyFeatures.d.ts +1 -1
- package/dist/api/cardano/CardanoSignMessage.d.ts +1 -1
- package/dist/api/device/DeviceRebootToBoardloader.d.ts +1 -1
- package/dist/data/config.d.ts.map +1 -1
- package/dist/index.d.ts +44 -44
- package/dist/index.js +147 -147
- package/dist/types/api/alephiumGetAddress.d.ts +1 -1
- package/dist/types/api/alephiumGetAddress.d.ts.map +1 -1
- package/dist/types/api/algoGetAddress.d.ts +1 -1
- package/dist/types/api/algoGetAddress.d.ts.map +1 -1
- package/dist/types/api/allNetworkGetAddress.d.ts +1 -1
- package/dist/types/api/allNetworkGetAddress.d.ts.map +1 -1
- package/dist/types/api/aptosGetAddress.d.ts +1 -1
- package/dist/types/api/aptosGetAddress.d.ts.map +1 -1
- package/dist/types/api/aptosGetPublicKey.d.ts +1 -1
- package/dist/types/api/aptosGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/benfenGetAddress.d.ts +1 -1
- package/dist/types/api/benfenGetAddress.d.ts.map +1 -1
- package/dist/types/api/benfenGetPublicKey.d.ts +1 -1
- package/dist/types/api/benfenGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/btcGetAddress.d.ts +1 -1
- package/dist/types/api/btcGetAddress.d.ts.map +1 -1
- package/dist/types/api/btcGetPublicKey.d.ts +1 -1
- package/dist/types/api/btcGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/cardanoGetAddress.d.ts +1 -1
- package/dist/types/api/cardanoGetAddress.d.ts.map +1 -1
- package/dist/types/api/cardanoGetPublicKey.d.ts +1 -1
- package/dist/types/api/cardanoGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/confluxGetAddress.d.ts +1 -1
- package/dist/types/api/confluxGetAddress.d.ts.map +1 -1
- package/dist/types/api/cosmosGetAddress.d.ts +1 -1
- package/dist/types/api/cosmosGetAddress.d.ts.map +1 -1
- package/dist/types/api/cosmosGetPublicKey.d.ts +1 -1
- package/dist/types/api/cosmosGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/dnxGetAddress.d.ts +1 -1
- package/dist/types/api/dnxGetAddress.d.ts.map +1 -1
- package/dist/types/api/evmGetAddress.d.ts +1 -1
- package/dist/types/api/evmGetAddress.d.ts.map +1 -1
- package/dist/types/api/evmGetPublicKey.d.ts +1 -1
- package/dist/types/api/evmGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/filecoinGetAddress.d.ts +1 -1
- package/dist/types/api/filecoinGetAddress.d.ts.map +1 -1
- package/dist/types/api/kaspaGetAddress.d.ts +1 -1
- package/dist/types/api/kaspaGetAddress.d.ts.map +1 -1
- package/dist/types/api/nearGetAddress.d.ts +1 -1
- package/dist/types/api/nearGetAddress.d.ts.map +1 -1
- package/dist/types/api/nemGetAddress.d.ts +1 -1
- package/dist/types/api/nemGetAddress.d.ts.map +1 -1
- package/dist/types/api/neoGetAddress.d.ts +1 -1
- package/dist/types/api/neoGetAddress.d.ts.map +1 -1
- package/dist/types/api/nervosGetAddress.d.ts +1 -1
- package/dist/types/api/nervosGetAddress.d.ts.map +1 -1
- package/dist/types/api/nexaGetAddress.d.ts +1 -1
- package/dist/types/api/nexaGetAddress.d.ts.map +1 -1
- package/dist/types/api/nostrDecryptMessage.d.ts +1 -1
- package/dist/types/api/nostrDecryptMessage.d.ts.map +1 -1
- package/dist/types/api/nostrEncryptMessage.d.ts +1 -1
- package/dist/types/api/nostrEncryptMessage.d.ts.map +1 -1
- package/dist/types/api/nostrGetPublicKey.d.ts +1 -1
- package/dist/types/api/nostrGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/polkadotGetAddress.d.ts +1 -1
- package/dist/types/api/polkadotGetAddress.d.ts.map +1 -1
- package/dist/types/api/scdoGetAddress.d.ts +1 -1
- package/dist/types/api/scdoGetAddress.d.ts.map +1 -1
- package/dist/types/api/solGetAddress.d.ts +1 -1
- package/dist/types/api/solGetAddress.d.ts.map +1 -1
- package/dist/types/api/starcoinGetAddress.d.ts +1 -1
- package/dist/types/api/starcoinGetAddress.d.ts.map +1 -1
- package/dist/types/api/starcoinGetPublicKey.d.ts +1 -1
- package/dist/types/api/starcoinGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/stellarGetAddress.d.ts +1 -1
- package/dist/types/api/stellarGetAddress.d.ts.map +1 -1
- package/dist/types/api/suiGetAddress.d.ts +1 -1
- package/dist/types/api/suiGetAddress.d.ts.map +1 -1
- package/dist/types/api/suiGetPublicKey.d.ts +1 -1
- package/dist/types/api/suiGetPublicKey.d.ts.map +1 -1
- package/dist/types/api/tonGetAddress.d.ts +1 -1
- package/dist/types/api/tonGetAddress.d.ts.map +1 -1
- package/dist/types/api/tronGetAddress.d.ts +1 -1
- package/dist/types/api/tronGetAddress.d.ts.map +1 -1
- package/dist/types/api/xrpGetAddress.d.ts +1 -1
- package/dist/types/api/xrpGetAddress.d.ts.map +1 -1
- package/dist/utils/logger.d.ts +12 -12
- package/dist/utils/logger.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/api/alephium/AlephiumGetAddress.ts +3 -3
- package/src/api/algo/AlgoGetAddress.ts +3 -3
- package/src/api/allnetwork/AllNetworkGetAddressBase.ts +19 -19
- package/src/api/aptos/AptosGetAddress.ts +5 -5
- package/src/api/aptos/AptosGetPublicKey.ts +3 -3
- package/src/api/benfen/BenfenGetAddress.ts +5 -5
- package/src/api/benfen/BenfenGetPublicKey.ts +3 -3
- package/src/api/btc/BTCGetAddress.ts +3 -3
- package/src/api/btc/BTCGetPublicKey.ts +3 -3
- package/src/api/cardano/CardanoGetAddress.ts +2 -2
- package/src/api/cardano/CardanoGetPublicKey.ts +2 -2
- package/src/api/conflux/ConfluxGetAddress.ts +3 -3
- package/src/api/cosmos/CosmosGetAddress.ts +3 -3
- package/src/api/cosmos/CosmosGetPublicKey.ts +3 -3
- package/src/api/dynex/DnxGetAddress.ts +3 -3
- package/src/api/evm/EVMGetAddress.ts +3 -3
- package/src/api/evm/EVMGetPublicKey.ts +4 -4
- package/src/api/filecoin/FilecoinGetAddress.ts +3 -3
- package/src/api/kaspa/KaspaGetAddress.ts +3 -3
- package/src/api/near/NearGetAddress.ts +3 -3
- package/src/api/nem/NEMGetAddress.ts +3 -3
- package/src/api/neo/NeoGetAddress.ts +3 -3
- package/src/api/nervos/NervosGetAddress.ts +3 -3
- package/src/api/nexa/NexaGetAddress.ts +3 -3
- package/src/api/nostr/NostrDecryptMessage.ts +2 -2
- package/src/api/nostr/NostrEncryptMessage.ts +2 -2
- package/src/api/nostr/NostrGetPublicKey.ts +3 -3
- package/src/api/polkadot/PolkadotGetAddress.ts +3 -3
- package/src/api/scdo/ScdoGetAddress.ts +3 -3
- package/src/api/solana/SolGetAddress.ts +3 -3
- package/src/api/starcoin/StarcoinGetAddress.ts +3 -3
- package/src/api/starcoin/StarcoinGetPublicKey.ts +3 -3
- package/src/api/stellar/StellarGetAddress.ts +3 -3
- package/src/api/sui/SuiGetAddress.ts +5 -5
- package/src/api/sui/SuiGetPublicKey.ts +3 -3
- package/src/api/ton/TonGetAddress.ts +4 -4
- package/src/api/tron/TronGetAddress.ts +3 -3
- package/src/api/xrp/XrpGetAddress.ts +4 -4
- package/src/data/config.ts +4 -4
- package/src/data-manager/DataManager.ts +2 -2
- package/src/types/api/alephiumGetAddress.ts +1 -1
- package/src/types/api/algoGetAddress.ts +1 -1
- package/src/types/api/allNetworkGetAddress.ts +1 -1
- package/src/types/api/aptosGetAddress.ts +1 -1
- package/src/types/api/aptosGetPublicKey.ts +1 -1
- package/src/types/api/benfenGetAddress.ts +1 -1
- package/src/types/api/benfenGetPublicKey.ts +1 -1
- package/src/types/api/btcGetAddress.ts +1 -1
- package/src/types/api/btcGetPublicKey.ts +1 -1
- package/src/types/api/cardanoGetAddress.ts +1 -1
- package/src/types/api/cardanoGetPublicKey.ts +1 -1
- package/src/types/api/confluxGetAddress.ts +1 -1
- package/src/types/api/cosmosGetAddress.ts +1 -1
- package/src/types/api/cosmosGetPublicKey.ts +1 -1
- package/src/types/api/dnxGetAddress.ts +1 -1
- package/src/types/api/evmGetAddress.ts +1 -1
- package/src/types/api/evmGetPublicKey.ts +1 -1
- package/src/types/api/filecoinGetAddress.ts +1 -1
- package/src/types/api/kaspaGetAddress.ts +1 -1
- package/src/types/api/nearGetAddress.ts +1 -1
- package/src/types/api/nemGetAddress.ts +1 -1
- package/src/types/api/neoGetAddress.ts +1 -1
- package/src/types/api/nervosGetAddress.ts +1 -1
- package/src/types/api/nexaGetAddress.ts +1 -1
- package/src/types/api/nostrDecryptMessage.ts +1 -1
- package/src/types/api/nostrEncryptMessage.ts +1 -1
- package/src/types/api/nostrGetPublicKey.ts +1 -1
- package/src/types/api/polkadotGetAddress.ts +1 -1
- package/src/types/api/scdoGetAddress.ts +1 -1
- package/src/types/api/solGetAddress.ts +1 -1
- package/src/types/api/starcoinGetAddress.ts +1 -1
- package/src/types/api/starcoinGetPublicKey.ts +1 -1
- package/src/types/api/stellarGetAddress.ts +1 -1
- package/src/types/api/suiGetAddress.ts +1 -1
- package/src/types/api/suiGetPublicKey.ts +1 -1
- package/src/types/api/tonGetAddress.ts +1 -1
- package/src/types/api/tronGetAddress.ts +1 -1
- package/src/types/api/xrpGetAddress.ts +1 -1
- package/src/utils/logger.ts +6 -6
|
@@ -4,7 +4,7 @@ import { shouldUpdateBootloaderForClassicAndMini } from '../src/api/firmware/boo
|
|
|
4
4
|
// Add mock for config module
|
|
5
5
|
jest.mock('../src/data/config', () => ({
|
|
6
6
|
getSDKVersion: () => '1.0.0',
|
|
7
|
-
DEFAULT_DOMAIN: 'https://jssdk.
|
|
7
|
+
DEFAULT_DOMAIN: 'https://jssdk.sanying.site/1.0.0/',
|
|
8
8
|
}));
|
|
9
9
|
|
|
10
10
|
const fixtures = [
|
|
@@ -4,7 +4,7 @@ import { EVMTransactionEIP7702 } from '../src/types';
|
|
|
4
4
|
// Mock the config module to avoid package.json resolution issues
|
|
5
5
|
jest.mock('../src/data/config', () => ({
|
|
6
6
|
getSDKVersion: jest.fn(() => '1.0.0'),
|
|
7
|
-
DEFAULT_DOMAIN: 'https://jssdk.
|
|
7
|
+
DEFAULT_DOMAIN: 'https://jssdk.sanying.site/1.0.0/',
|
|
8
8
|
}));
|
|
9
9
|
|
|
10
10
|
// Mock the device and transport manager
|
|
@@ -10,7 +10,7 @@ export default class FirmwareUpdate extends BaseMethod<Params> {
|
|
|
10
10
|
init(): void;
|
|
11
11
|
postTipMessage: (message: string) => void;
|
|
12
12
|
checkDeviceToBootloader(connectId: string | undefined): void;
|
|
13
|
-
run(): Promise<import("packages/
|
|
13
|
+
run(): Promise<import("packages/hardware-transport/dist").Success>;
|
|
14
14
|
}
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=FirmwareUpdate.d.ts.map
|
|
@@ -18,7 +18,7 @@ export default class FirmwareUpdateV2 extends BaseMethod<Params> {
|
|
|
18
18
|
isEnteredManuallyBoot(features: Features): boolean;
|
|
19
19
|
isSupportResourceUpdate(features: Features, updateType: string): boolean;
|
|
20
20
|
checkVersionForCopyTouchResource(features?: Features): void;
|
|
21
|
-
run(): Promise<import("packages/
|
|
21
|
+
run(): Promise<import("packages/hardware-transport/dist").Success>;
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=FirmwareUpdateV2.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseMethod } from './BaseMethod';
|
|
2
2
|
export default class GetFeatures extends BaseMethod {
|
|
3
3
|
init(): void;
|
|
4
|
-
run(): Promise<import("packages/
|
|
4
|
+
run(): Promise<import("packages/hardware-transport/dist").Features | undefined>;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=GetFeatures.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseMethod } from './BaseMethod';
|
|
2
2
|
export default class GetUkeyFeatures extends BaseMethod {
|
|
3
3
|
init(): void;
|
|
4
|
-
run(): Promise<import("packages/
|
|
4
|
+
run(): Promise<import("packages/hardware-transport/dist").UkeyFeatures>;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=GetUkeyFeatures.d.ts.map
|
|
@@ -14,6 +14,6 @@ export default class CardanoSignMessage extends BaseMethod<CardanoSignMessagePar
|
|
|
14
14
|
min: string;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
run(): Promise<import("packages/
|
|
17
|
+
run(): Promise<import("packages/hardware-transport/dist").CardanoMessageSignature>;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=CardanoSignMessage.d.ts.map
|
|
@@ -10,6 +10,6 @@ export default class DeviceRebootToBoardloader extends BaseMethod<RebootToBoardl
|
|
|
10
10
|
min: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
run(): Promise<import("packages/
|
|
13
|
+
run(): Promise<import("packages/hardware-transport/dist").Success>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=DeviceRebootToBoardloader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/data/config.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,WAAoB,CAAC;AAC/C,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/data/config.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,WAAoB,CAAC;AAC/C,eAAO,MAAM,cAAc,QAAmD,CAAC;AAE/E,eAAO,MAAM,SAAS;;GASrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAO9B,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -662,7 +662,7 @@ type AllNetworkAddressParams = {
|
|
|
662
662
|
network: INetwork;
|
|
663
663
|
chainName?: string;
|
|
664
664
|
prefix?: string;
|
|
665
|
-
|
|
665
|
+
showOnUKey?: boolean;
|
|
666
666
|
includePublicKey?: boolean;
|
|
667
667
|
group?: string;
|
|
668
668
|
useTweak?: boolean;
|
|
@@ -724,7 +724,7 @@ type EVMAddress = {
|
|
|
724
724
|
};
|
|
725
725
|
type EVMGetAddressParams = {
|
|
726
726
|
path: string | number[];
|
|
727
|
-
|
|
727
|
+
showOnUKey?: boolean;
|
|
728
728
|
chainId?: number;
|
|
729
729
|
};
|
|
730
730
|
declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & EVMGetAddressParams): Response<EVMAddress>;
|
|
@@ -739,7 +739,7 @@ type EVMPublicKey = {
|
|
|
739
739
|
} & EthereumPublicKey;
|
|
740
740
|
type EVMGetPublicKeyParams = {
|
|
741
741
|
path: string | number[];
|
|
742
|
-
|
|
742
|
+
showOnUKey?: boolean;
|
|
743
743
|
chainId?: number;
|
|
744
744
|
useBatch?: boolean;
|
|
745
745
|
};
|
|
@@ -878,7 +878,7 @@ type BTCAddress = {
|
|
|
878
878
|
type BTCGetAddressParams = {
|
|
879
879
|
path: string | number[];
|
|
880
880
|
coin?: string;
|
|
881
|
-
|
|
881
|
+
showOnUKey?: boolean;
|
|
882
882
|
multisig?: MultisigRedeemScriptType;
|
|
883
883
|
scriptType?: InputScriptType;
|
|
884
884
|
};
|
|
@@ -894,7 +894,7 @@ type BTCPublicKey = {
|
|
|
894
894
|
type BTCGetPublicKeyParams = {
|
|
895
895
|
path: string | number[];
|
|
896
896
|
coin?: string;
|
|
897
|
-
|
|
897
|
+
showOnUKey?: boolean;
|
|
898
898
|
scriptType?: InputScriptType;
|
|
899
899
|
};
|
|
900
900
|
declare function btcGetPublicKey(connectId: string, deviceId: string, params: CommonParams & BTCGetPublicKeyParams): Response<BTCPublicKey>;
|
|
@@ -1002,7 +1002,7 @@ type StarcoinAddress = {
|
|
|
1002
1002
|
} & StarcoinAddress$1;
|
|
1003
1003
|
type StarcoinGetAddressParams = {
|
|
1004
1004
|
path: string | number[];
|
|
1005
|
-
|
|
1005
|
+
showOnUKey?: boolean;
|
|
1006
1006
|
};
|
|
1007
1007
|
declare function starcoinGetAddress(connectId: string, deviceId: string, params: CommonParams & StarcoinGetAddressParams): Response<StarcoinAddress>;
|
|
1008
1008
|
declare function starcoinGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1014,7 +1014,7 @@ type StarcoinPublicKey = {
|
|
|
1014
1014
|
} & StarcoinPublicKey$1;
|
|
1015
1015
|
type StarcoinGetPublicKeyParams = {
|
|
1016
1016
|
path: string | number[];
|
|
1017
|
-
|
|
1017
|
+
showOnUKey?: boolean;
|
|
1018
1018
|
};
|
|
1019
1019
|
declare function starcoinGetPublicKey(connectId: string, deviceId: string, params: CommonParams & StarcoinGetPublicKeyParams): Response<StarcoinPublicKey>;
|
|
1020
1020
|
declare function starcoinGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1046,7 +1046,7 @@ type NEMAddress = {
|
|
|
1046
1046
|
type NEMGetAddressParams = {
|
|
1047
1047
|
path: string | number[];
|
|
1048
1048
|
network?: number;
|
|
1049
|
-
|
|
1049
|
+
showOnUKey?: boolean;
|
|
1050
1050
|
};
|
|
1051
1051
|
declare function nemGetAddress(connectId: string, deviceId: string, params: CommonParams & NEMGetAddressParams): Response<NEMAddress>;
|
|
1052
1052
|
declare function nemGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1148,7 +1148,7 @@ type SolanaAddress = {
|
|
|
1148
1148
|
} & SolanaAddress$1;
|
|
1149
1149
|
type SolanaGetAddressParams = {
|
|
1150
1150
|
path: string | number[];
|
|
1151
|
-
|
|
1151
|
+
showOnUKey?: boolean;
|
|
1152
1152
|
};
|
|
1153
1153
|
declare function solGetAddress(connectId: string, deviceId: string, params: CommonParams & SolanaGetAddressParams): Response<SolanaAddress>;
|
|
1154
1154
|
declare function solGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1195,7 +1195,7 @@ type StellarAddress = {
|
|
|
1195
1195
|
} & StellarAddress$1;
|
|
1196
1196
|
type StellarGetAddressParams = {
|
|
1197
1197
|
path: string | number[];
|
|
1198
|
-
|
|
1198
|
+
showOnUKey?: boolean;
|
|
1199
1199
|
};
|
|
1200
1200
|
declare function stellarGetAddress(connectId: string, deviceId: string, params: CommonParams & StellarGetAddressParams): Response<StellarAddress>;
|
|
1201
1201
|
declare function stellarGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1333,7 +1333,7 @@ type TronAddress = {
|
|
|
1333
1333
|
} & TronAddress$1;
|
|
1334
1334
|
type TronGetAddressParams = {
|
|
1335
1335
|
path: string | number[];
|
|
1336
|
-
|
|
1336
|
+
showOnUKey?: boolean;
|
|
1337
1337
|
};
|
|
1338
1338
|
declare function tronGetAddress(connectId: string, deviceId: string, params: CommonParams & TronGetAddressParams): Response<TronAddress>;
|
|
1339
1339
|
declare function tronGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1423,7 +1423,7 @@ type ConfluxAddress = {
|
|
|
1423
1423
|
type ConfluxGetAddressParams = {
|
|
1424
1424
|
path: string | number[];
|
|
1425
1425
|
chainId?: number;
|
|
1426
|
-
|
|
1426
|
+
showOnUKey?: boolean;
|
|
1427
1427
|
};
|
|
1428
1428
|
declare function confluxGetAddress(connectId: string, deviceId: string, params: CommonParams & ConfluxGetAddressParams): Response<ConfluxAddress>;
|
|
1429
1429
|
declare function confluxGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1472,7 +1472,7 @@ type NearAddress = {
|
|
|
1472
1472
|
} & NearAddress$1;
|
|
1473
1473
|
type NearGetAddressParams = {
|
|
1474
1474
|
path: string | number[];
|
|
1475
|
-
|
|
1475
|
+
showOnUKey?: boolean;
|
|
1476
1476
|
};
|
|
1477
1477
|
declare function nearGetAddress(connectId: string, deviceId: string, params: CommonParams & NearGetAddressParams): Response<NearAddress>;
|
|
1478
1478
|
declare function nearGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1492,7 +1492,7 @@ type AptosAddress = {
|
|
|
1492
1492
|
} & AptosAddress$1;
|
|
1493
1493
|
type AptosGetAddressParams = {
|
|
1494
1494
|
path: string | number[];
|
|
1495
|
-
|
|
1495
|
+
showOnUKey?: boolean;
|
|
1496
1496
|
};
|
|
1497
1497
|
declare function aptosGetAddress(connectId: string, deviceId: string, params: CommonParams & AptosGetAddressParams): Response<AptosAddress>;
|
|
1498
1498
|
declare function aptosGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1506,7 +1506,7 @@ type AptosPublicKey = {
|
|
|
1506
1506
|
};
|
|
1507
1507
|
type AptosGetPublicKeyParams = {
|
|
1508
1508
|
path: string | number[];
|
|
1509
|
-
|
|
1509
|
+
showOnUKey?: boolean;
|
|
1510
1510
|
};
|
|
1511
1511
|
declare function aptosGetPublicKey(connectId: string, deviceId: string, params: CommonParams & AptosGetPublicKeyParams): Response<AptosPublicKey>;
|
|
1512
1512
|
declare function aptosGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1554,7 +1554,7 @@ type AlgoAddress = {
|
|
|
1554
1554
|
} & AlgorandAddress;
|
|
1555
1555
|
type AlgoGetAddressParams = {
|
|
1556
1556
|
path: string | number[];
|
|
1557
|
-
|
|
1557
|
+
showOnUKey?: boolean;
|
|
1558
1558
|
};
|
|
1559
1559
|
declare function algoGetAddress(connectId: string, deviceId: string, params: CommonParams & AlgoGetAddressParams): Response<AlgoAddress>;
|
|
1560
1560
|
declare function algoGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1576,7 +1576,7 @@ type CosmosAddress = {
|
|
|
1576
1576
|
type CosmosGetAddressParams = {
|
|
1577
1577
|
path: string | number[];
|
|
1578
1578
|
hrp?: string;
|
|
1579
|
-
|
|
1579
|
+
showOnUKey?: boolean;
|
|
1580
1580
|
};
|
|
1581
1581
|
declare function cosmosGetAddress(connectId: string, deviceId: string, params: CommonParams & CosmosGetAddressParams): Response<CosmosAddress>;
|
|
1582
1582
|
declare function cosmosGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1591,7 +1591,7 @@ type CosmosPublicKey = {
|
|
|
1591
1591
|
type CosmosGetPublicKeyParams = {
|
|
1592
1592
|
path: string | number[];
|
|
1593
1593
|
curve?: string;
|
|
1594
|
-
|
|
1594
|
+
showOnUKey?: boolean;
|
|
1595
1595
|
};
|
|
1596
1596
|
declare function cosmosGetPublicKey(connectId: string, deviceId: string, params: CommonParams & CosmosGetPublicKeyParams): Response<CosmosPublicKey>;
|
|
1597
1597
|
declare function cosmosGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1615,7 +1615,7 @@ type XrpAddress = {
|
|
|
1615
1615
|
};
|
|
1616
1616
|
type XrpGetAddressParams = {
|
|
1617
1617
|
path: string | number[];
|
|
1618
|
-
|
|
1618
|
+
showOnUKey?: boolean;
|
|
1619
1619
|
};
|
|
1620
1620
|
declare function xrpGetAddress(connectId: string, deviceId: string, params: CommonParams & XrpGetAddressParams): Response<XrpAddress>;
|
|
1621
1621
|
declare function xrpGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1647,7 +1647,7 @@ type SuiAddress = {
|
|
|
1647
1647
|
} & SuiAddress$1;
|
|
1648
1648
|
type SuiGetAddressParams = {
|
|
1649
1649
|
path: string | number[];
|
|
1650
|
-
|
|
1650
|
+
showOnUKey?: boolean;
|
|
1651
1651
|
};
|
|
1652
1652
|
declare function suiGetAddress(connectId: string, deviceId: string, params: CommonParams & SuiGetAddressParams): Response<SuiAddress>;
|
|
1653
1653
|
declare function suiGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1661,7 +1661,7 @@ type SuiPublicKey = {
|
|
|
1661
1661
|
};
|
|
1662
1662
|
type SuiGetPublicKeyParams = {
|
|
1663
1663
|
path: string | number[];
|
|
1664
|
-
|
|
1664
|
+
showOnUKey?: boolean;
|
|
1665
1665
|
};
|
|
1666
1666
|
declare function suiGetPublicKey(connectId: string, deviceId: string, params: CommonParams & SuiGetPublicKeyParams): Response<SuiPublicKey>;
|
|
1667
1667
|
declare function suiGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1690,7 +1690,7 @@ type CardanoGetAddressMethodParams = {
|
|
|
1690
1690
|
derivationType: number;
|
|
1691
1691
|
address?: string;
|
|
1692
1692
|
isCheck?: boolean;
|
|
1693
|
-
|
|
1693
|
+
showOnUKey: boolean;
|
|
1694
1694
|
};
|
|
1695
1695
|
type CardanoGetAddressParams = {
|
|
1696
1696
|
address_parameters: CardanoAddressParametersType;
|
|
@@ -1724,7 +1724,7 @@ type CardanoPublicKey = {
|
|
|
1724
1724
|
type CardanoPublicKeyMethodParams = {
|
|
1725
1725
|
path: string | number[];
|
|
1726
1726
|
derivationType?: number;
|
|
1727
|
-
|
|
1727
|
+
showOnUKey?: boolean;
|
|
1728
1728
|
};
|
|
1729
1729
|
declare function cardanoGetPublicKey(connectId: string, deviceId: string, params: CommonParams & CardanoPublicKeyMethodParams): Response<CardanoPublicKey>;
|
|
1730
1730
|
declare function cardanoGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1754,7 +1754,7 @@ type FilecoinAddress = {
|
|
|
1754
1754
|
} & FilecoinAddress$1;
|
|
1755
1755
|
type FilecoinGetAddressParams = {
|
|
1756
1756
|
path: string | number[];
|
|
1757
|
-
|
|
1757
|
+
showOnUKey?: boolean;
|
|
1758
1758
|
isTestnet?: boolean;
|
|
1759
1759
|
};
|
|
1760
1760
|
declare function filecoinGetAddress(connectId: string, deviceId: string, params: CommonParams & FilecoinGetAddressParams): Response<FilecoinAddress>;
|
|
@@ -1784,7 +1784,7 @@ type PolkadotGetAddressParams = {
|
|
|
1784
1784
|
path: string | number[];
|
|
1785
1785
|
prefix: number;
|
|
1786
1786
|
network: string;
|
|
1787
|
-
|
|
1787
|
+
showOnUKey?: boolean;
|
|
1788
1788
|
};
|
|
1789
1789
|
declare function polkadotGetAddress(connectId: string, deviceId: string, params: CommonParams & PolkadotGetAddressParams): Response<PolkadotAddress>;
|
|
1790
1790
|
declare function polkadotGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1808,7 +1808,7 @@ type KaspaGetAddressParams = {
|
|
|
1808
1808
|
path: string | number[];
|
|
1809
1809
|
prefix?: string;
|
|
1810
1810
|
scheme?: string;
|
|
1811
|
-
|
|
1811
|
+
showOnUKey?: boolean;
|
|
1812
1812
|
useTweak?: boolean;
|
|
1813
1813
|
};
|
|
1814
1814
|
declare function kaspaGetAddress(connectId: string, deviceId: string, params: CommonParams & KaspaGetAddressParams): Response<KaspaAddress>;
|
|
@@ -1867,7 +1867,7 @@ type NexaGetAddressParams = {
|
|
|
1867
1867
|
path: string | number[];
|
|
1868
1868
|
prefix?: string;
|
|
1869
1869
|
scheme?: string;
|
|
1870
|
-
|
|
1870
|
+
showOnUKey?: boolean;
|
|
1871
1871
|
};
|
|
1872
1872
|
declare function nexaGetAddress(connectId: string, deviceId: string, params: CommonParams & NexaGetAddressParams): Response<NexaAddress>;
|
|
1873
1873
|
declare function nexaGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1901,7 +1901,7 @@ type NostrPublicKey = {
|
|
|
1901
1901
|
};
|
|
1902
1902
|
interface NostrPublicKeyParams {
|
|
1903
1903
|
path: string | number[];
|
|
1904
|
-
|
|
1904
|
+
showOnUKey?: boolean;
|
|
1905
1905
|
}
|
|
1906
1906
|
declare function nostrGetPublicKey(connectId: string, deviceId: string, params: CommonParams & NostrPublicKeyParams): Response<NostrPublicKey>;
|
|
1907
1907
|
declare function nostrGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -1955,7 +1955,7 @@ interface NostrEncryptMessageParams {
|
|
|
1955
1955
|
path: string | number[];
|
|
1956
1956
|
pubkey: string;
|
|
1957
1957
|
plaintext: string;
|
|
1958
|
-
|
|
1958
|
+
showOnUKey?: boolean;
|
|
1959
1959
|
}
|
|
1960
1960
|
type NostrEncryptedMessageResponse = {
|
|
1961
1961
|
path: string;
|
|
@@ -1969,7 +1969,7 @@ interface NostrDecryptMessageParams {
|
|
|
1969
1969
|
path: string | number[];
|
|
1970
1970
|
pubkey: string;
|
|
1971
1971
|
ciphertext: string;
|
|
1972
|
-
|
|
1972
|
+
showOnUKey?: boolean;
|
|
1973
1973
|
}
|
|
1974
1974
|
type NostrDecryptedMessageResponse = {
|
|
1975
1975
|
path: string;
|
|
@@ -2008,7 +2008,7 @@ type NervosAddress = {
|
|
|
2008
2008
|
type NervosGetAddressParams = {
|
|
2009
2009
|
path: string | number[];
|
|
2010
2010
|
network: string;
|
|
2011
|
-
|
|
2011
|
+
showOnUKey?: boolean;
|
|
2012
2012
|
};
|
|
2013
2013
|
declare function nervosGetAddress(connectId: string, deviceId: string, params: CommonParams & NervosGetAddressParams): Response<NervosAddress>;
|
|
2014
2014
|
declare function nervosGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -2031,7 +2031,7 @@ type DnxAddress = {
|
|
|
2031
2031
|
} & DnxAddress$1;
|
|
2032
2032
|
type DnxGetAddressParams = {
|
|
2033
2033
|
path: string | number[];
|
|
2034
|
-
|
|
2034
|
+
showOnUKey?: boolean;
|
|
2035
2035
|
};
|
|
2036
2036
|
declare function dnxGetAddress(connectId: string, deviceId: string, params: CommonParams & DnxGetAddressParams): Response<DnxAddress>;
|
|
2037
2037
|
declare function dnxGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -2073,7 +2073,7 @@ type TonAddress = {
|
|
|
2073
2073
|
};
|
|
2074
2074
|
type TonGetAddressParams = {
|
|
2075
2075
|
path: string | number[];
|
|
2076
|
-
|
|
2076
|
+
showOnUKey?: boolean;
|
|
2077
2077
|
walletVersion?: TonWalletVersion;
|
|
2078
2078
|
isBounceable?: boolean;
|
|
2079
2079
|
isTestnetOnly?: boolean;
|
|
@@ -2132,7 +2132,7 @@ type ScdoAddress = {
|
|
|
2132
2132
|
} & ScdoAddress$1;
|
|
2133
2133
|
type ScdoGetAddressParams = {
|
|
2134
2134
|
path: string | number[];
|
|
2135
|
-
|
|
2135
|
+
showOnUKey?: boolean;
|
|
2136
2136
|
};
|
|
2137
2137
|
declare function scdoGetAddress(connectId: string, deviceId: string, params: CommonParams & ScdoGetAddressParams): Response<ScdoAddress>;
|
|
2138
2138
|
declare function scdoGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -2170,7 +2170,7 @@ type AlephiumAddress = {
|
|
|
2170
2170
|
};
|
|
2171
2171
|
type AlephiumGetAddressParams = {
|
|
2172
2172
|
path: string | number[];
|
|
2173
|
-
|
|
2173
|
+
showOnUKey?: boolean;
|
|
2174
2174
|
includePublicKey?: boolean;
|
|
2175
2175
|
group: number | undefined | null;
|
|
2176
2176
|
};
|
|
@@ -2202,7 +2202,7 @@ type BenfenAddress = {
|
|
|
2202
2202
|
} & BenfenAddress$1;
|
|
2203
2203
|
type BenfenGetAddressParams = {
|
|
2204
2204
|
path: string | number[];
|
|
2205
|
-
|
|
2205
|
+
showOnUKey?: boolean;
|
|
2206
2206
|
};
|
|
2207
2207
|
declare function benfenGetAddress(connectId: string, deviceId: string, params: CommonParams & BenfenGetAddressParams): Response<BenfenAddress>;
|
|
2208
2208
|
declare function benfenGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -2215,7 +2215,7 @@ type BenfenPublicKey = {
|
|
|
2215
2215
|
};
|
|
2216
2216
|
type BenfenGetPublicKeyParams = {
|
|
2217
2217
|
path: string | number[];
|
|
2218
|
-
|
|
2218
|
+
showOnUKey?: boolean;
|
|
2219
2219
|
};
|
|
2220
2220
|
declare function benfenGetPublicKey(connectId: string, deviceId: string, params: CommonParams & BenfenGetPublicKeyParams): Response<BenfenPublicKey>;
|
|
2221
2221
|
declare function benfenGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -2246,7 +2246,7 @@ type NeoAddress = {
|
|
|
2246
2246
|
};
|
|
2247
2247
|
type NeoGetAddressParams = {
|
|
2248
2248
|
path: string | number[];
|
|
2249
|
-
|
|
2249
|
+
showOnUKey?: boolean;
|
|
2250
2250
|
};
|
|
2251
2251
|
declare function neoGetAddress(connectId: string, deviceId: string, params: CommonParams & NeoGetAddressParams): Response<NeoAddress>;
|
|
2252
2252
|
declare function neoGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
@@ -3130,7 +3130,7 @@ declare const enableLog: (enabled?: boolean) => void;
|
|
|
3130
3130
|
declare const getLog: () => LogMessage[];
|
|
3131
3131
|
declare const setLoggerPostMessage: (postMessageFn: (message: CoreMessage) => void) => void;
|
|
3132
3132
|
declare enum LoggerNames {
|
|
3133
|
-
Core = "@ukey/
|
|
3133
|
+
Core = "@ukey/hardware-core",
|
|
3134
3134
|
Transport = "Transport",
|
|
3135
3135
|
Device = "Device",
|
|
3136
3136
|
DeviceCommands = "DeviceCommands",
|
|
@@ -3138,11 +3138,11 @@ declare enum LoggerNames {
|
|
|
3138
3138
|
DeviceList = "DeviceList",
|
|
3139
3139
|
DevicePool = "DevicePool",
|
|
3140
3140
|
HdCommonConnectSdk = "@ukey/common-connect-sdk",
|
|
3141
|
-
HdBleSdk = "@ukey/
|
|
3142
|
-
HdTransportHttp = "@ukey/
|
|
3143
|
-
HdTransportLowLevel = "@ukey/
|
|
3144
|
-
HdBleTransport = "@ukey/
|
|
3145
|
-
HdWebBleTransport = "@ukey/
|
|
3141
|
+
HdBleSdk = "@ukey/hardware-ble-sdk",
|
|
3142
|
+
HdTransportHttp = "@ukey/hardware-transport-http",
|
|
3143
|
+
HdTransportLowLevel = "@ukey/hardware-transport-lowlevel",
|
|
3144
|
+
HdBleTransport = "@ukey/hardware-ble-transport",
|
|
3145
|
+
HdWebBleTransport = "@ukey/hardware-web-ble-transport",
|
|
3146
3146
|
Connect = "@ukey/connect",
|
|
3147
3147
|
Iframe = "IFrame",
|
|
3148
3148
|
SendMessage = "[SendMessage]",
|