@zikeji/hypixel
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -6,2 +6,9 @@ # Changelog | ||
### [4.1.3](https://github.com/zikeji/node-hypixel/compare/v4.1.2...v4.1.3) (2024-09-17) | ||
### Bug Fixes | ||
* override SkyBlockAuction component to ensure consistent typing ([a99c061](https://github.com/zikeji/node-hypixel/commit/a99c061e39db4cbd4415726b2bd8e205f9dda30a)) | ||
### [4.1.2](https://github.com/zikeji/node-hypixel/compare/v4.1.1...v4.1.2) (2024-09-17) | ||
@@ -8,0 +15,0 @@ |
@@ -8,2 +8,3 @@ /** | ||
import type { ElectionCurrent, ElectionMayor } from "./Augmented/Resources/SkyBlock/Election"; | ||
import type { SkyBlockAuction } from "./Augmented/SkyBlock/Auction"; | ||
import type { SkyBlockProfile } from "./Augmented/SkyBlock/Profile"; | ||
@@ -92,11 +93,7 @@ export type BoostersResponse = Paths.V2Boosters.Get.Responses.$200 & Record<string, unknown>; | ||
}; | ||
export type SkyblockAuctionResponse = Paths.V2SkyblockAuction.Get.Responses.$200 & { | ||
auctions?: { | ||
bin?: boolean; | ||
}[]; | ||
export type SkyblockAuctionResponse = Omit<Paths.V2SkyblockAuction.Get.Responses.$200, "auctions"> & { | ||
auctions?: SkyBlockAuction[]; | ||
} & Record<string, unknown>; | ||
export type SkyblockAuctionsResponse = Paths.V2SkyblockAuctions.Get.Responses.$200 & { | ||
auctions?: { | ||
bin?: boolean; | ||
}[]; | ||
export type SkyblockAuctionsResponse = Omit<Paths.V2SkyblockAuctions.Get.Responses.$200, "auctions"> & { | ||
auctions?: SkyBlockAuction[]; | ||
} & Record<string, unknown>; | ||
@@ -103,0 +100,0 @@ export type SkyblockAuctionsEndedResponse = Paths.V2SkyblockAuctionsEnded.Get.Responses.$200 & Record<string, unknown> & { |
{ | ||
"name": "@zikeji/hypixel", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "With IntelliSense support & test coverage, this is an unopinionated async/await API wrapper for Hypixel's Public API. It is developed in TypeScript complete with documentation, typed interfaces for all API responses, built-in rate-limit handling, flexible cache support, and helper functions.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -12,2 +12,3 @@ /** | ||
} from "./Augmented/Resources/SkyBlock/Election"; | ||
import type { SkyBlockAuction } from "./Augmented/SkyBlock/Auction"; | ||
import type { SkyBlockProfile } from "./Augmented/SkyBlock/Profile"; | ||
@@ -147,12 +148,14 @@ | ||
export type SkyblockAuctionResponse = Paths.V2SkyblockAuction.Get.Responses.$200 & { | ||
auctions?: { | ||
bin?: boolean; | ||
}[]; | ||
export type SkyblockAuctionResponse = Omit< | ||
Paths.V2SkyblockAuction.Get.Responses.$200, | ||
"auctions" | ||
> & { | ||
auctions?: SkyBlockAuction[]; | ||
} & Record<string, unknown>; | ||
export type SkyblockAuctionsResponse = Paths.V2SkyblockAuctions.Get.Responses.$200 & { | ||
auctions?: { | ||
bin?: boolean; | ||
}[]; | ||
export type SkyblockAuctionsResponse = Omit< | ||
Paths.V2SkyblockAuctions.Get.Responses.$200, | ||
"auctions" | ||
> & { | ||
auctions?: SkyBlockAuction[]; | ||
} & Record<string, unknown>; | ||
@@ -159,0 +162,0 @@ |
620436
157
17277