integrate-sdk 0.7.23 → 0.7.24

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": "integrate-sdk",
3
- "version": "0.7.23",
3
+ "version": "0.7.24",
4
4
  "description": "Type-safe 3rd party integration SDK for the Integrate MCP server",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -23,10 +23,6 @@
23
23
  "types": "./dist/server.d.ts",
24
24
  "import": "./dist/server.js"
25
25
  },
26
- "./oauth": {
27
- "types": "./dist/oauth.d.ts",
28
- "import": "./dist/oauth.js"
29
- },
30
26
  "./react": {
31
27
  "types": "./dist/react.d.ts",
32
28
  "import": "./dist/react.js"
@@ -106,9 +102,11 @@
106
102
  ],
107
103
  "scripts": {
108
104
  "prep": "bun run type-check && bun run build",
109
- "build": "bun build index.ts server.ts oauth.ts react.ts --outdir dist --target node --format esm --external react && bun run build:adapters && bun run build:types",
105
+ "build": "bun build index.ts server.ts oauth.ts react.ts --outdir dist --target node --format esm --external react && bun run build:adapters && bun run build:ai && bun run build:types && bun run build:copy-types",
110
106
  "build:adapters": "bun build src/adapters/*.ts --outdir dist/adapters --target node --format esm",
107
+ "build:ai": "cd src/ai && bun build *.ts --outdir ../../dist/ai --target node --format esm && cd ../..",
111
108
  "build:types": "tsc --emitDeclarationOnly --declaration --declarationMap",
109
+ "build:copy-types": "cp dist/src/ai/*.d.ts dist/ai/ && cp dist/src/ai/*.d.ts.map dist/ai/",
112
110
  "dev": "bun --watch src/index.ts",
113
111
  "type-check": "tsc --noEmit",
114
112
  "test": "bun test tests/",