twilio-sync
Advanced tools
Comparing version 0.4.2-dev.7 to 0.4.2-dev.8
@@ -445,2 +445,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, _regenerator2.default.mark(function _callee6() { | ||
var response; | ||
return _regenerator2.default.wrap(function _callee6$(_context6) { | ||
@@ -450,7 +451,15 @@ while (1) { | ||
case 0: | ||
_context6.next = 2; | ||
return this.services.emsClient.setToken(fpaToken); | ||
case 2: | ||
response = _context6.sent; | ||
this.services.config.updateToken(response.token); | ||
_context6.next = 6; | ||
return _promise2.default.all([this.services.notifications.updateToken(fpaToken), this.services.twilsock.updateToken(fpaToken)]); | ||
case 6: | ||
this.fpaToken = fpaToken; | ||
_context6.next = 3; | ||
return _promise2.default.all([this.services.config.updateToken(fpaToken), this.services.notifications.updateToken(fpaToken), this.services.twilsock.updateToken(fpaToken)]); | ||
case 3: | ||
case 7: | ||
case "end": | ||
@@ -457,0 +466,0 @@ return _context6.stop(); |
@@ -249,8 +249,9 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let response = yield this.services.emsClient.setToken(fpaToken); | ||
this.services.config.updateToken(response.token), | ||
yield Promise.all([ | ||
this.services.notifications.updateToken(fpaToken), | ||
this.services.twilsock.updateToken(fpaToken) | ||
]); | ||
this.fpaToken = fpaToken; | ||
yield Promise.all([ | ||
this.services.config.updateToken(fpaToken), | ||
this.services.notifications.updateToken(fpaToken), | ||
this.services.twilsock.updateToken(fpaToken) | ||
]); | ||
}); | ||
@@ -257,0 +258,0 @@ } |
{ | ||
"name": "twilio-sync", | ||
"version": "0.4.2-dev.7", | ||
"version": "0.4.2-dev.8", | ||
"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
2003306
29377