Skip to content

Commit 00435e9

Browse files
committed
fix: replace jsParams anys for unknowns
1 parent a677568 commit 00435e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/automation/src/lib/litActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface ExecuteLitAction {
2323
authSigner: ethers.Wallet;
2424
ipfsId?: string;
2525
code?: string;
26-
jsParams?: Record<string, any>;
26+
jsParams?: Record<string, unknown>;
2727
}
2828

2929
const ONE_MINUTE = 1 * 60 * 1000;

packages/automation/src/lib/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface UpdatesContext {
3535
interface LitActionStateDefinition {
3636
code?: ContextOrLiteral<string>;
3737
ipfsId?: ContextOrLiteral<string>;
38-
jsParams?: Record<string, any>;
38+
jsParams?: Record<string, unknown>;
3939
}
4040

4141
export interface ContextStateDefinition {
@@ -125,7 +125,7 @@ export interface EvmContractEventTransitionDefinition
125125
contractABI: ethers.ContractInterface;
126126
contractAddress: Address;
127127
eventName: string;
128-
eventParams?: any;
128+
eventParams?: any[];
129129
}
130130

131131
export interface TransitionDefinition {

0 commit comments

Comments
 (0)