silgi 0.9.8 → 0.9.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.
@@ -1,4 +1,4 @@
1
- const version = "0.9.8";
1
+ const version = "0.9.9";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.3.0",
4
4
  "@nuxt/kit": "^3.15.4",
@@ -76,7 +76,7 @@ declare function resolveSilgiModule(base: string, paths: string[]): Promise<stri
76
76
  *
77
77
  * This mirrors the runtime behavior of Nitro.
78
78
  */
79
- declare function useSilgiRuntimeConfig(): Record<string, any>;
79
+ declare function useSilgiRuntimeConfig(): Record<string, any> | undefined;
80
80
 
81
81
  /**
82
82
  * Renders given template during build into the virtual file system (and optionally to disk in the project `buildDir`)
@@ -76,7 +76,7 @@ declare function resolveSilgiModule(base: string, paths: string[]): Promise<stri
76
76
  *
77
77
  * This mirrors the runtime behavior of Nitro.
78
78
  */
79
- declare function useSilgiRuntimeConfig(): Record<string, any>;
79
+ declare function useSilgiRuntimeConfig(): Record<string, any> | undefined;
80
80
 
81
81
  /**
82
82
  * Renders given template during build into the virtual file system (and optionally to disk in the project `buildDir`)
@@ -246,7 +246,7 @@ async function resolveSilgiModule(base, paths) {
246
246
  function useSilgiRuntimeConfig() {
247
247
  const silgi = tryUseSilgi();
248
248
  if (!silgi) {
249
- return {};
249
+ return void 0;
250
250
  }
251
251
  return applyEnv(klona(silgi.options.runtimeConfig), {
252
252
  prefix: "NITRO_",
@@ -1,4 +1,4 @@
1
- const version = "0.9.8";
1
+ const version = "0.9.9";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.3.0",
4
4
  "@nuxt/kit": "^3.15.4",
@@ -1,4 +1,4 @@
1
- const version = "0.9.8";
1
+ const version = "0.9.9";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.3.0",
4
4
  "@nuxt/kit": "^3.15.4",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.9.8",
4
+ "version": "0.9.9",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {