integrate-sdk 0.7.22 → 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.22",
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"
@@ -35,6 +31,14 @@
35
31
  "types": "./dist/integrations.d.ts",
36
32
  "import": "./dist/integrations.js"
37
33
  },
34
+ "./ai": {
35
+ "types": "./dist/ai/index.d.ts",
36
+ "import": "./dist/ai/index.js"
37
+ },
38
+ "./ai/vercel-ai": {
39
+ "types": "./dist/ai/vercel-ai.d.ts",
40
+ "import": "./dist/ai/vercel-ai.js"
41
+ },
38
42
  "./ai/openai": {
39
43
  "types": "./dist/ai/openai.d.ts",
40
44
  "import": "./dist/ai/openai.js"
@@ -98,9 +102,11 @@
98
102
  ],
99
103
  "scripts": {
100
104
  "prep": "bun run type-check && bun run build",
101
- "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",
102
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 ../..",
103
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/",
104
110
  "dev": "bun --watch src/index.ts",
105
111
  "type-check": "tsc --noEmit",
106
112
  "test": "bun test tests/",