New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@twilio-labs/serverless-runtime-types

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twilio-labs/serverless-runtime-types - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "@twilio-labs/serverless-runtime-types",
"version": "1.1.1",
"version": "1.1.2",
"description": "TypeScript definitions to define globals for the Twilio Serverless runtime",

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

import twilio from 'twilio';
import { ServiceContext } from 'twilio/lib/rest/sync/v1/service';
export type EnvironmentVariables = {
[key: string]: string | undefined;
};
export type ResourceMap = {

@@ -20,1 +24,15 @@ [name: string]: {

} & T;
export type ServerlessCallback = (
error: null | Error,
payload?: object
) => void;
export type ServerlessFunctionSignature<
T extends EnvironmentVariables = {},
U extends {} = {}
> = (
context: Context<T>,
event: U,
callback: ServerlessCallback
) => void | Promise<void>;
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