@resourcefulhumans/rheactor-image-service
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "@resourcefulhumans/rheactor-image-service", | ||
"description": "An image processing backend running on AWS Lambda.", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"publishConfig": { | ||
@@ -6,0 +6,0 @@ "access": "public" |
@@ -14,3 +14,5 @@ /* global process */ | ||
const deployTime = process.env.DEPLOY_TIME | ||
const publicKey = `-----BEGIN PUBLIC KEY-----\n${process.env.PUBLIC_KEY.match(/.{1,64}/g).join('\n')}\n-----END PUBLIC KEY-----` | ||
// TODO: Load the key public from S3 | ||
const keyType = environment === 'testing' ? 'PUBLIC KEY' : 'RSA PUBLIC KEY' | ||
const publicKey = `-----BEGIN ${keyType}-----\n${process.env.PUBLIC_KEY.match(/.{1,64}/g).join('\n')}\n-----END ${keyType}-----` | ||
@@ -17,0 +19,0 @@ const s3 = new AWS.S3({ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
34414
264
0