Comparing version 3.0.0-rc.7 to 3.0.0-rc.8
twilio-node changelog | ||
===================== | ||
Version 3.0.0-rc.8 | ||
------------- | ||
Release July 8, 2016 | ||
- Add SMS and Facebook Messenger for Notify | ||
Version 3.0.0-rc.7 | ||
@@ -5,0 +12,0 @@ ------------- |
@@ -111,2 +111,3 @@ 'use strict'; | ||
* @param {string} [opts.applicationSid] - The application to use for callbacks | ||
* @param {string} [opts.provideFeedback] - The provide_feedback | ||
* @param {string} [opts.body] - The body | ||
@@ -137,3 +138,4 @@ * @param {string|list} [opts.mediaUrl] - The media_url | ||
'StatusCallback': opts.statusCallback, | ||
'ApplicationSid': opts.applicationSid | ||
'ApplicationSid': opts.applicationSid, | ||
'ProvideFeedback': opts.provideFeedback | ||
}); | ||
@@ -140,0 +142,0 @@ |
@@ -101,2 +101,4 @@ 'use strict'; | ||
* @param {string} [opts.gcmCredentialSid] - The gcm_credential_sid | ||
* @param {string} [opts.messagingServiceSid] - The messaging_service_sid | ||
* @param {string} [opts.facebookMessengerPageId] - The facebook_messenger_page_id | ||
* @param {string} [opts.defaultApnNotificationProtocolVersion] - | ||
@@ -123,2 +125,4 @@ * The default_apn_notification_protocol_version | ||
'GcmCredentialSid': opts.gcmCredentialSid, | ||
'MessagingServiceSid': opts.messagingServiceSid, | ||
'FacebookMessengerPageId': opts.facebookMessengerPageId, | ||
'DefaultApnNotificationProtocolVersion': opts.defaultApnNotificationProtocolVersion, | ||
@@ -401,2 +405,4 @@ 'DefaultGcmNotificationProtocolVersion': opts.defaultGcmNotificationProtocolVersion | ||
* @property {string} gcmCredentialSid - The gcm_credential_sid | ||
* @property {string} messagingServiceSid - The messaging_service_sid | ||
* @property {string} facebookMessengerPageId - The facebook_messenger_page_id | ||
* @property {string} defaultApnNotificationProtocolVersion - | ||
@@ -425,2 +431,4 @@ * The default_apn_notification_protocol_version | ||
this.gcmCredentialSid = payload.gcm_credential_sid; // jshint ignore:line | ||
this.messagingServiceSid = payload.messaging_service_sid; // jshint ignore:line | ||
this.facebookMessengerPageId = payload.facebook_messenger_page_id; // jshint ignore:line | ||
this.defaultApnNotificationProtocolVersion = payload.default_apn_notification_protocol_version; // jshint ignore:line | ||
@@ -498,2 +506,4 @@ this.defaultGcmNotificationProtocolVersion = payload.default_gcm_notification_protocol_version; // jshint ignore:line | ||
* @param {string} [opts.gcmCredentialSid] - The gcm_credential_sid | ||
* @param {string} [opts.messagingServiceSid] - The messaging_service_sid | ||
* @param {string} [opts.facebookMessengerPageId] - The facebook_messenger_page_id | ||
* @param {string} [opts.defaultApnNotificationProtocolVersion] - | ||
@@ -659,2 +669,4 @@ * The default_apn_notification_protocol_version | ||
* @param {string} [opts.gcmCredentialSid] - The gcm_credential_sid | ||
* @param {string} [opts.messagingServiceSid] - The messaging_service_sid | ||
* @param {string} [opts.facebookMessengerPageId] - The facebook_messenger_page_id | ||
* @param {string} [opts.defaultApnNotificationProtocolVersion] - | ||
@@ -681,2 +693,4 @@ * The default_apn_notification_protocol_version | ||
'GcmCredentialSid': opts.gcmCredentialSid, | ||
'MessagingServiceSid': opts.messagingServiceSid, | ||
'FacebookMessengerPageId': opts.facebookMessengerPageId, | ||
'DefaultApnNotificationProtocolVersion': opts.defaultApnNotificationProtocolVersion, | ||
@@ -683,0 +697,0 @@ 'DefaultGcmNotificationProtocolVersion': opts.defaultGcmNotificationProtocolVersion |
@@ -107,3 +107,3 @@ 'use strict'; | ||
* @param {string} [opts.body] - The body | ||
* @param {string} [opts.priority] - The priority | ||
* @param {notification.priority} [opts.priority] - The priority | ||
* @param {number} [opts.ttl] - The ttl | ||
@@ -116,2 +116,3 @@ * @param {string} [opts.title] - The title | ||
* @param {string} [opts.gcm] - The gcm | ||
* @param {string} [opts.facebookMessenger] - The facebook_messenger | ||
* @param {function} [callback] - Callback to handle processed record | ||
@@ -141,3 +142,4 @@ * | ||
'Apn': opts.apn, | ||
'Gcm': opts.gcm | ||
'Gcm': opts.gcm, | ||
'FacebookMessenger': opts.facebookMessenger | ||
}); | ||
@@ -184,3 +186,3 @@ | ||
* @property {string} tags - The tags | ||
* @property {string} priority - The priority | ||
* @property {notification.priority} priority - The priority | ||
* @property {number} ttl - The ttl | ||
@@ -194,2 +196,3 @@ * @property {string} title - The title | ||
* @property {string} gcm - The gcm | ||
* @property {string} facebookMessenger - The facebook_messenger | ||
* | ||
@@ -219,2 +222,3 @@ * @param {Twilio.Notifications.V1} version - Version of the resource | ||
this.gcm = payload.gcm; // jshint ignore:line | ||
this.facebookMessenger = payload.facebook_messenger; // jshint ignore:line | ||
@@ -221,0 +225,0 @@ // Context |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "3.0.0-rc.7", | ||
"version": "3.0.0-rc.8", | ||
"author": "API Team <api@twilio.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
33094588
51541