Skip to content

Commit 87934a6

Browse files
agrukhalGitHub Enterprise
authored and
GitHub Enterprise
committed
FRIDGE-1409: add missing type fields (#421)
* FRIDGE-1409: fix: add missing type fields * FRIDGE-1409: docs: updated CHANGELOG.md * FRIDGE-1409: docs: updated CHANGELOG.md
1 parent dcdeab5 commit 87934a6

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2.0.8
2+
==========
3+
New Features
4+
----------
5+
- Added `setWorkerOfflineIfDisconnected` to WorkerOptions
6+
7+
Bug fixes
8+
----------
9+
- Added `setWorkerAttributes` and `setWorkerActivity` fields to Supervisor type declaration
10+
111
2.0.7
212
==========
313
Maintenance

types.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export class Worker extends (EventEmitter as new () => TypedEmitter<WorkerEvents
3636

3737
export class Supervisor extends Worker {
3838
monitor(taskSid: string, reservationSid: string, extraParams: Object): Promise<void>;
39+
setWorkerAttributes(workerSid: string, attributes: string): Promise<Worker>;
40+
setWorkerActivity(workerSid: string, activitySid: string, options: Object): Promise<Worker>;
3941
}
4042

4143
interface WorkerEvents {

0 commit comments

Comments
 (0)