@twin.org/immutable-proof-service 0.0.1-next.24 → 0.0.1-next.25

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.
@@ -305,7 +305,7 @@ async function immutableProofCreate(httpRequestContext, componentName, request)
305
305
  core.Guards.object(ROUTES_SOURCE, "request", request);
306
306
  core.Guards.object(ROUTES_SOURCE, "request.body.proofObject", request.body.proofObject);
307
307
  const component = core.ComponentFactory.get(componentName);
308
- const result = await component.create(request.body.proofObject);
308
+ const result = await component.create(request.body.proofObject, httpRequestContext.userIdentity, httpRequestContext.nodeIdentity);
309
309
  return {
310
310
  statusCode: web.HttpStatusCode.created,
311
311
  headers: {
@@ -303,7 +303,7 @@ async function immutableProofCreate(httpRequestContext, componentName, request)
303
303
  Guards.object(ROUTES_SOURCE, "request", request);
304
304
  Guards.object(ROUTES_SOURCE, "request.body.proofObject", request.body.proofObject);
305
305
  const component = ComponentFactory.get(componentName);
306
- const result = await component.create(request.body.proofObject);
306
+ const result = await component.create(request.body.proofObject, httpRequestContext.userIdentity, httpRequestContext.nodeIdentity);
307
307
  return {
308
308
  statusCode: HttpStatusCode.created,
309
309
  headers: {
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/immutable-proof-service - Changelog
2
2
 
3
- ## v0.0.1-next.24
3
+ ## v0.0.1-next.25
4
4
 
5
5
  - Initial Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-service",
3
- "version": "0.0.1-next.24",
3
+ "version": "0.0.1-next.25",
4
4
  "description": "Immutable proof contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,8 +23,8 @@
23
23
  "@twin.org/entity-storage-models": "next",
24
24
  "@twin.org/event-bus-models": "next",
25
25
  "@twin.org/identity-models": "next",
26
- "@twin.org/immutable-proof-models": "0.0.1-next.24",
27
- "@twin.org/immutable-proof-task": "0.0.1-next.24",
26
+ "@twin.org/immutable-proof-models": "0.0.1-next.25",
27
+ "@twin.org/immutable-proof-task": "0.0.1-next.25",
28
28
  "@twin.org/immutable-storage-models": "next",
29
29
  "@twin.org/nameof": "next",
30
30
  "@twin.org/standards-w3c-did": "next",