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

@types/twilio

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/twilio - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

19

twilio/index.d.ts

@@ -10,3 +10,3 @@ // Type definitions for twilio

import * as express from 'express';
import * as Express from 'express';
import * as Http from 'http';

@@ -20,3 +20,3 @@

declare module twilio {
declare namespace twilio {

@@ -384,5 +384,9 @@ // Composite Classes:

export interface TwimlMethod { (arg1: any | string | TwimlCallback, arg2?: any | string | TwimlCallback): Node }
export interface TwimlMethod {
(): Node;
(arg1: TwimlCallback | string, arg2?: any): Node;
(arg1: any, arg2?: TwimlCallback | string): Node;
}
export interface TwimlCallback { (node?: Node): void; }
export interface TwimlCallback { (node: Node): void; }

@@ -431,3 +435,3 @@ export class Node implements NodeOptions {

/// webhook.js
export interface webhookOptions {
export interface WebhookOptions {
validate?: boolean;

@@ -451,5 +455,6 @@ includeHelpers?: boolean;

// For interop with node middleware chains
export interface MiddlewareFunction { (request: Http.ClientRequest, response: Http.ClientResponse, next: MiddlewareFunction): void; }
export interface MiddlewareFunction { (request: Http.ServerRequest, response: Http.ServerResponse, next: Express.NextFunction): void; }
export function webhook(options?: string | webhookOptions): MiddlewareFunction;
export function webhook(authToken: string, options?: WebhookOptions): MiddlewareFunction;
export function webhook(options?: WebhookOptions): MiddlewareFunction;

@@ -456,0 +461,0 @@ export function validateRequest(authToken: string, twilioHeader: string, url: string, params?: any): boolean;

{
"name": "@types/twilio",
"version": "0.0.4",
"version": "0.0.5",
"description": "TypeScript definitions for twilio",

@@ -19,3 +19,3 @@ "license": "MIT",

"typings": "index.d.ts",
"typesPublisherContentHash": "1f0c2e5c430781cf98a615bf4dba5a6717fc711c8594ab3618edef94961bd748"
"typesPublisherContentHash": "5176a6f91f5c593de5cc02503695fb9714e75fd0dd7fb4719884991a33702eb7"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* Last updated: Wed, 21 Sep 2016 20:25:58 GMT
* File structure: ProperModule

@@ -14,0 +14,0 @@ * Library Dependencies: express, node, q

@@ -32,3 +32,3 @@ {

"hasPackageJson": false,
"contentHash": "1f0c2e5c430781cf98a615bf4dba5a6717fc711c8594ab3618edef94961bd748"
"contentHash": "5176a6f91f5c593de5cc02503695fb9714e75fd0dd7fb4719884991a33702eb7"
}
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