@powerhousedao/reactor-workflow 6.2.3-dev.89 → 6.2.3-dev.91
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/README.md +6 -3
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +40 -15
- package/dist/index.js.map +1 -1
- package/dist/{telemetry-Dg51lywn.js → telemetry-BXcQDBa5.js} +2 -2
- package/dist/{telemetry-Dg51lywn.js.map → telemetry-BXcQDBa5.js.map} +1 -1
- package/dist/testing.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -775,9 +775,12 @@ therefore checks the value it is about to return at any depth, and
|
|
|
775
775
|
the piece.
|
|
776
776
|
|
|
777
777
|
**The secrets key is not optional in production.** Unset, `loadKey` generates
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
778
|
+
`.ph/secrets.key` in the same `.ph` tree as the bundle cache and the attachment
|
|
779
|
+
folders: the working directory's, or the one `PH_USER_DATA_DIR` moves it to. A
|
|
780
|
+
tree with no key takes a copy of one left in the working directory, as a
|
|
781
|
+
desktop shell's stores from before it moved are encrypted with that. A host
|
|
782
|
+
whose tree does not survive a restart would come back with a new key, so the
|
|
783
|
+
store guards against it:
|
|
781
784
|
|
|
782
785
|
- A host passes `secretsKeyFile: false` when its database outlives the working
|
|
783
786
|
directory, and the store then requires `PH_WORKFLOWS_SECRETS_MASTER_KEY`
|
package/dist/index.d.ts
CHANGED
|
@@ -19916,6 +19916,7 @@ export declare class WorkflowRuntimeService {
|
|
|
19916
19916
|
fire(workflowId: string, triggerPayload?: unknown, triggerKind?: string, resume?: RunResume, ctx?: WorkflowCaller, enqueuedRunId?: string): Promise<PersistedRunResult>;
|
|
19917
19917
|
private runFired;
|
|
19918
19918
|
private executeLeg;
|
|
19919
|
+
private journalFinish;
|
|
19919
19920
|
private endUnheldWait;
|
|
19920
19921
|
private readonly runGate;
|
|
19921
19922
|
private readonly unsettledFirings;
|
|
@@ -20154,6 +20155,12 @@ interface AcquireSingletonOptions {
|
|
|
20154
20155
|
* is only logged.
|
|
20155
20156
|
*/
|
|
20156
20157
|
selfFence?: boolean;
|
|
20158
|
+
/**
|
|
20159
|
+
* The journal is embedded and this process has it open, so nobody else can
|
|
20160
|
+
* be alive behind the lease: a restart takes back its own at once. Waiting
|
|
20161
|
+
* for the heartbeat to go stale is for a holder that might still be running.
|
|
20162
|
+
*/
|
|
20163
|
+
exclusive?: boolean;
|
|
20157
20164
|
env?: Record<string, string | undefined>;
|
|
20158
20165
|
}
|
|
20159
20166
|
/**
|