e4k-data 4.104.32 → 4.104.34

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/types.d.ts +13 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "e4k-data",
3
- "version": "4.104.32",
3
+ "version": "4.104.34",
4
4
  "description": "All recent data from Empire: Four Kingdoms",
5
5
  "main": "index.js",
6
6
  "types": "./typings/types.d.ts",
@@ -1,23 +1,20 @@
1
- //export * from './data';
2
1
  import {Data} from './data';
3
- //export * from './images';
4
2
  import {Images} from './images';
5
- //export * from './languages';
6
3
  import {Languages} from './languages';
7
4
 
8
- declare interface E4KData {
9
- country: Countries;
10
- data: Data;
11
- imageData: Images;
12
- imageBaseUrl: string;
13
- languages: Languages;
14
- network: Network;
15
- }
5
+ export * from './data';
6
+ export * from './images';
7
+ export * from './languages';
16
8
 
17
- export = E4KData;
9
+ export declare const country: Countries;
10
+ export declare const data: Data;
11
+ export declare const imageData: Images;
12
+ export declare const imageBaseUrl: string;
13
+ export declare const languages: Languages;
14
+ export declare const network: Network;
18
15
 
19
16
  ///region Country
20
- declare interface Countries {
17
+ export interface Countries {
21
18
  versionNo: number,
22
19
  deployTime: number,
23
20
  AR: Country,
@@ -54,7 +51,7 @@ declare interface Countries {
54
51
  HANT: Country,
55
52
  }
56
53
 
57
- declare interface Country {
54
+ export interface Country {
58
55
  country: string,
59
56
  lang: string,
60
57
  flashCode: string,
@@ -68,7 +65,7 @@ declare interface Country {
68
65
  ///endregion
69
66
 
70
67
  ///region Network
71
- declare interface Network {
68
+ export interface Network {
72
69
  versionNo: number,
73
70
  deployTime: number,
74
71
  is_approval: boolean,
@@ -95,7 +92,7 @@ declare interface Network {
95
92
  }
96
93
  }
97
94
 
98
- declare interface NetworkInstance {
95
+ export interface NetworkInstance {
99
96
  value: number,
100
97
  server: string,
101
98
  port: number,