n8n-nodes-fingrid 0.2.7 → 0.2.8

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.
@@ -329,8 +329,8 @@ class Fingrid {
329
329
  displayName: "Page Size",
330
330
  name: "pageSize",
331
331
  type: "number",
332
- default: 20000,
333
- description: "Rows to request per page from the API when 'Return All' is on. Fingrid's own client defaults range from 250 to 20000 depending on endpoint.",
332
+ default: 250,
333
+ description: "Rows to request per page from the API when 'Return All' is on. Fingrid enforces a maximum of 250 per page.",
334
334
  },
335
335
  {
336
336
  displayName: "Sort By",
@@ -152,7 +152,7 @@ async function fetchPaginated(endpoint, qs, i) {
152
152
  var _a;
153
153
  const returnAll = this.getNodeParameter("returnAll", i, false);
154
154
  const limit = this.getNodeParameter("limit", i, 50);
155
- const pageSize = qs.pageSize || 20000;
155
+ const pageSize = qs.pageSize || 250;
156
156
  const collected = [];
157
157
  let page = 1;
158
158
  let lastPage = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-fingrid",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "n8n community node for Fingrid Open Data — Finnish power grid and electricity market data",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",