@etherspot/remote-signer
Version:
Etherspot Permissioned Signer SDK - signs the UserOp with SessionKey and sends it to the Bundler
17 lines (14 loc) • 460 B
TypeScript
import { CALL_TYPE, EXEC_TYPE } from '../constants.js';
type Result = {
key: string;
value: any;
};
type Deferrable<T> = {
[K in keyof T]: T[K] | Promise<T[K]>;
};
declare const resolveProperties: <T>(object: Readonly<Deferrable<T>>) => Promise<T>;
declare const getExecuteMode: ({ callType, execType }: {
callType: CALL_TYPE;
execType: EXEC_TYPE;
}) => string;
export { type Deferrable, type Result, getExecuteMode, resolveProperties };