jaxs 0.9.4 → 0.9.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.
Files changed (2) hide show
  1. package/dist/jaxs.d.ts +6 -6
  2. package/package.json +1 -1
package/dist/jaxs.d.ts CHANGED
@@ -6,7 +6,7 @@ import { Subscribe as Subscribe_2 } from '.'
6
6
  export declare class App {
7
7
  window: Window
8
8
  document: Document
9
- publish: Publish<any>
9
+ publish: PublishExtended<any>
10
10
  subscribe: Subscribe
11
11
  bus: JaxsBus
12
12
  state: State
@@ -184,7 +184,7 @@ declare const createBus: () => {
184
184
 
185
185
  declare const createRouteState: (state: State) => void
186
186
 
187
- declare const createState: (publisher: Publish<any>) => State
187
+ declare const createState: (publisher: PublishExtended<any>) => State
188
188
 
189
189
  declare type CustomPeriodicOptions = {
190
190
  timer: PeriodicTimerFunction
@@ -433,7 +433,7 @@ declare type ListenerKit<T> = {
433
433
  state: State_2
434
434
  document: Document
435
435
  window: Window
436
- publish: Publish<any>
436
+ publish: PublishExtended<any>
437
437
  eventName: string
438
438
  payload: T
439
439
  }
@@ -552,7 +552,7 @@ declare interface PublishExtended<T> extends Publish<T> {
552
552
  ) => Unsubscribe
553
553
  }
554
554
 
555
- declare type PublishFromDom_2 = Publish<Event>
555
+ declare type PublishFromDom_2 = PublishExtended<Event>
556
556
 
557
557
  declare const publishLocation: (app: App) => void
558
558
 
@@ -656,12 +656,12 @@ declare namespace start {
656
656
  declare const startNavigation: (app: App) => void
657
657
 
658
658
  export declare class State {
659
- publisher: Publish<any>
659
+ publisher: PublishExtended<any>
660
660
  stores: StoresCollection
661
661
  eventNamePrefix: string
662
662
  notifications: Set<string>
663
663
  inTransaction: boolean
664
- constructor(publisher: Publish<any>)
664
+ constructor(publisher: PublishExtended<any>)
665
665
  create<T>(name: string, initialState: T): Store<T>
666
666
  store<T>(name: string): Store<T>
667
667
  get<T>(name: string): T
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "jaxs",
3
3
  "description": "Modular J/TSX application framework",
4
4
  "private": false,
5
- "version": "0.9.4",
5
+ "version": "0.9.5",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "build": "vite build; npm run lint",