From 99d4450f9cdc3595093cf1c2fb430a40fbed8c67 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 26 Mar 2022 13:49:44 -0500 Subject: [PATCH] use headers from undici --- package.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6a3e5b8..93e463a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typed-hypixel-api", - "version": "0.2.1", + "version": "0.2.2", "main": "build/index.js", "types": "build/index.d.js", "repository": "https://github.com/skyblockstats/typed-hypixel-api.git", diff --git a/src/index.ts b/src/index.ts index 2c4b2cb..997bf4b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { fetch } from 'undici' +import { fetch, Headers } from 'undici' export * from './responses' import { ApiKeyInformationResponse,