Skip to content

Commit

Permalink
Merge pull request #6 from validatedid/fix/add-support-to-new-vid-did…
Browse files Browse the repository at this point in the history
…-resolver-library

refactor: using types directly from vid-did-resolver library
  • Loading branch information
iamtxena authored Nov 6, 2020
2 parents d97eee3 + 4e7f102 commit 5b573b3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 25 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
{
"name": "@validatedid/did-auth",
"version": "0.0.1",
"version": "0.0.5",
"description": "Validated ID Authentication library that implements an OIDC-SIOP with DIDs",
"author": "Validated ID",
"license": "Apache-2.0",
"repository": {
"type": "github",
"url": "https://github.com/validatedid/did-auth-oidc-siop.git"
},
"keywords": [
"Authentication",
"DID-Auth",
"SIOP",
"OIDC",
"DID-SIOP"
],
"main": "dist/index.js",
"types": "dist/index.d.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"audit": "audit-ci --moderate",
"prepare": "npm run build",
"build": "npm run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf ./dist ./coverage ./build",
"clean": "rm -rf ./dist ./coverage",
"compile": "tsc",
"compile:dev": "tsc -w",
"coverage": "jest --coverage",
Expand Down Expand Up @@ -64,7 +71,7 @@
"typescript": "^4.0.5"
},
"dependencies": {
"@validated-id/vid-did-resolver": "0.0.7",
"@validatedid/vid-did-resolver": "0.0.1",
"axios": "^0.21.0",
"did-jwt": "^4.6.2",
"did-resolver": "^2.1.1",
Expand Down
13 changes: 0 additions & 13 deletions src/@types/vid-did-resolver/index.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/VidDIDAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
JWTVerified,
} from "did-jwt";
import { Resolver } from "did-resolver";
import VidDidResolver from "@validated-id/vid-did-resolver";
import VidDidResolver from "@validatedid/vid-did-resolver";
import { AxiosResponse } from "axios";
import SHA from "sha.js";
import {
Expand Down

0 comments on commit 5b573b3

Please sign in to comment.