Skip to content

Commit

Permalink
Extract VeresOne code from did-io.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Oct 23, 2018
1 parent 4db077f commit 1ef270c
Show file tree
Hide file tree
Showing 32 changed files with 1,689 additions and 1,252 deletions.
5 changes: 5 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"env": {
"node": true
}
}
17 changes: 10 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
*.py[co]
*.sw[nop]
*.sw[op]
*~
.cache
.cproject
.project
.c9
*.sublime-project
*.sublime-workspace
.DS_Store
.settings
TAGS
bower_components
coverage
dist
node_modules
v8.log
.c9revisions
npm-debug.log
reports
package-lock.json
.nyc_output
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js
node_js:
- "8"
- "10"
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
install:
- CC=gcc-4.9 CXX=g++-4.9 npm install
# download test suite and run tests... submodule? meta testing project with
# all of the reference implementations?
script:
- npm run test
notifications:
email:
on_success: change
on_failure: change
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# did-veres-one ChangeLog

## 3.0.0 - 2018-10-22

### Changed
- Extracted VeresOne specific code from `did-io` into this lib.

## 2.0.0 - 2018-09-19

### Added
Expand Down
6 changes: 0 additions & 6 deletions lib/.eslintrc

This file was deleted.

14 changes: 14 additions & 0 deletions lib/constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*!
* Copyright (c) 2018 Veres One Project. All rights reserved.
*/

module.exports = {
VERES_ONE_V1_CONTEXT: 'https://w3id.org/veres-one/v1',
DEFAULT_KEY_TYPE: 'Ed25519VerificationKey2018',
SUPPORTED_KEY_TYPES: ['RsaVerificationKey2018', 'Ed25519VerificationKey2018'],
SUITES: {
authentication: 'authentication',
capabilityDelegation: 'capabilityDelegation',
capabilityInvocation: 'capabilityInvocation'
}
};
148 changes: 0 additions & 148 deletions lib/contexts/veres-one-v1.js

This file was deleted.

Loading

0 comments on commit 1ef270c

Please sign in to comment.