@types/office-runtime 1.0.31 → 1.0.32

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.
office-runtime/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for office-runtime (https://github.com/Of
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-runtime.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 30 May 2023 21:32:44 GMT
11
+ * Last updated: Tue, 13 Jun 2023 23:02:50 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `OfficeRuntime`
14
14
 
office-runtime/index.d.ts CHANGED
@@ -353,11 +353,17 @@ declare namespace OfficeRuntime {
353
353
  *
354
354
  * **Applications**: Excel, Outlook, PowerPoint, Word
355
355
  *
356
- * **Important**: In Outlook, this API isn't supported in the following scenarios.
356
+ * **Important**:
357
357
  *
358
- * - If the add-in is loaded in an Outlook.com or Gmail mailbox.
358
+ * - In Outlook, this API isn't supported in the following scenarios.
359
359
  *
360
- * - If the add-in is loaded in Outlook on the web in the Safari browser. This results in error 13001 ("The user is not signed into Office").
360
+ * - If the add-in is loaded in an Outlook.com or Gmail mailbox.
361
+ *
362
+ * - If the add-in is loaded in Outlook on the web in the Safari browser. This results in error 13001 ("The user is not signed into Office").
363
+ *
364
+ * - In Outlook on the web, if you use the
365
+ * {@link https://learn.microsoft.com/javascript/api/office/office.ui#office-office-ui-displaydialogasync-member(1) | displayDialogAsync}
366
+ * method to open a dialog, you must close the dialog before you can call `getAccessToken`.
361
367
  *
362
368
  * @param options - Optional. Accepts an `AuthOptions` object to define sign-on behaviors.
363
369
  * @returns Promise to the access token.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-runtime",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "TypeScript definitions for office-runtime",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-runtime",
6
6
  "license": "MIT",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "74111abb4ee5fcc6fdb1cd885a814a3a4a2974b19f0bcbe159238edad57a2691",
43
+ "typesPublisherContentHash": "3d85f887dc854f0238d539eb1a7f58720f468556bd259c9801ab5b77be32357b",
44
44
  "typeScriptVersion": "4.3"
45
45
  }