@nivaro/react 0.1.110 → 0.1.111

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/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -47037,7 +47037,7 @@ function z4({ profileUrl: t = "/profile" }) {
47037
47037
  staleTime: 6e4
47038
47038
  }), { data: o } = de({
47039
47039
  queryKey: ["first-login-scopes"],
47040
- queryFn: () => n.request(se("/users/me/scopes")).then((f) => f.data).catch(() => []),
47040
+ queryFn: () => n.request(se("/users/me/scopes")).then((f) => f.data).catch(() => null),
47041
47041
  enabled: !!d,
47042
47042
  staleTime: 6e4
47043
47043
  }), u = et({
@@ -47067,7 +47067,7 @@ function z4({ profileUrl: t = "/profile" }) {
47067
47067
  },
47068
47068
  {
47069
47069
  label: "Pick your default filters",
47070
- done: (o ?? []).some((f) => f.mode === "default" && (f.values ?? []).length > 0),
47070
+ done: Object.values((o == null ? void 0 : o.defaults) ?? {}).some((f) => Array.isArray(f) && f.length > 0),
47071
47071
  hint: "Pre-filter lists to your zone or region"
47072
47072
  }
47073
47073
  ], p = m.filter((f) => !f.done).length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nivaro/react",
3
- "version": "0.1.110",
3
+ "version": "0.1.111",
4
4
  "description": "React hooks and components for Nivaro CMS forms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",