twilio-sync
Advanced tools
Comparing version 0.4.2-dev.3 to 0.4.2-dev.4
@@ -87,4 +87,10 @@ "use strict"; | ||
value: function onMessage(type, message) { | ||
logger_1.default.trace('Notification type:', type, 'content:', message); | ||
this.subscriptions.acceptMessage(message); | ||
switch (type) { | ||
case SYNC_DOCUMENT_NOTIFICATION_TYPE: | ||
case SYNC_LIST_NOTIFICATION_TYPE: | ||
case SYNC_MAP_NOTIFICATION_TYPE: | ||
case SYNC_NOTIFICATION_TYPE: | ||
logger_1.default.trace('Notification type:', type, 'content:', message); | ||
this.subscriptions.acceptMessage(message); | ||
} | ||
} | ||
@@ -91,0 +97,0 @@ /** |
@@ -39,4 +39,10 @@ "use strict"; | ||
onMessage(type, message) { | ||
logger_1.default.trace('Notification type:', type, 'content:', message); | ||
this.subscriptions.acceptMessage(message); | ||
switch (type) { | ||
case SYNC_DOCUMENT_NOTIFICATION_TYPE: | ||
case SYNC_LIST_NOTIFICATION_TYPE: | ||
case SYNC_MAP_NOTIFICATION_TYPE: | ||
case SYNC_NOTIFICATION_TYPE: | ||
logger_1.default.trace('Notification type:', type, 'content:', message); | ||
this.subscriptions.acceptMessage(message); | ||
} | ||
} | ||
@@ -43,0 +49,0 @@ /** |
{ | ||
"name": "twilio-sync", | ||
"version": "0.4.2-dev.3", | ||
"version": "0.4.2-dev.4", | ||
"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
2001493
29377