mulink 1.0.8 → 1.0.9

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.
@@ -4060,7 +4060,7 @@ export function ${hookName}(options?: {
4060
4060
  }) {
4061
4061
  const queryClient = useQueryClient()
4062
4062
  const [isPending, startTransition] = useTransition()
4063
- const [optimisticData, setOptimisticData] = useOptimistic(null)
4063
+ const [optimisticData, setOptimisticData] = useOptimistic<unknown, ${inputType}>(null, (_, newData) => newData)
4064
4064
 
4065
4065
  const mutation = useMutation({
4066
4066
  mutationFn: async (variables: ${inputType}): Promise<${outputType}> => {
@@ -9634,5 +9634,5 @@ ${errorMessages}`,
9634
9634
  };
9635
9635
 
9636
9636
  export { BridgeCore, BridgeError, BridgeLogger, ConfigurationLoader, FileSystemManager, GenerationError, LogLevel, NextJsCodeGenerator, OpenApiSchemaParser, SchemaParseError, ValidationError, VersionChecker, __name, checkAndNotifyUpdates, createBridgeVersionChecker };
9637
- //# sourceMappingURL=chunk-MEK5NG2G.js.map
9638
- //# sourceMappingURL=chunk-MEK5NG2G.js.map
9637
+ //# sourceMappingURL=chunk-EED6FUEW.js.map
9638
+ //# sourceMappingURL=chunk-EED6FUEW.js.map