@algoux/standard-ranklist-utils 0.2.10 → 0.2.11

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.cjs CHANGED
@@ -614,7 +614,9 @@ function genSeriesCalcFns(series, rows, ranks, officialRanks) {
614
614
  }
615
615
  }
616
616
  });
617
- filteredRows = currentFilteredRows;
617
+ filteredRows = currentFilteredRows.filter(
618
+ (row) => row.user.official === void 0 || row.user.official === true
619
+ );
618
620
  }
619
621
  }
620
622
  const usingEndpointRules = [];
package/dist/index.mjs CHANGED
@@ -612,7 +612,9 @@ function genSeriesCalcFns(series, rows, ranks, officialRanks) {
612
612
  }
613
613
  }
614
614
  });
615
- filteredRows = currentFilteredRows;
615
+ filteredRows = currentFilteredRows.filter(
616
+ (row) => row.user.official === void 0 || row.user.official === true
617
+ );
616
618
  }
617
619
  }
618
620
  const usingEndpointRules = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algoux/standard-ranklist-utils",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "author": "bLue",
5
5
  "keywords": [
6
6
  "standard ranklist",