mcp-linkedin-ads 1.0.13 → 1.0.14

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.
@@ -1 +1 @@
1
- {"sha":"3375b28","builtAt":"2026-04-09T23:02:26.033Z"}
1
+ {"sha":"9e7a890","builtAt":"2026-04-09T23:18:58.748Z"}
package/dist/index.js CHANGED
@@ -21,7 +21,13 @@ catch {
21
21
  }
22
22
  // Version safety: warn if running a deprecated or dangerously old version
23
23
  const __minimumSafeVersion = "1.0.5"; // minimum version with input sanitization
24
- if (__cliPkg.version < __minimumSafeVersion) {
24
+ const __semverLt = (a, b) => { const pa = a.split(".").map(Number), pb = b.split(".").map(Number); for (let i = 0; i < 3; i++) {
25
+ if ((pa[i] || 0) < (pb[i] || 0))
26
+ return true;
27
+ if ((pa[i] || 0) > (pb[i] || 0))
28
+ return false;
29
+ } return false; };
30
+ if (__semverLt(__cliPkg.version, __minimumSafeVersion)) {
25
31
  console.error(`[WARNING] Running deprecated version ${__cliPkg.version}. Minimum safe version is ${__minimumSafeVersion}. Please upgrade.`);
26
32
  }
27
33
  // CLI flags
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-linkedin-ads",
3
3
  "mcpName": "io.github.mharnett/linkedin-ads",
4
- "version": "1.0.13",
4
+ "version": "1.0.14",
5
5
  "description": "MCP server for LinkedIn Campaign Manager API with full campaign, ad group, creative, and targeting support. Production-proven with 65+ campaigns under active management.",
6
6
  "main": "dist/index.js",
7
7
  "bin": {