@uniformdev/uniform-nuxt 16.2.1-nuxt.274 → 16.2.1-nuxt.338

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.274+0a8a48855"
4
+ "version": "16.2.1-nuxt.338+40296dcbc"
5
5
  }
@@ -105,7 +105,8 @@ function setupCanvas(nuxtApp) {
105
105
  const uniformCanvasClient = new CanvasClient({
106
106
  projectId: options.projectId,
107
107
  apiKey: options.readOnlyApiKey,
108
- apiHost: options.apiHost
108
+ apiHost: options.apiHost,
109
+ bypassCache: true
109
110
  });
110
111
  return uniformCanvasClient;
111
112
  }
@@ -121,6 +122,9 @@ function setupPreview() {
121
122
  };
122
123
  }
123
124
  router.beforeEach((to, from, next) => {
125
+ if (!next) {
126
+ return;
127
+ }
124
128
  if (from.query.preview === "true" && to.query.preview !== "true") {
125
129
  return next({
126
130
  path: to.path,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-nuxt",
3
- "version": "16.2.1-nuxt.274+0a8a48855",
3
+ "version": "16.2.1-nuxt.338+40296dcbc",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -35,10 +35,10 @@
35
35
  "@nuxt/module-builder": "0.1.7",
36
36
  "@nuxt/schema": "3.0.0-rc.6",
37
37
  "@nuxtjs/eslint-config-typescript": "10.0.0",
38
- "@uniformdev/canvas": "^16.2.1-nuxt.274+0a8a48855",
39
- "@uniformdev/canvas-vue": "^16.2.1-nuxt.274+0a8a48855",
40
- "@uniformdev/context": "^16.2.1-nuxt.274+0a8a48855",
41
- "@uniformdev/context-vue": "^16.2.1-nuxt.274+0a8a48855",
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
42
  "esbuild": "0.13.15",
43
43
  "eslint": "latest",
44
44
  "nuxt": "3.0.0-rc.6",
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "0a8a48855ef532336761a3872c3d515ab6b9113e"
51
+ "gitHead": "40296dcbc100c48896e99b1fab83117d580dd1e6"
52
52
  }