twilio-taskrouter 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/docs/Activity.html +1 -1
- package/dist/docs/Channel.html +1 -1
- package/dist/docs/IncomingTransfer.html +1 -1
- package/dist/docs/OutgoingTransfer.html +1 -1
- package/dist/docs/Reservation.html +1 -1
- package/dist/docs/Supervisor.html +1 -1
- package/dist/docs/Task.html +1 -1
- package/dist/docs/TaskQueue.html +1 -1
- package/dist/docs/Transfers.html +1 -1
- package/dist/docs/Worker.html +1 -1
- package/dist/docs/Workspace.html +1 -1
- package/dist/docs/classes.list.html +1 -1
- package/dist/docs/global.html +1 -1
- package/dist/docs/index.html +1 -1
- package/dist/docs/quicksearch.html +1 -1
- package/dist/index.commonjs2.js +1 -1
- package/dist/index.commonjs2.js.LICENSE.txt +1 -1
- package/dist/index.window.js +2 -2
- package/dist/index.window.js.LICENSE.txt +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! twilio-taskrouter.js 2.0.
|
|
1
|
+
/*! twilio-taskrouter.js 2.0.3 */
|
package/dist/types.d.ts
CHANGED
|
@@ -329,7 +329,7 @@ export interface WorkerOptions {
|
|
|
329
329
|
logLevel?: "error" | "warn" | "info" | "debug" | "trace" | "silent";
|
|
330
330
|
ebServer?: string;
|
|
331
331
|
wsServer?: string;
|
|
332
|
-
eventHandlerClass?:
|
|
332
|
+
eventHandlerClass?: typeof TaskRouterEventHandler;
|
|
333
333
|
region?: string;
|
|
334
334
|
}
|
|
335
335
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twilio-taskrouter",
|
|
3
3
|
"title": "Twilio TaskRouter",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.3",
|
|
5
5
|
"description": "Twilio TaskRouter JavaScript library",
|
|
6
6
|
"homepage": "https://www.twilio.com",
|
|
7
7
|
"author": "Wanjun Li <wli@twilio.com>",
|
|
@@ -27,10 +27,11 @@
|
|
|
27
27
|
"webpack": "webpack --config ./webpack.config.js --progress --mode",
|
|
28
28
|
"mocha": "mocha --require @babel/register --exit $1",
|
|
29
29
|
"clean": "rm -rf ./coverage ./dist ./node_modules",
|
|
30
|
-
"lint": "eslint ./lib ./test/integration",
|
|
30
|
+
"lint": "eslint ./lib ./test/integration/spec ./test/integration/index.js",
|
|
31
31
|
"test:unit": "mocha --full-trace --check-leaks --require @babel/register ./test/unit/index.js --exit",
|
|
32
32
|
"test:integration": "mocha --full-trace --check-leaks --require @babel/register -r ./test/mocha/no-unicode-reporter.js -r ./test/mocha/fetch.js ./test/integration/index.js --reporter mochawesome --reporter-options reportDir=reports,reportFilename=e2e-test-report --timeout 40000 --exit",
|
|
33
33
|
"test:integration-six-sigma": "mocha --full-trace --check-leaks --require @babel/register -r ./test/mocha/no-unicode-reporter.js -r ./test/mocha/fetch.js ./test/integration/index.js --reporter mochawesome --reporter-options reportDir=reports,reportFilename=e2e-test-report --timeout 40000 --exit -g '@SixSigma'",
|
|
34
|
+
"test:integration:tr:voice": "mocha --full-trace --check-leaks --require @babel/register ./test/integration/voice/index.js --timeout 40000 --exit",
|
|
34
35
|
"test:integration:voice": "mocha --full-trace --check-leaks --require @babel/register ./test/voice/index.js --timeout 40000 --exit",
|
|
35
36
|
"test:integration:media": "mocha --full-trace --check-leaks --require @babel/register ./test/media/index.js --timeout 40000 --exit",
|
|
36
37
|
"test": "yarn test:unit && yarn test:integration",
|