@twilio/notifications
Advanced tools
Comparing version 1.0.3-rc.19 to 1.0.3-rc.21
@@ -6,2 +6,20 @@ # Change Log | ||
### [1.0.3-rc.21](https://github.com/twilio/twilio-notifications.js/compare/@twilio/notifications@1.0.3-rc.20...@twilio/notifications@1.0.3-rc.21) (2021-10-13) | ||
**Note:** Version bump only for package @twilio/notifications | ||
### [1.0.3-rc.20](https://github.com/twilio/twilio-notifications.js/compare/@twilio/notifications@1.0.3-rc.19...@twilio/notifications@1.0.3-rc.20) (2021-10-13) | ||
### Bug Fixes | ||
* Reset currentState on push unregister ([590991c](https://github.com/twilio/twilio-notifications.js/commit/590991c841a78b3c7e88a05629090a2de5a8f9da)) | ||
* Resubscribe to push notification on re-register ([709847f](https://github.com/twilio/twilio-notifications.js/commit/709847f8462890214197cf1af769f41b56bfbccc)) | ||
### [1.0.3-rc.19](https://github.com/twilio/twilio-notifications.js/compare/@twilio/notifications@1.0.3-rc.18...@twilio/notifications@1.0.3-rc.19) (2021-10-04) | ||
@@ -8,0 +26,0 @@ |
@@ -558,8 +558,10 @@ /* | ||
case 9: | ||
this.registrationId = null; | ||
this.currentState.notificationId = ""; | ||
logInstance.debug("Registration removed for ".concat(this.channelType)); | ||
_context2.next = 16; | ||
_context2.next = 18; | ||
break; | ||
case 12: | ||
_context2.prev = 12; | ||
case 14: | ||
_context2.prev = 14; | ||
_context2.t0 = _context2["catch"](6); | ||
@@ -569,3 +571,3 @@ logInstance.error("Failed to remove registration ", this.channelType, _context2.t0); | ||
case 16: | ||
case 18: | ||
case "end": | ||
@@ -575,3 +577,3 @@ return _context2.stop(); | ||
} | ||
}, _callee2, this, [[6, 12]]); | ||
}, _callee2, this, [[6, 14]]); | ||
})); | ||
@@ -624,8 +626,10 @@ | ||
case 10: | ||
this.registrationId = null; | ||
this.currentState.notificationId = ""; | ||
logInstance.debug("Registration removed for ".concat(this.channelType)); | ||
_context3.next = 17; | ||
_context3.next = 19; | ||
break; | ||
case 13: | ||
_context3.prev = 13; | ||
case 15: | ||
_context3.prev = 15; | ||
_context3.t0 = _context3["catch"](6); | ||
@@ -635,3 +639,3 @@ logInstance.error("Failed to remove registration ", this.channelType, _context3.t0); | ||
case 17: | ||
case 19: | ||
case "end": | ||
@@ -641,3 +645,3 @@ return _context3.stop(); | ||
} | ||
}, _callee3, this, [[6, 13]]); | ||
}, _callee3, this, [[6, 15]]); | ||
})); | ||
@@ -644,0 +648,0 @@ |
@@ -776,2 +776,4 @@ /* | ||
await new operationRetrier.AsyncRetrier(Object.assign(retrierConfig, { maxAttemptsCount: 3 })).run(() => this.twilsock.delete(url, headers, {}, productId)); | ||
this.registrationId = null; | ||
this.currentState.notificationId = ""; | ||
logInstance.debug(`Registration removed for ${this.channelType}`); | ||
@@ -801,2 +803,4 @@ } | ||
await new operationRetrier.AsyncRetrier(Object.assign(retrierConfig, { maxAttemptsCount: 3 })).run(() => this.twilsock.delete(url, headers, payload, productId)); | ||
this.registrationId = null; | ||
this.currentState.notificationId = ""; | ||
logInstance.debug(`Registration removed for ${this.channelType}`); | ||
@@ -803,0 +807,0 @@ } |
{ | ||
"name": "@twilio/notifications", | ||
"version": "1.0.3-rc.19", | ||
"version": "1.0.3-rc.21", | ||
"description": "Client library for Twilio Notifications service", | ||
@@ -5,0 +5,0 @@ "author": "Twilio", |
Sorry, the diff of this file is too big to display
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
1192239
19583