Skip to content

Commit

Permalink
feat: update to poet-js 5.x (#633)
Browse files Browse the repository at this point in the history
feat: upgrade node to poet-js 5.0.5

introduce jsonld-signatures to po.et claims
introduce SignedVerifiableClaim interface
inject a verifiableClaimSigner into all of the necessary containers

BREAKING CHANGE: the format of a po.et claim has changed to more closely match a VerifiableClaim signed with jsonld-signatures. This has altered the structure of the claim metadata.

Use poet-js 5.0.5 or later to generate proper claims to submit to poet-node.

References: #614
Resolves: #457
  • Loading branch information
krobi64 authored Oct 24, 2018
1 parent 47b99f2 commit c83ef2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ A 404 error is returned if the claim isn't found in this Node's database. This d
Returns a paginated array of signed verifiable claims, all belonging to the passed issuer. Default limit per request is 10 claims. This is configurable with limit and offset paramaters where offset is the number of claims to skip and limit is the number of claims returned per request.

### `GET /works?offset=x&limit=x`
Returns a paginated array of signed verifiable claims, which defaults to 10 per request. This is configurable with limit and offset parameters where offset is the number of claims to skip and limit is the number of claims returned per request.
Returns a paginated array of signed verifiable claims, which defaults to 10 per request. This is configurable with limit
and offset parameters where offset is the number of claims to skip and limit is the number of claims returned per request.

### `POST /works`
Publish a work.
Expand Down

0 comments on commit c83ef2b

Please sign in to comment.