Comparing version 2.14.0 to 2.14.1
@@ -11,3 +11,4 @@ export declare const enum Map { | ||
Overpass = "de_overpass", | ||
Tuscan = "de_tuscan" | ||
Tuscan = "de_tuscan", | ||
Vertigo = "de_vertigo" | ||
} |
@@ -12,4 +12,5 @@ export declare enum MapSlug { | ||
Tuscan = "tcn", | ||
Vertigo = "vertigo", | ||
Season = "-", | ||
Default = "-" | ||
} |
@@ -15,4 +15,5 @@ "use strict"; | ||
MapSlug["Tuscan"] = "tcn"; | ||
MapSlug["Vertigo"] = "vertigo"; | ||
MapSlug["Season"] = "-"; | ||
MapSlug["Default"] = "-"; | ||
})(MapSlug = exports.MapSlug || (exports.MapSlug = {})); |
import { HLTVConfig } from './config'; | ||
import { MapSlug } from './enums/MapSlug'; | ||
import { Map } from './enums/Map'; | ||
import { MatchType } from './enums/MatchType'; | ||
import { RankingFilter } from './enums/RankingFilter'; | ||
import { StreamCategory } from './enums/StreamCategory'; | ||
import { ThreadCategory } from './enums/ThreadCategory'; | ||
import { WinType } from './enums/WinType'; | ||
export declare class HLTVFactory { | ||
@@ -46,4 +53,4 @@ private readonly config; | ||
endDate: string; | ||
matchType: import("./enums/MatchType").MatchType; | ||
rankingFilter: import("./enums/RankingFilter").RankingFilter; | ||
matchType: MatchType; | ||
rankingFilter: RankingFilter; | ||
}) => Promise<import("./models/FullPlayerStats").FullPlayerStats>; | ||
@@ -53,4 +60,4 @@ getPlayerRanking: ({ startDate, endDate, matchType, rankingFilter }: { | ||
endDate: string; | ||
matchType: import("./enums/MatchType").MatchType; | ||
rankingFilter: import("./enums/RankingFilter").RankingFilter; | ||
matchType: MatchType; | ||
rankingFilter: RankingFilter; | ||
}) => Promise<import("./models/PlayerRanking").PlayerRanking[]>; | ||
@@ -61,2 +68,2 @@ createInstance(config: HLTVConfig): HLTVFactory; | ||
export default hltvInstance; | ||
export { hltvInstance as HLTV }; | ||
export { hltvInstance as HLTV, MapSlug, Map, MatchType, RankingFilter, StreamCategory, ThreadCategory, WinType }; |
@@ -20,2 +20,4 @@ "use strict"; | ||
var getPlayerRanking_1 = require("./endpoints/getPlayerRanking"); | ||
var MapSlug_1 = require("./enums/MapSlug"); | ||
exports.MapSlug = MapSlug_1.MapSlug; | ||
var HLTVFactory = (function () { | ||
@@ -22,0 +24,0 @@ function HLTVFactory(config) { |
{ | ||
"name": "hltv", | ||
"version": "2.14.0", | ||
"version": "2.14.1", | ||
"description": "The unofficial HLTV Node.js API", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -57,3 +57,3 @@ [![Dependency Status](https://david-dm.org/gigobyte/hltv.svg)](https://david-dm.org/gigobyte/hltv) | ||
**[See config schema](https://github.com/gigobyte/HLTV/blob/master/src/models/HLTVConfig.ts)** | ||
**[See config schema](https://github.com/gigobyte/HLTV/blob/master/src/config.ts)** | ||
@@ -60,0 +60,0 @@ ## API |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
340281
3307