@workflow/web 4.1.6 → 4.1.8
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/build/client/assets/{encryption-80GMP4r0.js → encryption-5eom23r0.js} +11 -5
- package/build/client/assets/{highlighted-body-B3W2YXNL-BcILn2ch.js → highlighted-body-B3W2YXNL-9Gx_xbQ8.js} +1 -1
- package/build/client/assets/{home-CI2sZzZZ.js → home-D6JmZfUp.js} +2 -2
- package/build/client/assets/{manifest-c3c3f64e.js → manifest-3243993f.js} +1 -1
- package/build/client/assets/{mermaid-3ZIDBTTL-BE1h5qUK.js → mermaid-3ZIDBTTL-CjHrXABH.js} +2005 -1992
- package/build/client/assets/{root-Cr0bUIN7.js → root--_OYilvb.js} +1 -1
- package/build/client/assets/{run-detail-gIcQ-2KJ.js → run-detail-BeA7fQfA.js} +219 -91
- package/build/client/assets/{workflow-graph-viewer-fudq4EvS.js → workflow-graph-viewer-BNsGQIfR.js} +1 -1
- package/build/server/assets/{app-DZ5lj7U4.js → app-Bw7CxKyr.js} +1 -1
- package/build/server/assets/{highlighted-body-B3W2YXNL-ByO-v0q1.js → highlighted-body-B3W2YXNL-KnZkHlP2.js} +2 -2
- package/build/server/assets/{index-6XpyP-Zw.js → index-D1onv-Hr.js} +3 -3
- package/build/server/assets/{mermaid-3ZIDBTTL-CJpvg6rz.js → mermaid-3ZIDBTTL-CvDmHqoa.js} +2 -2
- package/build/server/assets/{server-build-DiegzHGY.js → server-build-BBm5-YMr.js} +1916 -1632
- package/build/server/assets/{token-DLJYtB0F.js → token-DUzouuf-.js} +2 -2
- package/build/server/assets/{token-util-Cv4v93wd.js → token-util-DoCTpdh_.js} +2 -2
- package/build/server/index.js +1 -1
- package/package.json +6 -6
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
const NONCE_LENGTH = 12;
|
|
2
2
|
const TAG_LENGTH = 128;
|
|
3
3
|
const KEY_LENGTH = 32;
|
|
4
|
-
async function importKey(raw) {
|
|
4
|
+
async function importKey(raw, usages = ["encrypt", "decrypt"]) {
|
|
5
5
|
if (raw.byteLength !== KEY_LENGTH) {
|
|
6
6
|
throw new Error(`Encryption key must be exactly ${KEY_LENGTH} bytes, got ${raw.byteLength}`);
|
|
7
7
|
}
|
|
8
|
-
return globalThis.crypto.subtle.importKey(
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
return globalThis.crypto.subtle.importKey(
|
|
9
|
+
"raw",
|
|
10
|
+
raw,
|
|
11
|
+
"AES-GCM",
|
|
12
|
+
false,
|
|
13
|
+
// `KeyUsage` is a DOM-lib type that's not in scope under `es2022`.
|
|
14
|
+
// The `ReadonlyArray<'encrypt' | 'decrypt'>` parameter type matches
|
|
15
|
+
// a strict subset of `KeyUsage[]`, so this cast is sound.
|
|
16
|
+
usages
|
|
17
|
+
);
|
|
12
18
|
}
|
|
13
19
|
async function decrypt(key, data) {
|
|
14
20
|
const minLength = NONCE_LENGTH + TAG_LENGTH / 8;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-
|
|
1
|
+
import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-CjHrXABH.js";
|
|
2
2
|
import { r as reactExports, j as jsxRuntimeExports } from "./index-DQa-BExo.js";
|
|
3
3
|
var L = ({ code: s, language: t, raw: e, className: n, ...d$1 }) => {
|
|
4
4
|
let { shikiTheme: l } = reactExports.useContext(R), o = Ks(), [m, i] = reactExports.useState(e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, C as ReactDOM, j as jsxRuntimeExports, z as Link, f as reactDomExports, B as useSearchParams, A as useNavigate, D as useLocation, w as withComponentProps } from "./index-DQa-BExo.js";
|
|
2
|
-
import { R as ResolveHookModal, S as Send, a as Skeleton, u as unwrapOrThrow, W as WorkflowWebAPIError, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, d as AlertDescription, g as getErrorMessage, e as CopyableText, D as DropdownMenu, f as DropdownMenuTrigger, E as Ellipsis, h as DropdownMenuContent, i as DropdownMenuItem, j as ChevronRight, r as resumeHook, k as createCollection, l as hideOthers, m as ReactRemoveScroll, n as useDirection, o as ChevronDown, p as ChevronUp, q as Check, X, s as useControllableState$1, P as Primitive$1, t as composeEventHandlers$1, v as Presence, w as useSize, x as createContextScope$1, y as cancelRun, z as reenqueueRun, B as parseWorkflowName, F as StatusBadge, Z as Zap, G as CircleX, H as RunActionsDropdownItems, I as unwrapServerActionResult, J as WorkflowGraphViewer, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, N as ErrorBoundary } from "./workflow-graph-viewer-
|
|
3
|
-
import { g as useLayoutEffect2, P as Primitive, c as createLucideIcon, h as useToast, d as cn, D as DEFAULT_PAGE_SIZE, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, B as Button, b as TooltipContent, l as fetchEvents, m as useCallbackRef, n as useComposedRefs, A as Anchor, o as composeEventHandlers, p as useId, q as createPopperScope, s as DismissableLayer, v as createContextScope, w as createSlot, C as Content$1, x as useControllableState, y as Root2$1, V as VISUALLY_HIDDEN_STYLES, z as Arrow, E as useComposedRefs$1, u as useServerConfig, t as toast, L as LoaderCircle, F as fetchRun, G as cva, H as Presence$1, I as createContext2, J as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-
|
|
2
|
+
import { R as ResolveHookModal, S as Send, a as Skeleton, u as unwrapOrThrow, W as WorkflowWebAPIError, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, d as AlertDescription, g as getErrorMessage, e as CopyableText, D as DropdownMenu, f as DropdownMenuTrigger, E as Ellipsis, h as DropdownMenuContent, i as DropdownMenuItem, j as ChevronRight, r as resumeHook, k as createCollection, l as hideOthers, m as ReactRemoveScroll, n as useDirection, o as ChevronDown, p as ChevronUp, q as Check, X, s as useControllableState$1, P as Primitive$1, t as composeEventHandlers$1, v as Presence, w as useSize, x as createContextScope$1, y as cancelRun, z as reenqueueRun, B as parseWorkflowName, F as StatusBadge, Z as Zap, G as CircleX, H as RunActionsDropdownItems, I as unwrapServerActionResult, J as WorkflowGraphViewer, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, N as ErrorBoundary } from "./workflow-graph-viewer-BNsGQIfR.js";
|
|
3
|
+
import { g as useLayoutEffect2, P as Primitive, c as createLucideIcon, h as useToast, d as cn, D as DEFAULT_PAGE_SIZE, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, B as Button, b as TooltipContent, l as fetchEvents, m as useCallbackRef, n as useComposedRefs, A as Anchor, o as composeEventHandlers, p as useId, q as createPopperScope, s as DismissableLayer, v as createContextScope, w as createSlot, C as Content$1, x as useControllableState, y as Root2$1, V as VISUALLY_HIDDEN_STYLES, z as Arrow, E as useComposedRefs$1, u as useServerConfig, t as toast, L as LoaderCircle, F as fetchRun, G as cva, H as Presence$1, I as createContext2, J as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-CjHrXABH.js";
|
|
4
4
|
var PORTAL_NAME$2 = "Portal";
|
|
5
5
|
var Portal$2 = reactExports.forwardRef((props, forwardedRef) => {
|
|
6
6
|
var _a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-BWsSsWQm.js","imports":["/assets/index-DQa-BExo.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root
|
|
1
|
+
window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-BWsSsWQm.js","imports":["/assets/index-DQa-BExo.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root--_OYilvb.js","imports":["/assets/index-DQa-BExo.js","/assets/mermaid-3ZIDBTTL-CjHrXABH.js"],"css":["/assets/root-aMfmV5uh.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.css"]},"routes/home":{"id":"routes/home","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/home-D6JmZfUp.js","imports":["/assets/index-DQa-BExo.js","/assets/workflow-graph-viewer-BNsGQIfR.js","/assets/mermaid-3ZIDBTTL-CjHrXABH.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.css"]},"routes/run-detail":{"id":"routes/run-detail","parentId":"root","path":"run/:runId","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/run-detail-BeA7fQfA.js","imports":["/assets/index-DQa-BExo.js","/assets/workflow-graph-viewer-BNsGQIfR.js","/assets/mermaid-3ZIDBTTL-CjHrXABH.js","/assets/encryption-5eom23r0.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.css"]},"routes/api.rpc":{"id":"routes/api.rpc","parentId":"root","path":"api/rpc","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.rpc-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.stream.$streamId":{"id":"routes/api.stream.$streamId","parentId":"root","path":"api/stream/:streamId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.stream._streamId-l0sNRNKZ.js","imports":[],"css":[]}},"url":"/assets/manifest-3243993f.js","version":"3243993f"};
|