@trezor/connect 9.4.1 → 9.4.2-beta.2
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/CHANGELOG.md +54 -9
- package/README.md +1 -1
- package/lib/api/bitcoin/inputs.js +1 -1
- package/lib/api/cardano/cardanoInputs.d.ts +7 -7
- package/lib/api/cardano/cardanoOutputs.d.ts +22 -22
- package/lib/api/cardano/cardanoTokenBundle.d.ts +5 -5
- package/lib/api/ethereum/api/ethereumSignTypedData.d.ts +56 -56
- package/lib/api/ethereum/ethereumDefinitions.d.ts +20 -20
- package/lib/backend/Blockchain.js +10 -3
- package/lib/constants/nem.d.ts +3 -3
- package/lib/core/index.js +25 -14
- package/lib/data/connectSettings.js +3 -0
- package/lib/data/deviceAuthenticityConfigTypes.d.ts +23 -23
- package/lib/data/version.d.ts +1 -1
- package/lib/data/version.js +1 -1
- package/lib/device/Device.d.ts +17 -13
- package/lib/device/Device.js +22 -16
- package/lib/device/DeviceCommands.d.ts +40 -10
- package/lib/device/DeviceCommands.js +25 -90
- package/lib/device/DeviceList.d.ts +5 -2
- package/lib/device/DeviceList.js +35 -11
- package/lib/device/prompts.d.ts +15 -0
- package/lib/device/prompts.js +63 -0
- package/lib/events/call.d.ts +4 -2
- package/lib/events/call.js +8 -1
- package/lib/events/core.js +1 -0
- package/lib/events/ui-response.d.ts +3 -3
- package/lib/index.js +2 -2
- package/lib/types/api/applySettings.d.ts +13 -13
- package/lib/types/api/authenticateDevice.d.ts +24 -24
- package/lib/types/api/authorizeCoinjoin.d.ts +9 -9
- package/lib/types/api/binance/index.d.ts +142 -142
- package/lib/types/api/bitcoin/index.d.ts +10 -10
- package/lib/types/api/cancelCoinjoinAuthorization.d.ts +1 -1
- package/lib/types/api/cardano/index.d.ts +507 -507
- package/lib/types/api/changeLanguage.d.ts +6 -6
- package/lib/types/api/cipherKeyValue.d.ts +7 -7
- package/lib/types/api/eos/index.d.ts +525 -525
- package/lib/types/api/ethereum/index.d.ts +100 -100
- package/lib/types/api/firmwareUpdate.d.ts +5 -5
- package/lib/types/api/getAccountDescriptor.d.ts +4 -4
- package/lib/types/api/getAddress.d.ts +32 -32
- package/lib/types/api/getOwnershipId.d.ts +24 -24
- package/lib/types/api/getOwnershipProof.d.ts +28 -28
- package/lib/types/api/getPublicKey.d.ts +23 -23
- package/lib/types/api/nem/index.d.ts +611 -611
- package/lib/types/api/nemGetAddress.d.ts +6 -6
- package/lib/types/api/pushTransaction.d.ts +3 -3
- package/lib/types/api/recoveryDevice.d.ts +9 -9
- package/lib/types/api/requestLogin.d.ts +25 -25
- package/lib/types/api/ripple/index.d.ts +21 -21
- package/lib/types/api/solana/index.d.ts +23 -23
- package/lib/types/api/stellar/index.d.ts +581 -581
- package/lib/types/api/tezos/index.d.ts +120 -120
- package/lib/types/api/unlockPath.d.ts +2 -2
- package/lib/types/coinInfo.d.ts +224 -224
- package/lib/types/fees.d.ts +19 -19
- package/lib/types/firmware.d.ts +1 -1
- package/lib/types/params.d.ts +24 -20
- package/lib/types/settings.d.ts +4 -0
- package/package.json +4 -4
|
@@ -2,14 +2,14 @@ import { Static } from '@trezor/schema-utils';
|
|
|
2
2
|
import type { Params, Response } from '../params';
|
|
3
3
|
import { PROTO } from '../../constants';
|
|
4
4
|
export type ChangeLanguage = Static<typeof ChangeLanguage>;
|
|
5
|
-
export declare const ChangeLanguage: import("@sinclair/typebox
|
|
6
|
-
binary: import("@sinclair/typebox
|
|
7
|
-
language: import("@sinclair/typebox
|
|
8
|
-
baseUrl: import("@sinclair/typebox
|
|
5
|
+
export declare const ChangeLanguage: import("@sinclair/typebox").TUnion<[import("@trezor/schema-utils").TObject<{
|
|
6
|
+
binary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUndefined>;
|
|
7
|
+
language: import("@sinclair/typebox").TString;
|
|
8
|
+
baseUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
9
9
|
}>, import("@trezor/schema-utils").TObject<{
|
|
10
10
|
binary: import("@trezor/schema-utils/lib/custom-types/array-buffer").TArrayBuffer;
|
|
11
|
-
language: import("@sinclair/typebox
|
|
12
|
-
baseUrl: import("@sinclair/typebox
|
|
11
|
+
language: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUndefined>;
|
|
12
|
+
baseUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUndefined>;
|
|
13
13
|
}>]>;
|
|
14
14
|
export declare function changeLanguage(params: Params<ChangeLanguage>): Response<PROTO.Success>;
|
|
15
15
|
//# sourceMappingURL=changeLanguage.d.ts.map
|
|
@@ -2,13 +2,13 @@ import { Params, BundledParams, Response } from '../params';
|
|
|
2
2
|
import { Static } from '@trezor/schema-utils';
|
|
3
3
|
export type CipherKeyValue = Static<typeof CipherKeyValue>;
|
|
4
4
|
export declare const CipherKeyValue: import("@trezor/schema-utils").TObject<{
|
|
5
|
-
path: import("@sinclair/typebox
|
|
6
|
-
key: import("@sinclair/typebox
|
|
7
|
-
value: import("@sinclair/typebox
|
|
8
|
-
encrypt: import("@sinclair/typebox
|
|
9
|
-
askOnEncrypt: import("@sinclair/typebox
|
|
10
|
-
askOnDecrypt: import("@sinclair/typebox
|
|
11
|
-
iv: import("@sinclair/typebox
|
|
5
|
+
path: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TNumber>]>;
|
|
6
|
+
key: import("@sinclair/typebox").TString;
|
|
7
|
+
value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@trezor/schema-utils/lib/custom-types/buffer").TBuffer]>;
|
|
8
|
+
encrypt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
9
|
+
askOnEncrypt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
10
|
+
askOnDecrypt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11
|
+
iv: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@trezor/schema-utils/lib/custom-types/buffer").TBuffer]>>;
|
|
12
12
|
}>;
|
|
13
13
|
export interface CipheredValue {
|
|
14
14
|
value: string;
|