Skip to content

noopMiddleware

Noop middleware that does nothing and passes the arguments through

Import

import { noopMiddleware } from "@aa-sdk/core";

Parameters

args

Deferrable<UserOperationStruct<TEntryPointVersion>> the client middleware arguments passed to the middleware

Returns

Promise<Deferrable<UserOperationStruct<TEntryPointVersion>>> the arguments passed to the middleware and returned as is without modification