@uniformdev/uniform-nuxt 17.3.1-alpha.146 → 17.4.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/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-uniform",
3
3
  "configKey": "uniform",
4
- "version": "17.3.1-alpha.146+33ba1d5c7"
4
+ "version": "17.4.0"
5
5
  }
@@ -29,8 +29,6 @@ import {
29
29
  onRouteChange,
30
30
  useUniformContext
31
31
  } from "@uniformdev/context-vue";
32
- const log = process.env.NODE_ENV === "development" ? (...args) => console.log(...args) : () => {
33
- };
34
32
  export default defineNuxtPlugin((nuxtApp) => {
35
33
  if (nuxtApp.$uniformIsSetup) {
36
34
  return;
@@ -66,7 +64,7 @@ function setupContext(nuxtApp) {
66
64
  );
67
65
  }
68
66
  if (!uniformContext && options.manifest) {
69
- log("uniform-nuxt: \u{1F4DC} found a manifest, will initialize Context");
67
+ console.log("uniform-nuxt: \u{1F4DC} found a manifest, will initialize Context");
70
68
  const manifestAsSimpleObject = toRaw(options.manifest);
71
69
  uniformContext = new Context({
72
70
  defaultConsent: Boolean(options.defaultConsent),
@@ -118,7 +116,7 @@ function setupPreview() {
118
116
  const route = useRoute();
119
117
  let preview;
120
118
  if (route.query.preview === "true") {
121
- log("uniform-nuxt: \u{1F575}\uFE0F Entering preview mode");
119
+ console.log("uniform-nuxt: \u{1F575}\uFE0F Entering preview mode");
122
120
  preview = {
123
121
  slug: route.query.slug,
124
122
  compositionId: route.query.id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/uniform-nuxt",
3
- "version": "17.3.1-alpha.146+33ba1d5c7",
3
+ "version": "17.4.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -35,11 +35,11 @@
35
35
  "@nuxt/module-builder": "0.2.0",
36
36
  "@nuxt/schema": "3.0.0-rc.9",
37
37
  "@nuxtjs/eslint-config-typescript": "11.0.0",
38
- "@uniformdev/canvas": "^17.3.1-alpha.146+33ba1d5c7",
39
- "@uniformdev/canvas-vue": "^17.3.1-alpha.146+33ba1d5c7",
40
- "@uniformdev/context": "^17.3.1-alpha.146+33ba1d5c7",
41
- "@uniformdev/context-vue": "^17.3.1-alpha.146+33ba1d5c7",
42
- "esbuild": "0.15.11",
38
+ "@uniformdev/canvas": "^17.4.0",
39
+ "@uniformdev/canvas-vue": "^17.4.0",
40
+ "@uniformdev/context": "^17.4.0",
41
+ "@uniformdev/context-vue": "^17.4.0",
42
+ "esbuild": "0.15.12",
43
43
  "eslint": "latest",
44
44
  "nuxt": "3.0.0-rc.9",
45
45
  "vue": "3.2.39",
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "33ba1d5c7cf8aca1d9d5c7c14e0d97c0805f6840"
51
+ "gitHead": "77580d40fbad3c838310f09824d29c067686fa64"
52
52
  }