Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mcma/google-cloud-http-functions

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcma/google-cloud-http-functions - npm Package Compare versions

Comparing version 0.13.16 to 0.13.17

6

dist/lib/http-function-api-controller.d.ts
import { McmaApiRouteCollection } from "@mcma/api";
import { Request, Response } from "express";
import { EnvironmentVariables, LoggerProvider } from "@mcma/core";
import { ConfigVariables, LoggerProvider } from "@mcma/core";
export declare class HttpFunctionApiController {
private loggerProvider?;
private environmentVariables;
private configVariables;
private mcmaApiController;
constructor(routes: McmaApiRouteCollection, loggerProvider?: LoggerProvider, environmentVariables?: EnvironmentVariables);
constructor(routes: McmaApiRouteCollection, loggerProvider?: LoggerProvider, configVariables?: ConfigVariables);
handleRequest(request: Request, response: Response): Promise<void>;
}

@@ -24,5 +24,5 @@ "use strict";

class HttpFunctionApiController {
constructor(routes, loggerProvider, environmentVariables = core_1.EnvironmentVariables.getInstance()) {
constructor(routes, loggerProvider, configVariables = core_1.ConfigVariables.getInstance()) {
this.loggerProvider = loggerProvider;
this.environmentVariables = environmentVariables;
this.configVariables = configVariables;
this.mcmaApiController = new api_1.McmaApiController(routes);

@@ -39,3 +39,3 @@ }

body: request.body
}), this.loggerProvider, this.environmentVariables);
}), this.loggerProvider, this.configVariables);
await this.mcmaApiController.handleRequest(requestContext);

@@ -42,0 +42,0 @@ response.statusCode = requestContext.response.statusCode;

{
"name": "@mcma/google-cloud-http-functions",
"version": "0.13.16",
"version": "0.13.17",
"description": "Node module with code for using Google HTTP functions as an entry point to an MCMA API handler.",

@@ -39,14 +39,14 @@ "engines": {

"peerDependencies": {
"@mcma/api": "0.13.16",
"@mcma/client": "0.13.16",
"@mcma/core": "0.13.16",
"@mcma/data": "0.13.16",
"@mcma/worker-invoker": "0.13.16"
"@mcma/api": "0.13.17",
"@mcma/client": "0.13.17",
"@mcma/core": "0.13.17",
"@mcma/data": "0.13.17",
"@mcma/worker-invoker": "0.13.17"
},
"devDependencies": {
"@mcma/api": "0.13.16",
"@mcma/client": "0.13.16",
"@mcma/core": "0.13.16",
"@mcma/data": "0.13.16",
"@mcma/worker-invoker": "0.13.16",
"@mcma/api": "0.13.17",
"@mcma/client": "0.13.17",
"@mcma/core": "0.13.17",
"@mcma/data": "0.13.17",
"@mcma/worker-invoker": "0.13.17",
"@types/express": "^4.17.6",

@@ -53,0 +53,0 @@ "@types/node": "^13.7.6",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc