Skip to content

Commit

Permalink
rename event to "capabilitiesNotified"
Browse files Browse the repository at this point in the history
  • Loading branch information
toger5 committed Oct 27, 2021
1 parent d1d6d45 commit bb5d78c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ClientWidgetApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ export class ClientWidgetApi extends EventEmitter {
approved: Array.from(this.allowedCapabilities),
}).catch(e => {
console.warn("non-fatal error notifying widget of approved capabilities:", e);
}).then(_ => {
this.emit("capabilities_renegotiated")
}).then(() => {
this.emit("capabilitiesNotified")
});
}

Expand Down

0 comments on commit bb5d78c

Please sign in to comment.