4sp-dv 1.1.13 → 1.1.15

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.
@@ -1248,7 +1248,13 @@
1248
1248
  allGames = [...strongdogGames, ...othersGames];
1249
1249
  }
1250
1250
 
1251
- allGames = allGames.filter(g => !['bitlife', 'soundboard', 'five nights at e'].some(term => g.name.toLowerCase().includes(term)));
1251
+ let blacklistedTerms = ['bitlife', 'soundboard', 'epstei'];
1252
+ try {
1253
+ const blacklistRes = await fetch("https://cdn.jsdelivr.net/npm/4sp-asset-library@latest/blacklisted_games.json");
1254
+ if (blacklistRes.ok) blacklistedTerms = await blacklistRes.json();
1255
+ } catch (e) { console.warn("Blacklist fetch failed", e); }
1256
+
1257
+ allGames = allGames.filter(g => !blacklistedTerms.some(term => g.name.toLowerCase().includes(term.toLowerCase())));
1252
1258
 
1253
1259
  searchableGames = [];
1254
1260
  allGames.forEach(game => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "4sp-dv",
3
- "version": "1.1.13",
3
+ "version": "1.1.15",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/v5-4simpleproblems/v5-4simpleproblems-dv#readme",