@ichicraft/widgets-widget-base 1.14.6 → 1.14.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
@@ -9,6 +9,10 @@ All notable changes to this project will be documented here.
9
9
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
10
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
 
12
+ ## 1.14.7 - 2025-08-21
13
+
14
+ - Added `parentId` property to the `WidgetInstanceContext` interface, to support checking the ID of the parent of a widget instance.
15
+
12
16
  ## 1.14.6 - 2025-08-11
13
17
 
14
18
  - Added `updateInstanceConfiguration` property to the `WidgetInstanceContext` interface, to support updating the instance configuration directly in a widget, instead of through the settings panel.
@@ -268,11 +268,15 @@ export interface WidgetContext {
268
268
  */
269
269
  export interface WidgetInstanceContext {
270
270
  /**
271
- * Unique id for a specific widget on a user's board
271
+ * Unique id of a specific widget instance.
272
272
  */
273
273
  id: string;
274
274
  /**
275
- * Optional configuration data that contains user settings of a specific widget instance
275
+ * Unique id of the parent of a specific widget instance (e.g. of a personal/shared board, buddy bar, ...).
276
+ */
277
+ parentId: string;
278
+ /**
279
+ * Optional configuration data that contains user settings of a specific widget instance.
276
280
  */
277
281
  data?: string;
278
282
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.14.6",
3
+ "version": "1.14.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",