@ichicraft/widgets-widget-base 1.7.6 → 1.7.7

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.
package/README.md CHANGED
@@ -8,6 +8,11 @@ All notable changes to this project will be documented here.
8
8
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9
9
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
10
10
 
11
+ ## 1.7.7 - 2022-01-14
12
+ ### Changed
13
+ * Added `tenantId` property to the `WidgetContext` interface.
14
+
15
+
11
16
  ## 1.7.6 - 2021-11-04
12
17
  ### Changed
13
18
  * Added `theme` property to the `WidgetContext` interface to give access to currently applied theme.
@@ -117,6 +117,10 @@ export interface WidgetContext {
117
117
  * Tells whether the widget board is running in a mobile webview context
118
118
  */
119
119
  isMobileWebView: boolean;
120
+ /**
121
+ * Tenant ID of current SharePoint tenant
122
+ */
123
+ tenantId: string;
120
124
  /**
121
125
  * Site url of the site where the widget board is running
122
126
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "description": "Part of the Widget Development Kit for building widgets for Ichicraft Boards",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",