twilio-sync
Advanced tools
Comparing version 0.3.0-alpha.16 to 0.3.0-alpha.17
@@ -72,3 +72,3 @@ 'use strict'; | ||
value: function get(uri) { | ||
_logger2.default.debug('GET ', uri, 'ID: ', this._headers['Twilio-Request-Id']); | ||
_logger2.default.debug('GET', uri, 'ID:', this._headers['Twilio-Request-Id']); | ||
return this._transport.get(uri, this._headers); | ||
@@ -84,3 +84,3 @@ } | ||
_logger2.default.debug('POST ', uri, 'ID: ', this._headers['Twilio-Request-Id']); | ||
_logger2.default.debug('POST', uri, 'ID:', this._headers['Twilio-Request-Id']); | ||
return this._transport.post(uri, headers, body); | ||
@@ -96,3 +96,3 @@ } | ||
_logger2.default.debug('PUT ', uri, 'ID: ', this._headers['Twilio-Request-Id']); | ||
_logger2.default.debug('PUT', uri, 'ID:', this._headers['Twilio-Request-Id']); | ||
return this._transport.put(uri, headers, body); | ||
@@ -103,3 +103,3 @@ } | ||
value: function _delete(uri) { | ||
_logger2.default.debug('DELETE ', uri, 'ID: ', this._headers['Twilio-Request-Id']); | ||
_logger2.default.debug('DELETE', uri, 'ID:', this._headers['Twilio-Request-Id']); | ||
return this._transport.delete(uri, this._headers); | ||
@@ -106,0 +106,0 @@ } |
@@ -74,3 +74,3 @@ 'use strict'; | ||
value: function onMessage(type, message) { | ||
_logger2.default.trace('Notification type: ', type, 'content: ', message); | ||
_logger2.default.trace('Notification type:', type, 'content:', message); | ||
@@ -89,3 +89,3 @@ var id = void 0; | ||
default: | ||
_logger2.default.warn('Unknown message type: ', type, ' ignoring'); | ||
_logger2.default.warn('Unknown message type:', type, 'ignoring'); | ||
} | ||
@@ -92,0 +92,0 @@ |
@@ -134,3 +134,3 @@ 'use strict'; | ||
}).catch(function (err) { | ||
_logger2.default.error('Subscription failed: ', err); | ||
_logger2.default.error('Subscription failed:', err); | ||
return _this2._subscribeWithBackoff(sid, entity, backoff, shouldRetry); | ||
@@ -192,3 +192,3 @@ }); | ||
}).catch(function (err) { | ||
_logger2.default.error('Subscription failed: ', err); | ||
_logger2.default.error('Subscription failed:', err); | ||
return _this4._subscribeWithBackoff(sid, entity, backoff, shouldRetry); | ||
@@ -195,0 +195,0 @@ }); |
@@ -320,3 +320,3 @@ 'use strict'; | ||
}).catch(function (reason) { | ||
_logger2.default.error('Failed to get entity: ', reason); | ||
_logger2.default.error('Failed to get entity:', reason); | ||
}); | ||
@@ -354,3 +354,3 @@ } | ||
} catch (e) { | ||
_logger2.default.warn('Failed to get value: ', e); | ||
_logger2.default.warn('Failed to get value:', e); | ||
} | ||
@@ -357,0 +357,0 @@ return result; |
@@ -236,3 +236,3 @@ 'use strict'; | ||
}).catch(function (e) { | ||
_logger2.default.error('Failed to fetch events: ', e); | ||
_logger2.default.error('Failed to fetch events:', e); | ||
throw e; | ||
@@ -239,0 +239,0 @@ }); |
{ | ||
"name": "twilio-sync", | ||
"version": "0.3.0-alpha.16", | ||
"version": "0.3.0-alpha.17", | ||
"description": "Twilio Sync client library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
2649725