@jam-comments/server-utilities 5.16.1-beta.0 → 6.0.0

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.
@@ -32,7 +32,7 @@ async function fetchAll({ tz = undefined, dateFormat = undefined, domain, apiKey
32
32
  items.forEach((item) => {
33
33
  store.set(item.path, item.markup);
34
34
  });
35
- if (current_page === last_page) {
35
+ if (current_page >= last_page) {
36
36
  shouldKeepFetching = false;
37
37
  }
38
38
  else {
@@ -24,7 +24,7 @@ export async function fetchAll({ tz = undefined, dateFormat = undefined, domain,
24
24
  items.forEach((item) => {
25
25
  store.set(item.path, item.markup);
26
26
  });
27
- if (current_page === last_page) {
27
+ if (current_page >= last_page) {
28
28
  shouldKeepFetching = false;
29
29
  }
30
30
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jam-comments/server-utilities",
3
- "version": "5.16.1-beta.0",
3
+ "version": "6.0.0",
4
4
  "description": "Various JavaScript utilities for JamComments.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",