@sistent/sistent 0.15.10 → 0.15.12
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/dist/index.d.mts +2 -5
- package/dist/index.d.ts +2 -5
- package/dist/index.js +29 -29
- package/dist/index.mjs +31 -31
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ import { Store as Store$1, Dispatch } from 'redux';
|
|
|
11
11
|
import { EmotionCache } from '@emotion/react';
|
|
12
12
|
import { TypographyOptions } from '@mui/material/styles/createTypography';
|
|
13
13
|
import * as xstate from 'xstate';
|
|
14
|
-
import { EventObject, DoneActorEvent, ErrorActorEvent, SnapshotFrom, NonReducibleUnknown, ActorLogic, AnyMachineSnapshot, AnyActorLogic, AnyEventObject
|
|
14
|
+
import { EventObject, DoneActorEvent, ErrorActorEvent, SnapshotFrom, NonReducibleUnknown, ActorLogic, AnyMachineSnapshot, AnyActorLogic, AnyEventObject } from 'xstate';
|
|
15
15
|
import { Store, Selector, UnknownAction } from '@reduxjs/toolkit';
|
|
16
16
|
import { Api, EndpointDefinitions, QueryResultSelectorResult } from '@reduxjs/toolkit/query/react';
|
|
17
17
|
import { AnyActorSystem } from 'xstate/dist/declarations/src/system';
|
|
@@ -577,9 +577,6 @@ declare const rtkQueryActor: xstate.StateMachine<RtkQueryActorContext, initiateQ
|
|
|
577
577
|
};
|
|
578
578
|
}>;
|
|
579
579
|
|
|
580
|
-
type ContextWithReturnAddress = {
|
|
581
|
-
returnAddress: AnyActorRef;
|
|
582
|
-
};
|
|
583
580
|
declare const sendToActor: (actor: string, event: AnyEventObject) => xstate.ActionFunction<xstate.MachineContext, xstate.EventObject, xstate.EventObject, xstate.NonReducibleUnknown, never, never, never, never, never>;
|
|
584
581
|
declare const sendToActors: (actorSystemIds: string[], eventCreator: (actionArgs: any, params: any) => AnyEventObject) => xstate.ActionFunction<xstate.MachineContext, xstate.EventObject, xstate.EventObject, xstate.NonReducibleUnknown, xstate.ProvidedActor, xstate.ParameterizedObject, xstate.ParameterizedObject, never, xstate.EventObject>;
|
|
585
582
|
declare const forwardToActors: (actorSystemIds: string[]) => xstate.ActionFunction<xstate.MachineContext, xstate.EventObject, xstate.EventObject, xstate.NonReducibleUnknown, xstate.ProvidedActor, xstate.ParameterizedObject, xstate.ParameterizedObject, never, xstate.EventObject>;
|
|
@@ -587,7 +584,7 @@ declare const deadLetter: (event: AnyEventObject) => {
|
|
|
587
584
|
type: string;
|
|
588
585
|
event: AnyEventObject;
|
|
589
586
|
};
|
|
590
|
-
declare const reply: (eventFn: (actionArgs: any, params: any) => AnyEventObject) => xstate.ActionFunction<
|
|
587
|
+
declare const reply: (eventFn: (actionArgs: any, params: any) => AnyEventObject) => xstate.ActionFunction<xstate.MachineContext, xstate.EventObject, xstate.EventObject, xstate.NonReducibleUnknown, xstate.ProvidedActor, xstate.ParameterizedObject, xstate.ParameterizedObject, never, xstate.EventObject>;
|
|
591
588
|
declare const XSTATE_DEBUG_EVENT = "XSTATE_DEBUG_EVENT";
|
|
592
589
|
type deferredEventsQueue = AnyEventObject[];
|
|
593
590
|
interface DeferredEventsQueueContext {
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Store as Store$1, Dispatch } from 'redux';
|
|
|
11
11
|
import { EmotionCache } from '@emotion/react';
|
|
12
12
|
import { TypographyOptions } from '@mui/material/styles/createTypography';
|
|
13
13
|
import * as xstate from 'xstate';
|
|
14
|
-
import { EventObject, DoneActorEvent, ErrorActorEvent, SnapshotFrom, NonReducibleUnknown, ActorLogic, AnyMachineSnapshot, AnyActorLogic, AnyEventObject
|
|
14
|
+
import { EventObject, DoneActorEvent, ErrorActorEvent, SnapshotFrom, NonReducibleUnknown, ActorLogic, AnyMachineSnapshot, AnyActorLogic, AnyEventObject } from 'xstate';
|
|
15
15
|
import { Store, Selector, UnknownAction } from '@reduxjs/toolkit';
|
|
16
16
|
import { Api, EndpointDefinitions, QueryResultSelectorResult } from '@reduxjs/toolkit/query/react';
|
|
17
17
|
import { AnyActorSystem } from 'xstate/dist/declarations/src/system';
|
|
@@ -577,9 +577,6 @@ declare const rtkQueryActor: xstate.StateMachine<RtkQueryActorContext, initiateQ
|
|
|
577
577
|
};
|
|
578
578
|
}>;
|
|
579
579
|
|
|
580
|
-
type ContextWithReturnAddress = {
|
|
581
|
-
returnAddress: AnyActorRef;
|
|
582
|
-
};
|
|
583
580
|
declare const sendToActor: (actor: string, event: AnyEventObject) => xstate.ActionFunction<xstate.MachineContext, xstate.EventObject, xstate.EventObject, xstate.NonReducibleUnknown, never, never, never, never, never>;
|
|
584
581
|
declare const sendToActors: (actorSystemIds: string[], eventCreator: (actionArgs: any, params: any) => AnyEventObject) => xstate.ActionFunction<xstate.MachineContext, xstate.EventObject, xstate.EventObject, xstate.NonReducibleUnknown, xstate.ProvidedActor, xstate.ParameterizedObject, xstate.ParameterizedObject, never, xstate.EventObject>;
|
|
585
582
|
declare const forwardToActors: (actorSystemIds: string[]) => xstate.ActionFunction<xstate.MachineContext, xstate.EventObject, xstate.EventObject, xstate.NonReducibleUnknown, xstate.ProvidedActor, xstate.ParameterizedObject, xstate.ParameterizedObject, never, xstate.EventObject>;
|
|
@@ -587,7 +584,7 @@ declare const deadLetter: (event: AnyEventObject) => {
|
|
|
587
584
|
type: string;
|
|
588
585
|
event: AnyEventObject;
|
|
589
586
|
};
|
|
590
|
-
declare const reply: (eventFn: (actionArgs: any, params: any) => AnyEventObject) => xstate.ActionFunction<
|
|
587
|
+
declare const reply: (eventFn: (actionArgs: any, params: any) => AnyEventObject) => xstate.ActionFunction<xstate.MachineContext, xstate.EventObject, xstate.EventObject, xstate.NonReducibleUnknown, xstate.ProvidedActor, xstate.ParameterizedObject, xstate.ParameterizedObject, never, xstate.EventObject>;
|
|
591
588
|
declare const XSTATE_DEBUG_EVENT = "XSTATE_DEBUG_EVENT";
|
|
592
589
|
type deferredEventsQueue = AnyEventObject[];
|
|
593
590
|
interface DeferredEventsQueueContext {
|