@merkur/core 0.46.0-rc.0 → 0.46.0-rc.1
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/package.json +2 -2
- package/types.d.ts +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@merkur/core",
|
|
3
|
-
"version": "0.46.0-rc.
|
|
3
|
+
"version": "0.46.0-rc.1",
|
|
4
4
|
"description": "Merkur is tiny and extensible library for creating front-end microservices.",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"module": "lib/index",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
55
|
"homepage": "https://merkur.js.org/",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "a1bd899f564cab2204edd3e30edc40e1a81c3999"
|
|
57
57
|
}
|
package/types.d.ts
CHANGED
|
@@ -36,10 +36,9 @@ export interface WidgetDefinition {
|
|
|
36
36
|
|
|
37
37
|
// Type used during initialization within `createMerkurWidget()`
|
|
38
38
|
// it initializes some properties (= they're not optional anymore)
|
|
39
|
-
|
|
40
|
-
export interface WidgetPartial extends
|
|
39
|
+
type WidgetWithRequiredIntermediary = WidgetDefinition & Required<Pick<WidgetDefinition, '$dependencies' | '$external' | 'create' | 'setup'>>;
|
|
40
|
+
export interface WidgetPartial extends WidgetWithRequiredIntermediary {
|
|
41
41
|
$in: WidgetInternal;
|
|
42
|
-
slot: Record<any, any>; // @merkur/core knows (incorrectly?) about slot and initializes it to an empty object.
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
export interface WidgetParams {}
|