Socket
Socket
Sign inDemoInstall

arc-macro-custom-domain

Package Overview
Dependencies
0
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.2.0

8

index.js

@@ -22,5 +22,9 @@ module.exports = function(arc, cloudformation, stage) {

}
let restId = Object.keys(cloudformation.Resources)[0]; //probably could make this better
let restId = 'ServerlessHttpApi'
Object.keys(cloudformation.Resources).forEach(k => {
if (cloudformation.Resources[k].Type === 'AWS::Serverless::Api') {
restId = k;
}
}); //probably could make this better
if (params.httpAPI) {
restId = 'ServerlessHttpApi';
cloudformation.Resources.ApiGatewayDomain = {

@@ -27,0 +31,0 @@ Type: 'AWS::ApiGatewayV2::DomainName',

{
"name": "arc-macro-custom-domain",
"version": "2.1.1",
"version": "2.2.0",
"description": "- only works on staging (for now) - can override domain with `ARC_DOMAIN`",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc