Comparing version 1.0.1 to 1.1.0
@@ -46,3 +46,3 @@ /** | ||
var url = request.protocol + '://' + request.headers.host + request.url; | ||
return initializer.validateRequest(authToken, request.header('X-Twilio-Signature'), url, request.body); | ||
return initializer.validateRequest(authToken, request.header('X-Twilio-Signature'), url, request.body||{}); | ||
}; | ||
@@ -49,0 +49,0 @@ |
@@ -26,3 +26,3 @@ var _ = require('underscore'); | ||
case 'Gather': legalNodes = ['Say','Play','Pause']; break; | ||
case 'Dial': legalNodes = ['Number','Client','Conference','Queue']; break; | ||
case 'Dial': legalNodes = ['Number','Client','Conference','Queue','Sip']; break; | ||
default: break; | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name":"twilio", | ||
"description":"A Twilio helper library", | ||
"version":"1.0.1", | ||
"version":"1.1.0", | ||
"author":"Kevin Whinnery <kevin.whinnery@gmail.com>", | ||
@@ -18,3 +18,3 @@ "contributors":[ | ||
"type":"git", | ||
"url":"https://github.com/kwhinnery/twilio-node.git" | ||
"url":"https://github.com/twilio/twilio-node.git" | ||
}, | ||
@@ -21,0 +21,0 @@ "dependencies":{ |
@@ -1,2 +0,2 @@ | ||
# node-twilio | ||
# twilio-node | ||
@@ -3,0 +3,0 @@ A node.js Twilio helper library. For usage infomation and API docs, head out here: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41639