@twilio-labs/serverless-runtime-types
Advanced tools
Comparing version 1.0.2 to 1.1.0
{ | ||
"name": "@twilio-labs/serverless-runtime-types", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "TypeScript definitions to define globals for the Twilio Serverless runtime", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,1 +1,2 @@ | ||
import twilio from 'twilio'; | ||
import { ServiceContext } from 'twilio/lib/rest/sync/v1/service'; | ||
@@ -14,1 +15,7 @@ | ||
}; | ||
export type Context = { | ||
getTwilioClient(): twilio.Twilio; | ||
DOMAIN_NAME: string; | ||
[key: string]: string; | ||
}; |
7015
30