Skip to content

Commit

Permalink
make @aries-framework/core a dev dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Nov 24, 2023
1 parent 10ba05e commit 1b5c65f
Show file tree
Hide file tree
Showing 9 changed files with 1,066 additions and 10 deletions.
20 changes: 20 additions & 0 deletions build/UniversalDidResovler.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type {
AgentContext,
AgentDependencies,
DidResolutionResult,
DidResolver
} from "@aries-framework/core"
export type UniversalDidResolverOptions = {
baseUrl: string
supportedMethods: Array<string>
}
export declare class UniversalDidResolver implements DidResolver {
supportedMethods: Array<string>
private url
constructor({ supportedMethods, baseUrl }: UniversalDidResolverOptions)
static initializeWithDynamicMethods(
agentDependencies: AgentDependencies,
baseUrl: string
): Promise<UniversalDidResolver>
resolve(agentContext: AgentContext, did: string): Promise<DidResolutionResult>
}
64 changes: 64 additions & 0 deletions build/UniversalDidResovler.js

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

1 change: 1 addition & 0 deletions build/UniversalDidResovler.js.map

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

1 change: 1 addition & 0 deletions build/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./UniversalDidResovler"
34 changes: 34 additions & 0 deletions build/index.js

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

1 change: 1 addition & 0 deletions build/index.js.map

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

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@
"check-types": "pnpm build --noEmit",
"format": "pnpm prettier --write"
},
"dependencies": {
"@aries-framework/core": "^0.4.2"
},
"devDependencies": {
"@aries-framework/askar": "^0.4.2",
"@aries-framework/core": "^0.4.2",
"@aries-framework/node": "^0.4.2",
"@hyperledger/aries-askar-nodejs": "^0.1.0",
"@types/node": "^20.10.0",
Expand Down
Loading

0 comments on commit 1b5c65f

Please sign in to comment.