flowrix 1.0.1-beta.97 → 1.0.1-beta.99

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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flowrix",
3
3
  "configKey": "flowrix",
4
- "version": "1.0.1-beta.97",
4
+ "version": "1.0.1-beta.99",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -9,13 +9,14 @@ const module$1 = defineNuxtModule({
9
9
  async setup(_options, nuxt) {
10
10
  const env = process.env;
11
11
  const runtimeConfig = nuxt.options.runtimeConfig;
12
- runtimeConfig.FLOWRIX_API_KEY = env.KEY || "";
13
- runtimeConfig.FLOWRIX_API_ORIGIN = env.ORIGIN || "";
14
- runtimeConfig.FLOWRIX_API_BASE = env.BASE || "";
15
- runtimeConfig.FLOWRIX_CACHE = env.CACHE || "false";
16
- runtimeConfig.FLOWRIX_CDN = env.CDN || "";
12
+ runtimeConfig.FLOWRIX_API_KEY = env.KEY || runtimeConfig.FLOWRIX_API_KEY || "";
13
+ runtimeConfig.FLOWRIX_API_ORIGIN = env.ORIGIN || runtimeConfig.FLOWRIX_API_ORIGIN || "";
14
+ runtimeConfig.FLOWRIX_API_BASE = env.BASE || runtimeConfig.FLOWRIX_API_BASE || "";
15
+ runtimeConfig.FLOWRIX_CACHE = env.CACHE || runtimeConfig.FLOWRIX_CACHE || "false";
16
+ runtimeConfig.FLOWRIX_CDN = env.CDN || runtimeConfig.FLOWRIX_CDN || "";
17
17
  Object.assign(runtimeConfig.public, {
18
18
  ...runtimeConfig.public,
19
+ ...process.env,
19
20
  FLOWRIX_API_KEY: runtimeConfig.public.FLOWRIX_API_KEY || env.KEY || runtimeConfig.FLOWRIX_API_KEY || "",
20
21
  FLOWRIX_API_ORIGIN: runtimeConfig.public.FLOWRIX_API_ORIGIN || env.ORIGIN || runtimeConfig.FLOWRIX_API_ORIGIN || "",
21
22
  FLOWRIX_API_BASE: runtimeConfig.public.FLOWRIX_API_BASE || env.BASE || runtimeConfig.FLOWRIX_API_BASE || "",
@@ -340,7 +341,7 @@ const module$1 = defineNuxtModule({
340
341
  handler: resolver.resolve("./runtime/server/api/generate/robots.get")
341
342
  });
342
343
  addServerHandler({
343
- route: "/faizancheck",
344
+ route: "/api/faizancheck",
344
345
  handler: resolver.resolve("./runtime/server/api/checkvariables")
345
346
  });
346
347
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowrix",
3
- "version": "1.0.1-beta.97",
3
+ "version": "1.0.1-beta.99",
4
4
  "description": "Plug-and-play Nuxt eCommerce cart powered by FLOWRiX. Subscription required.",
5
5
  "license": "MIT",
6
6
  "type": "module",