Skip to content

Commit

Permalink
Add expires property
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKrueger committed Jul 19, 2023
1 parent f9b62eb commit 2c95307
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,11 @@
# @digitalbazaar/multikey-context ChangeLog

## 1.0.1 - 2024-07-19

- Added expires property

## 1.0.0 - 2022-09-08

### Added

- Initial version.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -18,7 +18,8 @@

See also (related specs):

* [Data Integrity v1.0](https://w3c.github.io/vc-data-integrity/)
- [Data Integrity v1.0](https://w3c.github.io/vc-data-integrity/)
- [Data Integrity EdDSA Cryptosuites v1.0](https://www.w3.org/TR/vc-di-eddsa/)

## Install

Expand Down Expand Up @@ -53,6 +54,7 @@ applications.
## API

The library exports the following properties:

- `CONTEXT_URL`
- `CONTEXT`
- `constants`: A Object that maps constants to well-known context URLs. The
Expand Down
4 changes: 4 additions & 0 deletions contexts/multikey-v1.jsonld
Expand Up @@ -13,6 +13,10 @@
"@id": "https://w3id.org/security#controller",
"@type": "@id"
},
"expires": {
"@id": "https://w3id.org/security#expires",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"revoked": {
"@id": "https://w3id.org/security#revoked",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
Expand Down
4 changes: 4 additions & 0 deletions js/context.js
Expand Up @@ -18,6 +18,10 @@ module.exports = {
'@id': 'https://w3id.org/security#controller',
'@type': '@id'
},
expires: {
'@id': 'https://w3id.org/security#expires',
'@type': 'http://www.w3.org/2001/XMLSchema#dateTime'
},
revoked: {
'@id': 'https://w3id.org/security#revoked',
'@type': 'http://www.w3.org/2001/XMLSchema#dateTime'
Expand Down

0 comments on commit 2c95307

Please sign in to comment.