@dargmuesli/nuxt-cookie-control 8.2.2 → 8.2.3
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/module.mjs +3 -3
- package/dist/runtime/plugin.mjs +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -121,7 +121,7 @@ const DEFAULTS = {
|
|
|
121
121
|
};
|
|
122
122
|
|
|
123
123
|
const name = "@dargmuesli/nuxt-cookie-control";
|
|
124
|
-
const version = "8.2.
|
|
124
|
+
const version = "8.2.3";
|
|
125
125
|
|
|
126
126
|
const resolver = createResolver(import.meta.url);
|
|
127
127
|
const runtimeDir = resolver.resolve("./runtime");
|
|
@@ -220,9 +220,9 @@ export default ${JSON.stringify(data.options, void 0, 2)} as ModuleOptions
|
|
|
220
220
|
export type CookieID = ${Object.values([
|
|
221
221
|
...data.options.cookies.necessary,
|
|
222
222
|
...data.options.cookies.optional
|
|
223
|
-
]).map((cookie) => `"${cookie.id}"`).join(" | ") || "never"}
|
|
223
|
+
]).map((cookie) => `"${cookie.id}"`).join(" | ") || "never"}
|
|
224
224
|
|
|
225
|
-
export type CookieIDs = Array<CookieID
|
|
225
|
+
export type CookieIDs = Array<CookieID>
|
|
226
226
|
`;
|
|
227
227
|
const loadLocales = async (moduleOptions) => {
|
|
228
228
|
const locales = moduleOptions.locales;
|
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
|
-
import moduleOptions from "#build/types/cookie-control";
|
|
2
|
+
import moduleOptions from "#build/types/cookie-control.d";
|
|
3
3
|
import { COOKIE_ID_SEPARATOR } from "#cookie-control/constants";
|
|
4
4
|
import { getAllCookieIdsString } from "#cookie-control/methods";
|
|
5
5
|
import { defineNuxtPlugin, useCookie } from "#imports";
|
package/package.json
CHANGED