twilio-taskrouter 2.0.9 → 2.0.11
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 +21 -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 +7 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! twilio-taskrouter.js 2.0.
|
|
1
|
+
/*! twilio-taskrouter.js 2.0.11 */
|
package/dist/types.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export class Worker extends (EventEmitter as new () => TypedEmitter<WorkerEvents
|
|
|
37
37
|
export class Supervisor extends Worker {
|
|
38
38
|
monitor(taskSid: string, reservationSid: string, extraParams: Object): Promise<void>;
|
|
39
39
|
setWorkerAttributes(workerSid: string, attributes: Record<string, any>): Promise<Worker>;
|
|
40
|
-
setWorkerActivity(workerSid: string, activitySid: string, options
|
|
40
|
+
setWorkerActivity(workerSid: string, activitySid: string, options?: ActivityOptions): Promise<Worker>;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
interface WorkerEvents {
|
|
@@ -337,6 +337,12 @@ export interface WorkerOptions {
|
|
|
337
337
|
enableVersionCheck?: boolean;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
+
export interface WorkspaceOptions {
|
|
341
|
+
region?: string;
|
|
342
|
+
pageSize?: number;
|
|
343
|
+
logLevel?: "error" | "warn" | "info" | "debug" | "trace" | "silent";
|
|
344
|
+
}
|
|
345
|
+
|
|
340
346
|
export interface TaskOptions {
|
|
341
347
|
attributes?: any;
|
|
342
348
|
taskChannelUniqueName?: string;
|
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.11",
|
|
5
5
|
"description": "Twilio TaskRouter JavaScript library",
|
|
6
6
|
"homepage": "https://www.twilio.com",
|
|
7
7
|
"author": "Wanjun Li <wli@twilio.com>",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"url": "https://github.com/twilio/twilio-taskrouter.js.git"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"axios": "^1.
|
|
59
|
+
"axios": "^1.7.4",
|
|
60
60
|
"events": "3.3.0",
|
|
61
61
|
"jwt-decode": "^3.1.2",
|
|
62
62
|
"lodash": "^4.17.21",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"path-browserify": "^1.0.1",
|
|
65
65
|
"typed-emitter": "^2.1.0",
|
|
66
66
|
"util": "^0.12.4",
|
|
67
|
-
"ws": "^
|
|
67
|
+
"ws": "^8.17.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/core": "^7.16.0",
|