@types/office-js 1.0.367 → 1.0.369

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-js/README.md CHANGED
@@ -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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 26 Jan 2024 00:50:36 GMT
11
+ * Last updated: Tue, 30 Jan 2024 00:22:17 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -942,6 +942,14 @@ declare namespace Office {
942
942
  * Provides access to the properties for Office theme colors.
943
943
  */
944
944
  officeTheme: OfficeTheme;
945
+ /**
946
+ * Gets a partition key for local storage. Add-ins should use this key as the location to securely store data.
947
+ *
948
+ * @remarks
949
+ *
950
+ * The hashed value of the UserPrincipalName (UPN) for the add-in's current partition.
951
+ */
952
+ partitionKey: string;
945
953
  /**
946
954
  * Provides the platform on which the add-in is running.
947
955
  *
@@ -15648,7 +15656,7 @@ declare namespace Office {
15648
15656
  *
15649
15657
  * **Important**:
15650
15658
  *
15651
- * - Adding an inline Base64 file to a messsage in compose mode is supported in Outlook on Android and on iOS. For more information on supported APIs in
15659
+ * - Adding an inline Base64 file to a message in compose mode is supported in Outlook on Android and on iOS. For more information on supported APIs in
15652
15660
  * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15653
15661
  *
15654
15662
  * - If you're using a data URL API (for example, `readAsDataURL`), you need to strip out the data URL prefix, then send the rest of the string to this API.
@@ -15694,7 +15702,7 @@ declare namespace Office {
15694
15702
  *
15695
15703
  * **Important**:
15696
15704
  *
15697
- * - Adding an inline Base64 file to a messsage in compose mode is supported in Outlook on Android and on iOS. For more information on supported APIs in
15705
+ * - Adding an inline Base64 file to a message in compose mode is supported in Outlook on Android and on iOS. For more information on supported APIs in
15698
15706
  * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15699
15707
  *
15700
15708
  * - If you're using a data URL API (for example, `readAsDataURL`), you need to strip out the data URL prefix, then send the rest of the string to this API.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.367",
3
+ "version": "1.0.369",
4
4
  "description": "TypeScript definitions for office-js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "9b0db8f00e0ba59f2281e91fb34f38da244f0e4a350118cdbb8c5f6e4ae3082d",
48
+ "typesPublisherContentHash": "44035a996299dd15c255ec0e1bea644986b42eaa052041fd4b7c51d38e04930d",
49
49
  "typeScriptVersion": "4.6"
50
50
  }