@getcatalystiq/agent-plane-ui 0.1.0 → 0.1.1

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/dist/index.cjs CHANGED
@@ -113,6 +113,7 @@ function useApi(key, fetcher, options) {
113
113
  () => fetcher(client),
114
114
  {
115
115
  revalidateOnFocus: false,
116
+ errorRetryCount: 3,
116
117
  onError: (err) => {
117
118
  if (onAuthError && err && typeof err === "object" && "status" in err && err.status === 401) {
118
119
  onAuthError(err instanceof Error ? err : new Error(String(err)));
package/dist/index.js CHANGED
@@ -87,6 +87,7 @@ function useApi(key, fetcher, options) {
87
87
  () => fetcher(client),
88
88
  {
89
89
  revalidateOnFocus: false,
90
+ errorRetryCount: 3,
90
91
  onError: (err) => {
91
92
  if (onAuthError && err && typeof err === "object" && "status" in err && err.status === 401) {
92
93
  onAuthError(err instanceof Error ? err : new Error(String(err)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getcatalystiq/agent-plane-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Embeddable React component library for AgentPlane",
5
5
  "type": "module",
6
6
  "exports": {