@ciphera-net/pulse-nuxt 1.0.1 → 1.0.2

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.d.ts CHANGED
@@ -31,7 +31,8 @@ declare namespace pulseModule {
31
31
  };
32
32
  };
33
33
  }
34
- export default pulseModule;
34
+ declare const _default: typeof pulseModule;
35
+ export default _default;
35
36
  declare module "@nuxt/schema" {
36
37
  interface NuxtConfig {
37
38
  pulse?: ModuleOptions;
package/dist/module.js CHANGED
@@ -93,6 +93,11 @@ function log(level, message) {
93
93
  pulseModule.meta = {
94
94
  name: MODULE_NAME,
95
95
  configKey: CONFIG_KEY,
96
+ // ⚠️ Declared for tooling, and NOT a gate. Nuxt does not read this off a
97
+ // bare function module — proven with a control that declared `^99.0.0` and
98
+ // built clean. The gate is `nuxtMajor()` above.
96
99
  compatibility: { nuxt: ">=3.0.0" },
97
100
  };
101
+ // The assertion is the point: it fails to compile if the signature stops
102
+ // matching what Nuxt will call.
98
103
  export default pulseModule;
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciphera-net/pulse-nuxt",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "configKey": "pulse",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0 || ^4.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciphera-net/pulse-nuxt",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Add Pulse Analytics — privacy-first web analytics — to a Nuxt site with one module. No cookies, no personal data, under 3 KB.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -45,8 +45,8 @@
45
45
  "nuxt": "^3.0.0 || ^4.0.0"
46
46
  },
47
47
  "devDependencies": {
48
+ "@nuxt/kit": "^4.5.2",
48
49
  "@nuxt/schema": "^4.5.2",
49
- "nuxt": "^4.5.2",
50
50
  "playwright-core": "^1.63.0",
51
51
  "typescript": "^5.9.2",
52
52
  "vitest": "^4.0.18"