-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56cf141
commit f79967e
Showing
10 changed files
with
279 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## API Report File for "daf-url" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
import { AbstractMessageHandler } from 'daf-core' | ||
import { IAgentContext } from 'daf-core' | ||
import { Message } from 'daf-core' | ||
|
||
// @public (undocumented) | ||
export class UrlMessageHandler extends AbstractMessageHandler { | ||
// Warning: (ae-forgotten-export) The symbol "IContext" needs to be exported by the entry point index.d.ts | ||
// | ||
// (undocumented) | ||
handle(message: Message, context: IContext): Promise<Message> | ||
} | ||
|
||
// (No @packageDocumentation comment for this package) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
## API Report File for "daf-w3c" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
import { AbstractMessageHandler } from 'daf-core' | ||
import { IAgentContext } from 'daf-core' | ||
import { IAgentPlugin } from 'daf-core' | ||
import { IDataStore } from 'daf-core' | ||
import { IIdentityManager } from 'daf-core' | ||
import { IKeyManager } from 'daf-core' | ||
import { IPluginMethodMap } from 'daf-core' | ||
import { IResolveDid } from 'daf-core' | ||
import { Message } from 'daf-core' | ||
import { VerifiableCredential } from 'daf-core' | ||
import { VerifiablePresentation } from 'daf-core' | ||
import { W3CCredential } from 'daf-core' | ||
import { W3CPresentation } from 'daf-core' | ||
|
||
// @public (undocumented) | ||
export interface ICreateVerifiableCredentialArgs { | ||
// (undocumented) | ||
credential: W3CCredential | ||
// (undocumented) | ||
proofFormat: 'jwt' | ||
// (undocumented) | ||
save?: boolean | ||
} | ||
|
||
// @public (undocumented) | ||
export interface ICreateVerifiablePresentationArgs { | ||
// (undocumented) | ||
presentation: W3CPresentation | ||
// (undocumented) | ||
proofFormat: 'jwt' | ||
// (undocumented) | ||
save?: boolean | ||
} | ||
|
||
// @public (undocumented) | ||
export interface IW3c extends IPluginMethodMap { | ||
// (undocumented) | ||
createVerifiableCredential( | ||
args: ICreateVerifiableCredentialArgs, | ||
context: IContext_2, | ||
): Promise<VerifiableCredential> | ||
// Warning: (ae-forgotten-export) The symbol "IContext" needs to be exported by the entry point index.d.ts | ||
// | ||
// (undocumented) | ||
createVerifiablePresentation( | ||
args: ICreateVerifiablePresentationArgs, | ||
context: IContext_2, | ||
): Promise<VerifiablePresentation> | ||
} | ||
|
||
// @public (undocumented) | ||
export const MessageTypes: { | ||
vc: string | ||
vp: string | ||
} | ||
|
||
// @public (undocumented) | ||
export class W3c implements IAgentPlugin { | ||
constructor() | ||
// (undocumented) | ||
createVerifiableCredential( | ||
args: ICreateVerifiableCredentialArgs, | ||
context: IContext_2, | ||
): Promise<VerifiableCredential> | ||
// (undocumented) | ||
createVerifiablePresentation( | ||
args: ICreateVerifiablePresentationArgs, | ||
context: IContext_2, | ||
): Promise<VerifiablePresentation> | ||
// (undocumented) | ||
readonly methods: IW3c | ||
} | ||
|
||
// @public (undocumented) | ||
export class W3cMessageHandler extends AbstractMessageHandler { | ||
// Warning: (ae-forgotten-export) The symbol "IContext" needs to be exported by the entry point index.d.ts | ||
// | ||
// (undocumented) | ||
handle(message: Message, context: IContext): Promise<Message> | ||
} | ||
|
||
// (No @packageDocumentation comment for this package) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.