@mostra/react 0.10.0 → 0.11.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.
package/dist/form.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { g as fieldKey, o as useStore } from "./hooks-C0SVZDl4.js";
2
+ import { g as fieldKey, o as useStore } from "./hooks-DsfXVbTO.js";
3
3
  import { useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
4
4
  import { get, set, useForm as useForm$1 } from "react-hook-form";
5
5
  //#region src/form.ts
@@ -2778,7 +2778,8 @@ function useViewer() {
2778
2778
  return viewer ? {
2779
2779
  id: viewer.id,
2780
2780
  ...viewer.name !== void 0 ? { name: viewer.name } : {},
2781
- source: viewer.kind
2781
+ source: viewer.kind,
2782
+ ...viewer.verified !== void 0 ? { verified: viewer.verified } : {}
2782
2783
  } : {
2783
2784
  id: "",
2784
2785
  source: "local"
@@ -2799,4 +2800,4 @@ function useArtifact() {
2799
2800
  //#endregion
2800
2801
  export { serverFunctionId as _, useSignal as a, MemoryJournal as b, useSubmitControl as c, connectShell as d, listenShell as f, fieldKey as g, Store as h, useField as i, useViewer as l, reportReady as m, useArtifact as n, useStore as o, openLink as p, useChoice as r, useSubmit as s, RuntimeProvider as t, builtVersion as u, HttpTransport as v, MostraError as x, IndexedDbJournal as y };
2801
2802
 
2802
- //# sourceMappingURL=hooks-C0SVZDl4.js.map
2803
+ //# sourceMappingURL=hooks-DsfXVbTO.js.map