@cosmonic-labs/openapi2mcp 0.8.0 → 0.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmonic-labs/openapi2mcp",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "Generate MCP servers from OpenAPI specs. Works with https://github.com/cosmonic-labs/mcp-server-template-ts",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -9,7 +9,8 @@
9
9
  "scripts": {
10
10
  "build:wasm": "cargo build --target wasm32-wasip2 --release",
11
11
  "build:jco": "jco transpile ./target/wasm32-wasip2/release/openapi2mcp.wasm -o dist",
12
- "build": "npm run build:wasm && npm run build:jco"
12
+ "build": "npm run build:wasm && npm run build:jco",
13
+ "postinstall": "patch-package"
13
14
  },
14
15
  "bin": {
15
16
  "openapi2mcp": "index.js"
@@ -30,9 +31,11 @@
30
31
  },
31
32
  "homepage": "https://github.com/cosmonic-labs/openapi2mcp#readme",
32
33
  "dependencies": {
33
- "@bytecodealliance/preview2-shim": "^0.17.6"
34
+ "@bytecodealliance/preview2-shim": "0.18.0"
34
35
  },
35
36
  "devDependencies": {
36
- "@bytecodealliance/jco": "^1.15.4"
37
+ "@bytecodealliance/jco": "^1.19.0",
38
+ "patch-package": "^8.0.1",
39
+ "postinstall-postinstall": "^2.1.0"
37
40
  }
38
41
  }
@@ -1,8 +0,0 @@
1
- /** @module Interface wasi:sockets/tcp@0.2.6 **/
2
-
3
- export class TcpSocket {
4
- /**
5
- * This type does not have a public constructor.
6
- */
7
- private constructor();
8
- }
@@ -1,22 +0,0 @@
1
- /** @module Interface wasi:sockets/udp@0.2.6 **/
2
-
3
- export class IncomingDatagramStream {
4
- /**
5
- * This type does not have a public constructor.
6
- */
7
- private constructor();
8
- }
9
-
10
- export class OutgoingDatagramStream {
11
- /**
12
- * This type does not have a public constructor.
13
- */
14
- private constructor();
15
- }
16
-
17
- export class UdpSocket {
18
- /**
19
- * This type does not have a public constructor.
20
- */
21
- private constructor();
22
- }
Binary file