@seamly/web-ui 24.0.0-beta.4 → 24.0.0-beta.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamly/web-ui",
3
- "version": "24.0.0-beta.4",
3
+ "version": "24.0.0-beta.5",
4
4
  "main": "build/dist/lib/index.js",
5
5
  "types": "build/src/javascripts/index.d.ts",
6
6
  "exports": {
@@ -23,7 +23,11 @@ import i18nReducer, {
23
23
  } from 'domains/i18n/slice'
24
24
  import interruptReducer from 'domains/interrupt/slice'
25
25
  import stateReducer, { setParticipant } from 'domains/store/slice'
26
- import { MessageParticipant } from 'domains/store/store.types'
26
+ import {
27
+ MessageParticipant,
28
+ StoreState,
29
+ ReduxStore,
30
+ } from 'domains/store/store.types'
27
31
  import translationReducer from 'domains/translations/slice'
28
32
  import visibilityReducer from 'domains/visibility/slice'
29
33
  import type API from 'api'
@@ -43,7 +47,7 @@ const bareApi = {
43
47
  } satisfies Partial<API>
44
48
 
45
49
  type StaticCoreProps = {
46
- state: any
50
+ state: StoreState & Omit<ReduxStore, 'state' | 'i18n' | 'forms'>
47
51
  translations: I18nState['translations']
48
52
  participants: MessageParticipant['participant'][]
49
53
  }
@@ -73,7 +77,7 @@ const SeamlyStaticCore: FC<StaticCoreProps> = ({
73
77
  const {
74
78
  translations: initialTranslations,
75
79
  interrupt: initialInterrupt,
76
- config: initialConfig = {},
80
+ config: initialConfig,
77
81
  visibility: initialVisibility,
78
82
  ...initialState
79
83
  } = state || {}