@vulog/aima-document 1.1.27 → 1.1.28
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.js +1 -4
- package/dist/index.mjs +1 -4
- package/package.json +3 -3
- package/src/updateDocumentStatus.ts +1 -4
package/dist/index.js
CHANGED
|
@@ -72,10 +72,7 @@ var updateDocumentStatus = async (client, userId, documentId, document) => {
|
|
|
72
72
|
cause: result.error.issues
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
return client.put(
|
|
76
|
-
`/boapi/proxy/user/fleets/${client.clientOptions.fleetId}/users/${userId}/documents/${documentId}`,
|
|
77
|
-
document
|
|
78
|
-
).then(({ data }) => data);
|
|
75
|
+
return client.put(`/boapi/proxy/user/fleets/${client.clientOptions.fleetId}/documents/${documentId}`, document).then(({ data }) => data);
|
|
79
76
|
};
|
|
80
77
|
// Annotate the CommonJS export names for ESM import in node:
|
|
81
78
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -44,10 +44,7 @@ var updateDocumentStatus = async (client, userId, documentId, document) => {
|
|
|
44
44
|
cause: result.error.issues
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
return client.put(
|
|
48
|
-
`/boapi/proxy/user/fleets/${client.clientOptions.fleetId}/users/${userId}/documents/${documentId}`,
|
|
49
|
-
document
|
|
50
|
-
).then(({ data }) => data);
|
|
47
|
+
return client.put(`/boapi/proxy/user/fleets/${client.clientOptions.fleetId}/documents/${documentId}`, document).then(({ data }) => data);
|
|
51
48
|
};
|
|
52
49
|
export {
|
|
53
50
|
createOrUpdateDocument,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vulog/aima-document",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.28",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"author": "Vulog",
|
|
20
20
|
"license": "ISC",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@vulog/aima-client": "1.1.
|
|
23
|
-
"@vulog/aima-core": "1.1.
|
|
22
|
+
"@vulog/aima-client": "1.1.28",
|
|
23
|
+
"@vulog/aima-core": "1.1.28"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"zod": "^3.24.1"
|
|
@@ -22,9 +22,6 @@ export const updateDocumentStatus = async (
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
return client
|
|
25
|
-
.put<DocumentFull>(
|
|
26
|
-
`/boapi/proxy/user/fleets/${client.clientOptions.fleetId}/users/${userId}/documents/${documentId}`,
|
|
27
|
-
document
|
|
28
|
-
)
|
|
25
|
+
.put<DocumentFull>(`/boapi/proxy/user/fleets/${client.clientOptions.fleetId}/documents/${documentId}`, document)
|
|
29
26
|
.then(({ data }) => data);
|
|
30
27
|
};
|