@aigne/afs-did-space 1.12.0-beta.5 → 1.12.0-beta.6
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/metadata-db.d.cts +2 -2
- package/dist/sync-state.d.cts +3 -3
- package/package.json +10 -10
package/dist/metadata-db.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PutOpts } from "./tree-index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _libsql_client0 from "@libsql/client";
|
|
3
3
|
|
|
4
4
|
//#region src/metadata-db.d.ts
|
|
5
5
|
interface EntryRow {
|
|
@@ -43,7 +43,7 @@ declare class MetadataDB {
|
|
|
43
43
|
* `changelog` tables). Kept package-internal — application code must go
|
|
44
44
|
* through AFS / the TreeIndex interface, never this client directly.
|
|
45
45
|
*/
|
|
46
|
-
get rawClient():
|
|
46
|
+
get rawClient(): _libsql_client0.Client;
|
|
47
47
|
/**
|
|
48
48
|
* Open (or create) _metadata.db in the given directory.
|
|
49
49
|
* Creates the directory if it does not exist.
|
package/dist/sync-state.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _libsql_client2 from "@libsql/client";
|
|
2
2
|
|
|
3
3
|
//#region src/sync-state.d.ts
|
|
4
4
|
/**
|
|
@@ -108,7 +108,7 @@ interface SyncStateStoreOptions {
|
|
|
108
108
|
* SyncStateStore does NOT own the client lifecycle — callers (typically
|
|
109
109
|
* `DIDSpaceProvider` construction) remain responsible for close().
|
|
110
110
|
*/
|
|
111
|
-
client:
|
|
111
|
+
client: _libsql_client2.Client;
|
|
112
112
|
/** Scope string used to prefix per-scope keys. Must be non-empty. */
|
|
113
113
|
scope: string;
|
|
114
114
|
}
|
|
@@ -163,7 +163,7 @@ declare class SyncStateStore {
|
|
|
163
163
|
* libsql client. Reuses the canonical DDL from `changelog-schema.ts` so
|
|
164
164
|
* three-runtime parity is preserved.
|
|
165
165
|
*/
|
|
166
|
-
static ensureTable(client:
|
|
166
|
+
static ensureTable(client: _libsql_client2.Client): Promise<void>;
|
|
167
167
|
/**
|
|
168
168
|
* Build the on-disk key for a given AppState field. Per-scope fields
|
|
169
169
|
* are prefixed with `{scope}:`; the per-user `device_id` field is the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/afs-did-space",
|
|
3
|
-
"version": "1.12.0-beta.
|
|
3
|
+
"version": "1.12.0-beta.6",
|
|
4
4
|
"description": "AIGNE AFS provider for DID-scoped persistent storage with CID-based content deduplication",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
"multiformats": "^13.3.1",
|
|
70
70
|
"ufo": "^1.6.3",
|
|
71
71
|
"zod": "^4.0.0",
|
|
72
|
-
"@aigne/afs": "^1.12.0-beta.
|
|
73
|
-
"@aigne/afs-fs": "^1.12.0-beta.
|
|
72
|
+
"@aigne/afs": "^1.12.0-beta.6",
|
|
73
|
+
"@aigne/afs-fs": "^1.12.0-beta.6",
|
|
74
|
+
"@aigne/afs-kv": "^1.12.0-beta.6",
|
|
74
75
|
"@aigne/afs-http-mount": "^1.11.0-beta.13",
|
|
75
|
-
"@aigne/afs-
|
|
76
|
-
"@aigne/afs-
|
|
77
|
-
"@aigne/afs-
|
|
78
|
-
"@aigne/afs-timing": "^1.12.0-beta.5"
|
|
76
|
+
"@aigne/afs-provider-utils": "^1.12.0-beta.6",
|
|
77
|
+
"@aigne/afs-sqlite": "^1.12.0-beta.6",
|
|
78
|
+
"@aigne/afs-timing": "^1.12.0-beta.6"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@cloudflare/workers-types": "^4.20260301.1",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"rimraf": "^6.1.2",
|
|
86
86
|
"tsdown": "0.20.0-beta.3",
|
|
87
87
|
"typescript": "5.9.2",
|
|
88
|
-
"@aigne/afs-r2": "1.12.0-beta.
|
|
89
|
-
"@aigne/afs-session": "1.12.0-beta.
|
|
90
|
-
"@aigne/afs-testing": "1.12.0-beta.
|
|
88
|
+
"@aigne/afs-r2": "1.12.0-beta.6",
|
|
89
|
+
"@aigne/afs-session": "1.12.0-beta.6",
|
|
90
|
+
"@aigne/afs-testing": "1.12.0-beta.6",
|
|
91
91
|
"@aigne/typescript-config": "0.0.0"
|
|
92
92
|
},
|
|
93
93
|
"scripts": {
|