lol-constants 0.1.2 → 0.1.5

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.
@@ -1,7 +1,7 @@
1
1
  export declare const DDPaths: {
2
- CHAMPION_ICON_BASE: string;
3
- SPELL_ICON_BASE: string;
4
- PROFILE_ICON_BASE: string;
5
- ITEM_ICON_BASE: string;
6
- RUNE_ICON_BASE: string;
2
+ readonly CHAMPION_ICON_BASE: `${string}img/champion/`;
3
+ readonly SPELL_ICON_BASE: `${string}img/spell/`;
4
+ readonly PROFILE_ICON_BASE: `${string}img/profileicon/`;
5
+ readonly ITEM_ICON_BASE: `${string}img/item/`;
6
+ readonly RUNE_ICON_BASE: "./public/pics/league/";
7
7
  };
package/dist/index.d.ts CHANGED
@@ -32135,4 +32135,4 @@ export declare const championByName: {
32135
32135
  };
32136
32136
  version: string;
32137
32137
  };
32138
- export * from './types';
32138
+ export { ChampionKey, ChampionName } from './types';
package/dist/index.js CHANGED
@@ -1,18 +1,4 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
17
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
4
  };
@@ -32,4 +18,3 @@ const championByKey_json_1 = __importDefault(require("./generated/championByKey.
32
18
  const championByName_json_1 = __importDefault(require("./generated/championByName.json"));
33
19
  exports.championByKey = championByKey_json_1.default;
34
20
  exports.championByName = championByName_json_1.default;
35
- __exportStar(require("./types"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
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",