silgi 0.14.1 → 0.14.2

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.
@@ -1,4 +1,4 @@
1
- const version = "0.14.1";
1
+ const version = "0.14.2";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -2009,7 +2009,8 @@ async function prepareSchema(silgi) {
2009
2009
  ([key]) => !["app", "nitro", "nuxt"].includes(key)
2010
2010
  )
2011
2011
  ),
2012
- ...silgi.options.storages
2012
+ // Create an object with storage keys from the array
2013
+ ...silgi.options.storages?.reduce((acc, key) => ({ ...acc, [key]: "" }), {}) || {}
2013
2014
  }
2014
2015
  ),
2015
2016
  {
@@ -1,4 +1,4 @@
1
- const version = "0.14.1";
1
+ const version = "0.14.2";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
@@ -1,4 +1,4 @@
1
- const version = "0.14.1";
1
+ const version = "0.14.2";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.14.1",
4
+ "version": "0.14.2",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {