@conversokit/integrations 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +39 -0
  2. package/package.json +13 -2
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # @conversokit/integrations
2
+
3
+ Real and mock integrations for ConversoKit: Stripe, HubSpot, Resend, Cloudflare Email, and Supabase persistent stores.
4
+
5
+ Part of [ConversoKit](https://github.com/Xyborg/ConversoKit) — a boilerplate for building ChatGPT Apps (Apps SDK / MCP) in <30 minutes.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pnpm add @conversokit/integrations
11
+ # or
12
+ npm install @conversokit/integrations
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```ts
18
+ import {
19
+ StripeProvider,
20
+ MockPaymentProvider,
21
+ HubspotProvider,
22
+ MockCrmProvider,
23
+ SupabaseCartStore,
24
+ } from '@conversokit/integrations';
25
+
26
+ const payments = StripeProvider.fromEnv() ?? new MockPaymentProvider();
27
+ const crm = HubspotProvider.fromEnv() ?? new MockCrmProvider();
28
+ const cart = SupabaseCartStore.fromEnv() ?? undefined;
29
+ ```
30
+
31
+ Real providers return `null` from `fromEnv()` when their env vars are missing, so callers can fall back to mocks. Stripe checkout sessions are signed with idempotency keys and verified webhooks; HubSpot CRM v3 does create-or-PATCH on email conflict.
32
+
33
+ ## Documentation
34
+
35
+ Full docs and runnable examples live in the [main repo](https://github.com/Xyborg/ConversoKit#readme).
36
+
37
+ ## License
38
+
39
+ Apache-2.0 © Martín Aberastegue
package/package.json CHANGED
@@ -1,8 +1,19 @@
1
1
  {
2
2
  "name": "@conversokit/integrations",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Real and mock integrations for ConversoKit: Stripe, HubSpot, Resend, Cloudflare Email, and Supabase persistent stores.",
5
5
  "license": "Apache-2.0",
6
+ "keywords": [
7
+ "stripe",
8
+ "hubspot",
9
+ "resend",
10
+ "supabase",
11
+ "conversokit",
12
+ "chatgpt-apps"
13
+ ],
14
+ "engines": {
15
+ "node": ">=18.0.0"
16
+ },
6
17
  "repository": {
7
18
  "type": "git",
8
19
  "url": "git+https://github.com/Xyborg/ConversoKit.git",
@@ -23,7 +34,7 @@
23
34
  "@supabase/supabase-js": "^2.43.0",
24
35
  "resend": "^4.0.0",
25
36
  "stripe": "^14.0.0",
26
- "@conversokit/shared": "0.1.0"
37
+ "@conversokit/shared": "0.1.1"
27
38
  },
28
39
  "devDependencies": {
29
40
  "@types/node": "^20.10.0",