@wfcd/relics 2.0.8 → 2.0.10

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.
package/dist/index.d.ts CHANGED
@@ -142,13 +142,14 @@ interface TitaniaRelicRewardItem {
142
142
  */
143
143
  warframeMarket?: TitaniaWFMInfo;
144
144
  }
145
+ type Rarity = 'Uncommon' | 'Rare' | 'Legendary' | 'Common';
145
146
  interface TitaniaRelicLocation {
146
147
  /** Location Info $planet-$node (Ex: Eris - Phalan) */
147
148
  location: string;
148
149
  /**
149
150
  * Rarity (Uncommon, Rare ?)
150
151
  */
151
- rarity: 'Uncommon' | 'Rare' | 'Legendary' | 'Common' | string;
152
+ rarity: Rarity;
152
153
  /**
153
154
  * Dropchance in %
154
155
  */
@@ -232,4 +233,4 @@ declare class VersionManager {
232
233
  writeVersion(timestamp: number): Promise<void>;
233
234
  }
234
235
 
235
- export { Generator, type TitaniaRelic, type TitaniaRelicLocation, type TitaniaRelicReward, type TitaniaRelicRewardItem, type TitaniaRelicVaultedInfo, type TitaniaWFMInfo, VersionManager, type WFCDItem, type WFCDItemDropLocation, type WFCDRelic, type WFCDRelicReward, type WarframeMarketItem, type WarframeMarketRoot };
236
+ export { Generator, type Rarity, type TitaniaRelic, type TitaniaRelicLocation, type TitaniaRelicReward, type TitaniaRelicRewardItem, type TitaniaRelicVaultedInfo, type TitaniaWFMInfo, VersionManager, type WFCDItem, type WFCDItemDropLocation, type WFCDRelic, type WFCDRelicReward, type WarframeMarketItem, type WarframeMarketRoot };
package/dist/index.js CHANGED
@@ -37,9 +37,9 @@ __export(src_exports, {
37
37
  module.exports = __toCommonJS(src_exports);
38
38
 
39
39
  // src/Generator.ts
40
- var import_node_fetch = __toESM(require("node-fetch"));
41
40
  var import_promises = __toESM(require("fs/promises"));
42
41
  var import_node_path = __toESM(require("path"));
42
+ var import_node_fetch = __toESM(require("node-fetch"));
43
43
 
44
44
  // src/Config.ts
45
45
  var Config = {
package/dist/index.mjs CHANGED
@@ -2,9 +2,9 @@ var __defProp = Object.defineProperty;
2
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
3
 
4
4
  // src/Generator.ts
5
- import fetch from "node-fetch";
6
5
  import fs from "fs/promises";
7
6
  import path from "path";
7
+ import fetch from "node-fetch";
8
8
 
9
9
  // src/Config.ts
10
10
  var Config = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wfcd/relics",
3
- "version": "2.0.8",
3
+ "version": "2.0.10",
4
4
  "description": "Relic Data for Warframe",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -18,7 +18,7 @@
18
18
  "coverage": "npm test && nyc report --reporter=text-lcov | coveralls",
19
19
  "lint": "eslint .",
20
20
  "lint:fix": "eslint . --fix",
21
- "postinstall": "install-peerdeps @wfcd/eslint-config@^1.3.3 -S",
21
+ "postinstall": "npx install-peerdeps @wfcd/eslint-config@latest -S",
22
22
  "prepack": "npm run build",
23
23
  "start": "npm run build && node dist/Build.js",
24
24
  "test": "nyc mocha",
@@ -46,19 +46,18 @@
46
46
  "@wfcd/eslint-config": "^1.2.0",
47
47
  "chai": "^4.3.6",
48
48
  "coveralls": "^3.1.1",
49
- "install-peerdeps": "^2.0.3",
50
49
  "mocha": "^10.0.0",
51
50
  "nyc": "^15.1.0",
52
51
  "precommit-hook": "^3.0.0",
53
52
  "ts-mocha": "^10.0.0",
54
53
  "ts-node": "^10.9.1",
55
54
  "tsconfig-paths": "^4.1.0",
56
- "tsup": "^7.0.0",
55
+ "tsup": "^8.0.2",
57
56
  "typescript": "^5.0.4"
58
57
  },
59
58
  "dependencies": {
60
59
  "node-fetch": "^2.6.7",
61
- "warframe-patchlogs": "^1.768.0"
60
+ "warframe-patchlogs": "^2.3.3"
62
61
  },
63
62
  "eslintIgnore": [
64
63
  "dist/**"