@plitzi/sdk-shared 0.39.14 → 0.39.16
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @plitzi/sdk-shared
|
|
2
2
|
|
|
3
|
+
## 0.39.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0389dd0: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
|
|
8
|
+
`@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
|
|
9
|
+
|
|
10
|
+
## 0.39.15
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 359fd04: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
|
|
15
|
+
`@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
|
|
16
|
+
|
|
3
17
|
## 0.39.14
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './runningFlows';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { flowStarted, flowsRunning } from "./runningFlows.mjs";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The flows running now on this page, as the dev tools say them (`window.__plitzi.running()`).
|
|
3
|
+
*
|
|
4
|
+
* A finished flow is logged with its steps; one still running — a page-load flow waiting out a `delay`, a demo stepping
|
|
5
|
+
* through its states — was nowhere, so a reading of the page's state taken meanwhile said `{}` with nothing to tell it
|
|
6
|
+
* from a flow that never ran. Each flow is held from its first step to its last, whatever its `whileRunning`.
|
|
7
|
+
*/
|
|
8
|
+
/** A flow on its way: what fired it, on what, and since when (ms on the page's clock). */
|
|
9
|
+
export type RunningFlow = {
|
|
10
|
+
trigger: string;
|
|
11
|
+
on?: string;
|
|
12
|
+
since: number;
|
|
13
|
+
};
|
|
14
|
+
/** Holds a flow as running until the function it answers is called — once, whatever happens to the flow. */
|
|
15
|
+
export declare const flowStarted: (flow: RunningFlow) => (() => void);
|
|
16
|
+
/** The flows running now, the oldest first. */
|
|
17
|
+
export declare const flowsRunning: () => RunningFlow[];
|