Skip to content

Commit

Permalink
fix: IdentityStore provider
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Mar 11, 2020
1 parent 81c1e9c commit 88cdd5a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 30 deletions.
4 changes: 1 addition & 3 deletions examples/expressjs-ethr/src/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import * as Daf from 'daf-core'
import * as DidJwt from 'daf-did-jwt'
import * as EthrDid from 'daf-ethr-did'
import * as DafLibSodium from 'daf-libsodium'
import * as DafFs from 'daf-fs'

import * as W3c from 'daf-w3c'
import * as SD from 'daf-selective-disclosure'
import * as DBG from 'daf-debug'
Expand All @@ -30,7 +28,7 @@ if (process.env.DAF_UNIVERSAL_RESOLVER_URL) {

const identityProviders = [
new EthrDid.IdentityProvider({
identityStore: new Daf.IdentityStore(),
identityStore: new Daf.IdentityStore('rinkeby-ethr'),
kms: new DafLibSodium.KeyManagementSystem(new Daf.KeyStore()),
network: 'rinkeby',
rpcUrl: 'https://rinkeby.infura.io/v3/' + infuraProjectId,
Expand Down
54 changes: 27 additions & 27 deletions examples/expressjs-ethr/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -613,71 +613,71 @@ cross-fetch@^3.0.4:
node-fetch "2.6.0"
whatwg-fetch "3.0.0"

daf-core@../../packages/daf-core, daf-core@^2.3.16:
version "2.3.16"
daf-core@../../packages/daf-core, daf-core@^2.3.19:
version "2.3.19"
dependencies:
blakejs "^1.1.0"
debug "^4.1.1"
events "^3.0.0"
typeorm "^0.2.24"

daf-data-store@../../packages/daf-data-store, daf-data-store@^2.3.16:
version "2.3.16"
daf-data-store@../../packages/daf-data-store, daf-data-store@^2.3.19:
version "2.3.19"
dependencies:
blakejs "^1.1.0"
daf-core "^2.3.16"
daf-core "^2.3.19"
debug "^4.1.1"
sql-bricks-sqlite "^0.1.0"

daf-debug@../../packages/daf-debug:
version "2.3.16"
version "2.3.19"
dependencies:
daf-core "^2.3.16"
daf-core "^2.3.19"
debug "^4.1.1"

daf-did-comm@../../packages/daf-did-comm:
version "2.3.16"
version "2.3.19"
dependencies:
daf-core "^2.3.16"
daf-core "^2.3.19"
debug "^4.1.1"
uuid "^3.3.3"

daf-did-jwt@../../packages/daf-did-jwt, daf-did-jwt@^2.3.16:
version "2.3.16"
daf-did-jwt@../../packages/daf-did-jwt, daf-did-jwt@^2.3.19:
version "2.3.19"
dependencies:
daf-core "^2.3.16"
daf-core "^2.3.19"
debug "^4.1.1"
did-jwt "^4.0.0"
did-resolver "^1.1.0"

daf-ethr-did@../../packages/daf-ethr-did:
version "2.3.17"
version "2.3.19"
dependencies:
daf-core "^2.3.16"
daf-core "^2.3.19"
debug "^4.1.1"
ethjs-provider-signer "^0.1.4"
ethr-did "^1.1.0"
js-sha3 "^0.8.0"

daf-libsodium@../../packages/daf-libsodium:
version "2.3.16"
version "2.3.19"
dependencies:
base-58 "^0.0.1"
daf-core "^2.3.16"
daf-core "^2.3.19"
debug "^4.1.1"
did-jwt "^4.0.0"
elliptic "^6.5.2"
ethjs-signer "^0.1.1"
libsodium-wrappers "^0.7.6"

daf-resolver-universal@../../packages/daf-resolver-universal:
version "2.3.16"
version "2.3.18"
dependencies:
cross-fetch "^3.0.4"
debug "^4.1.1"

daf-resolver@../../packages/daf-resolver:
version "2.3.15"
version "2.3.18"
dependencies:
debug "^4.1.1"
did-resolver "^1.1.0"
Expand All @@ -686,26 +686,26 @@ daf-resolver@../../packages/daf-resolver:
web-did-resolver "^1.2.0"

daf-selective-disclosure@../../packages/daf-selective-disclosure:
version "2.3.16"
version "2.3.19"
dependencies:
daf-core "^2.3.16"
daf-data-store "^2.3.16"
daf-did-jwt "^2.3.16"
daf-core "^2.3.19"
daf-data-store "^2.3.19"
daf-did-jwt "^2.3.19"
debug "^4.1.1"
did-jwt "^4.0.0"

daf-url@../../packages/daf-url:
version "2.3.16"
version "2.3.19"
dependencies:
daf-core "^2.3.16"
daf-core "^2.3.19"
debug "^4.1.1"
url-parse "^1.4.7"

daf-w3c@../../packages/daf-w3c:
version "2.3.16"
version "2.3.19"
dependencies:
daf-core "^2.3.16"
daf-did-jwt "^2.3.16"
daf-core "^2.3.19"
daf-did-jwt "^2.3.19"
debug "^4.1.1"
did-jwt-vc "^0.1.3"
did-resolver "^1.1.0"
Expand Down

0 comments on commit 88cdd5a

Please sign in to comment.