sveltekit-superforms
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -137,15 +137,15 @@ import { enhance, applyAction } from '$app/forms'; | ||
options = { ...defaultFormOptions, ...options }; | ||
/* | ||
if (options.flashMessage && !flashLibrary) { | ||
try { | ||
import('sveltekit-flash-message/client') | ||
.then((flash) => (flashLibrary = flash)) | ||
.catch(function () { | ||
try { | ||
const lib = ['sveltekit-flash-message', 'client']; | ||
import(lib.join('/')) | ||
.then((flash) => (flashLibrary = flash)) | ||
.catch(function () { | ||
// | ||
}); | ||
} | ||
catch { | ||
// | ||
}); | ||
} catch { | ||
// | ||
} | ||
} | ||
} | ||
*/ | ||
function emptyForm() { | ||
@@ -152,0 +152,0 @@ return { |
{ | ||
"name": "sveltekit-superforms", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Andreas Söderlund <ciscoheat@gmail.com> (https://blog.encodeart.dev)", | ||
@@ -5,0 +5,0 @@ "description": "Supercharge your SvelteKit forms with this powerhouse of a library!", |
79494