Skip to content

Commit

Permalink
chore(wrapped-keys): LIT-3995 - signTransactionParams should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximusHaximus committed Oct 22, 2024
1 parent 2c075d6 commit 780ebc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wrapped-keys/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ export type GeneratePrivateKeyActionBase = ApiParamsSupportedNetworks & {

export type GeneratePrivateKeyActionSolana = GeneratePrivateKeyActionBase & {
network: Extract<Network, 'solana'>;
signTransactionParams: {
signTransactionParams?: {
unsignedTransaction: SerializedTransaction;
broadcast?: boolean;
};
};

export type GeneratePrivateKeyActionEthereum = GeneratePrivateKeyActionBase & {
network: Extract<Network, 'evm'>;
signTransactionParams: {
signTransactionParams?: {
unsignedTransaction: EthereumLitTransaction;
broadcast?: boolean;
};
Expand Down

0 comments on commit 780ebc4

Please sign in to comment.