UNPKG

@dcl/platform-server-commons

Version:
7 lines 538 B
import { IHttpServerComponent } from '@well-known-components/interfaces'; /** * Middleware that automatically converts Ethereum addresses to lowercase in URL parameters * This middleware detects parameters that match the Ethereum address pattern and normalizes them */ export declare function ethAddressNormalizerMiddleware(): (ctx: IHttpServerComponent.DefaultContext<any>, next: () => Promise<IHttpServerComponent.IResponse>) => Promise<IHttpServerComponent.IResponse>; //# sourceMappingURL=eth-address-normalizer-middleware.d.ts.map