@uniformdev/uniform-nuxt 17.3.1-alpha.146 → 17.3.1-alpha.194
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 +1 -1
- package/dist/runtime/plugin.mjs +2 -4
- package/package.json +7 -7
package/dist/module.json
CHANGED
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "17.3.1-alpha.194+213d546fd",
|
|
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.
|
|
39
|
-
"@uniformdev/canvas-vue": "^17.3.1-alpha.
|
|
40
|
-
"@uniformdev/context": "^17.3.1-alpha.
|
|
41
|
-
"@uniformdev/context-vue": "^17.3.1-alpha.
|
|
42
|
-
"esbuild": "0.15.
|
|
38
|
+
"@uniformdev/canvas": "^17.3.1-alpha.194+213d546fd",
|
|
39
|
+
"@uniformdev/canvas-vue": "^17.3.1-alpha.194+213d546fd",
|
|
40
|
+
"@uniformdev/context": "^17.3.1-alpha.194+213d546fd",
|
|
41
|
+
"@uniformdev/context-vue": "^17.3.1-alpha.194+213d546fd",
|
|
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": "
|
|
51
|
+
"gitHead": "213d546fdfd0eb7482a220be62a91093b6925eb3"
|
|
52
52
|
}
|