2.1.1 • Published 7 months ago
@blizzard-api/core v2.1.1
@blizzard-api/core
This package provides core functionality to the other @blizzard-api/* packages.
Installation
npm i @blizzard-api/coreUsage
The package includes a series of types that define values that are allowed to be passed to Battle.net API.
import type { BlizzardNamespaces, Locales, Origins } from '@blizzard-api/core';It also includes a helper function to get the origin, hostname and locale easily accessible based off a single origin.
import type { getBlizzardApi } from '@blizzard-api/core';
const { origin, hostname, locale } = getBlizzardApi('eu'); // "kr" | "tw" | "us"2.1.1
7 months ago
2.0.2
10 months ago
2.1.0
9 months ago
2.0.1
1 year ago
2.0.0
1 year ago
1.2.1
1 year ago
1.2.0
1 year ago
1.1.1
1 year ago
1.1.2
1 year ago
1.1.0
2 years ago
1.0.0
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago