Skip to content

Commit

Permalink
release: v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
drudge committed Dec 19, 2024
1 parent b026431 commit d9b60b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nodes/Puppeteer/Puppeteer.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async function handleOptions(
const pageCaching = options.pageCaching !== false;
const headers: HeaderObject = (options.headers || {}) as HeaderObject;

const requestHeaders = headers.parameter.reduce((acc, header) => {
const requestHeaders = (headers.parameter || []).reduce((acc, header) => {
acc[header.name] = header.value;
return acc;
}, {});
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "n8n-nodes-puppeteer",
"version": "1.3.0",
"version": "1.3.1",
"description": "n8n node for browser automation using Puppeteer",
"license": "MIT",
"homepage": "https://github.com/drudge/n8n-nodes-puppeteer",
Expand Down

0 comments on commit d9b60b0

Please sign in to comment.