@teamnetwork-nz/sonicwall-api-mcp-server 0.8.1 → 0.9.1

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.
@@ -24,7 +24,7 @@ __export(strict_tools_exports, {
24
24
  enforceStrictToolInputs: () => enforceStrictToolInputs
25
25
  });
26
26
  module.exports = __toCommonJS(strict_tools_exports);
27
- var import_zod = require("zod");
27
+ var import_v3 = require("zod/v3");
28
28
  function isSchema(value) {
29
29
  return typeof value === "object" && value !== null && "_def" in value;
30
30
  }
@@ -34,8 +34,8 @@ function isRawShape(value) {
34
34
  return values.length === 0 || values.some(isSchema);
35
35
  }
36
36
  function strictSchema(schema) {
37
- if (schema === void 0) return import_zod.z.object({}).strict();
38
- if (isRawShape(schema)) return import_zod.z.object(schema).strict();
37
+ if (schema === void 0) return import_v3.z.object({}).strict();
38
+ if (isRawShape(schema)) return import_v3.z.object(schema).strict();
39
39
  if (isSchema(schema) && typeof schema.strict === "function") return schema.strict();
40
40
  return schema;
41
41
  }
package/package.json CHANGED
@@ -1,52 +1,52 @@
1
- {
2
- "name": "@teamnetwork-nz/sonicwall-api-mcp-server",
3
- "version": "0.8.1",
4
- "description": "MCP server for SonicWall NSA appliance configuration — objects, rules, NAT, routing, and GeoIP lookup",
5
- "keywords": [
6
- "mcp",
7
- "model-context-protocol",
8
- "sonicwall",
9
- "firewall",
10
- "sonicOS",
11
- "api",
12
- "network",
13
- "security"
14
- ],
15
- "homepage": "https://github.com/teamnetwork-nz/sonicwall-api-mcp-server",
16
- "bugs": {
17
- "url": "https://github.com/teamnetwork-nz/sonicwall-api-mcp-server/issues"
18
- },
19
- "license": "MIT",
20
- "author": "Daryl",
21
- "repository": {
22
- "type": "git",
23
- "url": "https://github.com/teamnetwork-nz/sonicwall-api-mcp-server.git"
24
- },
25
- "main": "dist/index.js",
26
- "bin": {
27
- "sonicwall-mcp": "./dist/index.js"
28
- },
29
- "files": [
30
- "dist/",
31
- "README.md",
32
- "LICENSE"
33
- ],
34
- "scripts": {
35
- "build": "tsup",
36
- "test": "npm run build && node --test tests/*.test.mjs",
37
- "prepublishOnly": "npm run build",
38
- "start": "node dist/index.js"
39
- },
40
- "engines": {
41
- "node": ">=18"
42
- },
43
- "dependencies": {
44
- "@modelcontextprotocol/sdk": "^1.29.0",
45
- "zod": "^3.25.0"
46
- },
47
- "devDependencies": {
48
- "@types/node": "^20.0.0",
49
- "tsup": "^8.0.0",
50
- "typescript": "^5.4.0"
51
- }
52
- }
1
+ {
2
+ "name": "@teamnetwork-nz/sonicwall-api-mcp-server",
3
+ "version": "0.9.1",
4
+ "description": "MCP server for SonicWall appliance configuration and diagnostics \u2014 objects, rules, NAT, routing, reachability, and GeoIP lookup",
5
+ "keywords": [
6
+ "mcp",
7
+ "model-context-protocol",
8
+ "sonicwall",
9
+ "firewall",
10
+ "sonicOS",
11
+ "api",
12
+ "network",
13
+ "security"
14
+ ],
15
+ "homepage": "https://github.com/teamnetwork-nz/sonicwall-api-mcp-server",
16
+ "bugs": {
17
+ "url": "https://github.com/teamnetwork-nz/sonicwall-api-mcp-server/issues"
18
+ },
19
+ "license": "MIT",
20
+ "author": "Daryl",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/teamnetwork-nz/sonicwall-api-mcp-server.git"
24
+ },
25
+ "main": "dist/index.js",
26
+ "bin": {
27
+ "sonicwall-mcp": "./dist/index.js"
28
+ },
29
+ "files": [
30
+ "dist/",
31
+ "README.md",
32
+ "LICENSE"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsup",
36
+ "test": "npm run build && node --test tests/*.test.mjs",
37
+ "prepublishOnly": "npm run build",
38
+ "start": "node dist/index.js"
39
+ },
40
+ "engines": {
41
+ "node": ">=18"
42
+ },
43
+ "dependencies": {
44
+ "@modelcontextprotocol/sdk": "^1.32.2",
45
+ "zod": "^4.6.7"
46
+ },
47
+ "devDependencies": {
48
+ "@types/node": "^20.0.0",
49
+ "tsup": "^8.0.0",
50
+ "typescript": "^5.4.0"
51
+ }
52
+ }