mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-21 14:47:12 +01:00
feat(protobuf): use protobuf messages based on schema
chore(protobuf): remove `bytebuffer` dependency fix(connect): use assert, update TS references, lint issue fix(connect-explorer): remove old references in tsconfig fix: update yarn, schema after rebase fix: update yarn lock after rebase
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
"update-submodules": "./scripts/update-submodules.sh",
|
||||
"update-coins": "./scripts/update-coins.sh",
|
||||
"update-models": "./scripts/update-models.sh",
|
||||
"update-protobuf": "yarn workspace @trezor/protobuf update:protobuf",
|
||||
"update-protobuf": "yarn workspace @trezor/protobuf update:protobuf && yarn workspace @trezor/protobuf update:schema",
|
||||
"update-coinjoin-middleware": "yarn workspace @trezor/suite-data update-coinjoin-middleware",
|
||||
"prepare-release": "./scripts/prepare-release.sh",
|
||||
"native:android": "yarn workspace @trezor/suite-native android",
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
"@trezor/connect-common": "workspace:*",
|
||||
"@trezor/protobuf": "workspace:*",
|
||||
"@trezor/protocol": "workspace:*",
|
||||
"@trezor/schema-utils": "workspace:*",
|
||||
"@trezor/transport": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"@trezor/utxo-lib": "workspace:*",
|
||||
|
||||
@@ -3,6 +3,8 @@ import { validateParams, getFirmwareRange } from './common/paramsValidator';
|
||||
import { validatePath, getScriptType } from '../utils/pathUtils';
|
||||
import { getBitcoinNetwork } from '../data/coinInfo';
|
||||
import { PROTO } from '../constants';
|
||||
import { Assert } from '@trezor/schema-utils';
|
||||
import { AuthorizeCoinjoin as AuthorizeCoinjoinSchema } from '../types/api/authorizeCoinjoin';
|
||||
|
||||
export default class AuthorizeCoinjoin extends AbstractMethod<
|
||||
'authorizeCoinjoin',
|
||||
@@ -11,18 +13,7 @@ export default class AuthorizeCoinjoin extends AbstractMethod<
|
||||
init() {
|
||||
const { payload } = this;
|
||||
|
||||
validateParams(payload, [
|
||||
{ name: 'path', required: true },
|
||||
{ name: 'coordinator', type: 'string', required: true },
|
||||
{ name: 'maxRounds', type: 'number', required: true },
|
||||
{ name: 'maxCoordinatorFeeRate', type: 'number', required: true },
|
||||
{ name: 'maxFeePerKvbyte', type: 'number', required: true },
|
||||
{ name: 'coin', type: 'string' },
|
||||
{ name: 'scriptType', type: 'string' },
|
||||
{ name: 'amountUnit', type: 'uint' },
|
||||
{ name: 'preauthorized', type: 'boolean' },
|
||||
]);
|
||||
|
||||
Assert(AuthorizeCoinjoinSchema, payload);
|
||||
const address_n = validatePath(payload.path, 3);
|
||||
const script_type = payload.scriptType || getScriptType(address_n);
|
||||
const coinInfo = getBitcoinNetwork(payload.coin || address_n);
|
||||
|
||||
@@ -3,4 +3,4 @@ export * as NETWORK from './network';
|
||||
export * as CARDANO from './cardano';
|
||||
export * as NEM from './nem';
|
||||
// NOTE: Protobuf file is intentionally exported directly
|
||||
export * as PROTO from '@trezor/protobuf/lib/messages';
|
||||
export * as PROTO from '@trezor/protobuf/src/messages-schema';
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
// original file https://github.com/trezor/connect/blob/develop/src/js/device/DeviceCommands.js
|
||||
|
||||
import { randomBytes } from 'crypto';
|
||||
import { Transport, Messages } from '@trezor/transport';
|
||||
import { Transport } from '@trezor/transport';
|
||||
import * as Messages from '@trezor/protobuf/src/messages-schema';
|
||||
import { versionUtils } from '@trezor/utils';
|
||||
import { ERRORS, NETWORK } from '../constants';
|
||||
import { DEVICE } from '../events';
|
||||
@@ -21,6 +22,7 @@ import { initLog } from '../utils/debug';
|
||||
import type { Device } from './Device';
|
||||
import type { CoinInfo, BitcoinNetworkInfo, Network } from '../types';
|
||||
import type { HDNodeResponse } from '../types/api/getPublicKey';
|
||||
import { Validate } from '@trezor/schema-utils';
|
||||
|
||||
type MessageType = Messages.MessageType;
|
||||
type MessageKey = keyof MessageType;
|
||||
@@ -434,6 +436,15 @@ export class DeviceCommands {
|
||||
return response;
|
||||
}
|
||||
|
||||
typedCallV2<T extends Messages.MessageKey, R extends Messages.MessageKey>(
|
||||
type: T,
|
||||
resType: R,
|
||||
msg?: Messages.MessageType[T],
|
||||
): Promise<TypedResponseMessage<R>> {
|
||||
Validate(Messages.MessageType.properties[type], msg);
|
||||
return this.typedCall(type, resType, msg);
|
||||
}
|
||||
|
||||
async _commonCall(type: MessageKey, msg?: DefaultMessageResponse['message']) {
|
||||
const resp = await this.call(type, msg);
|
||||
if (this.disposed) {
|
||||
|
||||
@@ -85,7 +85,7 @@ export type UnreadableDevice = {
|
||||
|
||||
export type Device = KnownDevice | UnknownDevice | UnreadableDevice;
|
||||
export type Features = PROTO.Features;
|
||||
export { DeviceModelInternal } from '@trezor/protobuf/lib/messages';
|
||||
export { DeviceModelInternal } from '@trezor/protobuf/lib/messages-schema';
|
||||
|
||||
type FeaturesNarrowing =
|
||||
| {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
// API params
|
||||
|
||||
import { Type } from '@trezor/schema-utils';
|
||||
|
||||
export interface CommonParams {
|
||||
device?: {
|
||||
path?: string;
|
||||
@@ -41,6 +43,7 @@ export interface Success<T> {
|
||||
export type Response<T> = Promise<Success<T> | Unsuccessful>;
|
||||
|
||||
export type DerivationPath = string | number[];
|
||||
export const DerivationPath = Type.Union([Type.String(), Type.Array(Type.Number())]);
|
||||
|
||||
// replace type `T` address_n field type `A` with address_n type `R`
|
||||
type ProtoWithExtendedAddressN<T, A, R> = Omit<Extract<T, { address_n: A }>, 'address_n'> & {
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
{ "path": "../connect-common" },
|
||||
{ "path": "../protobuf" },
|
||||
{ "path": "../protocol" },
|
||||
{ "path": "../schema-utils" },
|
||||
{ "path": "../transport" },
|
||||
{ "path": "../utils" },
|
||||
{ "path": "../utxo-lib" },
|
||||
|
||||
@@ -25,11 +25,13 @@
|
||||
"test:unit": "jest -c ../../jest.config.base.js --passWithNoTests",
|
||||
"type-check": "tsc --build",
|
||||
"build:lib": "rimraf ./lib && yarn tsc --build tsconfig.lib.json",
|
||||
"update:schema": "yarn workspace @trezor/schema-utils codegen $(pwd)/src/messages.ts > src/messages-schema.ts && npx prettier --write src/messages-schema.ts && eslint --fix src/messages-schema.ts",
|
||||
"update:protobuf": "./scripts/protobuf-build.sh && npx prettier --write \"{messages.json,src/messages.ts}\"",
|
||||
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
|
||||
"prepublish": "yarn tsx ../../scripts/prepublish.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@trezor/schema-utils": "workspace:*",
|
||||
"long": "^4.0.0",
|
||||
"protobufjs": "7.2.5"
|
||||
},
|
||||
|
||||
2862
packages/protobuf/src/messages-schema.ts
Normal file
2862
packages/protobuf/src/messages-schema.ts
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,5 +2,5 @@
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"include": ["src"],
|
||||
"references": []
|
||||
"references": [{ "path": "../schema-utils" }]
|
||||
}
|
||||
|
||||
7
packages/schema-utils/.eslintrc.js
Normal file
7
packages/schema-utils/.eslintrc.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports = {
|
||||
rules: {
|
||||
'no-console': 'warn',
|
||||
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
|
||||
},
|
||||
ignorePatterns: ['**/__snapshots__/**'],
|
||||
};
|
||||
@@ -1,18 +1,8 @@
|
||||
const baseConfig = require('../../jest.config.base');
|
||||
|
||||
module.exports = {
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: 'tsconfig.json',
|
||||
},
|
||||
},
|
||||
...baseConfig,
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/*.test.ts'],
|
||||
coverageDirectory: './coverage/',
|
||||
collectCoverage: true,
|
||||
collectCoverageFrom: ['**/src/**/*.ts'],
|
||||
modulePathIgnorePatterns: ['node_modules', '<rootDir>/lib', '<rootDir>/libDev'],
|
||||
watchPathIgnorePatterns: ['<rootDir>/libDev', '<rootDir>/lib'],
|
||||
testPathIgnorePatterns: ['<rootDir>/libDev/', '<rootDir>/lib/'],
|
||||
transform: {
|
||||
'^.+\\.ts$': 'ts-jest',
|
||||
},
|
||||
collectCoverageFrom: ['src/**/*.ts'],
|
||||
};
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
"codegen": "ts-node --skip-project ./src/codegen.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^26.6.3",
|
||||
"prettier": "^3.1.0",
|
||||
"@sinclair/typebox-codegen": "^0.8.13",
|
||||
"jest": "29.5.0",
|
||||
"prettier": "^3.0.3",
|
||||
"typescript": "5.3.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sinclair/typebox": "^0.31.28",
|
||||
"@sinclair/typebox-codegen": "^0.8.13",
|
||||
"ts-mixer": "^6.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,6 +52,26 @@ export function generate(code: string) {
|
||||
output = `import { Type, Static } from '@trezor/schema-utils';\n\n${output}`;
|
||||
// Add eslint ignore for camelcase, since some type names use underscores
|
||||
output = `/* eslint-disable camelcase */\n${output}`;
|
||||
// Add types for message schema
|
||||
if (output.indexOf('export type MessageType =') > -1) {
|
||||
output = `${output}\n
|
||||
// custom type uint32/64 may be represented as string
|
||||
export type UintType = string | number;
|
||||
|
||||
export type MessageKey = keyof MessageType;
|
||||
|
||||
export type MessageResponse<T extends MessageKey> = {
|
||||
type: T;
|
||||
message: MessageType[T];
|
||||
};
|
||||
|
||||
export type TypedCall = <T extends MessageKey, R extends MessageKey>(
|
||||
type: T,
|
||||
resType: R,
|
||||
message?: MessageType[T],
|
||||
) => Promise<MessageResponse<R>>;
|
||||
`;
|
||||
}
|
||||
return output;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { JavaScriptTypeBuilder, Static, TSchema } from '@sinclair/typebox';
|
||||
import { JavaScriptTypeBuilder, Static, TSchema, TObject, Optional } from '@sinclair/typebox';
|
||||
import { Value } from '@sinclair/typebox/value';
|
||||
import { Mixin } from 'ts-mixer';
|
||||
|
||||
@@ -15,6 +15,13 @@ class CustomTypeBuilder extends Mixin(
|
||||
export function Validate<T extends TSchema>(schema: T, value: unknown): value is Static<T> {
|
||||
return Value.Check(schema, value);
|
||||
}
|
||||
export function Assert<T extends TSchema>(schema: T, value: unknown): asserts value is Static<T> {
|
||||
const result = Value.Check(schema, value);
|
||||
if (!result) {
|
||||
throw new Error('Invalid value');
|
||||
}
|
||||
}
|
||||
|
||||
export const Type = new CustomTypeBuilder();
|
||||
export type { Static };
|
||||
export { Optional };
|
||||
export type { Static, TObject };
|
||||
|
||||
@@ -5,10 +5,10 @@ exports[`codegen should generate code for protobuf messages example 1`] = `
|
||||
import { Type, Static } from '@trezor/schema-utils';
|
||||
|
||||
|
||||
export enum EnumDeviceModelInternal { T1B1 = 'T1B1', T2T1 = 'T2T1', T2B1 = 'T2B1' }
|
||||
export enum DeviceModelInternal { T1B1 = 'T1B1', T2T1 = 'T2T1', T2B1 = 'T2B1' }
|
||||
|
||||
export type DeviceModelInternal = Static<typeof DeviceModelInternal>
|
||||
export const DeviceModelInternal = Type.Enum(EnumDeviceModelInternal)
|
||||
export type EnumDeviceModelInternal = Static<typeof EnumDeviceModelInternal>
|
||||
export const EnumDeviceModelInternal = Type.Enum(DeviceModelInternal)
|
||||
|
||||
export type BinanceGetAddress = Static<typeof BinanceGetAddress>
|
||||
export const BinanceGetAddress = Type.Object({
|
||||
@@ -69,31 +69,31 @@ outputs: Type.Array(BinanceInputOutput),
|
||||
chunkify: Type.Optional(Type.Boolean())
|
||||
})
|
||||
|
||||
export enum EnumBinanceOrderType { OT_UNKNOWN = 0, MARKET = 1, LIMIT = 2, OT_RESERVED = 3 }
|
||||
export enum BinanceOrderType { OT_UNKNOWN = 0, MARKET = 1, LIMIT = 2, OT_RESERVED = 3 }
|
||||
|
||||
export type BinanceOrderType = Static<typeof BinanceOrderType>
|
||||
export const BinanceOrderType = Type.Enum(EnumBinanceOrderType)
|
||||
export type EnumBinanceOrderType = Static<typeof EnumBinanceOrderType>
|
||||
export const EnumBinanceOrderType = Type.Enum(BinanceOrderType)
|
||||
|
||||
export enum EnumBinanceOrderSide { SIDE_UNKNOWN = 0, BUY = 1, SELL = 2 }
|
||||
export enum BinanceOrderSide { SIDE_UNKNOWN = 0, BUY = 1, SELL = 2 }
|
||||
|
||||
export type BinanceOrderSide = Static<typeof BinanceOrderSide>
|
||||
export const BinanceOrderSide = Type.Enum(EnumBinanceOrderSide)
|
||||
export type EnumBinanceOrderSide = Static<typeof EnumBinanceOrderSide>
|
||||
export const EnumBinanceOrderSide = Type.Enum(BinanceOrderSide)
|
||||
|
||||
export enum EnumBinanceTimeInForce { TIF_UNKNOWN = 0, GTE = 1, TIF_RESERVED = 2, IOC = 3 }
|
||||
export enum BinanceTimeInForce { TIF_UNKNOWN = 0, GTE = 1, TIF_RESERVED = 2, IOC = 3 }
|
||||
|
||||
export type BinanceTimeInForce = Static<typeof BinanceTimeInForce>
|
||||
export const BinanceTimeInForce = Type.Enum(EnumBinanceTimeInForce)
|
||||
export type EnumBinanceTimeInForce = Static<typeof EnumBinanceTimeInForce>
|
||||
export const EnumBinanceTimeInForce = Type.Enum(BinanceTimeInForce)
|
||||
|
||||
export type BinanceOrderMsg = Static<typeof BinanceOrderMsg>
|
||||
export const BinanceOrderMsg = Type.Object({
|
||||
id: Type.Optional(Type.String()),
|
||||
ordertype: BinanceOrderType,
|
||||
ordertype: EnumBinanceOrderType,
|
||||
price: Type.Number(),
|
||||
quantity: Type.Number(),
|
||||
sender: Type.Optional(Type.String()),
|
||||
side: BinanceOrderSide,
|
||||
side: EnumBinanceOrderSide,
|
||||
symbol: Type.Optional(Type.String()),
|
||||
timeinforce: BinanceTimeInForce
|
||||
timeinforce: EnumBinanceTimeInForce
|
||||
})
|
||||
|
||||
export type BinanceCancelMsg = Static<typeof BinanceCancelMsg>
|
||||
@@ -109,31 +109,31 @@ signature: Type.String(),
|
||||
public_key: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumEnum_InputScriptType { SPENDADDRESS = 0, SPENDMULTISIG = 1, EXTERNAL = 2, SPENDWITNESS = 3, SPENDP2SHWITNESS = 4, SPENDTAPROOT = 5 }
|
||||
export enum Enum_InputScriptType { SPENDADDRESS = 0, SPENDMULTISIG = 1, EXTERNAL = 2, SPENDWITNESS = 3, SPENDP2SHWITNESS = 4, SPENDTAPROOT = 5 }
|
||||
|
||||
export type Enum_InputScriptType = Static<typeof Enum_InputScriptType>
|
||||
export const Enum_InputScriptType = Type.Enum(EnumEnum_InputScriptType)
|
||||
export type EnumEnum_InputScriptType = Static<typeof EnumEnum_InputScriptType>
|
||||
export const EnumEnum_InputScriptType = Type.Enum(Enum_InputScriptType)
|
||||
|
||||
export type InputScriptType = Static<typeof InputScriptType>
|
||||
export const InputScriptType = Type.KeyOfEnum(EnumEnum_InputScriptType)
|
||||
export const InputScriptType = Type.KeyOfEnum(Enum_InputScriptType)
|
||||
|
||||
export enum EnumEnum_OutputScriptType { PAYTOADDRESS = 0, PAYTOSCRIPTHASH = 1, PAYTOMULTISIG = 2, PAYTOOPRETURN = 3, PAYTOWITNESS = 4, PAYTOP2SHWITNESS = 5, PAYTOTAPROOT = 6 }
|
||||
export enum Enum_OutputScriptType { PAYTOADDRESS = 0, PAYTOSCRIPTHASH = 1, PAYTOMULTISIG = 2, PAYTOOPRETURN = 3, PAYTOWITNESS = 4, PAYTOP2SHWITNESS = 5, PAYTOTAPROOT = 6 }
|
||||
|
||||
export type Enum_OutputScriptType = Static<typeof Enum_OutputScriptType>
|
||||
export const Enum_OutputScriptType = Type.Enum(EnumEnum_OutputScriptType)
|
||||
export type EnumEnum_OutputScriptType = Static<typeof EnumEnum_OutputScriptType>
|
||||
export const EnumEnum_OutputScriptType = Type.Enum(Enum_OutputScriptType)
|
||||
|
||||
export type OutputScriptType = Static<typeof OutputScriptType>
|
||||
export const OutputScriptType = Type.KeyOfEnum(EnumEnum_OutputScriptType)
|
||||
export const OutputScriptType = Type.KeyOfEnum(Enum_OutputScriptType)
|
||||
|
||||
export enum EnumDecredStakingSpendType { SSGen = 0, SSRTX = 1 }
|
||||
export enum DecredStakingSpendType { SSGen = 0, SSRTX = 1 }
|
||||
|
||||
export type DecredStakingSpendType = Static<typeof DecredStakingSpendType>
|
||||
export const DecredStakingSpendType = Type.Enum(EnumDecredStakingSpendType)
|
||||
export type EnumDecredStakingSpendType = Static<typeof EnumDecredStakingSpendType>
|
||||
export const EnumDecredStakingSpendType = Type.Enum(DecredStakingSpendType)
|
||||
|
||||
export enum EnumAmountUnit { BITCOIN = 0, MILLIBITCOIN = 1, MICROBITCOIN = 2, SATOSHI = 3 }
|
||||
export enum AmountUnit { BITCOIN = 0, MILLIBITCOIN = 1, MICROBITCOIN = 2, SATOSHI = 3 }
|
||||
|
||||
export type AmountUnit = Static<typeof AmountUnit>
|
||||
export const AmountUnit = Type.Enum(EnumAmountUnit)
|
||||
export type EnumAmountUnit = Static<typeof EnumAmountUnit>
|
||||
export const EnumAmountUnit = Type.Enum(AmountUnit)
|
||||
|
||||
export type HDNodeType = Static<typeof HDNodeType>
|
||||
export const HDNodeType = Type.Object({
|
||||
@@ -254,20 +254,20 @@ overwintered: Type.Optional(Type.Boolean()),
|
||||
version_group_id: Type.Optional(Type.Number()),
|
||||
timestamp: Type.Optional(Type.Number()),
|
||||
branch_id: Type.Optional(Type.Number()),
|
||||
amount_unit: Type.Optional(AmountUnit),
|
||||
amount_unit: Type.Optional(EnumAmountUnit),
|
||||
decred_staking_ticket: Type.Optional(Type.Boolean()),
|
||||
serialize: Type.Optional(Type.Boolean()),
|
||||
coinjoin_request: Type.Optional(CoinJoinRequest),
|
||||
chunkify: Type.Optional(Type.Boolean())
|
||||
})
|
||||
|
||||
export enum EnumEnum_RequestType { TXINPUT = 0, TXOUTPUT = 1, TXMETA = 2, TXFINISHED = 3, TXEXTRADATA = 4, TXORIGINPUT = 5, TXORIGOUTPUT = 6, TXPAYMENTREQ = 7 }
|
||||
export enum Enum_RequestType { TXINPUT = 0, TXOUTPUT = 1, TXMETA = 2, TXFINISHED = 3, TXEXTRADATA = 4, TXORIGINPUT = 5, TXORIGOUTPUT = 6, TXPAYMENTREQ = 7 }
|
||||
|
||||
export type Enum_RequestType = Static<typeof Enum_RequestType>
|
||||
export const Enum_RequestType = Type.Enum(EnumEnum_RequestType)
|
||||
export type EnumEnum_RequestType = Static<typeof EnumEnum_RequestType>
|
||||
export const EnumEnum_RequestType = Type.Enum(Enum_RequestType)
|
||||
|
||||
export type RequestType = Static<typeof RequestType>
|
||||
export const RequestType = Type.KeyOfEnum(EnumEnum_RequestType)
|
||||
export const RequestType = Type.KeyOfEnum(Enum_RequestType)
|
||||
|
||||
export type TxRequestDetailsType = Static<typeof TxRequestDetailsType>
|
||||
export const TxRequestDetailsType = Type.Object({
|
||||
@@ -304,7 +304,7 @@ multisig: Type.Optional(MultisigRedeemScriptType),
|
||||
decred_tree: Type.Optional(Type.Number()),
|
||||
orig_hash: Type.Optional(Type.String()),
|
||||
orig_index: Type.Optional(Type.Number()),
|
||||
decred_staking_spend: Type.Optional(DecredStakingSpendType),
|
||||
decred_staking_spend: Type.Optional(EnumDecredStakingSpendType),
|
||||
script_pubkey: Type.Optional(Type.String()),
|
||||
coinjoin_flags: Type.Optional(Type.Number()),
|
||||
script_sig: Type.Optional(Type.String()),
|
||||
@@ -563,7 +563,7 @@ max_fee_per_kvbyte: Type.Number(),
|
||||
address_n: Type.Array(Type.Number()),
|
||||
coin_name: Type.Optional(Type.String()),
|
||||
script_type: Type.Optional(InputScriptType),
|
||||
amount_unit: Type.Optional(AmountUnit)
|
||||
amount_unit: Type.Optional(EnumAmountUnit)
|
||||
})
|
||||
|
||||
export type FirmwareErase = Static<typeof FirmwareErase>
|
||||
@@ -591,60 +591,60 @@ export const SelfTest = Type.Object({
|
||||
payload: Type.Optional(Type.String())
|
||||
})
|
||||
|
||||
export enum EnumCardanoDerivationType { LEDGER = 0, ICARUS = 1, ICARUS_TREZOR = 2 }
|
||||
export enum CardanoDerivationType { LEDGER = 0, ICARUS = 1, ICARUS_TREZOR = 2 }
|
||||
|
||||
export type CardanoDerivationType = Static<typeof CardanoDerivationType>
|
||||
export const CardanoDerivationType = Type.Enum(EnumCardanoDerivationType)
|
||||
export type EnumCardanoDerivationType = Static<typeof EnumCardanoDerivationType>
|
||||
export const EnumCardanoDerivationType = Type.Enum(CardanoDerivationType)
|
||||
|
||||
export enum EnumCardanoAddressType { BASE = 0, BASE_SCRIPT_KEY = 1, BASE_KEY_SCRIPT = 2, BASE_SCRIPT_SCRIPT = 3, POINTER = 4, POINTER_SCRIPT = 5, ENTERPRISE = 6, ENTERPRISE_SCRIPT = 7, BYRON = 8, REWARD = 14, REWARD_SCRIPT = 15 }
|
||||
export enum CardanoAddressType { BASE = 0, BASE_SCRIPT_KEY = 1, BASE_KEY_SCRIPT = 2, BASE_SCRIPT_SCRIPT = 3, POINTER = 4, POINTER_SCRIPT = 5, ENTERPRISE = 6, ENTERPRISE_SCRIPT = 7, BYRON = 8, REWARD = 14, REWARD_SCRIPT = 15 }
|
||||
|
||||
export type CardanoAddressType = Static<typeof CardanoAddressType>
|
||||
export const CardanoAddressType = Type.Enum(EnumCardanoAddressType)
|
||||
export type EnumCardanoAddressType = Static<typeof EnumCardanoAddressType>
|
||||
export const EnumCardanoAddressType = Type.Enum(CardanoAddressType)
|
||||
|
||||
export enum EnumCardanoNativeScriptType { PUB_KEY = 0, ALL = 1, ANY = 2, N_OF_K = 3, INVALID_BEFORE = 4, INVALID_HEREAFTER = 5 }
|
||||
export enum CardanoNativeScriptType { PUB_KEY = 0, ALL = 1, ANY = 2, N_OF_K = 3, INVALID_BEFORE = 4, INVALID_HEREAFTER = 5 }
|
||||
|
||||
export type CardanoNativeScriptType = Static<typeof CardanoNativeScriptType>
|
||||
export const CardanoNativeScriptType = Type.Enum(EnumCardanoNativeScriptType)
|
||||
export type EnumCardanoNativeScriptType = Static<typeof EnumCardanoNativeScriptType>
|
||||
export const EnumCardanoNativeScriptType = Type.Enum(CardanoNativeScriptType)
|
||||
|
||||
export enum EnumCardanoNativeScriptHashDisplayFormat { HIDE = 0, BECH32 = 1, POLICY_ID = 2 }
|
||||
export enum CardanoNativeScriptHashDisplayFormat { HIDE = 0, BECH32 = 1, POLICY_ID = 2 }
|
||||
|
||||
export type CardanoNativeScriptHashDisplayFormat = Static<typeof CardanoNativeScriptHashDisplayFormat>
|
||||
export const CardanoNativeScriptHashDisplayFormat = Type.Enum(EnumCardanoNativeScriptHashDisplayFormat)
|
||||
export type EnumCardanoNativeScriptHashDisplayFormat = Static<typeof EnumCardanoNativeScriptHashDisplayFormat>
|
||||
export const EnumCardanoNativeScriptHashDisplayFormat = Type.Enum(CardanoNativeScriptHashDisplayFormat)
|
||||
|
||||
export enum EnumCardanoTxOutputSerializationFormat { ARRAY_LEGACY = 0, MAP_BABBAGE = 1 }
|
||||
export enum CardanoTxOutputSerializationFormat { ARRAY_LEGACY = 0, MAP_BABBAGE = 1 }
|
||||
|
||||
export type CardanoTxOutputSerializationFormat = Static<typeof CardanoTxOutputSerializationFormat>
|
||||
export const CardanoTxOutputSerializationFormat = Type.Enum(EnumCardanoTxOutputSerializationFormat)
|
||||
export type EnumCardanoTxOutputSerializationFormat = Static<typeof EnumCardanoTxOutputSerializationFormat>
|
||||
export const EnumCardanoTxOutputSerializationFormat = Type.Enum(CardanoTxOutputSerializationFormat)
|
||||
|
||||
export enum EnumCardanoCertificateType { STAKE_REGISTRATION = 0, STAKE_DEREGISTRATION = 1, STAKE_DELEGATION = 2, STAKE_POOL_REGISTRATION = 3 }
|
||||
export enum CardanoCertificateType { STAKE_REGISTRATION = 0, STAKE_DEREGISTRATION = 1, STAKE_DELEGATION = 2, STAKE_POOL_REGISTRATION = 3 }
|
||||
|
||||
export type CardanoCertificateType = Static<typeof CardanoCertificateType>
|
||||
export const CardanoCertificateType = Type.Enum(EnumCardanoCertificateType)
|
||||
export type EnumCardanoCertificateType = Static<typeof EnumCardanoCertificateType>
|
||||
export const EnumCardanoCertificateType = Type.Enum(CardanoCertificateType)
|
||||
|
||||
export enum EnumCardanoPoolRelayType { SINGLE_HOST_IP = 0, SINGLE_HOST_NAME = 1, MULTIPLE_HOST_NAME = 2 }
|
||||
export enum CardanoPoolRelayType { SINGLE_HOST_IP = 0, SINGLE_HOST_NAME = 1, MULTIPLE_HOST_NAME = 2 }
|
||||
|
||||
export type CardanoPoolRelayType = Static<typeof CardanoPoolRelayType>
|
||||
export const CardanoPoolRelayType = Type.Enum(EnumCardanoPoolRelayType)
|
||||
export type EnumCardanoPoolRelayType = Static<typeof EnumCardanoPoolRelayType>
|
||||
export const EnumCardanoPoolRelayType = Type.Enum(CardanoPoolRelayType)
|
||||
|
||||
export enum EnumCardanoTxAuxiliaryDataSupplementType { NONE = 0, CVOTE_REGISTRATION_SIGNATURE = 1 }
|
||||
export enum CardanoTxAuxiliaryDataSupplementType { NONE = 0, CVOTE_REGISTRATION_SIGNATURE = 1 }
|
||||
|
||||
export type CardanoTxAuxiliaryDataSupplementType = Static<typeof CardanoTxAuxiliaryDataSupplementType>
|
||||
export const CardanoTxAuxiliaryDataSupplementType = Type.Enum(EnumCardanoTxAuxiliaryDataSupplementType)
|
||||
export type EnumCardanoTxAuxiliaryDataSupplementType = Static<typeof EnumCardanoTxAuxiliaryDataSupplementType>
|
||||
export const EnumCardanoTxAuxiliaryDataSupplementType = Type.Enum(CardanoTxAuxiliaryDataSupplementType)
|
||||
|
||||
export enum EnumCardanoCVoteRegistrationFormat { CIP15 = 0, CIP36 = 1 }
|
||||
export enum CardanoCVoteRegistrationFormat { CIP15 = 0, CIP36 = 1 }
|
||||
|
||||
export type CardanoCVoteRegistrationFormat = Static<typeof CardanoCVoteRegistrationFormat>
|
||||
export const CardanoCVoteRegistrationFormat = Type.Enum(EnumCardanoCVoteRegistrationFormat)
|
||||
export type EnumCardanoCVoteRegistrationFormat = Static<typeof EnumCardanoCVoteRegistrationFormat>
|
||||
export const EnumCardanoCVoteRegistrationFormat = Type.Enum(CardanoCVoteRegistrationFormat)
|
||||
|
||||
export enum EnumCardanoTxSigningMode { ORDINARY_TRANSACTION = 0, POOL_REGISTRATION_AS_OWNER = 1, MULTISIG_TRANSACTION = 2, PLUTUS_TRANSACTION = 3 }
|
||||
export enum CardanoTxSigningMode { ORDINARY_TRANSACTION = 0, POOL_REGISTRATION_AS_OWNER = 1, MULTISIG_TRANSACTION = 2, PLUTUS_TRANSACTION = 3 }
|
||||
|
||||
export type CardanoTxSigningMode = Static<typeof CardanoTxSigningMode>
|
||||
export const CardanoTxSigningMode = Type.Enum(EnumCardanoTxSigningMode)
|
||||
export type EnumCardanoTxSigningMode = Static<typeof EnumCardanoTxSigningMode>
|
||||
export const EnumCardanoTxSigningMode = Type.Enum(CardanoTxSigningMode)
|
||||
|
||||
export enum EnumCardanoTxWitnessType { BYRON_WITNESS = 0, SHELLEY_WITNESS = 1 }
|
||||
export enum CardanoTxWitnessType { BYRON_WITNESS = 0, SHELLEY_WITNESS = 1 }
|
||||
|
||||
export type CardanoTxWitnessType = Static<typeof CardanoTxWitnessType>
|
||||
export const CardanoTxWitnessType = Type.Enum(EnumCardanoTxWitnessType)
|
||||
export type EnumCardanoTxWitnessType = Static<typeof EnumCardanoTxWitnessType>
|
||||
export const EnumCardanoTxWitnessType = Type.Enum(CardanoTxWitnessType)
|
||||
|
||||
export type CardanoBlockchainPointerType = Static<typeof CardanoBlockchainPointerType>
|
||||
export const CardanoBlockchainPointerType = Type.Object({
|
||||
@@ -655,7 +655,7 @@ certificate_index: Type.Number()
|
||||
|
||||
export type CardanoNativeScript = Static<typeof CardanoNativeScript>
|
||||
export const CardanoNativeScript = Type.Recursive(This => Type.Object({
|
||||
type: CardanoNativeScriptType,
|
||||
type: EnumCardanoNativeScriptType,
|
||||
scripts: Type.Optional(Type.Array(This)),
|
||||
key_hash: Type.Optional(Type.String()),
|
||||
key_path: Type.Optional(Type.Array(Type.Number())),
|
||||
@@ -667,8 +667,8 @@ invalid_hereafter: Type.Optional(Type.Uint())
|
||||
export type CardanoGetNativeScriptHash = Static<typeof CardanoGetNativeScriptHash>
|
||||
export const CardanoGetNativeScriptHash = Type.Object({
|
||||
script: CardanoNativeScript,
|
||||
display_format: CardanoNativeScriptHashDisplayFormat,
|
||||
derivation_type: CardanoDerivationType
|
||||
display_format: EnumCardanoNativeScriptHashDisplayFormat,
|
||||
derivation_type: EnumCardanoDerivationType
|
||||
})
|
||||
|
||||
export type CardanoNativeScriptHash = Static<typeof CardanoNativeScriptHash>
|
||||
@@ -678,7 +678,7 @@ script_hash: Type.String()
|
||||
|
||||
export type CardanoAddressParametersType = Static<typeof CardanoAddressParametersType>
|
||||
export const CardanoAddressParametersType = Type.Object({
|
||||
address_type: CardanoAddressType,
|
||||
address_type: EnumCardanoAddressType,
|
||||
address_n: Type.Array(Type.Number()),
|
||||
address_n_staking: Type.Array(Type.Number()),
|
||||
staking_key_hash: Type.Optional(Type.String()),
|
||||
@@ -693,7 +693,7 @@ show_display: Type.Optional(Type.Boolean()),
|
||||
protocol_magic: Type.Number(),
|
||||
network_id: Type.Number(),
|
||||
address_parameters: CardanoAddressParametersType,
|
||||
derivation_type: CardanoDerivationType,
|
||||
derivation_type: EnumCardanoDerivationType,
|
||||
chunkify: Type.Optional(Type.Boolean())
|
||||
})
|
||||
|
||||
@@ -706,7 +706,7 @@ export type CardanoGetPublicKey = Static<typeof CardanoGetPublicKey>
|
||||
export const CardanoGetPublicKey = Type.Object({
|
||||
address_n: Type.Array(Type.Number()),
|
||||
show_display: Type.Optional(Type.Boolean()),
|
||||
derivation_type: CardanoDerivationType
|
||||
derivation_type: EnumCardanoDerivationType
|
||||
})
|
||||
|
||||
export type CardanoPublicKey = Static<typeof CardanoPublicKey>
|
||||
@@ -717,7 +717,7 @@ node: HDNodeType
|
||||
|
||||
export type CardanoSignTxInit = Static<typeof CardanoSignTxInit>
|
||||
export const CardanoSignTxInit = Type.Object({
|
||||
signing_mode: CardanoTxSigningMode,
|
||||
signing_mode: EnumCardanoTxSigningMode,
|
||||
protocol_magic: Type.Number(),
|
||||
network_id: Type.Number(),
|
||||
inputs_count: Type.Number(),
|
||||
@@ -730,7 +730,7 @@ has_auxiliary_data: Type.Boolean(),
|
||||
validity_interval_start: Type.Optional(Type.Uint()),
|
||||
witness_requests_count: Type.Number(),
|
||||
minting_asset_groups_count: Type.Number(),
|
||||
derivation_type: CardanoDerivationType,
|
||||
derivation_type: EnumCardanoDerivationType,
|
||||
include_network_id: Type.Optional(Type.Boolean()),
|
||||
script_data_hash: Type.Optional(Type.String()),
|
||||
collateral_inputs_count: Type.Number(),
|
||||
@@ -754,7 +754,7 @@ address_parameters: Type.Optional(CardanoAddressParametersType),
|
||||
amount: Type.Uint(),
|
||||
asset_groups_count: Type.Number(),
|
||||
datum_hash: Type.Optional(Type.String()),
|
||||
format: Type.Optional(CardanoTxOutputSerializationFormat),
|
||||
format: Type.Optional(EnumCardanoTxOutputSerializationFormat),
|
||||
inline_datum_size: Type.Optional(Type.Number()),
|
||||
reference_script_size: Type.Optional(Type.Number())
|
||||
})
|
||||
@@ -790,7 +790,7 @@ staking_key_hash: Type.Optional(Type.String())
|
||||
|
||||
export type CardanoPoolRelayParameters = Static<typeof CardanoPoolRelayParameters>
|
||||
export const CardanoPoolRelayParameters = Type.Object({
|
||||
type: CardanoPoolRelayType,
|
||||
type: EnumCardanoPoolRelayType,
|
||||
ipv4_address: Type.Optional(Type.String()),
|
||||
ipv6_address: Type.Optional(Type.String()),
|
||||
host_name: Type.Optional(Type.String()),
|
||||
@@ -819,7 +819,7 @@ relays_count: Type.Number()
|
||||
|
||||
export type CardanoTxCertificate = Static<typeof CardanoTxCertificate>
|
||||
export const CardanoTxCertificate = Type.Object({
|
||||
type: CardanoCertificateType,
|
||||
type: EnumCardanoCertificateType,
|
||||
path: Type.Optional(Type.Array(Type.Number())),
|
||||
pool: Type.Optional(Type.String()),
|
||||
pool_parameters: Type.Optional(CardanoPoolParametersType),
|
||||
@@ -847,7 +847,7 @@ vote_public_key: Type.Optional(Type.String()),
|
||||
staking_path: Type.Array(Type.Number()),
|
||||
payment_address_parameters: Type.Optional(CardanoAddressParametersType),
|
||||
nonce: Type.Uint(),
|
||||
format: Type.Optional(CardanoCVoteRegistrationFormat),
|
||||
format: Type.Optional(EnumCardanoCVoteRegistrationFormat),
|
||||
delegations: Type.Optional(Type.Array(CardanoCVoteRegistrationDelegation)),
|
||||
voting_purpose: Type.Optional(Type.Uint()),
|
||||
payment_address: Type.Optional(Type.String())
|
||||
@@ -889,7 +889,7 @@ export const CardanoTxItemAck = Type.Object({
|
||||
|
||||
export type CardanoTxAuxiliaryDataSupplement = Static<typeof CardanoTxAuxiliaryDataSupplement>
|
||||
export const CardanoTxAuxiliaryDataSupplement = Type.Object({
|
||||
type: CardanoTxAuxiliaryDataSupplementType,
|
||||
type: EnumCardanoTxAuxiliaryDataSupplementType,
|
||||
auxiliary_data_hash: Type.Optional(Type.String()),
|
||||
cvote_registration_signature: Type.Optional(Type.String())
|
||||
})
|
||||
@@ -901,7 +901,7 @@ path: Type.Array(Type.Number())
|
||||
|
||||
export type CardanoTxWitnessResponse = Static<typeof CardanoTxWitnessResponse>
|
||||
export const CardanoTxWitnessResponse = Type.Object({
|
||||
type: CardanoTxWitnessType,
|
||||
type: EnumCardanoTxWitnessType,
|
||||
pub_key: Type.String(),
|
||||
signature: Type.String(),
|
||||
chain_code: Type.Optional(Type.String())
|
||||
@@ -927,24 +927,24 @@ export const Success = Type.Object({
|
||||
message: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumFailureType { Failure_UnexpectedMessage = 1, Failure_ButtonExpected = 2, Failure_DataError = 3, Failure_ActionCancelled = 4, Failure_PinExpected = 5, Failure_PinCancelled = 6, Failure_PinInvalid = 7, Failure_InvalidSignature = 8, Failure_ProcessError = 9, Failure_NotEnoughFunds = 10, Failure_NotInitialized = 11, Failure_PinMismatch = 12, Failure_WipeCodeMismatch = 13, Failure_InvalidSession = 14, Failure_FirmwareError = 99 }
|
||||
export enum FailureType { Failure_UnexpectedMessage = 1, Failure_ButtonExpected = 2, Failure_DataError = 3, Failure_ActionCancelled = 4, Failure_PinExpected = 5, Failure_PinCancelled = 6, Failure_PinInvalid = 7, Failure_InvalidSignature = 8, Failure_ProcessError = 9, Failure_NotEnoughFunds = 10, Failure_NotInitialized = 11, Failure_PinMismatch = 12, Failure_WipeCodeMismatch = 13, Failure_InvalidSession = 14, Failure_FirmwareError = 99 }
|
||||
|
||||
export type FailureType = Static<typeof FailureType>
|
||||
export const FailureType = Type.Enum(EnumFailureType)
|
||||
export type EnumFailureType = Static<typeof EnumFailureType>
|
||||
export const EnumFailureType = Type.Enum(FailureType)
|
||||
|
||||
export type Failure = Static<typeof Failure>
|
||||
export const Failure = Type.Object({
|
||||
code: Type.Optional(FailureType),
|
||||
code: Type.Optional(EnumFailureType),
|
||||
message: Type.Optional(Type.String())
|
||||
})
|
||||
|
||||
export enum EnumEnum_ButtonRequestType { ButtonRequest_Other = 1, ButtonRequest_FeeOverThreshold = 2, ButtonRequest_ConfirmOutput = 3, ButtonRequest_ResetDevice = 4, ButtonRequest_ConfirmWord = 5, ButtonRequest_WipeDevice = 6, ButtonRequest_ProtectCall = 7, ButtonRequest_SignTx = 8, ButtonRequest_FirmwareCheck = 9, ButtonRequest_Address = 10, ButtonRequest_PublicKey = 11, ButtonRequest_MnemonicWordCount = 12, ButtonRequest_MnemonicInput = 13, _Deprecated_ButtonRequest_PassphraseType = 14, ButtonRequest_UnknownDerivationPath = 15, ButtonRequest_RecoveryHomepage = 16, ButtonRequest_Success = 17, ButtonRequest_Warning = 18, ButtonRequest_PassphraseEntry = 19, ButtonRequest_PinEntry = 20 }
|
||||
export enum Enum_ButtonRequestType { ButtonRequest_Other = 1, ButtonRequest_FeeOverThreshold = 2, ButtonRequest_ConfirmOutput = 3, ButtonRequest_ResetDevice = 4, ButtonRequest_ConfirmWord = 5, ButtonRequest_WipeDevice = 6, ButtonRequest_ProtectCall = 7, ButtonRequest_SignTx = 8, ButtonRequest_FirmwareCheck = 9, ButtonRequest_Address = 10, ButtonRequest_PublicKey = 11, ButtonRequest_MnemonicWordCount = 12, ButtonRequest_MnemonicInput = 13, _Deprecated_ButtonRequest_PassphraseType = 14, ButtonRequest_UnknownDerivationPath = 15, ButtonRequest_RecoveryHomepage = 16, ButtonRequest_Success = 17, ButtonRequest_Warning = 18, ButtonRequest_PassphraseEntry = 19, ButtonRequest_PinEntry = 20 }
|
||||
|
||||
export type Enum_ButtonRequestType = Static<typeof Enum_ButtonRequestType>
|
||||
export const Enum_ButtonRequestType = Type.Enum(EnumEnum_ButtonRequestType)
|
||||
export type EnumEnum_ButtonRequestType = Static<typeof EnumEnum_ButtonRequestType>
|
||||
export const EnumEnum_ButtonRequestType = Type.Enum(Enum_ButtonRequestType)
|
||||
|
||||
export type ButtonRequestType = Static<typeof ButtonRequestType>
|
||||
export const ButtonRequestType = Type.KeyOfEnum(EnumEnum_ButtonRequestType)
|
||||
export const ButtonRequestType = Type.KeyOfEnum(Enum_ButtonRequestType)
|
||||
|
||||
export type ButtonRequest = Static<typeof ButtonRequest>
|
||||
export const ButtonRequest = Type.Object({
|
||||
@@ -957,13 +957,13 @@ export const ButtonAck = Type.Object({
|
||||
|
||||
})
|
||||
|
||||
export enum EnumEnum_PinMatrixRequestType { PinMatrixRequestType_Current = 1, PinMatrixRequestType_NewFirst = 2, PinMatrixRequestType_NewSecond = 3, PinMatrixRequestType_WipeCodeFirst = 4, PinMatrixRequestType_WipeCodeSecond = 5 }
|
||||
export enum Enum_PinMatrixRequestType { PinMatrixRequestType_Current = 1, PinMatrixRequestType_NewFirst = 2, PinMatrixRequestType_NewSecond = 3, PinMatrixRequestType_WipeCodeFirst = 4, PinMatrixRequestType_WipeCodeSecond = 5 }
|
||||
|
||||
export type Enum_PinMatrixRequestType = Static<typeof Enum_PinMatrixRequestType>
|
||||
export const Enum_PinMatrixRequestType = Type.Enum(EnumEnum_PinMatrixRequestType)
|
||||
export type EnumEnum_PinMatrixRequestType = Static<typeof EnumEnum_PinMatrixRequestType>
|
||||
export const EnumEnum_PinMatrixRequestType = Type.Enum(Enum_PinMatrixRequestType)
|
||||
|
||||
export type PinMatrixRequestType = Static<typeof PinMatrixRequestType>
|
||||
export const PinMatrixRequestType = Type.KeyOfEnum(EnumEnum_PinMatrixRequestType)
|
||||
export const PinMatrixRequestType = Type.KeyOfEnum(Enum_PinMatrixRequestType)
|
||||
|
||||
export type PinMatrixRequest = Static<typeof PinMatrixRequest>
|
||||
export const PinMatrixRequest = Type.Object({
|
||||
@@ -1051,15 +1051,15 @@ session_key: Type.String(),
|
||||
public_key: Type.Optional(Type.String())
|
||||
})
|
||||
|
||||
export enum EnumDebugButton { NO = 0, YES = 1, INFO = 2 }
|
||||
export enum DebugButton { NO = 0, YES = 1, INFO = 2 }
|
||||
|
||||
export type DebugButton = Static<typeof DebugButton>
|
||||
export const DebugButton = Type.Enum(EnumDebugButton)
|
||||
export type EnumDebugButton = Static<typeof EnumDebugButton>
|
||||
export const EnumDebugButton = Type.Enum(DebugButton)
|
||||
|
||||
export enum EnumDebugPhysicalButton { LEFT_BTN = 0, MIDDLE_BTN = 1, RIGHT_BTN = 2 }
|
||||
export enum DebugPhysicalButton { LEFT_BTN = 0, MIDDLE_BTN = 1, RIGHT_BTN = 2 }
|
||||
|
||||
export type DebugPhysicalButton = Static<typeof DebugPhysicalButton>
|
||||
export const DebugPhysicalButton = Type.Enum(EnumDebugPhysicalButton)
|
||||
export type EnumDebugPhysicalButton = Static<typeof EnumDebugPhysicalButton>
|
||||
export const EnumDebugPhysicalButton = Type.Enum(DebugPhysicalButton)
|
||||
|
||||
export type DebugLinkResetDebugEvents = Static<typeof DebugLinkResetDebugEvents>
|
||||
export const DebugLinkResetDebugEvents = Type.Object({
|
||||
@@ -1274,10 +1274,10 @@ export const EosSignedTx = Type.Object({
|
||||
signature: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumEthereumDefinitionType { NETWORK = 0, TOKEN = 1 }
|
||||
export enum EthereumDefinitionType { NETWORK = 0, TOKEN = 1 }
|
||||
|
||||
export type EthereumDefinitionType = Static<typeof EthereumDefinitionType>
|
||||
export const EthereumDefinitionType = Type.Enum(EnumEthereumDefinitionType)
|
||||
export type EnumEthereumDefinitionType = Static<typeof EnumEthereumDefinitionType>
|
||||
export const EnumEthereumDefinitionType = Type.Enum(EthereumDefinitionType)
|
||||
|
||||
export type EthereumNetworkInfo = Static<typeof EthereumNetworkInfo>
|
||||
export const EthereumNetworkInfo = Type.Object({
|
||||
@@ -1315,14 +1315,14 @@ export const EthereumTypedDataStructRequest = Type.Object({
|
||||
name: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumEthereumDataType { UINT = 1, INT = 2, BYTES = 3, STRING = 4, BOOL = 5, ADDRESS = 6, ARRAY = 7, STRUCT = 8 }
|
||||
export enum EthereumDataType { UINT = 1, INT = 2, BYTES = 3, STRING = 4, BOOL = 5, ADDRESS = 6, ARRAY = 7, STRUCT = 8 }
|
||||
|
||||
export type EthereumDataType = Static<typeof EthereumDataType>
|
||||
export const EthereumDataType = Type.Enum(EnumEthereumDataType)
|
||||
export type EnumEthereumDataType = Static<typeof EnumEthereumDataType>
|
||||
export const EnumEthereumDataType = Type.Enum(EthereumDataType)
|
||||
|
||||
export type EthereumFieldType = Static<typeof EthereumFieldType>
|
||||
export const EthereumFieldType = Type.Recursive(This => Type.Object({
|
||||
data_type: EthereumDataType,
|
||||
data_type: EnumEthereumDataType,
|
||||
size: Type.Optional(Type.Number()),
|
||||
entry_type: Type.Optional(This),
|
||||
struct_name: Type.Optional(Type.String())
|
||||
@@ -1461,29 +1461,29 @@ signature: Type.String(),
|
||||
address: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumEnum_BackupType { Bip39 = 0, Slip39_Basic = 1, Slip39_Advanced = 2 }
|
||||
export enum Enum_BackupType { Bip39 = 0, Slip39_Basic = 1, Slip39_Advanced = 2 }
|
||||
|
||||
export type Enum_BackupType = Static<typeof Enum_BackupType>
|
||||
export const Enum_BackupType = Type.Enum(EnumEnum_BackupType)
|
||||
export type EnumEnum_BackupType = Static<typeof EnumEnum_BackupType>
|
||||
export const EnumEnum_BackupType = Type.Enum(Enum_BackupType)
|
||||
|
||||
export type BackupType = Static<typeof BackupType>
|
||||
export const BackupType = Type.KeyOfEnum(EnumEnum_BackupType)
|
||||
export const BackupType = Type.KeyOfEnum(Enum_BackupType)
|
||||
|
||||
export enum EnumEnum_SafetyCheckLevel { Strict = 0, PromptAlways = 1, PromptTemporarily = 2 }
|
||||
export enum Enum_SafetyCheckLevel { Strict = 0, PromptAlways = 1, PromptTemporarily = 2 }
|
||||
|
||||
export type Enum_SafetyCheckLevel = Static<typeof Enum_SafetyCheckLevel>
|
||||
export const Enum_SafetyCheckLevel = Type.Enum(EnumEnum_SafetyCheckLevel)
|
||||
export type EnumEnum_SafetyCheckLevel = Static<typeof EnumEnum_SafetyCheckLevel>
|
||||
export const EnumEnum_SafetyCheckLevel = Type.Enum(Enum_SafetyCheckLevel)
|
||||
|
||||
export type SafetyCheckLevel = Static<typeof SafetyCheckLevel>
|
||||
export const SafetyCheckLevel = Type.KeyOfEnum(EnumEnum_SafetyCheckLevel)
|
||||
export const SafetyCheckLevel = Type.KeyOfEnum(Enum_SafetyCheckLevel)
|
||||
|
||||
export enum EnumEnum_HomescreenFormat { Toif = 1, Jpeg = 2, ToiG = 3 }
|
||||
export enum Enum_HomescreenFormat { Toif = 1, Jpeg = 2, ToiG = 3 }
|
||||
|
||||
export type Enum_HomescreenFormat = Static<typeof Enum_HomescreenFormat>
|
||||
export const Enum_HomescreenFormat = Type.Enum(EnumEnum_HomescreenFormat)
|
||||
export type EnumEnum_HomescreenFormat = Static<typeof EnumEnum_HomescreenFormat>
|
||||
export const EnumEnum_HomescreenFormat = Type.Enum(Enum_HomescreenFormat)
|
||||
|
||||
export type HomescreenFormat = Static<typeof HomescreenFormat>
|
||||
export const HomescreenFormat = Type.KeyOfEnum(EnumEnum_HomescreenFormat)
|
||||
export const HomescreenFormat = Type.KeyOfEnum(Enum_HomescreenFormat)
|
||||
|
||||
export type Initialize = Static<typeof Initialize>
|
||||
export const Initialize = Type.Object({
|
||||
@@ -1497,13 +1497,13 @@ export const GetFeatures = Type.Object({
|
||||
|
||||
})
|
||||
|
||||
export enum EnumEnum_Capability { Capability_Bitcoin = 1, Capability_Bitcoin_like = 2, Capability_Binance = 3, Capability_Cardano = 4, Capability_Crypto = 5, Capability_EOS = 6, Capability_Ethereum = 7, Capability_Lisk = 8, Capability_Monero = 9, Capability_NEM = 10, Capability_Ripple = 11, Capability_Stellar = 12, Capability_Tezos = 13, Capability_U2F = 14, Capability_Shamir = 15, Capability_ShamirGroups = 16, Capability_PassphraseEntry = 17, Capability_Solana = 18 }
|
||||
export enum Enum_Capability { Capability_Bitcoin = 1, Capability_Bitcoin_like = 2, Capability_Binance = 3, Capability_Cardano = 4, Capability_Crypto = 5, Capability_EOS = 6, Capability_Ethereum = 7, Capability_Lisk = 8, Capability_Monero = 9, Capability_NEM = 10, Capability_Ripple = 11, Capability_Stellar = 12, Capability_Tezos = 13, Capability_U2F = 14, Capability_Shamir = 15, Capability_ShamirGroups = 16, Capability_PassphraseEntry = 17, Capability_Solana = 18 }
|
||||
|
||||
export type Enum_Capability = Static<typeof Enum_Capability>
|
||||
export const Enum_Capability = Type.Enum(EnumEnum_Capability)
|
||||
export type EnumEnum_Capability = Static<typeof EnumEnum_Capability>
|
||||
export const EnumEnum_Capability = Type.Enum(Enum_Capability)
|
||||
|
||||
export type Capability = Static<typeof Capability>
|
||||
export const Capability = Type.KeyOfEnum(EnumEnum_Capability)
|
||||
export const Capability = Type.KeyOfEnum(Enum_Capability)
|
||||
|
||||
export type Features = Static<typeof Features>
|
||||
export const Features = Type.Object({
|
||||
@@ -1641,7 +1641,7 @@ Type.Null()
|
||||
busy: Type.Optional(Type.Boolean()),
|
||||
homescreen_format: Type.Optional(HomescreenFormat),
|
||||
hide_passphrase_from_host: Type.Optional(Type.Boolean()),
|
||||
internal_model: DeviceModelInternal,
|
||||
internal_model: EnumDeviceModelInternal,
|
||||
unit_color: Type.Optional(Type.Number()),
|
||||
unit_btconly: Type.Optional(Type.Boolean()),
|
||||
homescreen_width: Type.Optional(Type.Number()),
|
||||
@@ -1694,14 +1694,14 @@ export const ChangeWipeCode = Type.Object({
|
||||
remove: Type.Optional(Type.Boolean())
|
||||
})
|
||||
|
||||
export enum EnumSdProtectOperationType { DISABLE = 0, ENABLE = 1, REFRESH = 2 }
|
||||
export enum SdProtectOperationType { DISABLE = 0, ENABLE = 1, REFRESH = 2 }
|
||||
|
||||
export type SdProtectOperationType = Static<typeof SdProtectOperationType>
|
||||
export const SdProtectOperationType = Type.Enum(EnumSdProtectOperationType)
|
||||
export type EnumSdProtectOperationType = Static<typeof EnumSdProtectOperationType>
|
||||
export const EnumSdProtectOperationType = Type.Enum(SdProtectOperationType)
|
||||
|
||||
export type SdProtect = Static<typeof SdProtect>
|
||||
export const SdProtect = Type.Object({
|
||||
operation: SdProtectOperationType
|
||||
operation: EnumSdProtectOperationType
|
||||
})
|
||||
|
||||
export type Ping = Static<typeof Ping>
|
||||
@@ -1783,10 +1783,10 @@ export const EntropyAck = Type.Object({
|
||||
entropy: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumRecoveryDeviceType { RecoveryDeviceType_ScrambledWords = 0, RecoveryDeviceType_Matrix = 1 }
|
||||
export enum RecoveryDeviceType { RecoveryDeviceType_ScrambledWords = 0, RecoveryDeviceType_Matrix = 1 }
|
||||
|
||||
export type RecoveryDeviceType = Static<typeof RecoveryDeviceType>
|
||||
export const RecoveryDeviceType = Type.Enum(EnumRecoveryDeviceType)
|
||||
export type EnumRecoveryDeviceType = Static<typeof EnumRecoveryDeviceType>
|
||||
export const EnumRecoveryDeviceType = Type.Enum(RecoveryDeviceType)
|
||||
|
||||
export type RecoveryDevice = Static<typeof RecoveryDevice>
|
||||
export const RecoveryDevice = Type.Object({
|
||||
@@ -1796,18 +1796,18 @@ pin_protection: Type.Optional(Type.Boolean()),
|
||||
language: Type.Optional(Type.String()),
|
||||
label: Type.Optional(Type.String()),
|
||||
enforce_wordlist: Type.Optional(Type.Boolean()),
|
||||
type: Type.Optional(RecoveryDeviceType),
|
||||
type: Type.Optional(EnumRecoveryDeviceType),
|
||||
u2f_counter: Type.Optional(Type.Number()),
|
||||
dry_run: Type.Optional(Type.Boolean())
|
||||
})
|
||||
|
||||
export enum EnumEnum_WordRequestType { WordRequestType_Plain = 0, WordRequestType_Matrix9 = 1, WordRequestType_Matrix6 = 2 }
|
||||
export enum Enum_WordRequestType { WordRequestType_Plain = 0, WordRequestType_Matrix9 = 1, WordRequestType_Matrix6 = 2 }
|
||||
|
||||
export type Enum_WordRequestType = Static<typeof Enum_WordRequestType>
|
||||
export const Enum_WordRequestType = Type.Enum(EnumEnum_WordRequestType)
|
||||
export type EnumEnum_WordRequestType = Static<typeof EnumEnum_WordRequestType>
|
||||
export const EnumEnum_WordRequestType = Type.Enum(Enum_WordRequestType)
|
||||
|
||||
export type WordRequestType = Static<typeof WordRequestType>
|
||||
export const WordRequestType = Type.KeyOfEnum(EnumEnum_WordRequestType)
|
||||
export const WordRequestType = Type.KeyOfEnum(Enum_WordRequestType)
|
||||
|
||||
export type WordRequest = Static<typeof WordRequest>
|
||||
export const WordRequest = Type.Object({
|
||||
@@ -1885,10 +1885,10 @@ export const UnlockBootloader = Type.Object({
|
||||
|
||||
})
|
||||
|
||||
export enum EnumMoneroNetworkType { MAINNET = 0, TESTNET = 1, STAGENET = 2, FAKECHAIN = 3 }
|
||||
export enum MoneroNetworkType { MAINNET = 0, TESTNET = 1, STAGENET = 2, FAKECHAIN = 3 }
|
||||
|
||||
export type MoneroNetworkType = Static<typeof MoneroNetworkType>
|
||||
export const MoneroNetworkType = Type.Enum(EnumMoneroNetworkType)
|
||||
export type EnumMoneroNetworkType = Static<typeof EnumMoneroNetworkType>
|
||||
export const EnumMoneroNetworkType = Type.Enum(MoneroNetworkType)
|
||||
|
||||
export type NEMGetAddress = Static<typeof NEMGetAddress>
|
||||
export const NEMGetAddress = Type.Object({
|
||||
@@ -1937,10 +1937,10 @@ sink: Type.String(),
|
||||
fee: Type.Uint()
|
||||
})
|
||||
|
||||
export enum EnumNEMMosaicLevy { MosaicLevy_Absolute = 1, MosaicLevy_Percentile = 2 }
|
||||
export enum NEMMosaicLevy { MosaicLevy_Absolute = 1, MosaicLevy_Percentile = 2 }
|
||||
|
||||
export type NEMMosaicLevy = Static<typeof NEMMosaicLevy>
|
||||
export const NEMMosaicLevy = Type.Enum(EnumNEMMosaicLevy)
|
||||
export type EnumNEMMosaicLevy = Static<typeof EnumNEMMosaicLevy>
|
||||
export const EnumNEMMosaicLevy = Type.Enum(NEMMosaicLevy)
|
||||
|
||||
export type NEMMosaicDefinition = Static<typeof NEMMosaicDefinition>
|
||||
export const NEMMosaicDefinition = Type.Object({
|
||||
@@ -1949,7 +1949,7 @@ ticker: Type.Optional(Type.String()),
|
||||
namespace: Type.String(),
|
||||
mosaic: Type.String(),
|
||||
divisibility: Type.Optional(Type.Number()),
|
||||
levy: Type.Optional(NEMMosaicLevy),
|
||||
levy: Type.Optional(EnumNEMMosaicLevy),
|
||||
fee: Type.Optional(Type.Uint()),
|
||||
levy_address: Type.Optional(Type.String()),
|
||||
levy_namespace: Type.Optional(Type.String()),
|
||||
@@ -1968,27 +1968,27 @@ sink: Type.String(),
|
||||
fee: Type.Uint()
|
||||
})
|
||||
|
||||
export enum EnumNEMSupplyChangeType { SupplyChange_Increase = 1, SupplyChange_Decrease = 2 }
|
||||
export enum NEMSupplyChangeType { SupplyChange_Increase = 1, SupplyChange_Decrease = 2 }
|
||||
|
||||
export type NEMSupplyChangeType = Static<typeof NEMSupplyChangeType>
|
||||
export const NEMSupplyChangeType = Type.Enum(EnumNEMSupplyChangeType)
|
||||
export type EnumNEMSupplyChangeType = Static<typeof EnumNEMSupplyChangeType>
|
||||
export const EnumNEMSupplyChangeType = Type.Enum(NEMSupplyChangeType)
|
||||
|
||||
export type NEMMosaicSupplyChange = Static<typeof NEMMosaicSupplyChange>
|
||||
export const NEMMosaicSupplyChange = Type.Object({
|
||||
namespace: Type.String(),
|
||||
mosaic: Type.String(),
|
||||
type: NEMSupplyChangeType,
|
||||
type: EnumNEMSupplyChangeType,
|
||||
delta: Type.Number()
|
||||
})
|
||||
|
||||
export enum EnumNEMModificationType { CosignatoryModification_Add = 1, CosignatoryModification_Delete = 2 }
|
||||
export enum NEMModificationType { CosignatoryModification_Add = 1, CosignatoryModification_Delete = 2 }
|
||||
|
||||
export type NEMModificationType = Static<typeof NEMModificationType>
|
||||
export const NEMModificationType = Type.Enum(EnumNEMModificationType)
|
||||
export type EnumNEMModificationType = Static<typeof EnumNEMModificationType>
|
||||
export const EnumNEMModificationType = Type.Enum(NEMModificationType)
|
||||
|
||||
export type NEMCosignatoryModification = Static<typeof NEMCosignatoryModification>
|
||||
export const NEMCosignatoryModification = Type.Object({
|
||||
type: NEMModificationType,
|
||||
type: EnumNEMModificationType,
|
||||
public_key: Type.String()
|
||||
})
|
||||
|
||||
@@ -1998,14 +1998,14 @@ modifications: Type.Optional(Type.Array(NEMCosignatoryModification)),
|
||||
relative_change: Type.Optional(Type.Number())
|
||||
})
|
||||
|
||||
export enum EnumNEMImportanceTransferMode { ImportanceTransfer_Activate = 1, ImportanceTransfer_Deactivate = 2 }
|
||||
export enum NEMImportanceTransferMode { ImportanceTransfer_Activate = 1, ImportanceTransfer_Deactivate = 2 }
|
||||
|
||||
export type NEMImportanceTransferMode = Static<typeof NEMImportanceTransferMode>
|
||||
export const NEMImportanceTransferMode = Type.Enum(EnumNEMImportanceTransferMode)
|
||||
export type EnumNEMImportanceTransferMode = Static<typeof EnumNEMImportanceTransferMode>
|
||||
export const EnumNEMImportanceTransferMode = Type.Enum(NEMImportanceTransferMode)
|
||||
|
||||
export type NEMImportanceTransfer = Static<typeof NEMImportanceTransfer>
|
||||
export const NEMImportanceTransfer = Type.Object({
|
||||
mode: NEMImportanceTransferMode,
|
||||
mode: EnumNEMImportanceTransferMode,
|
||||
public_key: Type.String()
|
||||
})
|
||||
|
||||
@@ -2111,14 +2111,14 @@ export const SolanaTxSignature = Type.Object({
|
||||
signature: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumStellarAssetType { NATIVE = 0, ALPHANUM4 = 1, ALPHANUM12 = 2 }
|
||||
export enum StellarAssetType { NATIVE = 0, ALPHANUM4 = 1, ALPHANUM12 = 2 }
|
||||
|
||||
export type StellarAssetType = Static<typeof StellarAssetType>
|
||||
export const StellarAssetType = Type.Enum(EnumStellarAssetType)
|
||||
export type EnumStellarAssetType = Static<typeof EnumStellarAssetType>
|
||||
export const EnumStellarAssetType = Type.Enum(StellarAssetType)
|
||||
|
||||
export type StellarAsset = Static<typeof StellarAsset>
|
||||
export const StellarAsset = Type.Object({
|
||||
type: StellarAssetType,
|
||||
type: EnumStellarAssetType,
|
||||
code: Type.Optional(Type.String()),
|
||||
issuer: Type.Optional(Type.String())
|
||||
})
|
||||
@@ -2135,10 +2135,10 @@ export const StellarAddress = Type.Object({
|
||||
address: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumStellarMemoType { NONE = 0, TEXT = 1, ID = 2, HASH = 3, RETURN = 4 }
|
||||
export enum StellarMemoType { NONE = 0, TEXT = 1, ID = 2, HASH = 3, RETURN = 4 }
|
||||
|
||||
export type StellarMemoType = Static<typeof StellarMemoType>
|
||||
export const StellarMemoType = Type.Enum(EnumStellarMemoType)
|
||||
export type EnumStellarMemoType = Static<typeof EnumStellarMemoType>
|
||||
export const EnumStellarMemoType = Type.Enum(StellarMemoType)
|
||||
|
||||
export type StellarSignTx = Static<typeof StellarSignTx>
|
||||
export const StellarSignTx = Type.Object({
|
||||
@@ -2149,7 +2149,7 @@ fee: Type.Uint(),
|
||||
sequence_number: Type.Uint(),
|
||||
timebounds_start: Type.Number(),
|
||||
timebounds_end: Type.Number(),
|
||||
memo_type: StellarMemoType,
|
||||
memo_type: EnumStellarMemoType,
|
||||
memo_text: Type.Optional(Type.String()),
|
||||
memo_id: Type.Optional(Type.String()),
|
||||
memo_hash: Type.Optional(Type.Union([
|
||||
@@ -2233,10 +2233,10 @@ price_n: Type.Number(),
|
||||
price_d: Type.Number()
|
||||
})
|
||||
|
||||
export enum EnumStellarSignerType { ACCOUNT = 0, PRE_AUTH = 1, HASH = 2 }
|
||||
export enum StellarSignerType { ACCOUNT = 0, PRE_AUTH = 1, HASH = 2 }
|
||||
|
||||
export type StellarSignerType = Static<typeof StellarSignerType>
|
||||
export const StellarSignerType = Type.Enum(EnumStellarSignerType)
|
||||
export type EnumStellarSignerType = Static<typeof EnumStellarSignerType>
|
||||
export const EnumStellarSignerType = Type.Enum(StellarSignerType)
|
||||
|
||||
export type StellarSetOptionsOp = Static<typeof StellarSetOptionsOp>
|
||||
export const StellarSetOptionsOp = Type.Object({
|
||||
@@ -2249,7 +2249,7 @@ low_threshold: Type.Optional(Type.Uint()),
|
||||
medium_threshold: Type.Optional(Type.Uint()),
|
||||
high_threshold: Type.Optional(Type.Uint()),
|
||||
home_domain: Type.Optional(Type.String()),
|
||||
signer_type: Type.Optional(StellarSignerType),
|
||||
signer_type: Type.Optional(EnumStellarSignerType),
|
||||
signer_key: Type.Optional(Type.Union([
|
||||
Type.Buffer(),
|
||||
Type.String()
|
||||
@@ -2268,7 +2268,7 @@ export type StellarAllowTrustOp = Static<typeof StellarAllowTrustOp>
|
||||
export const StellarAllowTrustOp = Type.Object({
|
||||
source_account: Type.Optional(Type.String()),
|
||||
trusted_account: Type.String(),
|
||||
asset_type: StellarAssetType,
|
||||
asset_type: EnumStellarAssetType,
|
||||
asset_code: Type.Optional(Type.String()),
|
||||
is_authorized: Type.Boolean()
|
||||
})
|
||||
@@ -2325,10 +2325,10 @@ export const TezosPublicKey = Type.Object({
|
||||
public_key: Type.String()
|
||||
})
|
||||
|
||||
export enum EnumTezosContractType { Implicit = 0, Originated = 1 }
|
||||
export enum TezosContractType { Implicit = 0, Originated = 1 }
|
||||
|
||||
export type TezosContractType = Static<typeof TezosContractType>
|
||||
export const TezosContractType = Type.Enum(EnumTezosContractType)
|
||||
export type EnumTezosContractType = Static<typeof EnumTezosContractType>
|
||||
export const EnumTezosContractType = Type.Enum(TezosContractType)
|
||||
|
||||
export type TezosContractID = Static<typeof TezosContractID>
|
||||
export const TezosContractID = Type.Object({
|
||||
@@ -2407,17 +2407,17 @@ period: Type.Number(),
|
||||
proposals: Type.Array(Type.String())
|
||||
})
|
||||
|
||||
export enum EnumTezosBallotType { Yay = 0, Nay = 1, Pass = 2 }
|
||||
export enum TezosBallotType { Yay = 0, Nay = 1, Pass = 2 }
|
||||
|
||||
export type TezosBallotType = Static<typeof TezosBallotType>
|
||||
export const TezosBallotType = Type.Enum(EnumTezosBallotType)
|
||||
export type EnumTezosBallotType = Static<typeof EnumTezosBallotType>
|
||||
export const EnumTezosBallotType = Type.Enum(TezosBallotType)
|
||||
|
||||
export type TezosBallotOp = Static<typeof TezosBallotOp>
|
||||
export const TezosBallotOp = Type.Object({
|
||||
source: Type.String(),
|
||||
period: Type.Number(),
|
||||
proposal: Type.String(),
|
||||
ballot: TezosBallotType
|
||||
ballot: EnumTezosBallotType
|
||||
})
|
||||
|
||||
export type TezosSignTx = Static<typeof TezosSignTx>
|
||||
@@ -2720,5 +2720,22 @@ TezosSignTx: TezosSignTx,
|
||||
TezosSignedTx: TezosSignedTx,
|
||||
experimental_message: experimental_message,
|
||||
experimental_field: experimental_field
|
||||
})"
|
||||
})
|
||||
|
||||
// custom type uint32/64 may be represented as string
|
||||
export type UintType = string | number;
|
||||
|
||||
export type MessageKey = keyof MessageType;
|
||||
|
||||
export type MessageResponse<T extends MessageKey> = {
|
||||
type: T;
|
||||
message: MessageType[T];
|
||||
};
|
||||
|
||||
export type TypedCall = <T extends MessageKey, R extends MessageKey>(
|
||||
type: T,
|
||||
resType: R,
|
||||
message?: MessageType[T],
|
||||
) => Promise<MessageResponse<R>>;
|
||||
"
|
||||
`;
|
||||
|
||||
207
yarn.lock
207
yarn.lock
@@ -76,55 +76,55 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.22.13":
|
||||
version: 7.22.13
|
||||
resolution: "@babel/code-frame@npm:7.22.13"
|
||||
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5":
|
||||
version: 7.23.5
|
||||
resolution: "@babel/code-frame@npm:7.23.5"
|
||||
dependencies:
|
||||
"@babel/highlight": "npm:^7.22.13"
|
||||
"@babel/highlight": "npm:^7.23.4"
|
||||
chalk: "npm:^2.4.2"
|
||||
checksum: bf6ae6ba3a510adfda6a211b4a89b0f1c98ca1352b745c077d113f3b568141e0d44ce750b9ac2a80143ba5c8c4080c50fcfc1aa11d86e194ea6785f62520eb5a
|
||||
checksum: 44e58529c9d93083288dc9e649c553c5ba997475a7b0758cc3ddc4d77b8a7d985dbe78cc39c9bbc61f26d50af6da1ddf0a3427eae8cc222a9370619b671ed8f5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.22.9, @babel/compat-data@npm:^7.23.2":
|
||||
version: 7.23.2
|
||||
resolution: "@babel/compat-data@npm:7.23.2"
|
||||
checksum: c18eccd13975c1434a65d04f721075e30d03ba1608f4872d84e8538c16552b878aaac804ff31243d8c2c0e91524f3bc98de6305e117ba1a55c9956871973b4dc
|
||||
"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.22.9, @babel/compat-data@npm:^7.23.2, @babel/compat-data@npm:^7.23.5":
|
||||
version: 7.23.5
|
||||
resolution: "@babel/compat-data@npm:7.23.5"
|
||||
checksum: 088f14f646ecbddd5ef89f120a60a1b3389a50a9705d44603dca77662707d0175a5e0e0da3943c3298f1907a4ab871468656fbbf74bb7842cd8b0686b2c19736
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.20.0, @babel/core@npm:^7.22.0, @babel/core@npm:^7.22.9, @babel/core@npm:^7.23.2, @babel/core@npm:^7.7.5":
|
||||
version: 7.23.2
|
||||
resolution: "@babel/core@npm:7.23.2"
|
||||
version: 7.23.6
|
||||
resolution: "@babel/core@npm:7.23.6"
|
||||
dependencies:
|
||||
"@ampproject/remapping": "npm:^2.2.0"
|
||||
"@babel/code-frame": "npm:^7.22.13"
|
||||
"@babel/generator": "npm:^7.23.0"
|
||||
"@babel/helper-compilation-targets": "npm:^7.22.15"
|
||||
"@babel/helper-module-transforms": "npm:^7.23.0"
|
||||
"@babel/helpers": "npm:^7.23.2"
|
||||
"@babel/parser": "npm:^7.23.0"
|
||||
"@babel/code-frame": "npm:^7.23.5"
|
||||
"@babel/generator": "npm:^7.23.6"
|
||||
"@babel/helper-compilation-targets": "npm:^7.23.6"
|
||||
"@babel/helper-module-transforms": "npm:^7.23.3"
|
||||
"@babel/helpers": "npm:^7.23.6"
|
||||
"@babel/parser": "npm:^7.23.6"
|
||||
"@babel/template": "npm:^7.22.15"
|
||||
"@babel/traverse": "npm:^7.23.2"
|
||||
"@babel/types": "npm:^7.23.0"
|
||||
"@babel/traverse": "npm:^7.23.6"
|
||||
"@babel/types": "npm:^7.23.6"
|
||||
convert-source-map: "npm:^2.0.0"
|
||||
debug: "npm:^4.1.0"
|
||||
gensync: "npm:^1.0.0-beta.2"
|
||||
json5: "npm:^2.2.3"
|
||||
semver: "npm:^6.3.1"
|
||||
checksum: b69d7008695b2ac7a3a2db83c5c712fbb79f7031c4480f6351cde327930e38873003d1d021059b729a1d0cb48093f1d384c64269b78f6189f50051fe4f64dc2d
|
||||
checksum: a72ba71d2f557d09ff58a5f0846344b9cea9dfcbd7418729a3a74d5b0f37a5ca024942fef4d19f248de751928a1be3d5cb0488746dd8896009dd55b974bb552e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.20.0, @babel/generator@npm:^7.22.9, @babel/generator@npm:^7.23.0, @babel/generator@npm:^7.23.3, @babel/generator@npm:^7.7.2":
|
||||
version: 7.23.3
|
||||
resolution: "@babel/generator@npm:7.23.3"
|
||||
"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.20.0, @babel/generator@npm:^7.22.9, @babel/generator@npm:^7.23.6, @babel/generator@npm:^7.7.2":
|
||||
version: 7.23.6
|
||||
resolution: "@babel/generator@npm:7.23.6"
|
||||
dependencies:
|
||||
"@babel/types": "npm:^7.23.3"
|
||||
"@babel/types": "npm:^7.23.6"
|
||||
"@jridgewell/gen-mapping": "npm:^0.3.2"
|
||||
"@jridgewell/trace-mapping": "npm:^0.3.17"
|
||||
jsesc: "npm:^2.5.1"
|
||||
checksum: 0f815d275cb3de97ec4724b959b3c7a67b1cde1861eda6612b50c6ba22565f12536d1f004dd48e7bad5e059751950265c6ff546ef48b7a719a11d7b512f1e29d
|
||||
checksum: 864090d5122c0aa3074471fd7b79d8a880c1468480cbd28925020a3dcc7eb6e98bedcdb38983df299c12b44b166e30915b8085a7bc126e68fa7e2aadc7bd1ac5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -146,16 +146,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.22.15, @babel/helper-compilation-targets@npm:^7.22.5, @babel/helper-compilation-targets@npm:^7.22.6":
|
||||
version: 7.22.15
|
||||
resolution: "@babel/helper-compilation-targets@npm:7.22.15"
|
||||
"@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.22.15, @babel/helper-compilation-targets@npm:^7.22.5, @babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.23.6":
|
||||
version: 7.23.6
|
||||
resolution: "@babel/helper-compilation-targets@npm:7.23.6"
|
||||
dependencies:
|
||||
"@babel/compat-data": "npm:^7.22.9"
|
||||
"@babel/helper-validator-option": "npm:^7.22.15"
|
||||
browserslist: "npm:^4.21.9"
|
||||
"@babel/compat-data": "npm:^7.23.5"
|
||||
"@babel/helper-validator-option": "npm:^7.23.5"
|
||||
browserslist: "npm:^4.22.2"
|
||||
lru-cache: "npm:^5.1.1"
|
||||
semver: "npm:^6.3.1"
|
||||
checksum: 9706decaa1591cf44511b6f3447eb9653b50ca3538215fe2e5387a8598c258c062f4622da5b95e61f0415706534deee619bbf53a2889f9bd967949b8f6024e0e
|
||||
checksum: 05595cd73087ddcd81b82d2f3297aac0c0422858dfdded43d304786cf680ec33e846e2317e6992d2c964ee61d93945cbf1fa8ec80b55aee5bfb159227fb02cb9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -334,10 +334,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/helper-string-parser@npm:^7.22.5":
|
||||
version: 7.22.5
|
||||
resolution: "@babel/helper-string-parser@npm:7.22.5"
|
||||
checksum: 7f275a7f1a9504da06afc33441e219796352a4a3d0288a961bc14d1e30e06833a71621b33c3e60ee3ac1ff3c502d55e392bcbc0665f6f9d2629809696fab7cdd
|
||||
"@babel/helper-string-parser@npm:^7.23.4":
|
||||
version: 7.23.4
|
||||
resolution: "@babel/helper-string-parser@npm:7.23.4"
|
||||
checksum: c352082474a2ee1d2b812bd116a56b2e8b38065df9678a32a535f151ec6f58e54633cc778778374f10544b930703cca6ddf998803888a636afa27e2658068a9c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -348,10 +348,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/helper-validator-option@npm:^7.22.15, @babel/helper-validator-option@npm:^7.22.5":
|
||||
version: 7.22.15
|
||||
resolution: "@babel/helper-validator-option@npm:7.22.15"
|
||||
checksum: 68da52b1e10002a543161494c4bc0f4d0398c8fdf361d5f7f4272e95c45d5b32d974896d44f6a0ea7378c9204988879d73613ca683e13bd1304e46d25ff67a8d
|
||||
"@babel/helper-validator-option@npm:^7.22.15, @babel/helper-validator-option@npm:^7.22.5, @babel/helper-validator-option@npm:^7.23.5":
|
||||
version: 7.23.5
|
||||
resolution: "@babel/helper-validator-option@npm:7.23.5"
|
||||
checksum: 537cde2330a8aede223552510e8a13e9c1c8798afee3757995a7d4acae564124fe2bf7e7c3d90d62d3657434a74340a274b3b3b1c6f17e9a2be1f48af29cb09e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -366,25 +366,25 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/helpers@npm:^7.23.2":
|
||||
version: 7.23.2
|
||||
resolution: "@babel/helpers@npm:7.23.2"
|
||||
"@babel/helpers@npm:^7.23.6":
|
||||
version: 7.23.6
|
||||
resolution: "@babel/helpers@npm:7.23.6"
|
||||
dependencies:
|
||||
"@babel/template": "npm:^7.22.15"
|
||||
"@babel/traverse": "npm:^7.23.2"
|
||||
"@babel/types": "npm:^7.23.0"
|
||||
checksum: d66d949d41513f19e62e43a9426e283d46bc9a3c72f1e3dd136568542382edd411047403458aaa0ae3adf7c14d23e0e9a1126092bb56e72ba796a6dd7e4c082a
|
||||
"@babel/traverse": "npm:^7.23.6"
|
||||
"@babel/types": "npm:^7.23.6"
|
||||
checksum: 2a85fd2bcbc15a6c94dbe7b9e94d8920f9de76d164179d6895fee89c4339079d9e3e56f572bf19b5e7d1e6f1997d7fbaeaa686b47d35136852631dfd09e85c2f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.22.13":
|
||||
version: 7.22.20
|
||||
resolution: "@babel/highlight@npm:7.22.20"
|
||||
"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.23.4":
|
||||
version: 7.23.4
|
||||
resolution: "@babel/highlight@npm:7.23.4"
|
||||
dependencies:
|
||||
"@babel/helper-validator-identifier": "npm:^7.22.20"
|
||||
chalk: "npm:^2.4.2"
|
||||
js-tokens: "npm:^4.0.0"
|
||||
checksum: 1aabc95b2cb7f67adc26c7049554306f1435bfedb76b9731c36ff3d7cdfcb32bd65a6dd06985644124eb2100bd911721d9e5c4f5ac40b7f0da2995a61bf8da92
|
||||
checksum: 62fef9b5bcea7131df4626d009029b1ae85332042f4648a4ce6e740c3fd23112603c740c45575caec62f260c96b11054d3be5987f4981a5479793579c3aac71f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -406,12 +406,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.22.7, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.3":
|
||||
version: 7.23.3
|
||||
resolution: "@babel/parser@npm:7.23.3"
|
||||
"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.22.7, @babel/parser@npm:^7.23.6":
|
||||
version: 7.23.6
|
||||
resolution: "@babel/parser@npm:7.23.6"
|
||||
bin:
|
||||
parser: ./bin/babel-parser.js
|
||||
checksum: 284c22ec1d939df66fb94929959d2160c30df1ba5778f212668dfb2f4aa8ac176f628c6073a2c9ea7ab2a1701d2ebdafb0dfb173dc737db9dc6708d5d2f49e0a
|
||||
checksum: 6be3a63d3c9d07b035b5a79c022327cb7e16cbd530140ecb731f19a650c794c315a72c699a22413ebeafaff14aa8f53435111898d59e01a393d741b85629fa7d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -1735,32 +1735,32 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.16.0, @babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.22.8, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.4.5, @babel/traverse@npm:^7.7.2":
|
||||
version: 7.23.3
|
||||
resolution: "@babel/traverse@npm:7.23.3"
|
||||
"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.16.0, @babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.22.8, @babel/traverse@npm:^7.23.6, @babel/traverse@npm:^7.4.5, @babel/traverse@npm:^7.7.2":
|
||||
version: 7.23.6
|
||||
resolution: "@babel/traverse@npm:7.23.6"
|
||||
dependencies:
|
||||
"@babel/code-frame": "npm:^7.22.13"
|
||||
"@babel/generator": "npm:^7.23.3"
|
||||
"@babel/code-frame": "npm:^7.23.5"
|
||||
"@babel/generator": "npm:^7.23.6"
|
||||
"@babel/helper-environment-visitor": "npm:^7.22.20"
|
||||
"@babel/helper-function-name": "npm:^7.23.0"
|
||||
"@babel/helper-hoist-variables": "npm:^7.22.5"
|
||||
"@babel/helper-split-export-declaration": "npm:^7.22.6"
|
||||
"@babel/parser": "npm:^7.23.3"
|
||||
"@babel/types": "npm:^7.23.3"
|
||||
debug: "npm:^4.1.0"
|
||||
"@babel/parser": "npm:^7.23.6"
|
||||
"@babel/types": "npm:^7.23.6"
|
||||
debug: "npm:^4.3.1"
|
||||
globals: "npm:^11.1.0"
|
||||
checksum: 522ef8eefe1ed31cd392129efb2f8794ca25bd54b1ad7c3bfa7f46d20c47ef0e392d5c1654ddee3454eed5e546d04c9bfa38b04b82e47144aa545f87ba55572d
|
||||
checksum: ee4434a3ce792ee8956b64d76843caa1dda4779bb621ed9f951dd3551965bf1f292f097011c9730ecbc0b57f02434b1fa5a771610a2ef570726b0df0fc3332d9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/types@npm:^7.0.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.3, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3":
|
||||
version: 7.23.3
|
||||
resolution: "@babel/types@npm:7.23.3"
|
||||
"@babel/types@npm:^7.0.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.6, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3":
|
||||
version: 7.23.6
|
||||
resolution: "@babel/types@npm:7.23.6"
|
||||
dependencies:
|
||||
"@babel/helper-string-parser": "npm:^7.22.5"
|
||||
"@babel/helper-string-parser": "npm:^7.23.4"
|
||||
"@babel/helper-validator-identifier": "npm:^7.22.20"
|
||||
to-fast-properties: "npm:^2.0.0"
|
||||
checksum: 05ec1527d0468aa6f3e30fa821625322794055fb572c131aaa8befdf24d174407e2e5954c2b0a292a5456962e23383e36cf9d7cbb01318146d6140ce2128d000
|
||||
checksum: 07e70bb94d30b0231396b5e9a7726e6d9227a0a62e0a6830c0bd3232f33b024092e3d5a7d1b096a65bbf2bb43a9ab4c721bf618e115bfbb87b454fa060f88cbf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -8355,7 +8355,6 @@ __metadata:
|
||||
"@trezor/blockchain-link-types": "workspace:*"
|
||||
"@trezor/blockchain-link-utils": "workspace:*"
|
||||
"@trezor/e2e-utils": "workspace:*"
|
||||
"@trezor/schema-utils": "workspace:*"
|
||||
"@trezor/type-utils": "workspace:*"
|
||||
"@trezor/utils": "workspace:*"
|
||||
"@trezor/utxo-lib": "workspace:*"
|
||||
@@ -8499,8 +8498,10 @@ __metadata:
|
||||
resolution: "@trezor/connect-explorer@workspace:packages/connect-explorer"
|
||||
dependencies:
|
||||
"@trezor/components": "workspace:*"
|
||||
"@trezor/connect": "workspace:*"
|
||||
"@trezor/connect-web": "workspace:*"
|
||||
"@trezor/protobuf": "workspace:*"
|
||||
"@trezor/schema-utils": "workspace:*"
|
||||
"@types/markdown-it": "npm:^13.0.5"
|
||||
"@types/markdown-it-link-attributes": "npm:^3.0.3"
|
||||
"@types/react-router": "npm:^5.1.20"
|
||||
@@ -8731,6 +8732,7 @@ __metadata:
|
||||
"@trezor/connect-common": "workspace:*"
|
||||
"@trezor/protobuf": "workspace:*"
|
||||
"@trezor/protocol": "workspace:*"
|
||||
"@trezor/schema-utils": "workspace:*"
|
||||
"@trezor/transport": "workspace:*"
|
||||
"@trezor/trezor-user-env-link": "workspace:*"
|
||||
"@trezor/utils": "workspace:*"
|
||||
@@ -8842,6 +8844,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@trezor/protobuf@workspace:packages/protobuf"
|
||||
dependencies:
|
||||
"@trezor/schema-utils": "workspace:*"
|
||||
jest: "npm:29.5.0"
|
||||
long: "npm:^4.0.0"
|
||||
protobufjs: "npm:7.2.5"
|
||||
@@ -8914,8 +8917,8 @@ __metadata:
|
||||
dependencies:
|
||||
"@sinclair/typebox": "npm:^0.31.28"
|
||||
"@sinclair/typebox-codegen": "npm:^0.8.13"
|
||||
jest: "npm:^26.6.3"
|
||||
prettier: "npm:^3.1.0"
|
||||
jest: "npm:29.5.0"
|
||||
prettier: "npm:^3.0.3"
|
||||
ts-mixer: "npm:^6.0.3"
|
||||
typescript: "npm:5.3.2"
|
||||
languageName: unknown
|
||||
@@ -9637,15 +9640,15 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14":
|
||||
version: 7.20.0
|
||||
resolution: "@types/babel__core@npm:7.20.0"
|
||||
version: 7.20.5
|
||||
resolution: "@types/babel__core@npm:7.20.5"
|
||||
dependencies:
|
||||
"@babel/parser": "npm:^7.20.7"
|
||||
"@babel/types": "npm:^7.20.7"
|
||||
"@types/babel__generator": "npm:*"
|
||||
"@types/babel__template": "npm:*"
|
||||
"@types/babel__traverse": "npm:*"
|
||||
checksum: b82e432bfc42075d4f6218e5ed5c4a7cdeb087e0416f969fc65a755c41d129d7e369c93e9a9dc59d43291327aa8d7cd149f3573d1c3b54d0192561d02bb225eb
|
||||
checksum: c32838d280b5ab59d62557f9e331d3831f8e547ee10b4f85cb78753d97d521270cebfc73ce501e9fb27fe71884d1ba75e18658692c2f4117543f0fc4e3e118b3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -10119,11 +10122,11 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"@types/graceful-fs@npm:^4.1.3":
|
||||
version: 4.1.6
|
||||
resolution: "@types/graceful-fs@npm:4.1.6"
|
||||
version: 4.1.9
|
||||
resolution: "@types/graceful-fs@npm:4.1.9"
|
||||
dependencies:
|
||||
"@types/node": "npm:*"
|
||||
checksum: c3070ccdc9ca0f40df747bced1c96c71a61992d6f7c767e8fd24bb6a3c2de26e8b84135ede000b7e79db530a23e7e88dcd9db60eee6395d0f4ce1dae91369dd4
|
||||
checksum: 79d746a8f053954bba36bd3d94a90c78de995d126289d656fb3271dd9f1229d33f678da04d10bce6be440494a5a73438e2e363e92802d16b8315b051036c5256
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -13472,17 +13475,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.21.9, browserslist@npm:^4.22.1":
|
||||
version: 4.22.1
|
||||
resolution: "browserslist@npm:4.22.1"
|
||||
"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.22.1, browserslist@npm:^4.22.2":
|
||||
version: 4.22.2
|
||||
resolution: "browserslist@npm:4.22.2"
|
||||
dependencies:
|
||||
caniuse-lite: "npm:^1.0.30001541"
|
||||
electron-to-chromium: "npm:^1.4.535"
|
||||
node-releases: "npm:^2.0.13"
|
||||
caniuse-lite: "npm:^1.0.30001565"
|
||||
electron-to-chromium: "npm:^1.4.601"
|
||||
node-releases: "npm:^2.0.14"
|
||||
update-browserslist-db: "npm:^1.0.13"
|
||||
bin:
|
||||
browserslist: cli.js
|
||||
checksum: 4a515168e0589c7b1ccbf13a93116ce0418cc5e65d228ec036022cf0e08773fdfb732e2abbf1e1188b96d19ecd4dd707504e75b6d393cba2782fc7d6a7fdefe8
|
||||
checksum: e3590793db7f66ad3a50817e7b7f195ce61e029bd7187200244db664bfbe0ac832f784e4f6b9c958aef8ea4abe001ae7880b7522682df521f4bc0a5b67660b5e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -13971,10 +13974,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001538, caniuse-lite@npm:^1.0.30001541":
|
||||
version: 1.0.30001561
|
||||
resolution: "caniuse-lite@npm:1.0.30001561"
|
||||
checksum: 94cfc8454c19d28828baf254771e0f3cf1828f95b0a85904d70a77b530873a041a735761091e3baf17ec90609250f887baa044b8ed2776368a46dd2e70f050d6
|
||||
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001538, caniuse-lite@npm:^1.0.30001565":
|
||||
version: 1.0.30001570
|
||||
resolution: "caniuse-lite@npm:1.0.30001570"
|
||||
checksum: a9b939e003dd70580cc18bce54627af84f298af7c774415c8d6c99871e7cee13bd8278b67955a979cd338369c73e8821a10b37e607d1fff2fbc8ff92fc489653
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -16659,10 +16662,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"electron-to-chromium@npm:^1.4.535":
|
||||
version: 1.4.577
|
||||
resolution: "electron-to-chromium@npm:1.4.577"
|
||||
checksum: 542016e8a669c9895a15155f96cfb45f33bb1cfa8cf7562737cced81ec9e848292d46a3fb338438210c6001d867aecf86ac84ced2cea3b26b72c25b6b693f37a
|
||||
"electron-to-chromium@npm:^1.4.601":
|
||||
version: 1.4.611
|
||||
resolution: "electron-to-chromium@npm:1.4.611"
|
||||
checksum: fb19491f64fe6ae9fe232129de66f6be2d9d4d0c052a3285ece1d95c8a4fa63b953d2fb659982d93824c3fc5dc34b15be46cd276ec82bd6c9cd16ceab41c161d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -25880,10 +25883,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"node-releases@npm:^2.0.13":
|
||||
version: 2.0.13
|
||||
resolution: "node-releases@npm:2.0.13"
|
||||
checksum: c9bb813aab2717ff8b3015ecd4c7c5670a5546e9577699a7c84e8d69230cd3b1ce8f863f8e9b50f18b19a5ffa4b9c1a706bbbfe4c378de955fedbab04488a338
|
||||
"node-releases@npm:^2.0.14":
|
||||
version: 2.0.14
|
||||
resolution: "node-releases@npm:2.0.14"
|
||||
checksum: 0f7607ec7db5ef1dc616899a5f24ae90c869b6a54c2d4f36ff6d84a282ab9343c7ff3ca3670fe4669171bb1e8a9b3e286e1ef1c131f09a83d70554f855d54f24
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -26040,9 +26043,9 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"nwsapi@npm:^2.2.2":
|
||||
version: 2.2.2
|
||||
resolution: "nwsapi@npm:2.2.2"
|
||||
checksum: b3d6e6dec645796696fc90f119e9e2f81023bdf144d3c6f9c9f8cec3b810c4cde941add251d7ead060261a2b2f391ad963d105a00cfb1b3ed3ec3d2a8d340fd6
|
||||
version: 2.2.7
|
||||
resolution: "nwsapi@npm:2.2.7"
|
||||
checksum: 22c002080f0297121ad138aba5a6509e724774d6701fe2c4777627bd939064ecd9e1b6dc1c2c716bb7ca0b9f16247892ff2f664285202ac7eff6ec9543725320
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -31182,11 +31185,11 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"stack-utils@npm:^2.0.3":
|
||||
version: 2.0.5
|
||||
resolution: "stack-utils@npm:2.0.5"
|
||||
version: 2.0.6
|
||||
resolution: "stack-utils@npm:2.0.6"
|
||||
dependencies:
|
||||
escape-string-regexp: "npm:^2.0.0"
|
||||
checksum: a6d64e5dd24d321289ebefdff2e210ece75fdf20dbcdb702b86da1f7b730743fae3e9337adae4a5cc00d4970d748ff758387df3ea7c71c45b466c43c7359bc00
|
||||
checksum: cdc988acbc99075b4b036ac6014e5f1e9afa7e564482b687da6384eee6a1909d7eaffde85b0a17ffbe186c5247faf6c2b7544e802109f63b72c7be69b13151bb
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user