@avocadostudio-ai/site-sdk 0.8.0 → 0.9.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +11 -6
package/README.md CHANGED
@@ -604,7 +604,7 @@ createOrchestrator({
604
604
  `draftPath` is either a prefix the page slug is appended to (`/avocado` →
605
605
  `/avocado/de/events`) or a template naming where the slug goes
606
606
  (`/preview/{slug}/draft`). It defaults to `/preview-draft`, which is what
607
- `create-ai-site-editor` scaffolds — **if you wired Avocado into a site you
607
+ `create-avocado-site` scaffolds — **if you wired Avocado into a site you
608
608
  already had, set this**, or every draft screenshot comes back a cheerful 200 and
609
609
  a picture of your 404 page.
610
610
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avocadostudio-ai/site-sdk",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -66,6 +66,11 @@
66
66
  "import": "./dist/draft-context-core.js",
67
67
  "default": "./dist/draft-context-core.js"
68
68
  },
69
+ "./draft/fetch": {
70
+ "types": "./dist/draft-fetch.d.ts",
71
+ "import": "./dist/draft-fetch.js",
72
+ "default": "./dist/draft-fetch.js"
73
+ },
69
74
  "./routes/core": {
70
75
  "types": "./dist/routes-core.d.ts",
71
76
  "import": "./dist/routes-core.js",
@@ -142,17 +147,17 @@
142
147
  ],
143
148
  "dependencies": {
144
149
  "zod": "^4.3.6",
145
- "@avocadostudio-ai/blocks": "^0.8.0",
146
- "@avocadostudio-ai/preview-adapter": "^0.8.0",
147
- "@avocadostudio-ai/richtext": "^0.8.0",
148
- "@avocadostudio-ai/shared": "^0.8.0"
150
+ "@avocadostudio-ai/blocks": "^0.9.0",
151
+ "@avocadostudio-ai/preview-adapter": "^0.9.0",
152
+ "@avocadostudio-ai/richtext": "^0.9.0",
153
+ "@avocadostudio-ai/shared": "^0.9.0"
149
154
  },
150
155
  "peerDependencies": {
151
156
  "next": ">=15.0.0",
152
157
  "react": ">=19.0.0",
153
158
  "react-dom": ">=19.0.0",
154
159
  "better-sqlite3": ">=12.0.0",
155
- "@avocadostudio-ai/orchestrator-core": "^0.8.0"
160
+ "@avocadostudio-ai/orchestrator-core": "^0.9.0"
156
161
  },
157
162
  "peerDependenciesMeta": {
158
163
  "@avocadostudio-ai/orchestrator-core": {