diff --git a/examples/expressjs-ethr/src/framework.ts b/examples/expressjs-ethr/src/framework.ts index 490342150..044438306 100644 --- a/examples/expressjs-ethr/src/framework.ts +++ b/examples/expressjs-ethr/src/framework.ts @@ -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' @@ -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, diff --git a/examples/expressjs-ethr/yarn.lock b/examples/expressjs-ethr/yarn.lock index 2eae476a7..9c01e29b1 100644 --- a/examples/expressjs-ethr/yarn.lock +++ b/examples/expressjs-ethr/yarn.lock @@ -613,57 +613,57 @@ 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" @@ -671,13 +671,13 @@ daf-libsodium@../../packages/daf-libsodium: 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" @@ -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"