integrate-sdk 0.8.44-dev.0 → 0.8.45-dev.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/dist/index.d.ts CHANGED
@@ -5,6 +5,15 @@
5
5
  *
6
6
  * @example
7
7
  * ```typescript
8
+ * // Use default client (no integrations pre-configured)
9
+ * import { client } from 'integrate-sdk';
10
+ *
11
+ * // Use server methods without integrations
12
+ * const providers = await client.server.listAllProviders();
13
+ * ```
14
+ *
15
+ * @example
16
+ * ```typescript
8
17
  * // Create a client with explicitly configured integrations
9
18
  * import { createMCPClient, githubIntegration } from 'integrate-sdk';
10
19
  *
@@ -43,4 +52,5 @@
43
52
  * ```
44
53
  */
45
54
  export * from './src/index.js';
55
+ export declare const client: import("./index.js").MCPClient<never[]>;
46
56
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAEH,cAAc,gBAAgB,CAAC;AAM/B,eAAO,MAAM,MAAM,yCAEjB,CAAC"}
package/dist/index.js CHANGED
@@ -11584,6 +11584,10 @@ init_cursor();
11584
11584
  init_generic();
11585
11585
  init_messages();
11586
11586
  init_http_session();
11587
+ // index.ts
11588
+ var client = createMCPClient({
11589
+ integrations: []
11590
+ });
11587
11591
  export {
11588
11592
  zendeskIntegration,
11589
11593
  youtubeIntegration,
@@ -11628,6 +11632,7 @@ export {
11628
11632
  createOAuthRedirectHandler,
11629
11633
  createNextOAuthHandler,
11630
11634
  createMCPClient,
11635
+ client,
11631
11636
  clearClientCache,
11632
11637
  calcomIntegration,
11633
11638
  airtableIntegration,
package/index.ts CHANGED
@@ -5,6 +5,15 @@
5
5
  *
6
6
  * @example
7
7
  * ```typescript
8
+ * // Use default client (no integrations pre-configured)
9
+ * import { client } from 'integrate-sdk';
10
+ *
11
+ * // Use server methods without integrations
12
+ * const providers = await client.server.listAllProviders();
13
+ * ```
14
+ *
15
+ * @example
16
+ * ```typescript
8
17
  * // Create a client with explicitly configured integrations
9
18
  * import { createMCPClient, githubIntegration } from 'integrate-sdk';
10
19
  *
@@ -45,3 +54,11 @@
45
54
 
46
55
  export * from './src/index.js';
47
56
 
57
+ // Default client export with no integrations pre-configured
58
+ // Users can use this for server methods or configure integrations themselves
59
+ import { createMCPClient } from './src/index.js';
60
+
61
+ export const client = createMCPClient({
62
+ integrations: [],
63
+ });
64
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "integrate-sdk",
3
- "version": "0.8.44-dev.0",
3
+ "version": "0.8.45-dev.0",
4
4
  "description": "Type-safe 3rd party integration SDK for the Integrate MCP server",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",