Comparing version 1.1.4 to 1.1.5
@@ -9,18 +9,18 @@ import BattleNetAPI from './abstract/BattleNetAPI'; | ||
query: (endpoint: string) => Promise<any>; | ||
static getAllRegions: () => Readonly<import("../../../@interfaces").RegionIdProperties<readonly string[]>>; | ||
static getAllRegionIds: () => readonly number[]; | ||
static getAllRegions: () => Readonly<import("../../../@interfaces").RegionIdProperties<import("../../../@types").RegionNameArray>>; | ||
static getAllRegionIds: () => import("../../../@types").RegionIdArray; | ||
static getAllRegionNames: () => string[]; | ||
static getRegionNameById: (regionId: string | number) => readonly string[]; | ||
static getRegionNameById: (regionId: string | number) => import("../../../@types").RegionNameArray; | ||
static validateRegionId: (regionId: string | number) => boolean; | ||
static getRegionIdByName: (regionName: string) => number; | ||
static validateRegionName: (regionName: string) => boolean; | ||
static getAllLocales: () => Readonly<import("../../../@interfaces").RegionIdProperties<readonly string[]>>; | ||
static getAllLocales: () => Readonly<import("../../../@interfaces").RegionIdProperties<import("../../../@types").LocaleArray>>; | ||
static getAllLocaleNames: () => string[]; | ||
static getLocalesByRegionId: (regionId: string | number) => readonly string[]; | ||
static getLocalesByRegionId: (regionId: string | number) => import("../../../@types").LocaleArray; | ||
static checkIfLocaleLooksValid: (locale: string) => boolean; | ||
static validateLocale: (locale: string) => boolean; | ||
static isLocaleValidForRegionId: (locale: string, regionId: string | number) => boolean; | ||
static getAllSc2Realms: () => Readonly<import("../../../@interfaces").RegionIdProperties<readonly number[]>>; | ||
static getAllAvailableSc2Realms: () => readonly number[]; | ||
static getSc2RealmsByRegionId: (regionId: string | number) => readonly number[]; | ||
static getAllSc2Realms: () => Readonly<import("../../../@interfaces").RegionIdProperties<import("../../../@types").Sc2RealmArray>>; | ||
static getAllAvailableSc2Realms: () => import("../../../@types").Sc2RealmList; | ||
static getSc2RealmsByRegionId: (regionId: string | number) => import("../../../@types").Sc2RealmList; | ||
static checkIfSc2RealmLooksValid: (sc2Realm: string | number) => boolean; | ||
@@ -27,0 +27,0 @@ static validateSc2Realm: (sc2Realm: string | number) => boolean; |
declare const CONSTANTS: { | ||
REGIONS: Readonly<import("../..").RegionIdProperties<readonly string[]>>; | ||
LOCALES: Readonly<import("../..").RegionIdProperties<readonly string[]>>; | ||
REGIONS: Readonly<import("../..").RegionIdProperties<import("../..").RegionNameArray>>; | ||
LOCALES: Readonly<import("../..").RegionIdProperties<import("../..").LocaleArray>>; | ||
DEFAULT_LOCALES: Readonly<import("../..").RegionIdProperties<number>>; | ||
SC2_REALMS: Readonly<import("../..").RegionIdProperties<readonly number[]>>; | ||
SC2_REALMS: Readonly<import("../..").RegionIdProperties<import("../..").Sc2RealmArray>>; | ||
REGION_API_HOSTS: Readonly<import("../..").RegionIdProperties<string | readonly string[]>>; | ||
@@ -7,0 +7,0 @@ OAUTH_AUTHORIZE_URIS: Readonly<import("../..").RegionIdProperties<string>>; |
import { RegionIdProperties } from '../../../../@interfaces'; | ||
declare const _default: Readonly<RegionIdProperties<readonly string[]>>; | ||
import { LocaleArray } from '../../../../@types'; | ||
declare const _default: Readonly<RegionIdProperties<LocaleArray>>; | ||
export default _default; | ||
//# sourceMappingURL=locales.d.ts.map |
import { RegionIdProperties } from '../../../../@interfaces'; | ||
declare const _default: Readonly<RegionIdProperties<readonly string[]>>; | ||
import { RegionNameArray } from '../../../../@types'; | ||
declare const _default: Readonly<RegionIdProperties<RegionNameArray>>; | ||
export default _default; | ||
//# sourceMappingURL=regions.d.ts.map |
import { RegionIdProperties } from '../../../../@interfaces'; | ||
declare const _default: Readonly<RegionIdProperties<readonly number[]>>; | ||
import { Sc2RealmArray } from '../../../../@types'; | ||
declare const _default: Readonly<RegionIdProperties<Sc2RealmArray>>; | ||
export default _default; | ||
//# sourceMappingURL=sc2Realms.d.ts.map |
import { ConstantKey } from '../../../../@types'; | ||
export declare const getConstantByRegion: (regionIdOrName: string | number, constantKey: ConstantKey) => string | number | readonly string[] | readonly number[]; | ||
export declare const getConstantByRegionId: (regionId: string | number, constantKey: ConstantKey) => string | number | readonly string[] | readonly number[]; | ||
export declare const getConstantByRegionName: (regionName: string, constantKey: ConstantKey) => string | number | readonly string[] | readonly number[]; | ||
export declare const getConstantByRegion: (regionIdOrName: string | number, constantKey: ConstantKey) => string | number | readonly string[] | import("../../../../@types").Sc2RealmArray; | ||
export declare const getConstantByRegionId: (regionId: string | number, constantKey: ConstantKey) => string | number | readonly string[] | import("../../../../@types").Sc2RealmArray; | ||
export declare const getConstantByRegionName: (regionName: string, constantKey: ConstantKey) => string | number | readonly string[] | import("../../../../@types").Sc2RealmArray; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,4 +0,5 @@ | ||
export declare const getAllLocales: () => Readonly<import("../../..").RegionIdProperties<readonly string[]>>; | ||
import { LocaleArray } from '../../../../@types'; | ||
export declare const getAllLocales: () => Readonly<import("../../..").RegionIdProperties<LocaleArray>>; | ||
export declare const getAllLocaleNames: () => string[]; | ||
export declare const getLocalesByRegionId: (regionId: string | number) => readonly string[]; | ||
export declare const getLocalesByRegionId: (regionId: string | number) => LocaleArray; | ||
export declare const checkIfLocaleLooksValid: (locale: string) => boolean; | ||
@@ -5,0 +6,0 @@ export declare const validateLocale: (locale: string) => boolean; |
@@ -1,5 +0,6 @@ | ||
export declare const getAllRegions: () => Readonly<import("../../..").RegionIdProperties<readonly string[]>>; | ||
export declare const getAllRegionIds: () => readonly number[]; | ||
import { RegionIdArray, RegionNameArray } from '../../../../@types'; | ||
export declare const getAllRegions: () => Readonly<import("../../..").RegionIdProperties<RegionNameArray>>; | ||
export declare const getAllRegionIds: () => RegionIdArray; | ||
export declare const getAllRegionNames: () => string[]; | ||
export declare const getRegionNameById: (regionId: string | number) => readonly string[]; | ||
export declare const getRegionNameById: (regionId: string | number) => RegionNameArray; | ||
export declare const validateRegionId: (regionId: string | number) => boolean; | ||
@@ -6,0 +7,0 @@ export declare const getRegionIdByName: (regionName: string) => number; |
@@ -1,4 +0,5 @@ | ||
export declare const getAllSc2Realms: () => Readonly<import("../../..").RegionIdProperties<readonly number[]>>; | ||
export declare const getAllAvailableSc2Realms: () => readonly number[]; | ||
export declare const getSc2RealmsByRegionId: (regionId: string | number) => readonly number[]; | ||
import { Sc2RealmList } from '../../../../@types'; | ||
export declare const getAllSc2Realms: () => Readonly<import("../../..").RegionIdProperties<import("../../../../@types").Sc2RealmArray>>; | ||
export declare const getAllAvailableSc2Realms: () => Sc2RealmList; | ||
export declare const getSc2RealmsByRegionId: (regionId: string | number) => Sc2RealmList; | ||
export declare const checkIfSc2RealmLooksValid: (sc2Realm: string | number) => boolean; | ||
@@ -5,0 +6,0 @@ export declare const validateSc2Realm: (sc2Realm: string | number) => boolean; |
export declare const getAllAuthorizeUris: () => Readonly<import("../../..").RegionIdProperties<string>>; | ||
export declare const getAuthorizeUriByRegion: (regionIdOrName: string | number) => string | number | readonly string[] | readonly number[]; | ||
export declare const getAuthorizeUriByRegion: (regionIdOrName: string | number) => string | number | readonly string[] | import("../../../../@types").Sc2RealmArray; | ||
//# sourceMappingURL=authorizeUris.d.ts.map |
export declare const getAllCheckTokenUris: () => Readonly<import("../../..").RegionIdProperties<string>>; | ||
export declare const getCheckTokenUriByRegion: (regionIdOrName: string | number) => string | number | readonly string[] | readonly number[]; | ||
export declare const getCheckTokenUriByRegion: (regionIdOrName: string | number) => string | number | readonly string[] | import("../../../../@types").Sc2RealmArray; | ||
//# sourceMappingURL=checkTokenUris.d.ts.map |
{ | ||
"name": "blizzapi", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Flexible and feature-rich Node.js library for Blizzard Battle.net API", | ||
@@ -40,3 +40,3 @@ "homepage": "https://blizzapi.lukem.net", | ||
"dependencies": { | ||
"axios": "0.19.1", | ||
"axios": "0.19.2", | ||
"base-64": "0.1.0" | ||
@@ -46,9 +46,9 @@ }, | ||
"@types/base-64": "0.1.3", | ||
"@types/jest": "24.0.25", | ||
"@types/node": "13.1.6", | ||
"jest": "24.9.0", | ||
"@types/jest": "25.1.4", | ||
"@types/node": "13.9.0", | ||
"jest": "25.1.0", | ||
"prettier": "1.19.1", | ||
"rimraf": "3.0.0", | ||
"ts-jest": "24.2.0", | ||
"tslint": "5.19.0", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "25.2.1", | ||
"tslint": "6.0.0", | ||
"tslint-config-airbnb": "5.11.2", | ||
@@ -59,3 +59,3 @@ "tslint-config-prettier": "1.18.0", | ||
"tslint-plugin-prettier": "2.1.0", | ||
"typescript": "3.6.2" | ||
"typescript": "3.8.3" | ||
}, | ||
@@ -62,0 +62,0 @@ "keywords": [ |
@@ -8,3 +8,3 @@ <img src="https://raw.githubusercontent.com/lukemnet/blizzapi-docs/master/docs/.vuepress/public/logo.png" alt="BlizzAPI logo" width="200" height="200"> | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/8c2b8e4efe8441ad055f/maintainability)](https://codeclimate.com/github/lukemnet/blizzapi/maintainability) | ||
[![Test Coverage](https://api.codeclimate.com/v1/badges/8c2b8e4efe8441ad055f/test_coverage)](https://codeclimate.com/github/lukemnet/blizzapi/test_coverage) [![Greenkeeper badge](https://badges.greenkeeper.io/lukemnet/blizzapi.svg)](https://greenkeeper.io/) | ||
[![Test Coverage](https://api.codeclimate.com/v1/badges/8c2b8e4efe8441ad055f/test_coverage)](https://codeclimate.com/github/lukemnet/blizzapi/test_coverage) | ||
@@ -11,0 +11,0 @@ Flexible feature-rich library for easy access to [Battle.net API](https://develop.battle.net/). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
89186
1006
+ Addedaxios@0.19.2(transitive)
- Removedaxios@0.19.1(transitive)
Updatedaxios@0.19.2