@ichicraft/widgets-widget-base 1.9.8 → 1.9.9
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 +4 -0
- package/lib/types/index.d.ts +2 -1
- package/package.json +1 -1
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.9.9 - 2024-05-14
|
|
13
|
+
|
|
14
|
+
- Changed return type of `createDeepLink` function of the WidgetInstanceContext interface from `void` to `string`.
|
|
15
|
+
|
|
12
16
|
## 1.9.8 - 2024-05-13
|
|
13
17
|
|
|
14
18
|
- Added `createDeepLink` property to the WidgetInstanceContext interface, to allow creating a deep link URL based on the current board and a widget instance.
|
package/lib/types/index.d.ts
CHANGED
|
@@ -228,8 +228,9 @@ export interface WidgetInstanceContext {
|
|
|
228
228
|
/**
|
|
229
229
|
* Creates a deep link URL based on the current board and this widget instance, combined with
|
|
230
230
|
* the provided data.
|
|
231
|
+
* @returns The deep link URL.
|
|
231
232
|
*/
|
|
232
|
-
createDeepLink?: (data?: string) =>
|
|
233
|
+
createDeepLink?: (data?: string) => string;
|
|
233
234
|
/**
|
|
234
235
|
* Sets deep link data related to this widget instance in the URL of the current page.
|
|
235
236
|
*/
|
package/package.json
CHANGED