hive-bedrock-api 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,6 +66,7 @@ function fetchEndpoint(endpoint, init) {
66
66
  response = _a.sent();
67
67
  return [2 /*return*/, {
68
68
  status: request.status,
69
+ headers: request.headers,
69
70
  data: response,
70
71
  error: null,
71
72
  duration: duration,
@@ -2,6 +2,7 @@ import { Game, Statistics, Timeframe } from "hive-bedrock-data";
2
2
  interface APIResponse_Base {
3
3
  duration?: number;
4
4
  status: number;
5
+ headers?: Headers;
5
6
  }
6
7
  interface APIResponse_Error {
7
8
  code: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hive-bedrock-api",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "An API wrapper for the Hive Minecraft Bedrock Edition server.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",