splatoon3api
Advanced tools
+9
-0
@@ -5,2 +5,11 @@ # Change Log | ||
| ## 2.0.4 - 2025-01-13 | ||
| ### Added | ||
| - Salmonrun schedules now contain information about the current boss | ||
| ### Changed | ||
| ### Fixed | ||
| ## 2.0.3 - 2025-01-10 | ||
@@ -7,0 +16,0 @@ |
@@ -21,3 +21,3 @@ "use strict"; | ||
| json.data.coopGroupingSchedule.regularSchedules.nodes.forEach((node, index) => { | ||
| var _a, _b; | ||
| var _a, _b, _c; | ||
| if (json.data.coopGroupingSchedule.regularSchedules.nodes[index]) { | ||
@@ -31,7 +31,8 @@ data.regularSchedules[index] = { | ||
| }, | ||
| weapons: [] | ||
| weapons: [], | ||
| boss: (_b = translation.bosses[json.data.coopGroupingSchedule.regularSchedules.nodes[index].setting.boss.id]) === null || _b === void 0 ? void 0 : _b.name | ||
| }; | ||
| for (let i = 0; i < 4; i++) { | ||
| data.regularSchedules[index].weapons.push({ | ||
| name: (_b = translation.weapons[json.data.coopGroupingSchedule.regularSchedules.nodes[index].setting.weapons[i].__splatoon3ink_id]) === null || _b === void 0 ? void 0 : _b.name, | ||
| name: (_c = translation.weapons[json.data.coopGroupingSchedule.regularSchedules.nodes[index].setting.weapons[i].__splatoon3ink_id]) === null || _c === void 0 ? void 0 : _c.name, | ||
| image: json.data.coopGroupingSchedule.regularSchedules.nodes[index].setting.weapons[i].image.url | ||
@@ -43,3 +44,3 @@ }); | ||
| json.data.coopGroupingSchedule.bigRunSchedules.nodes.forEach((node, index) => { | ||
| var _a; | ||
| var _a, _b; | ||
| if (json.data.coopGroupingSchedule.bigRunSchedules.nodes[index]) { | ||
@@ -53,7 +54,8 @@ data.bigRunSchedules[index] = { | ||
| }, | ||
| weapons: [] | ||
| weapons: [], | ||
| boss: (_a = translation.bosses[json.data.coopGroupingSchedule.bigRunSchedules.nodes[index].setting.boss.id]) === null || _a === void 0 ? void 0 : _a.name | ||
| }; | ||
| for (let i = 0; i < 4; i++) { | ||
| data.bigRunSchedules[index].weapons.push({ | ||
| name: (_a = translation.weapons[json.data.coopGroupingSchedule.bigRunSchedules.nodes[index].setting.weapons[i].__splatoon3ink_id]) === null || _a === void 0 ? void 0 : _a.name, | ||
| name: (_b = translation.weapons[json.data.coopGroupingSchedule.bigRunSchedules.nodes[index].setting.weapons[i].__splatoon3ink_id]) === null || _b === void 0 ? void 0 : _b.name, | ||
| image: json.data.coopGroupingSchedule.bigRunSchedules.nodes[index].setting.weapons[i].image.url | ||
@@ -60,0 +62,0 @@ }); |
+1
-0
@@ -194,2 +194,3 @@ export type Lang = 'de-DE' | 'en-GB' | 'en-US' | 'es-ES' | 'es-MX' | 'fr-FR' | 'fr-CA' | 'it-IT' | 'ja-JP' | 'ko-KR' | 'nl-NL' | 'ru-RU' | 'zh-CN' | 'zh-TW'; | ||
| weapons: SalmonRunWeapon[]; | ||
| boss: string; | ||
| } | ||
@@ -196,0 +197,0 @@ export interface SalmonResult { |
+1
-1
| { | ||
| "name": "splatoon3api", | ||
| "version": "2.0.3", | ||
| "version": "2.0.4", | ||
| "description": "A simple Method to get current and next Splatoon 3 maps, Salmonrun Schedules and Splatnet gear", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
243183
0.21%2441
0.12%