@twin.org/document-management-rest-client 0.0.2-next.2 → 0.0.2-next.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.
@@ -34,7 +34,7 @@ export declare class DocumentManagementClient extends BaseRestClient implements
34
34
  * @returns The auditable item graph vertex created for the document including its revision.
35
35
  */
36
36
  create(documentId: string, documentIdFormat: string | undefined, documentCode: UneceDocumentCodes, blob: Uint8Array, annotationObject?: IJsonLdNodeObject, auditableItemGraphEdges?: {
37
- id: string;
37
+ targetId: string;
38
38
  addAlias?: boolean;
39
39
  aliasAnnotationObject?: IJsonLdNodeObject;
40
40
  }[], options?: {
@@ -53,7 +53,7 @@ export declare class DocumentManagementClient extends BaseRestClient implements
53
53
  * @returns Nothing.
54
54
  */
55
55
  update(auditableItemGraphDocumentId: string, blob?: Uint8Array, annotationObject?: IJsonLdNodeObject, auditableItemGraphEdges?: {
56
- id: string;
56
+ targetId: string;
57
57
  addAlias?: boolean;
58
58
  aliasAnnotationObject?: IJsonLdNodeObject;
59
59
  }[]): Promise<void>;
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/document-management-rest-client - Changelog
2
2
 
3
+ ## [0.0.2-next.3](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.2-next.2...document-management-rest-client-v0.0.2-next.3) (2025-09-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * use targetId in AIG for edges ([82dec81](https://github.com/twinfoundation/document-management/commit/82dec8190d8b523b350ef133bdcf648cab1023b0))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/document-management-models bumped from 0.0.2-next.2 to 0.0.2-next.3
16
+
3
17
  ## [0.0.2-next.2](https://github.com/twinfoundation/document-management/compare/document-management-rest-client-v0.0.2-next.1...document-management-rest-client-v0.0.2-next.2) (2025-08-29)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/document-management-rest-client",
3
- "version": "0.0.2-next.2",
3
+ "version": "0.0.2-next.3",
4
4
  "description": "Document management contract implementation which can connect to REST endpoints",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "@twin.org/auditable-item-graph-models": "next",
20
20
  "@twin.org/core": "next",
21
21
  "@twin.org/data-json-ld": "next",
22
- "@twin.org/document-management-models": "0.0.2-next.2",
22
+ "@twin.org/document-management-models": "0.0.2-next.3",
23
23
  "@twin.org/entity": "next",
24
24
  "@twin.org/nameof": "next",
25
25
  "@twin.org/standards-unece": "next",