@uniformdev/uniform-nuxt 18.27.1-alpha.12 → 18.28.0

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/README.md CHANGED
@@ -59,7 +59,6 @@ These are the option you pass to the module in `nuxt.config.ts`.
59
59
  | `manifest` | ManifestV2 | The Uniform Context manifest. This one is usually fetched right before the app is started using Uniform's CLI. Uniform Context won't be enabled if a manifest is missing. |
60
60
  | `outputType` | 'standard' \| 'edge' | Set it to 'edge' when building the app for the edge using [NESI technology](https://docs.uniform.app/context/reference/netlify). Defaults to 'standard' |
61
61
  | `apiHost` | string | The host to be used when calling the API. Defaults to `https://uniform.app` |
62
- | `edgeApiHost` | string | The host to be used when calling the Edge API. Defaults to `https://uniform.global` |
63
62
  | `defaultConsent` | boolean | Sets the default value of the user consent. Defaults to `false` |
64
63
  | `enableContextDevTools` | boolean | Enables the [Context DevTools](https://docs.uniform.app/context/getting-started/browser-extension) plugin. Defaults to `true` |
65
64
  | `uniformContextPath` | string | The path to a file that exports a Unifrom Context instance as default.<br>This will override the values of `manifest`, `defaultConsent` and `enableContextDevTools`. Useful for advanced use cases (such us using plugins other than the Context DevTools one). |
package/dist/module.d.ts CHANGED
@@ -11,11 +11,6 @@ interface UniformModuleOptions {
11
11
  * @default 'https://uniform.app'
12
12
  */
13
13
  apiHost?: string;
14
- /**
15
- * The host to be used when calling the Edge API.
16
- * @default 'https://uniform.global'
17
- */
18
- edgeApiHost?: string;
19
14
  /** The Uniform Context manifest. This one is usually fetched right before the app is started using Uniform's CLI. Uniform Context won't be enabled if a manifest is missing. */
20
15
  manifest?: ManifestV2;
21
16
  /**
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-uniform",
3
3
  "configKey": "uniform",
4
- "version": "18.27.1-alpha.12+a2ae84d4d"
4
+ "version": "18.28.0"
5
5
  }
package/dist/module.mjs CHANGED
@@ -12,7 +12,6 @@ const module = defineNuxtModule({
12
12
  projectId: "",
13
13
  readOnlyApiKey: "",
14
14
  apiHost: "https://uniform.app",
15
- edgeApiHost: "https://uniform.global",
16
15
  manifest: void 0,
17
16
  outputType: void 0,
18
17
  uniformContextPath: void 0,
@@ -20,6 +19,7 @@ const module = defineNuxtModule({
20
19
  enableContextDevTools: true
21
20
  },
22
21
  setup(options, nuxt) {
22
+ options.apiHost;
23
23
  if (!options.projectId || !options.readOnlyApiKey) {
24
24
  throw new Error("uniform-nuxt: The module options 'projectId' and 'readOnlyApiKey' are required.");
25
25
  }
@@ -112,8 +112,7 @@ function setupCanvas(nuxtApp) {
112
112
  const uniformCanvasClient = new CanvasClient({
113
113
  projectId: options.projectId,
114
114
  apiKey: options.readOnlyApiKey,
115
- apiHost: options.apiHost,
116
- edgeApiHost: options.edgeApiHost
115
+ apiHost: options.apiHost
117
116
  });
118
117
  return uniformCanvasClient;
119
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-nuxt",
3
- "version": "18.27.1-alpha.12+a2ae84d4d",
3
+ "version": "18.28.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -36,10 +36,10 @@
36
36
  "@nuxt/module-builder": "0.2.1",
37
37
  "@nuxt/schema": "3.2.0",
38
38
  "@nuxtjs/eslint-config-typescript": "12.0.0",
39
- "@uniformdev/canvas": "18.27.1-alpha.12+a2ae84d4d",
40
- "@uniformdev/canvas-vue": "18.27.1-alpha.12+a2ae84d4d",
41
- "@uniformdev/context": "18.27.1-alpha.12+a2ae84d4d",
42
- "@uniformdev/context-vue": "18.27.1-alpha.12+a2ae84d4d",
39
+ "@uniformdev/canvas": "18.28.0",
40
+ "@uniformdev/canvas-vue": "18.28.0",
41
+ "@uniformdev/context": "18.28.0",
42
+ "@uniformdev/context-vue": "18.28.0",
43
43
  "esbuild": "0.17.12",
44
44
  "eslint": "^8.31.0",
45
45
  "nuxt": "3.2.0",
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "a2ae84d4d88dab29f6291a75d7628663dc2df8bd"
52
+ "gitHead": "97d916ca20965e8a86d2454847114068895ccddd"
53
53
  }