hypixel-api-reborn 11.3.1 → 11.3.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/typings/index.d.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypixel-api-reborn",
3
- "version": "11.3.1",
3
+ "version": "11.3.2",
4
4
  "description": "Feature-rich Hypixel API wrapper for Node.js",
5
5
  "main": "./src/index.js",
6
6
  "types": "./typings/index.d.ts",
@@ -1236,6 +1236,16 @@ declare module 'hypixel-api-reborn' {
1236
1236
  includeItemBytes?: boolean,
1237
1237
  options?: methodOptions
1238
1238
  ): Promise<Auction[]>;
1239
+ /**
1240
+ * Allows you to get skyblock auctions
1241
+ * @param {string|number|number[]} page - "*", a page number, or an array with the start and the end page number ( automatically sorted )
1242
+ * @param {auctionsOptions} [options={}] Options
1243
+ * @return {Promise<{info:AuctionInfo,auctions:Auction[]}>}
1244
+ */
1245
+ getSkyblockAuctions(
1246
+ page: string | number | number[],
1247
+ options: auctionsOptions
1248
+ ): Promise<{ info: AuctionInfo; auctions: Auction[] }>;
1239
1249
  /**
1240
1250
  * @description Allows you to get all auctions of player
1241
1251
  * @param {string} query - player nickname or uuid