Socket
Socket
Sign inDemoInstall

twilio

Package Overview
Dependencies
Maintainers
1
Versions
301
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 0.8.0 to 0.8.1

spec/client.queue.spec.js

2

lib/resources/Queues.js

@@ -19,3 +19,3 @@ /**

//Add special call queue sub resources
resourceApi.members = ListInstanceResource(client, sid, 'Queues/Members',
resourceApi.members = ListInstanceResource(client, accountSid, 'Queues/' + sid + '/Members',
['GET', 'POST', {update:'POST'}],

@@ -22,0 +22,0 @@ ['GET']

{
"name":"twilio",
"description":"A Twilio helper library",
"version":"0.8.0",
"version":"0.8.1",
"author":"Kevin Whinnery <kevin.whinnery@gmail.com>",

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

@@ -19,13 +19,5 @@ var config = require('../config'),

it('gets all usage records for the last month', function(done) {
var now = new Date();
client.usage.records.lastMonth.list(function(err, data) {
data.usageRecords.forEach(function(record) {
if (now.getMonth() === 0) {
expect(record.startDate.getMonth()).toBe(11);
}
else {
expect(now.getMonth()).toBeGreaterThan(record.startDate.getMonth());
}
});
expect(data.usageRecords.length).toBeDefined();
expect(err).toBeFalsy();
done();

@@ -32,0 +24,0 @@ });

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