@wfcd/relics 2.0.31 → 2.0.33
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/CHANGELOG.md +14 -0
- package/dist/Build.cjs +1 -1
- package/dist/Build.mjs +1 -1
- package/dist/{VersionManager-BckuXhbh.mjs → VersionManager--c_teh5c.mjs} +0 -1
- package/dist/{VersionManager-CDrWT0KK.cjs → VersionManager-CcEflrXR.cjs} +8 -10
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -8
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.0.33](https://github.com/WFCD/warframe-relic-data/compare/v2.0.32...v2.0.33) (2026-08-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump tar and npm ([#426](https://github.com/WFCD/warframe-relic-data/issues/426)) ([d016ca9](https://github.com/WFCD/warframe-relic-data/commit/d016ca93af7c7ceb7e47fd661314a026cac68f67))
|
|
7
|
+
|
|
8
|
+
## [2.0.32](https://github.com/WFCD/warframe-relic-data/compare/v2.0.31...v2.0.32) (2026-08-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** drop unnecessary prod dependencies ([#423](https://github.com/WFCD/warframe-relic-data/issues/423)) ([0ea53b5](https://github.com/WFCD/warframe-relic-data/commit/0ea53b58cccac70d959a7bf00bbe672327c07c8e))
|
|
14
|
+
|
|
1
15
|
## [2.0.31](https://github.com/WFCD/warframe-relic-data/compare/v2.0.30...v2.0.31) (2026-08-12)
|
|
2
16
|
|
|
3
17
|
|
package/dist/Build.cjs
CHANGED
package/dist/Build.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./rolldown-runtime-C0LytTxp.mjs";
|
|
2
|
-
import { n as Generator, r as Logger_default, t as VersionManager } from "./VersionManager
|
|
2
|
+
import { n as Generator, r as Logger_default, t as VersionManager } from "./VersionManager--c_teh5c.mjs";
|
|
3
3
|
//#region src/Build.ts
|
|
4
4
|
/**
|
|
5
5
|
* Entrypoint for the build process.
|
|
@@ -24,8 +24,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
|
-
let node_fetch = require("node-fetch");
|
|
28
|
-
node_fetch = __toESM(node_fetch);
|
|
29
27
|
let node_fs_promises = require("node:fs/promises");
|
|
30
28
|
node_fs_promises = __toESM(node_fs_promises);
|
|
31
29
|
let node_path = require("node:path");
|
|
@@ -142,25 +140,25 @@ var Generator = class {
|
|
|
142
140
|
*/
|
|
143
141
|
async fetchRawData() {
|
|
144
142
|
var _await$relicRequest$j;
|
|
145
|
-
const relicRequest = await (
|
|
143
|
+
const relicRequest = await fetch(Config.warframeRelicDropUrl);
|
|
146
144
|
if (!relicRequest.ok) {
|
|
147
145
|
Logger_default.error("Failed to fetch Warframe relics from WFCD!");
|
|
148
146
|
return;
|
|
149
147
|
}
|
|
150
148
|
this.relicsRaw = (_await$relicRequest$j = await relicRequest.json()) === null || _await$relicRequest$j === void 0 ? void 0 : _await$relicRequest$j.relics;
|
|
151
|
-
const wfmRequest = await (
|
|
149
|
+
const wfmRequest = await fetch(Config.warframeMarketItemUrl);
|
|
152
150
|
if (!wfmRequest.ok) {
|
|
153
151
|
Logger_default.error("Failed to fetch items from WFM!");
|
|
154
152
|
return;
|
|
155
153
|
}
|
|
156
154
|
this.wfmItems = await wfmRequest.json();
|
|
157
|
-
const wfcdItemRequest = await (
|
|
155
|
+
const wfcdItemRequest = await fetch(Config.warframeItemsUrl);
|
|
158
156
|
if (!wfcdItemRequest.ok) {
|
|
159
157
|
Logger_default.error("Failed to fetch items from WFCD! ");
|
|
160
158
|
return;
|
|
161
159
|
}
|
|
162
160
|
this.wfcdItems = await wfcdItemRequest.json();
|
|
163
|
-
const sparseRequest = await (
|
|
161
|
+
const sparseRequest = await fetch(Config.warframeItemsSparseUrl);
|
|
164
162
|
if (!sparseRequest.ok) {
|
|
165
163
|
Logger_default.error("Failed to fetch sparse items from WFCD!");
|
|
166
164
|
return;
|
|
@@ -221,7 +219,7 @@ var Generator = class {
|
|
|
221
219
|
*/
|
|
222
220
|
async fetchItemByName(name) {
|
|
223
221
|
const url = `${Config.warframeItemByNameUrl}${encodeURIComponent(name)}?only=name,uniqueName,components`;
|
|
224
|
-
const response = await (
|
|
222
|
+
const response = await fetch(url);
|
|
225
223
|
if (!response.ok) {
|
|
226
224
|
Logger_default.debug(`Failed to fetch item by name: ${name} (${response.status})`);
|
|
227
225
|
return;
|
|
@@ -377,7 +375,7 @@ var VersionManager = class {
|
|
|
377
375
|
* Checks if the current data needs an update
|
|
378
376
|
*/
|
|
379
377
|
async updateNeeded() {
|
|
380
|
-
const infoReq = await (
|
|
378
|
+
const infoReq = await fetch(Config.warframeRelicDropInfoUrl);
|
|
381
379
|
if (!infoReq.ok) Logger_default.fatal("Failed to fetch version info!");
|
|
382
380
|
const info = await infoReq.json();
|
|
383
381
|
try {
|
|
@@ -392,14 +390,14 @@ var VersionManager = class {
|
|
|
392
390
|
* @param {number} timestamp Timestamp the build was started at
|
|
393
391
|
*/
|
|
394
392
|
async writeVersion(timestamp) {
|
|
395
|
-
const patchLogsReq = await (
|
|
393
|
+
const patchLogsReq = await fetch(Config.warframePatchlogsUrl);
|
|
396
394
|
if (!patchLogsReq.ok) {
|
|
397
395
|
Logger_default.error("Failed to fetch patchlogs");
|
|
398
396
|
return;
|
|
399
397
|
}
|
|
400
398
|
const patchlogs = await patchLogsReq.json();
|
|
401
399
|
const version = patchlogs[0].name.replace(/ \+ /g, "--").replace(/[^0-9\-.]/g, "").trim();
|
|
402
|
-
const hashReq = await (
|
|
400
|
+
const hashReq = await fetch(Config.warframeRelicDropInfoUrl);
|
|
403
401
|
if (!hashReq.ok) {
|
|
404
402
|
Logger_default.error("Failed to fetch hashInfo");
|
|
405
403
|
return;
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_VersionManager = require("./VersionManager-
|
|
2
|
+
const require_VersionManager = require("./VersionManager-CcEflrXR.cjs");
|
|
3
3
|
exports.Generator = require_VersionManager.Generator;
|
|
4
4
|
exports.VersionManager = require_VersionManager.VersionManager;
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Generator, t as VersionManager } from "./VersionManager
|
|
1
|
+
import { n as Generator, t as VersionManager } from "./VersionManager--c_teh5c.mjs";
|
|
2
2
|
export { Generator, VersionManager };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wfcd/relics",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.33",
|
|
4
4
|
"description": "Relic Data for Warframe",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"exports": {
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"@types/chai": "^4.3.3",
|
|
42
42
|
"@types/mocha": "^10.0.0",
|
|
43
43
|
"@types/node": "^26.0.0",
|
|
44
|
-
"@types/node-fetch": "^2.6.2",
|
|
45
44
|
"chai": "^4.3.6",
|
|
46
45
|
"coveralls": "^3.1.1",
|
|
47
46
|
"eslint": "^10.1.0",
|
|
@@ -58,13 +57,11 @@
|
|
|
58
57
|
"typescript": "^5.0.4",
|
|
59
58
|
"typescript-eslint": "^8.58.0"
|
|
60
59
|
},
|
|
61
|
-
"dependencies": {
|
|
62
|
-
"@semantic-release/changelog": "^7.0.0",
|
|
63
|
-
"@semantic-release/git": "^11.0.1",
|
|
64
|
-
"node-fetch": "^2.6.7",
|
|
65
|
-
"warframe-patchlogs": "^2.3.3"
|
|
66
|
-
},
|
|
67
60
|
"publishConfig": {
|
|
68
61
|
"provenance": true
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@semantic-release/changelog": "^7.0.0",
|
|
65
|
+
"@semantic-release/git": "^11.0.1"
|
|
69
66
|
}
|
|
70
67
|
}
|