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

twilio

Package Overview
Dependencies
Maintainers
6
Versions
305
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twilio - npm Package Compare versions

Comparing version 2.4.0 to 2.5.1

lib/resources/task_router/WorkflowBuilder.js

17

lib/resources/task_router/Workspaces.js

@@ -144,2 +144,19 @@ /**

// Reservations
workerResourceApi.reservations = function(reservationSid) {
var reservationResourceApi = {
get: generate(client, 'GET', baseResourceUrl + '/' + sid + '/Workers/' + workerSid + '/Reservations/' + reservationSid),
post: generate(client, 'POST', baseResourceUrl + '/' + sid + '/Workers/' + workerSid + '/Reservations/' + reservationSid)
};
//Aliases
reservationResourceApi.update = reservationResourceApi.post;
return reservationResourceApi;
};
workerResourceApi.reservations.get = generate(client, 'GET', baseResourceUrl + '/' + sid + '/Workers/' + workerSid + '/Reservations');
//Aliases
workerResourceApi.reservations.list = workerResourceApi.reservations.get;
return workerResourceApi;

@@ -146,0 +163,0 @@ };

3

lib/TwimlResponse.js

@@ -35,2 +35,3 @@ var _ = require('underscore');

case 'Message': legalNodes = ['Media', 'Body']; break;
case 'Enqueue': legalNodes = ['Task']; break;
default: break;

@@ -123,4 +124,4 @@ }

name:'Response',
legalNodes:['Say', 'Play', 'Gather', 'Record', 'Sms', 'Dial', 'Enqueue', 'Leave', 'Hangup', 'Redirect', 'Reject', 'Pause', 'Message']
legalNodes:['Say', 'Play', 'Gather', 'Record', 'Sms', 'Dial', 'Enqueue', 'Task', 'Leave', 'Hangup', 'Redirect', 'Reject', 'Pause', 'Message']
});
};
{
"name": "twilio",
"description": "A Twilio helper library",
"version": "2.4.0",
"version": "2.5.1",
"author": "Kevin Whinnery <kevin.whinnery@gmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

Sorry, the diff of this file is not supported yet

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