The easiest way to read and WRITE from query parameters in sveltekit.
### Describe the bug This code was working normally in the previous version: ``` import { DateTime } from 'luxon' const to = queryParam( 'to', { decode: (value) => DateTime.fromISO(value), encode: (value) => value.toISO(), defaultValue: DateTime.now(), }, { showDefaults: false }, ) ``` In version 3.0.0, the Luxon object has somehow been transformed, causing basic methods to become unavailable. For example, `$to.startOf('month')` no longer works. I'm afraid that this is a side effect of the recent changes. https://github.com/paoloricciuti/sveltekit-search-params/pull/89 https://github.com/paoloricciuti/sveltekit-search-params/pull/87 Is there a workaround, or should I use it in a different way? Thank you! ### Reproduction See the result in the console: 3.0.0 (error): https://stackblitz.com/edit/sveltejs-kit-template-default-nu1tgv?file=src%2Froutes%2F%2Bpage.svelte 2.1.2 (working): https://stackblitz.com/edit/sveltejs-kit-template-default-uy9ugg?file=src%2Froutes%2F%2Bpage.svelte ### Logs _No response_
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by Jahoda and has received 9 comments.