idea-html2pdf
Advanced tools
Comparing version 2.1.8 to 2.2.0
@@ -68,3 +68,3 @@ /// <reference types="node" /> | ||
* The name of the default Lambda function to invoke. | ||
* Default: `idea_html2pdf`. | ||
* Default: `idea_html2pdf:prod`. | ||
*/ | ||
@@ -74,3 +74,3 @@ lambdaFnName?: string; | ||
* The name of the default Lambda function to invoke (alternate version via S3 Bucket). | ||
* Default: `idea_html2pdf_viaS3Bucket`. | ||
* Default: `idea_html2pdf_viaS3Bucket:prod`. | ||
*/ | ||
@@ -77,0 +77,0 @@ lambdaFnViaS3BucketName?: string; |
@@ -42,5 +42,5 @@ "use strict"; | ||
if (!options.lambdaFnName) | ||
options.lambdaFnName = 'idea_html2pdf'; | ||
options.lambdaFnName = 'idea_html2pdf:prod'; | ||
if (!options.lambdaFnViaS3BucketName) | ||
options.lambdaFnViaS3BucketName = 'idea_html2pdf_viaS3Bucket'; | ||
options.lambdaFnViaS3BucketName = 'idea_html2pdf_viaS3Bucket:prod'; | ||
this.handlebarsRegisterDefaultHelpers(); | ||
@@ -47,0 +47,0 @@ } |
{ | ||
"name": "idea-html2pdf", | ||
"version": "2.1.8", | ||
"version": "2.2.0", | ||
"description": "IDEA helper for generating a PDF from HTML contents", | ||
@@ -37,7 +37,9 @@ "engines": { | ||
}, | ||
"devDependencies": { | ||
"peerDependencies": { | ||
"@aws-sdk/client-lambda": "^3.388.0", | ||
"@aws-sdk/client-s3": "^3.388.0", | ||
"@aws-sdk/lib-storage": "^3.388.0", | ||
"@aws-sdk/s3-request-presigner": "^3.388.0", | ||
"@aws-sdk/s3-request-presigner": "^3.388.0" | ||
}, | ||
"devDependencies": { | ||
"@tsconfig/node18": "^18.2.0", | ||
@@ -44,0 +46,0 @@ "@types/node": "^18.17.4", |
@@ -22,2 +22,2 @@ # IDEA HTML -> PDF | ||
The AWS-SDK is already pre-installed in every Lambda Function; therefore, it's a devDependency. | ||
The AWS SDK's (v3) packages are already pre-installed in every Lambda Function; therefore, they are `peerDependencies`. |
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
27372
7
6