productcraft 0.3.1 → 0.3.3

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 +3 -3
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -22,7 +22,7 @@ The per-product packages are leaner (no bundled deps for the surfaces you don't
22
22
 
23
23
  ## Quick start
24
24
 
25
- ```ts
25
+ ```ts before
26
26
  import { ProductCraft } from "productcraft";
27
27
 
28
28
  // Reads PRODUCTCRAFT_API_KEY from the environment
@@ -65,7 +65,7 @@ await pc.waitlist.client.POST(
65
65
 
66
66
  ## What gets instantiated
67
67
 
68
- ```ts
68
+ ```ts before
69
69
  class ProductCraft {
70
70
  readonly auth: Auth; // @productcraft/auth
71
71
  readonly mail: Mail; // @productcraft/mail
@@ -92,7 +92,7 @@ PRODUCTCRAFT_API_KEY=pcft_live_...
92
92
 
93
93
  ## Configuration
94
94
 
95
- ```ts
95
+ ```ts before
96
96
  new ProductCraft({
97
97
  // Shared auth credential — applied to every surface
98
98
  // Omit to use PRODUCTCRAFT_API_KEY from the environment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "productcraft",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "All-in-one Node.js / TypeScript SDK for the ProductCraft platform — Auth, Mail, Waitlist, Social, Platform-Auth, and Trawl from a single import. Install per-product packages (`@productcraft/auth`, ...) if you only need one.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -19,7 +19,7 @@
19
19
  "LICENSE"
20
20
  ],
21
21
  "engines": {
22
- "node": ">=18"
22
+ "node": ">=20.3"
23
23
  },
24
24
  "keywords": [
25
25
  "productcraft",
@@ -50,13 +50,13 @@
50
50
  "provenance": true
51
51
  },
52
52
  "dependencies": {
53
- "@productcraft/social": "^1.0.0",
54
- "@productcraft/core": "^0.3.0",
55
- "@productcraft/mail": "^0.2.0",
56
- "@productcraft/auth": "^0.8.0",
57
- "@productcraft/platform-auth": "^0.1.0",
58
- "@productcraft/waitlist": "^0.2.0",
59
- "@productcraft/trawl": "^0.2.0"
53
+ "@productcraft/social": "^1.0.3",
54
+ "@productcraft/mail": "^0.2.4",
55
+ "@productcraft/platform-auth": "^0.1.3",
56
+ "@productcraft/core": "^0.4.0",
57
+ "@productcraft/waitlist": "^0.2.5",
58
+ "@productcraft/auth": "^0.8.4",
59
+ "@productcraft/trawl": "^1.0.0"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsup",