@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 +1 -1
- package/dist/{hooks-C0SVZDl4.js → hooks-DsfXVbTO.js} +3 -2
- package/dist/{hooks-C0SVZDl4.js.map → hooks-DsfXVbTO.js.map} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{mount-BCj41qky.js → mount-YCgk4rvq.js} +2 -2
- package/dist/{mount-BCj41qky.js.map → mount-YCgk4rvq.js.map} +1 -1
- package/dist/router.js +1 -1
- package/package.json +2 -2
- package/src/hooks.ts +3 -0
package/dist/form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { g as fieldKey, o as useStore } from "./hooks-
|
|
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-
|
|
2803
|
+
//# sourceMappingURL=hooks-DsfXVbTO.js.map
|