File tree Expand file tree Collapse file tree
packages/delegation-toolkit/src/actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -383,27 +383,3 @@ export const caveatEnforcerActions =
383383 ) ;
384384 } ,
385385 } ) ;
386-
387- /**
388- * Type for client extended with caveat enforcer actions.
389- */
390- export type CaveatEnforcerClient = PublicClient &
391- ReturnType < ReturnType < typeof caveatEnforcerActions > > ;
392-
393- /**
394- * Create a viem client extended with caveat enforcer actions.
395- *
396- * @param params - The parameters object.
397- * @param params.client - The viem public client.
398- * @param params.environment - The delegator environment.
399- * @returns The extended client with caveat enforcer actions.
400- */
401- export function createCaveatEnforcerClient ( {
402- client,
403- environment,
404- } : {
405- client : PublicClient ;
406- environment : DeleGatorEnvironment ;
407- } ) : CaveatEnforcerClient {
408- return client . extend ( caveatEnforcerActions ( { environment } ) ) ;
409- }
You can’t perform that action at this time.
0 commit comments