File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ 2.0.9
2
+ ==========
3
+ Bug fixes
4
+ ----------
5
+ - Fixed ` setWorkerAttributes ` and ` setWorkerActivity ` parameter types
6
+
7
+
1
8
2.0.8
2
9
==========
3
10
New Features
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ export class Worker extends (EventEmitter as new () => TypedEmitter<WorkerEvents
36
36
37
37
export class Supervisor extends Worker {
38
38
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 > ;
39
+ setWorkerAttributes ( workerSid : string , attributes : Record < string , any > ) : Promise < Worker > ;
40
+ setWorkerActivity ( workerSid : string , activitySid : string , options : ActivityOptions ) : Promise < Worker > ;
41
41
}
42
42
43
43
interface WorkerEvents {
You can’t perform that action at this time.
0 commit comments