@asaidimu/utils-workspace 6.2.3 → 6.2.5

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/index.d.mts CHANGED
@@ -379,7 +379,7 @@ type DocumentMetadata = {
379
379
  type Document<T> = {
380
380
  readonly [K in keyof T]: T[K];
381
381
  } & DocumentMetadata & {
382
- read: () => Promise<boolean>;
382
+ read: () => Promise<T>;
383
383
  save: (tx?: TransactionContext) => Promise<boolean>;
384
384
  update: (props: Partial<T>, tx?: TransactionContext) => Promise<boolean>;
385
385
  delete: (tx?: TransactionContext) => Promise<boolean>;
package/index.d.ts CHANGED
@@ -379,7 +379,7 @@ type DocumentMetadata = {
379
379
  type Document<T> = {
380
380
  readonly [K in keyof T]: T[K];
381
381
  } & DocumentMetadata & {
382
- read: () => Promise<boolean>;
382
+ read: () => Promise<T>;
383
383
  save: (tx?: TransactionContext) => Promise<boolean>;
384
384
  update: (props: Partial<T>, tx?: TransactionContext) => Promise<boolean>;
385
385
  delete: (tx?: TransactionContext) => Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaidimu/utils-workspace",
3
- "version": "6.2.3",
3
+ "version": "6.2.5",
4
4
  "description": "Content-addressed workspace and conversation management for AI applications.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -60,8 +60,8 @@
60
60
  ]
61
61
  },
62
62
  "dependencies": {
63
- "@asaidimu/utils-database": "^3.1.1",
64
- "@asaidimu/utils-events": "^1.0.0",
63
+ "@asaidimu/utils-database": "3.1.3",
64
+ "@asaidimu/utils-events": "1.1.0",
65
65
  "@asaidimu/anansi": "^4.0.2",
66
66
  "uuid": "^13.0.0"
67
67
  }