@uniformdev/uniform-nuxt 16.2.1-nuxt.338 → 17.1.1-alpha.151

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,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-uniform",
3
3
  "configKey": "uniform",
4
- "version": "16.2.1-nuxt.338+40296dcbc"
4
+ "version": "17.1.1-alpha.151+3c57dd245"
5
5
  }
package/dist/module.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { resolve } from 'path';
2
2
  import { fileURLToPath } from 'url';
3
- import { defineNuxtModule, resolveAlias, addTemplate, addPlugin, extendViteConfig } from '@nuxt/kit';
3
+ import { defineNuxtModule, addTemplate, addPlugin, resolveAlias, extendViteConfig } from '@nuxt/kit';
4
4
 
5
5
  const uniformContextProxyPath = "uniform/context/instance.ts";
6
6
  const module = defineNuxtModule({
@@ -59,7 +59,9 @@ function setupContext(nuxtApp) {
59
59
  const uniformCookie = useCookie(UNIFORM_DEFAULT_COOKIE_NAME).value;
60
60
  let uniformContext = userProvidedContextInstance;
61
61
  if (uniformContext !== void 0 && !uniformContext.manifest) {
62
- throw new Error(`uniform-nuxt: The Uniform Context instance returned by ${options.uniformContextPath} is not valid`);
62
+ throw new Error(
63
+ `uniform-nuxt: The Uniform Context instance returned by ${options.uniformContextPath} is not valid`
64
+ );
63
65
  }
64
66
  if (!uniformContext && options.manifest) {
65
67
  console.log("uniform-nuxt: \u{1F4DC} found a manifest, will initialize Context");
@@ -105,8 +107,7 @@ function setupCanvas(nuxtApp) {
105
107
  const uniformCanvasClient = new CanvasClient({
106
108
  projectId: options.projectId,
107
109
  apiKey: options.readOnlyApiKey,
108
- apiHost: options.apiHost,
109
- bypassCache: true
110
+ apiHost: options.apiHost
110
111
  });
111
112
  return uniformCanvasClient;
112
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-nuxt",
3
- "version": "16.2.1-nuxt.338+40296dcbc",
3
+ "version": "17.1.1-alpha.151+3c57dd245",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,20 +33,20 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@nuxt/module-builder": "0.1.7",
36
- "@nuxt/schema": "3.0.0-rc.6",
37
- "@nuxtjs/eslint-config-typescript": "10.0.0",
38
- "@uniformdev/canvas": "^16.2.1-nuxt.338+40296dcbc",
39
- "@uniformdev/canvas-vue": "^16.2.1-nuxt.338+40296dcbc",
40
- "@uniformdev/context": "^16.2.1-nuxt.338+40296dcbc",
41
- "@uniformdev/context-vue": "^16.2.1-nuxt.338+40296dcbc",
42
- "esbuild": "0.13.15",
36
+ "@nuxt/schema": "3.0.0-rc.8",
37
+ "@nuxtjs/eslint-config-typescript": "11.0.0",
38
+ "@uniformdev/canvas": "^17.1.1-alpha.151+3c57dd245",
39
+ "@uniformdev/canvas-vue": "^17.1.1-alpha.151+3c57dd245",
40
+ "@uniformdev/context": "^17.1.1-alpha.151+3c57dd245",
41
+ "@uniformdev/context-vue": "^17.1.1-alpha.151+3c57dd245",
42
+ "esbuild": "0.15.6",
43
43
  "eslint": "latest",
44
- "nuxt": "3.0.0-rc.6",
44
+ "nuxt": "3.0.0-rc.8",
45
45
  "vue": "3.2.37",
46
- "vue-router": "3.5.4"
46
+ "vue-router": "3.6.4"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "40296dcbc100c48896e99b1fab83117d580dd1e6"
51
+ "gitHead": "3c57dd245b59aa55368da8991d1e39bc633bbed8"
52
52
  }