Skip to content

Commit 7744c6d

Browse files
committed
Merged PR 211121: Add accessTokenProvider to eventHooks
1 parent 05ba09e commit 7744c6d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-models",
3-
"version": "1.9.7",
3+
"version": "1.9.8",
44
"description": "Contains JavaScript & TypeScript object models for Microsoft Power BI JavaScript SDK. For each model there is a TypeScript interface, and a validation function to ensure and object is valid.",
55
"main": "dist/models.js",
66
"typings": "dist/models.d.ts",

src/models.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ export interface ISwipeEvent {
235235
}
236236

237237
export interface EventHooks {
238-
applicationContextProvider: Function;
238+
applicationContextProvider?: Function;
239+
accessTokenProvider?: Function;
239240
}
240241

241242
export interface IPosition {

0 commit comments

Comments
 (0)