UNPKG

decentraland-crypto-fetch

Version:

[![Coverage Status](https://coveralls.io/repos/github/decentraland/decentraland-crypto-fetch/badge.svg?branch=main)](https://coveralls.io/github/decentraland/decentraland-crypto-fetch?branch=main)

6 lines (5 loc) 336 B
import { AuthIdentity, Metadata } from "./types"; export declare type SignedHeaderFactoryOptions = { Headers?: typeof Headers; }; export default function signedHeaderFactory(options?: SignedHeaderFactoryOptions): (identity: AuthIdentity, method: string, path: string, metadata: Metadata, init?: HeadersInit | undefined) => Headers;