<script src="https://sdk.twilio.com/js/taskrouter/releases/1.24.3/taskrouter.min.js" integrity="sha384-L4AyvsIag1tEQQSlXJPvO+RHFQl/WaRqKbNIK/VJXPCK/xqu2hF00lP2KsbfVgeV" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.24.2/taskrouter.min.js" integrity="sha384-L4AyvsIag1tEQQSlXJPvO+RHFQl/WaRqKbNIK/VJXPCK/xqu2hF00lP2KsbfVgeV" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.24.1/taskrouter.js" integrity="sha384-Cb1dT7o8Dbt3DAKa4VxGe4KqMZgnHTQtnMDAqp7UVpa0XX44ypi2JUTUhxeimbbq" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.24.0/taskrouter.min.js" integrity="sha384-HOt3XMqZgDntZhGCcfUkgarHeaEX0m1TgR1Wi21EW3WsLKe9Bllxk54sovbGSU3b" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.21.0/taskrouter.min.js" integrity="sha384-5fq+0qjayReAreRyHy38VpD3Gr9R2OYIzonwIkoGI4M9dhfKW6RWeRnZjfwSrpN8" crossorigin="anonymous"></script>
token.expired
was fired even after the token was updatedTaskRouter.js now supports authentication using Secondary Auth Tokens when generating the TaskRouter capability token.
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.20.0/taskrouter.min.js" integrity="sha384-n+W3iUCPkW2u64HjqHqOaSFKB6k4BIYw4Fy8BuxDNkrWcCvd9fwnyZKwYjkxqphy" crossorigin="anonymous"></script>
unload
event (only applicable if the disconnectActivitySid
is being used) has been replaced with the Beacon API. It is strongly recommended that you upgrade to this version if Worker's are using Google Chrome.<script src="https://sdk.twilio.com/js/taskrouter/releases/1.19.0/taskrouter.min.js" integrity="sha384-YjmOtBdli8sf0rLhCVserO+JI2ZsJ0NXvAKwaoLu0ezIYH0MnA9rqL2yKR3aChxZ" crossorigin="anonymous"></script>
region
parameter to constructors for Workspace, Worker, and TaskQueue clientsmaxRetries
parameter to constructors for Workspace, Worker, and TaskQueue clientsregion
parameter was passed to a Client constructors<script src="https://sdk.twilio.com/js/taskrouter/releases/1.14.0/taskrouter.min.js" integrity="sha384-gxqU8nZJ+HzVvnopXFiwn1UlPmNDSUvIqT3L4B+k/Rje+8G61pj2PK2l+9Nr2nut" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.13.0/taskrouter.min.js" integrity="sha384-tfkd1dJqPvkhNiIRb4XTmRPO8s9uNZGaEn7B7ybGLYTFaA4sZm1zHFBfSVu6Im37" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.12.0/taskrouter.min.js" integrity="sha384-Kswk2VCTWgsYHEP+cnrTI9yZmwYblwUFBBCYVSSUhB1yeMYlwPf2gtVbfndCgmqD" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.11.0/taskrouter.min.js" integrity="sha384-PKKsE3FioyP2BeDez28ZRPAd3u2OLrwZ0l5X74o9zGodlK3qBwhuDrjDHLXuaHl6" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.10.1/taskrouter.min.js" integrity="sha384-Zh0k9I9ZBJUCUhvZR/6InoU7HJxFlUfqh5c8f/CskbMHkIMJPgaQhZ4Lcs5XS31Q" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.10.0/taskrouter.min.js" integrity="sha384-UR90rWsEAxuR/3ZBZbj+TOk9fVk5F9Ic8npnElJyENWDV6qNq5o4URsY/BZDRmeu" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.9.4/taskrouter.min.js" integrity="sha384-/EL65rm/V1vI9m5kP+PYjtDi8eybyALFW8nj7qamJtwB3HZEcdQO/57SmoWEuL7p" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.9.3/taskrouter.min.js" integrity="sha384-8wkW1LcUG+UewuqsN40e43m0NMk7an3L6wGWJNcNpGGlViHsmjy6JcxLSjbDV40h" crossorigin="anonymous"></script>
ready
eventdisconnected
event if we lose connectivity for 60 seconds.<script src="https://sdk.twilio.com/js/taskrouter/releases/1.9.0/taskrouter.min.js" integrity="sha384-XGl1eGbQVDmtirk83TW4iT8MLGAG2FBIsrQz7Oj4zEqn/3X78ktKgaCk9yKXw9O5" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.8.1/taskrouter.min.js" integrity="sha384-aI0PwBoU5XnVDYoxnZJxjxzMIeh3rAj3c9e7NblAVqoPCe6V9cFpZreu1Nmfy9CW" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.8.0/taskrouter.min.js" integrity="sha384-LElME4k0P55oZvgCEIPhtvQH4dYO2obm/TWduZhrRZZe4/lOHEsTWTb7JR5+DI7p" crossorigin="anonymous"></script>
task.addons
as a propertyreservation.redirect
to redirect a reservation's call.<script src="https://sdk.twilio.com/js/taskrouter/releases/1.7.1/taskrouter.min.js" integrity="sha384-EBh9mgex1Lvb6PS2+T0n3jz81VrYKOureRce7eGPvrnetyjVBnTxuSOj/quI5cO4" crossorigin="anonymous"></script>
fetchReservations
for a Worker such that the reservation.task
object is populated.<script src="https://sdk.twilio.com/js/taskrouter/releases/1.7.0/taskrouter.min.js" integrity="sha384-U1JKeBS3Py0b8Wle5Ut68W60jbWITcXnn/RJceExWtNH7XgicbNRKi6n91sc1+nI" crossorigin="anonymous"></script>
connected
event when websocket connectsdisconnected
event when websocket disconnectsoffline
event in favor of disconnected
event<script src="https://sdk.twilio.com/js/taskrouter/releases/1.6.0/taskrouter.min.js" integrity="sha384-VLf7tkM/R2JsQzE2LzOyJIZBdtJJfUOo4pC0qxCR7kPhXcsBJQGNarHaJ2DMk6ql" crossorigin="anonymous"></script>
capacity.update
event for Multi-Task Workers<script src="https://sdk.twilio.com/js/taskrouter/releases/1.5.0/taskrouter.min.js" integrity="sha384-Cnv+6nmXeawf7ZrB68f0qk90r70Y1FB/RxbeP21o5dbKXIg+X7erndEZ5GoXhDEG" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.4.0/taskrouter.min.js" integrity="sha384-0n+i5HpKZpsxQQZnUJC7i1Qe2yGNmrslL1qw+trQ+j0w9jLlq38h6VwqSClzpZpI" crossorigin="anonymous"></script>
<script src="https://sdk.twilio.com/js/taskrouter/releases/1.3.0/taskrouter.min.js" integrity="sha384-eaSBJgLWhajnZOI/1dHJWuro+UG+EWqqw7RHyGqDqw1hAeGW5qvjvL8NOKGv5Qwm" crossorigin="anonymous"></script>
reservation.dequeue
, add four parameters before your completion function.<script src="https://sdk.twilio.com/js/taskrouter/releases/1.2.0/taskrouter.min.js" integrity="sha384-ey8MYjKAIvWW4l7+883VWDLIWMCKpTn8pdaTHZ8yiD6U0mInGiCqGxBZQqnESSRv" crossorigin="anonymous"></script>
reservation.created
event.CallTo
and CallRecord
parameters added for reservation.call() function.reservation.call
, add two parameters before your completion function.<script src="https://sdk.twilio.com/js/taskrouter/releases/1.1.3/taskrouter.min.js" integrity="sha384-ciuuQLazWluN50i9aM9V1QY1RcOu1Z0r4xQgXhGNw+vzSXhVXkQ3+JwEweMcOrkp" crossorigin="anonymous"></script>
reservation.canceled
events were changed back to send a Reservation object and provide a with a ReservationSid when Task is deleted.<script src="https://sdk.twilio.com/js/taskrouter/releases/1.1.2/taskrouter.min.js" integrity="sha384-GM9gGOjk1XhQ90GP2eRI9u8+q7I/Ac8lB3R8wqDp7/9Vhy05fQZbeS6/AvzrKt64" crossorigin="anonymous"></script>
reservation.canceled
events were changed to a Task object rather than a Reservation object to limit client side errors when Tasks were deleted.<script src="https://sdk.twilio.com/js/taskrouter/releases/1.1.1/taskrouter.min.js" integrity="sha384-mU48r0WttXLmY9NTqVSXjYCRHDbFau7R2+h7ALWjD7+8+Y15teYoSs+ZQ7M9F+hH" crossorigin="anonymous"></script>
Initial 1.0 release.