Skip to content

Commit

Permalink
fix: pin deprecated in types file
Browse files Browse the repository at this point in the history
  • Loading branch information
wabicai committed Oct 15, 2024
1 parent 8054220 commit bfcb19f
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/types/api/alephiumGetAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import type { CommonParams, Response } from '../params';

export type AlephiumAddress = {
path: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
pub?: string;
address: string;
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/allNetworkGetAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ type AllNetworkAddressPayload =
| {
address: string;
pub?: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
// Nostr public key (bech32)
npub?: string;
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/aptosGetAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import type { CommonParams, Response } from '../params';
export type AptosAddress = {
path: string;
pub?: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
} & HardwareAptosAddress;

Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/aptosGetPublicKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import type { CommonParams, Response } from '../params';
export type AptosPublicKey = {
path: string;
pub: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
};

Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/cardanoGetPublicKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export type CardanoPublicKey = {
path: number[];
serializedPath: string;
pub: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
node: PROTO.HDNodeType;
};
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/cosmosGetPublicKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import type { CommonParams, Response } from '../params';
export type CosmosPublicKey = {
path: string;
pub: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
};

Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/evmGetPublicKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import type { CommonParams, Response } from '../params';
export type EVMPublicKey = {
path: string;
pub: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
} & EthereumPublicKey;

Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/lnurlAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import type { CommonParams, Response } from '../params';

export interface LnurlAuth {
pub?: string;
/**
* @deprecated Use `pub` instead.
*/
publickey?: string;
path?: string;
signature?: string;
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/nostrGetPublicKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import type { CommonParams, Response } from '../params';
export type NostrPublicKey = {
npub?: string;
pub?: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
path: string;
};
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/polkadotGetAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import type { CommonParams, Response } from '../params';
export type PolkadotAddress = {
path: string;
pub: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
} & HardwarePolkadotAddress;

Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/suiGetAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import type { CommonParams, Response } from '../params';
export type SuiAddress = {
path: string;
pub?: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
} & HardwareSuiAddress;

Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/suiGetPublicKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import type { CommonParams, Response } from '../params';
export type SuiPublicKey = {
path: string;
pub: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
};

Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/tonGetAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import type { CommonParams, Response } from '../params';
export type TonAddress = {
path: string;
pub: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
address: string;
};
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/types/api/xrpGetAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import type { CommonParams, Response } from '../params';
export type XrpAddress = {
path: string;
pub?: string;
/**
* @deprecated Use `pub` instead.
*/
publicKey?: string;
address: string;
};
Expand Down

0 comments on commit bfcb19f

Please sign in to comment.