@posthog/nuxt 1.6.16 → 1.7.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.d.mts CHANGED
@@ -15,6 +15,7 @@ interface SourcemapsConfig {
15
15
  /** @deprecated Use releaseName instead */
16
16
  project?: string;
17
17
  releaseName?: string;
18
+ build?: string | number;
18
19
  logLevel?: LogLevel;
19
20
  deleteAfterUpload?: boolean;
20
21
  batchSize?: number;
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.7.0"
6
6
  },
7
- "version": "1.6.16",
7
+ "version": "1.7.0",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "unknown"
package/dist/module.mjs CHANGED
@@ -117,6 +117,9 @@ function getInjectArgs(directory, sourcemapsConfig) {
117
117
  if (releaseVersion) {
118
118
  processOptions.push("--release-version", releaseVersion);
119
119
  }
120
+ if (sourcemapsConfig.build !== void 0 && sourcemapsConfig.build !== "") {
121
+ processOptions.push("--build", String(sourcemapsConfig.build));
122
+ }
120
123
  return processOptions;
121
124
  }
122
125
  function getUploadArgs(directory, sourcemapsConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/nuxt",
3
- "version": "1.6.16",
3
+ "version": "1.7.0",
4
4
  "description": "Nuxt module for Posthog 🦔",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,10 +25,10 @@
25
25
  "dependencies": {
26
26
  "@posthog/cli": "~0.7.3",
27
27
  "@nuxt/kit": ">=3.7.0",
28
- "posthog-node": "5.29.2",
29
28
  "@posthog/core": "1.25.2",
30
- "@posthog/plugin-utils": "1.0.1",
31
- "posthog-js": "1.369.3"
29
+ "@posthog/plugin-utils": "1.1.0",
30
+ "posthog-js": "1.369.3",
31
+ "posthog-node": "5.29.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^20.0.0",