@algolia/wizard 0.9.0-rc.84.74 → 0.9.0-rc.84.75
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/main.js +3 -5
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -287,13 +287,11 @@ var useWizard = create((set, get) => ({
|
|
|
287
287
|
// may repeat or duplicate on-screen content and isn't the useful signal
|
|
288
288
|
// here.
|
|
289
289
|
submitInput: async (value) => {
|
|
290
|
-
|
|
291
|
-
|
|
290
|
+
await markInteraction();
|
|
291
|
+
get()._resolve?.(value);
|
|
292
292
|
set({ inputReq: null, _resolve: null, phase: "running" });
|
|
293
293
|
const id = get().logStart("prompt", `User input: ${describeInputValue(value)}`);
|
|
294
294
|
get().logEnd(id, "success");
|
|
295
|
-
await markInteraction();
|
|
296
|
-
resolve4(value);
|
|
297
295
|
},
|
|
298
296
|
setDone: () => set({ phase: "done" }),
|
|
299
297
|
setError: (message) => set({ phase: "error", error: message }),
|
|
@@ -2763,7 +2761,7 @@ async function runAnalysis(mode, extraInstructions = []) {
|
|
|
2763
2761
|
// package.json
|
|
2764
2762
|
var package_default = {
|
|
2765
2763
|
name: "@algolia/wizard",
|
|
2766
|
-
version: "0.9.0-rc.84.
|
|
2764
|
+
version: "0.9.0-rc.84.75",
|
|
2767
2765
|
description: "Magically implement Algolia functionality in your codebase",
|
|
2768
2766
|
type: "module",
|
|
2769
2767
|
engines: {
|