lol-constants 0.1.1 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -32135,3 +32135,4 @@ export declare const championByName: {
32135
32135
  };
32136
32136
  version: string;
32137
32137
  };
32138
+ export type { ChampionKey, ChampionName } from './types';
@@ -0,0 +1,4 @@
1
+ import championByKey from '../generated/championByKey.json';
2
+ import championByName from '../generated/championByName.json';
3
+ export declare type ChampionName = keyof typeof championByName.data;
4
+ export declare type ChampionKey = keyof typeof championByKey.data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "0.1.1",
3
+ "version": "0.1.4",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",