carbone-sdk
Advanced tools
Comparing version 1.5.0 to 1.6.0
{ | ||
"name": "carbone-sdk", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Carbone API NodeJS SDK to generate documents: PDF, DOCX, XLSX, PPTX, ODT, ODP, ODS, CSV, JPG, PNG, invoices, reports, financial, contracts, financial statements and more.", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"engines": { | ||
"node": ">=18.0.0" | ||
"node": ">=16.0.0" | ||
}, | ||
@@ -33,0 +33,0 @@ "author": "", |
@@ -130,2 +130,8 @@ const get = require('simple-get'); | ||
if (options?.headers?.['carbone-webhook-url']?.length > 0 || config?.headers?.['carbone-webhook-url']?.length) { | ||
if (callback) { | ||
return callback(null, 'A render ID will be sent to your webhook URL when the document is generated.', ''); | ||
} | ||
return stream.end(); | ||
} | ||
return utils.parseResponse(response, body, undefined, true, (err, data) => { | ||
@@ -132,0 +138,0 @@ if (err) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42325
658