Skip to content

Commit

Permalink
fix(access): export cap types
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Aug 19, 2022
1 parent 3f9e1f8 commit ae70810
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
18 changes: 9 additions & 9 deletions packages/access/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@
],
"dependencies": {
"@ipld/dag-ucan": "1.7.0-beta",
"@ucanto/authority": "^0.4.5",
"@ucanto/client": "^0.5.4",
"@ucanto/core": "^0.5.4",
"@ucanto/interface": "^0.6.2",
"@ucanto/server": "^0.6.4",
"@ucanto/transport": "^0.6.3",
"@ucanto/validator": "^0.5.5",
"@ucanto/authority": "^0.5.0",
"@ucanto/client": "^0.6.0",
"@ucanto/core": "^0.6.0",
"@ucanto/interface": "^0.7.0",
"@ucanto/server": "^0.7.0",
"@ucanto/transport": "^0.7.0",
"@ucanto/validator": "^0.6.0",
"@web-std/fetch": "^4.1.0",
"conf": "^10.1.2",
"ora": "^6.1.2",
"p-retry": "^5.1.1",
"undici": "^5.8.0"
"undici": "^5.9.1"
},
"devDependencies": {
"@types/assert": "^1.5.6",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.2",
"@types/node": "^18.7.6",
"assert": "^2.0.0",
"hd-scripts": "^2.0.1",
"mocha": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/access/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const config = new Conf({
})

const prog = sade(NAME)
const url = 'https://auth-dev.dag.haus'
const url = process.env.URL || 'https://auth-dev.dag.haus'

prog.version(pkg.version)

Expand Down
2 changes: 2 additions & 0 deletions packages/access/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import type {
IdentityValidate,
} from './capabilities-types.js'

export * from './capabilities-types.js'

export interface ClientCodec extends RequestEncoder, ResponseDecoder {}

export interface Service {
Expand Down
3 changes: 1 addition & 2 deletions packages/access/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"emitDeclarationOnly": true
},
"include": ["src", "scripts", "test", "package.json"],
"exclude": ["**/node_modules/**"],
"references": [{ "path": "../access-api" }]
"exclude": ["**/node_modules/**"]
}

0 comments on commit ae70810

Please sign in to comment.