@norbix.ai/react-redux 1.12.0 → 1.13.0

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.
Files changed (2) hide show
  1. package/README.md +9 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -567,6 +567,15 @@ const [invoke] = useInvokeMarketplaceFunctionMutation();
567
567
  await invoke({ functionViewId: 'func_4hT2b9QkLm3XcT1yRfGh7a', payload: { text: 'Order shipped' } });
568
568
  ```
569
569
 
570
+ `useGetMarketplaceFunctionRunsQuery` takes exactly one of `functionId` (a function's own runs from every source — invoke, trigger, scheduler — newest first, up to 50), `triggerId` or `taskId`. A row carries `status` (`ok` / `failed` / `skipped`), `durationMs`, `source`, `correlationId` and `hasDetails`; when `hasDetails` is true, the run's input, steps and response are in the project log — read them with `norbix.hub.code.getMarketplaceFunctionRunDetails(row.correlationId)` from `@norbix.ai/ts` 4.22.0.
571
+
572
+ ```tsx
573
+ const { data } = useGetMarketplaceFunctionRunsQuery({
574
+ functionId: 'func_4hT2b9QkLm3XcT1yRfGh7a',
575
+ limit: 20,
576
+ });
577
+ ```
578
+
570
579
  ## Working with terms
571
580
 
572
581
  A **taxonomy** is a named tree of **terms** (labels). A term can have one parent (a clean hierarchy) or several parents (the same item under many categories). There is one read hook per scenario — pick the one that matches what you want:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norbix.ai/react-redux",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "Official Norbix bindings for React + Redux Toolkit. RTK Query helpers (cache, dedup, refetch, invalidation) over the typed Norbix SDK.",
5
5
  "author": "UAB Isidos",
6
6
  "license": "MIT",
@@ -68,7 +68,7 @@
68
68
  "@commitlint/cli": "^21.2.2",
69
69
  "@commitlint/config-conventional": "^21.2.2",
70
70
  "@eslint/js": "^10.0.1",
71
- "@norbix.ai/ts": "^4.21.0",
71
+ "@norbix.ai/ts": "^4.22.0",
72
72
  "@reduxjs/toolkit": "^2.12.0",
73
73
  "@semantic-release/commit-analyzer": "^13.0.1",
74
74
  "@semantic-release/github": "^12.0.9",