@types/office-js-preview 1.0.315 → 1.0.316

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.
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 16 Jun 2022 20:31:36 GMT
11
+ * Last updated: Tue, 21 Jun 2022 21:01:37 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -1536,9 +1536,15 @@ declare namespace Office {
1536
1536
  *
1537
1537
  * **Hosts**: Excel, OneNote, Outlook, PowerPoint, Word
1538
1538
  *
1539
- * **Important**: In Outlook, this API is not supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
1540
- *
1541
1539
  * **Requirement set**: {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/identity-api-requirement-sets | IdentityAPI 1.3}
1540
+ *
1541
+ * **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
1542
+ *
1543
+ * **Note**: In an Outlook event-based activation add-in, this API is supported in Outlook on Windows starting from version 2111 (build 14701.20000).
1544
+ * To retrieve an access token in older builds, use
1545
+ * {@link https://docs.microsoft.com/javascript/api/office-runtime/officeruntime.auth?view=common-js-preview#office-runtime-officeruntime-auth-getaccesstoken-member(1) |
1546
+ * OfficeRuntime.auth.getAccessToken} instead. For more information, see
1547
+ * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/use-sso-in-event-based-activation | Enable single sign-on (SSO) in Outlook add-ins that use event-based activation}.
1542
1548
  *
1543
1549
  * @param options - Optional. Accepts an `AuthOptions` object to define sign-on behaviors.
1544
1550
  * @returns Promise to the access token.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.315",
3
+ "version": "1.0.316",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "7b8b6cb450be9b3c52cd71cd1dd00a54a63029abb20462fab4e186809b42c9ba",
48
+ "typesPublisherContentHash": "97181eb5028cd9f7645c39c83042f1a4c6872436e0a1fdf72898b6731e3dc2a7",
49
49
  "typeScriptVersion": "4.0"
50
50
  }