@chevre/domain 22.8.0-alpha.26 → 22.8.0-alpha.27
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.
|
@@ -242,8 +242,9 @@ function sleep(waitTime) {
|
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
244
|
function createInformActionAttributes(params) {
|
|
245
|
-
const { object, purpose, recipient, project } = params;
|
|
246
|
-
return Object.assign({ agent: { id: project.id, typeOf: factory.organizationType.Project }, object, project: { id: project.id, typeOf: factory.organizationType.Project }, recipient, typeOf: factory.actionType.InformAction }, (typeof (purpose === null || purpose === void 0 ? void 0 : purpose.typeOf) === 'string') ? { purpose } : undefined)
|
|
245
|
+
const { about, object, purpose, recipient, project } = params;
|
|
246
|
+
return Object.assign(Object.assign({ agent: { id: project.id, typeOf: factory.organizationType.Project }, object, project: { id: project.id, typeOf: factory.organizationType.Project }, recipient, typeOf: factory.actionType.InformAction }, (typeof (purpose === null || purpose === void 0 ? void 0 : purpose.typeOf) === 'string') ? { purpose } : undefined), (typeof (about === null || about === void 0 ? void 0 : about.typeOf) === 'string') ? { about } : undefined // add(2025-01-23~)
|
|
247
|
+
);
|
|
247
248
|
}
|
|
248
249
|
function signRequest(params) {
|
|
249
250
|
const { requestBody, timestamp, secretKey } = params;
|
package/package.json
CHANGED