@burdenoff/microfe-workflows 2026.1115.1 → 2026.1115.2

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.
@@ -1,5 +1,6 @@
1
1
  import { NavItem, FooterItem } from '@burdenoff/fe-libs/shared/hooks/shell';
2
2
  import { MicrofrontendRootProps } from '@burdenoff/fe-libs/shared/types';
3
+ import { FluidGridsConfig } from '@burdenoff/fluidgrids-fe-sdk/workflow-host';
3
4
  export type { NavItem, FooterItem };
4
5
  /**
5
6
  * Props for the WorkflowsRoot component
@@ -11,6 +12,13 @@ export interface WorkflowsRootProps extends MicrofrontendRootProps {
11
12
  * Optional capabilities flags
12
13
  */
13
14
  capabilities?: Record<string, boolean>;
15
+ /**
16
+ * Browser timings of builder steps (builder load, save, run result shown)
17
+ * that the SDK reports to wspace-workflow-svc (BOFF-11772). Forwarded to
18
+ * the SDK config as is. When omitted, the SDK default applies: on for the
19
+ * FluidGrids product, off for every other host.
20
+ */
21
+ builderTimings?: FluidGridsConfig['builderTimings'];
14
22
  /**
15
23
  * Optional callback functions
16
24
  */
@@ -36,14 +36,19 @@ function D({ children: i, ...l }) {
36
36
  }
37
37
  };
38
38
  }), A = s(k.subscribe, k.snapshot, () => !1);
39
- return a(() => (m(), m), []), a(() => {
39
+ a(() => (m(), m), []);
40
+ let j = l.builderTimings?.enabled, M = l.builderTimings?.sampleRate;
41
+ return a(() => {
40
42
  if (!l.apiGatewayUrl || !l.productId || !l.workspaceId || !l.workspaceToken || !D || !O) return;
41
43
  let t = l.apiGatewayUrl.replace(/\/+$/, "");
42
44
  e({
43
45
  workflowSvcUrl: E(t),
44
46
  apiGatewayUrl: t
45
47
  });
46
- let n = l.callbacks?.onWorkflowSaved;
48
+ let n = j === void 0 && M === void 0 ? void 0 : {
49
+ enabled: j,
50
+ sampleRate: M
51
+ }, r = l.callbacks?.onWorkflowSaved;
47
52
  return _({
48
53
  apiGatewayUrl: t,
49
54
  authToken: l.authToken,
@@ -52,7 +57,8 @@ function D({ children: i, ...l }) {
52
57
  tenantId: l.tenantId,
53
58
  productId: l.productId,
54
59
  productName: l.productName,
55
- onWorkflowSaved: n
60
+ onWorkflowSaved: r,
61
+ builderTimings: n
56
62
  }), g(D), v(O), d().catch((e) => {
57
63
  console.warn("[Workflows] Could not refresh installed nodes", e);
58
64
  }), k.set(!0), () => {
@@ -69,7 +75,9 @@ function D({ children: i, ...l }) {
69
75
  l.tenantId,
70
76
  l.productId,
71
77
  l.productName,
72
- l.callbacks
78
+ l.callbacks,
79
+ j,
80
+ M
73
81
  ]), l.workspaceId ? !A || !l.workspaceToken || !l.productId ? /* @__PURE__ */ C("div", {
74
82
  className: "mx-auto flex h-full min-h-[60vh] w-full max-w-md flex-col items-center justify-center gap-4 px-4 py-10 text-center",
75
83
  role: "status",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-workflows",
3
- "version": "2026.1115.1",
3
+ "version": "2026.1115.2",
4
4
  "description": "Workflows microfrontend for Burdenoff products - thin shell over @burdenoff/fluidgrids-fe-sdk",
5
5
  "type": "module",
6
6
  "exports": {
@@ -48,14 +48,14 @@
48
48
  "verify:package": "mkdir -p node_modules/.cache/release-package && npm pack --dry-run --json --ignore-scripts > node_modules/.cache/release-package/pack.json && bun scripts/check-release-package.ts node_modules/.cache/release-package/pack.json"
49
49
  },
50
50
  "dependencies": {
51
- "@burdenoff/fe-libs": "2026.1113.11",
51
+ "@burdenoff/fe-libs": "2026.1115.12",
52
52
  "lucide-react": "^0.468.0",
53
53
  "react": "^19.3.1",
54
54
  "react-dom": "^19.3.1",
55
55
  "react-router": "^8.5.1"
56
56
  },
57
57
  "devDependencies": {
58
- "@burdenoff/fluidgrids-fe-sdk": "2026.1113.11",
58
+ "@burdenoff/fluidgrids-fe-sdk": "2026.1115.18",
59
59
  "@burdenoff/toolchain": "2026.1107.14",
60
60
  "@types/bun": "^1.4.4",
61
61
  "@types/node": "^24.19.2",
@@ -75,7 +75,7 @@
75
75
  "vite": "8.3.5"
76
76
  },
77
77
  "peerDependencies": {
78
- "@burdenoff/fluidgrids-fe-sdk": "2026.1113.11",
78
+ "@burdenoff/fluidgrids-fe-sdk": "2026.1115.18",
79
79
  "framer-motion": "^12.0.0",
80
80
  "react": "^19.0.0",
81
81
  "react-dom": "^19.0.0"