arc-macro-custom-domain
Advanced tools
Comparing version 2.2.0 to 2.2.1-alpha-1
@@ -23,4 +23,8 @@ module.exports = function(arc, cloudformation, stage) { | ||
let restId = 'ServerlessHttpApi' | ||
let typeKey = 'AWS::Serverless::Api'; | ||
if (params.httpAPI) { | ||
typeKey = 'AWS::Serverless::HttpApi'; | ||
} | ||
Object.keys(cloudformation.Resources).forEach(k => { | ||
if (cloudformation.Resources[k].Type === 'AWS::Serverless::Api') { | ||
if (cloudformation.Resources[k].Type === typeKey) { | ||
restId = k; | ||
@@ -27,0 +31,0 @@ } |
{ | ||
"name": "arc-macro-custom-domain", | ||
"version": "2.2.0", | ||
"version": "2.2.1-alpha-1", | ||
"description": "- only works on staging (for now) - can override domain with `ARC_DOMAIN`", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4234
101
0
2