Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
GardZock committed Jun 20, 2022
1 parent c0fc259 commit 07af562
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
3 changes: 2 additions & 1 deletion dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

This is a package to simplify use of Wargaming API.

[![BUILD](https://img.shields.io/github/workflow/status/Warcord/WarCord-Lib/CodeQL)](https://github.com/Warcord/WarCord-Lib/actions/workflows/codeql-analysis.yml) [![NPM_DOWNLOADS](https://img.shields.io/npm/dm/warcord)](https://nodei.co/npm/warcord/) [![NPM_LICENSE](https://img.shields.io/npm/l/warcord)](https://nodei.co/npm/warcord/) [![NPM_VERSION](https://img.shields.io/npm/v/warcord)](https://nodei.co/npm/warcord/) [![PULL_REQUESTS](https://img.shields.io/github/issues-pr/Warcord/WarCord-Lib)](https://github.com/Warcord/WarCord-Lib/pulls)

[![NPM](https://nodei.co/npm/warcord.png)](https://nodei.co/npm/warcord/)
[![BUILD](https://img.shields.io/appveyor/build/Warcord/WarCord-Lib)](https://github.com/Warcord/WarCord-Lib)

## Initial Files:
```js
Expand Down
18 changes: 8 additions & 10 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
import { WOTClanResolve } from './packages/wargaming/world-of-tanks/src/interfaces/clan/clan-resolve';
import { WOTClanSearchResolve } from './packages/wargaming/world-of-tanks/src/interfaces/clan/search-resolve';
import { WOTTanksResolve } from './packages/wargaming/world-of-tanks/src/interfaces/tank/tank-resolve';
import { WOTTopTanksResolve } from './packages/wargaming/world-of-tanks/src/interfaces/tank/top-tanks';
import { WOTUserResolve } from './packages/wargaming/world-of-tanks/src/interfaces/user/user-return';
import { UserSearchResolve } from './packages/wargaming/build/interfaces/search-resolve';
import { BaseClass } from './builds/class/base';
import { WOTUser } from './packages/wargaming/world-of-tanks/src/functions/user';
import { WOTTankopedia } from './packages/wargaming/world-of-tanks/src/functions/tank';
Expand All @@ -18,8 +12,14 @@ import { WOWSClans } from './packages/wargaming/world-of-warships/src/functions/
import { WOTCUser } from './packages/wargaming/world-of-tanks-console/src/functions/user';
import { WOTCClan } from './packages/wargaming/world-of-tanks-console/src/functions/clan';
import { WOTCTankopedia } from './packages/wargaming/world-of-tanks-console/src/functions/tankopedia';
declare type AllRealms = 'na' | 'eu' | 'ru' | 'asia';
declare class WarCord extends BaseClass {
import { WOTClanResolve } from './packages/wargaming/world-of-tanks/src/interfaces/clan/clan-resolve';
import { WOTClanSearchResolve } from './packages/wargaming/world-of-tanks/src/interfaces/clan/search-resolve';
import { WOTTanksResolve } from './packages/wargaming/world-of-tanks/src/interfaces/tank/tank-resolve';
import { WOTTopTanksResolve } from './packages/wargaming/world-of-tanks/src/interfaces/tank/top-tanks';
import { WOTUserResolve } from './packages/wargaming/world-of-tanks/src/interfaces/user/user-return';
import { UserSearchResolve } from './packages/wargaming/build/interfaces/search-resolve';
export declare type AllRealms = 'na' | 'eu' | 'ru' | 'asia';
export declare class WarCord extends BaseClass {
app: {
id: string;
realm?: AllRealms;
Expand Down Expand Up @@ -53,6 +53,4 @@ declare class WarCord extends BaseClass {
private idChecker;
private realmChecker;
}
export { WarCord };
export { WOTClanResolve, WOTClanSearchResolve, WOTTanksResolve, WOTTopTanksResolve, WOTUserResolve, UserSearchResolve };
export { AllRealms };
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class WarCord extends base_1.BaseClass {
'asia'
];
if (!realms.includes(realm)) {
(0, console_1.warn)('[WarCord] Your API Lang is not valid. Now, the default is in use.');
(0, console_1.warn)('[WarCord] Your API Lang is not valid. Using default...');
return 'com';
}
if (realm == 'na') {
Expand Down

0 comments on commit 07af562

Please sign in to comment.