@usegraft/sdk-sveltekit 1.0.0-beta.1 → 1.0.0-beta.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.
- package/dist/index.d.ts +3 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,9 @@ export { AnyCollection, ChangeSet, ClientOptions, Document, GraftClient, ListOpt
|
|
|
16
16
|
* Caching: SvelteKit has no tag-based data cache, so the Phase 4 tag
|
|
17
17
|
* contract maps onto HTTP — stamp `tagsFor(...)` into a CDN surrogate-key
|
|
18
18
|
* header (`Cache-Tag` / `Surrogate-Key`) via `setHeaders` in `load`, and
|
|
19
|
-
* purge `tagsForChanges(branch, changeSet)` from your
|
|
19
|
+
* purge `tagsForChanges(branch, changeSet)` from your own route, called with
|
|
20
|
+
* a compile's change list. `graft compile --json` prints `{ branch, gitSha, changes }`: pass its
|
|
21
|
+
* `branch` and `changes`, not the whole object.
|
|
20
22
|
*/
|
|
21
23
|
|
|
22
24
|
interface Graft<TCollections extends Record<string, AnyCollection>> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usegraft/sdk-sveltekit",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
4
|
"description": "SvelteKit adapter: typed content reads and endpoint mounts over Graft's stateless handlers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@usegraft/db": "1.0.0-beta.
|
|
41
|
-
"@usegraft/sdk-core": "1.0.0-beta.
|
|
40
|
+
"@usegraft/db": "1.0.0-beta.3",
|
|
41
|
+
"@usegraft/sdk-core": "1.0.0-beta.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@usegraft/core": "1.0.0-beta.
|
|
44
|
+
"@usegraft/core": "1.0.0-beta.3"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=22.16"
|