From cc31671cf9ca4e976bb9e7c40c513ec1bf1c2f05 Mon Sep 17 00:00:00 2001 From: Simonas Karuzas Date: Thu, 19 Nov 2020 17:51:01 +0200 Subject: [PATCH 1/2] chore: API ocs --- docs/api/daf-core.agent.emit.md | 74 +++++++++---------- docs/api/daf-core.event_2.data.md | 11 --- docs/api/daf-core.event_2.md | 21 ------ docs/api/daf-core.event_2.type.md | 11 --- docs/api/daf-core.iagent.emit.md | 22 +++--- .../api/daf-core.ieventlistener.eventtypes.md | 26 +++---- docs/api/daf-core.ieventlistener.md | 52 ++++++------- docs/api/daf-core.ieventlistener.onevent.md | 53 ++++++------- docs/api/daf-core.md | 1 - ...elective-disclosure.selectivedisclosure.md | 2 +- ...e-disclosure.selectivedisclosure.schema.md | 15 +++- docs/api/daf-typeorm.entities.md | 2 +- packages/daf-core/api/daf-core.api.json | 73 +----------------- packages/daf-core/api/daf-core.api.md | 18 ++--- .../api/daf-selective-disclosure.api.json | 2 +- .../api/daf-selective-disclosure.api.md | 10 +++ packages/daf-typeorm/api/daf-typeorm.api.json | 24 +++--- packages/daf-typeorm/api/daf-typeorm.api.md | 6 +- 18 files changed, 165 insertions(+), 258 deletions(-) delete mode 100644 docs/api/daf-core.event_2.data.md delete mode 100644 docs/api/daf-core.event_2.md delete mode 100644 docs/api/daf-core.event_2.type.md diff --git a/docs/api/daf-core.agent.emit.md b/docs/api/daf-core.agent.emit.md index a9cc65817b..dc34627593 100644 --- a/docs/api/daf-core.agent.emit.md +++ b/docs/api/daf-core.agent.emit.md @@ -1,37 +1,37 @@ - - -[Home](./index.md) > [daf-core](./daf-core.md) > [Agent](./daf-core.agent.md) > [emit](./daf-core.agent.emit.md) - -## Agent.emit() method - -Broadcasts an `Event` to potential listeners. - -Listeners are `IEventListener` instances that declare `eventTypes` and implement an `async onEvent({type, data}, context)` method. Note that `IAgentPlugin` is also an `IEventListener` so plugins can be listeners for events. - -During creation, the agent automatically registers listener plugins to the `eventTypes` that they declare. - -Events are processed asynchronously, so the general pattern to be used is fire-and-forget. Ex: `agent.emit('foo', {eventData})` - -In situations where you need to make sure that all events in the queue have been exhausted, the `Promise` returned by `emit` can be awaited. Ex: `await agent.emit('foo', {eventData})` - -In case an error is thrown while processing an event, the error is re-emitted as an event of type `error` with a `EventListenerError` as payload. - -Note that `await agent.emit()` will NOT throw an error. To process errors, use a listener with `eventTypes: ["error"]` in the definition. - -Signature: - -```typescript -emit(eventType: string, data: any): Promise; -``` - -## Parameters - -| Parameter | Type | Description | -| --- | --- | --- | -| eventType | string | the type of event being emitted | -| data | any | event payload. Use the same data type for events of a particular eventType. | - -Returns: - -Promise<void> - + + +[Home](./index.md) > [daf-core](./daf-core.md) > [Agent](./daf-core.agent.md) > [emit](./daf-core.agent.emit.md) + +## Agent.emit() method + +Broadcasts an `Event` to potential listeners. + +Listeners are `IEventListener` instances that declare `eventTypes` and implement an `async onEvent({type, data}, context)` method. Note that `IAgentPlugin` is also an `IEventListener` so plugins can be listeners for events. + +During creation, the agent automatically registers listener plugins to the `eventTypes` that they declare. + +Events are processed asynchronously, so the general pattern to be used is fire-and-forget. Ex: `agent.emit('foo', {eventData})` + +In situations where you need to make sure that all events in the queue have been exhausted, the `Promise` returned by `emit` can be awaited. Ex: `await agent.emit('foo', {eventData})` + +In case an error is thrown while processing an event, the error is re-emitted as an event of type `error` with a `EventListenerError` as payload. + +Note that `await agent.emit()` will NOT throw an error. To process errors, use a listener with `eventTypes: ["error"]` in the definition. + +Signature: + +```typescript +emit(eventType: string, data: any): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| eventType | string | the type of event being emitted | +| data | any | event payload. Use the same data type for events of a particular eventType. | + +Returns: + +Promise<void> + diff --git a/docs/api/daf-core.event_2.data.md b/docs/api/daf-core.event_2.data.md deleted file mode 100644 index 66175e90ed..0000000000 --- a/docs/api/daf-core.event_2.data.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [daf-core](./daf-core.md) > [Event\_2](./daf-core.event_2.md) > [data](./daf-core.event_2.data.md) - -## Event\_2.data property - -Signature: - -```typescript -data: any; -``` diff --git a/docs/api/daf-core.event_2.md b/docs/api/daf-core.event_2.md deleted file mode 100644 index f4ab3a33c9..0000000000 --- a/docs/api/daf-core.event_2.md +++ /dev/null @@ -1,21 +0,0 @@ - - -[Home](./index.md) > [daf-core](./daf-core.md) > [Event\_2](./daf-core.event_2.md) - -## Event\_2 interface - -Describes an event that can be emitted by agent plugins. `agent.emit(type, data)` - -Signature: - -```typescript -export interface Event -``` - -## Properties - -| Property | Type | Description | -| --- | --- | --- | -| [data](./daf-core.event_2.data.md) | any | | -| [type](./daf-core.event_2.type.md) | string | | - diff --git a/docs/api/daf-core.event_2.type.md b/docs/api/daf-core.event_2.type.md deleted file mode 100644 index fb573ecd1b..0000000000 --- a/docs/api/daf-core.event_2.type.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [daf-core](./daf-core.md) > [Event\_2](./daf-core.event_2.md) > [type](./daf-core.event_2.type.md) - -## Event\_2.type property - -Signature: - -```typescript -type: string; -``` diff --git a/docs/api/daf-core.iagent.emit.md b/docs/api/daf-core.iagent.emit.md index a04b87a02d..9b04ad3c34 100644 --- a/docs/api/daf-core.iagent.emit.md +++ b/docs/api/daf-core.iagent.emit.md @@ -1,11 +1,11 @@ - - -[Home](./index.md) > [daf-core](./daf-core.md) > [IAgent](./daf-core.iagent.md) > [emit](./daf-core.iagent.emit.md) - -## IAgent.emit property - -Signature: - -```typescript -emit: (eventType: string, data: any) => Promise; -``` + + +[Home](./index.md) > [daf-core](./daf-core.md) > [IAgent](./daf-core.iagent.md) > [emit](./daf-core.iagent.emit.md) + +## IAgent.emit property + +Signature: + +```typescript +emit: (eventType: string, data: any) => Promise; +``` diff --git a/docs/api/daf-core.ieventlistener.eventtypes.md b/docs/api/daf-core.ieventlistener.eventtypes.md index af23fbbb78..87ce1db380 100644 --- a/docs/api/daf-core.ieventlistener.eventtypes.md +++ b/docs/api/daf-core.ieventlistener.eventtypes.md @@ -1,13 +1,13 @@ - - -[Home](./index.md) > [daf-core](./daf-core.md) > [IEventListener](./daf-core.ieventlistener.md) > [eventTypes](./daf-core.ieventlistener.eventtypes.md) - -## IEventListener.eventTypes property - -Declares the event types that this listener is interested in. - -Signature: - -```typescript -readonly eventTypes?: string[]; -``` + + +[Home](./index.md) > [daf-core](./daf-core.md) > [IEventListener](./daf-core.ieventlistener.md) > [eventTypes](./daf-core.ieventlistener.eventtypes.md) + +## IEventListener.eventTypes property + +Declares the event types that this listener is interested in. + +Signature: + +```typescript +readonly eventTypes?: string[]; +``` diff --git a/docs/api/daf-core.ieventlistener.md b/docs/api/daf-core.ieventlistener.md index 7cd450cd94..b1e0a5557d 100644 --- a/docs/api/daf-core.ieventlistener.md +++ b/docs/api/daf-core.ieventlistener.md @@ -1,26 +1,26 @@ - - -[Home](./index.md) > [daf-core](./daf-core.md) > [IEventListener](./daf-core.ieventlistener.md) - -## IEventListener interface - -Describes a listener interface that needs to be implemented by components interested in listening to events emitted by an agent. - -Signature: - -```typescript -export interface IEventListener -``` - -## Properties - -| Property | Type | Description | -| --- | --- | --- | -| [eventTypes](./daf-core.ieventlistener.eventtypes.md) | string\[\] | Declares the event types that this listener is interested in. | - -## Methods - -| Method | Description | -| --- | --- | -| [onEvent(event, context)](./daf-core.ieventlistener.onevent.md) | Processes an event emitted by the agent. | - + + +[Home](./index.md) > [daf-core](./daf-core.md) > [IEventListener](./daf-core.ieventlistener.md) + +## IEventListener interface + +Describes a listener interface that needs to be implemented by components interested in listening to events emitted by an agent. + +Signature: + +```typescript +export interface IEventListener +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [eventTypes](./daf-core.ieventlistener.eventtypes.md) | string\[\] | Declares the event types that this listener is interested in. | + +## Methods + +| Method | Description | +| --- | --- | +| [onEvent(event, context)](./daf-core.ieventlistener.onevent.md) | Processes an event emitted by the agent. | + diff --git a/docs/api/daf-core.ieventlistener.onevent.md b/docs/api/daf-core.ieventlistener.onevent.md index 3dd3b7a145..0c54778d1a 100644 --- a/docs/api/daf-core.ieventlistener.onevent.md +++ b/docs/api/daf-core.ieventlistener.onevent.md @@ -1,25 +1,28 @@ - - -[Home](./index.md) > [daf-core](./daf-core.md) > [IEventListener](./daf-core.ieventlistener.md) > [onEvent](./daf-core.ieventlistener.onevent.md) - -## IEventListener.onEvent() method - -Processes an event emitted by the agent. - -Signature: - -```typescript -onEvent?(event: Event, context: IAgentContext<{}>): Promise; -``` - -## Parameters - -| Parameter | Type | Description | -| --- | --- | --- | -| event | Event | | -| context | [IAgentContext](./daf-core.iagentcontext.md)<{}> | Execution context. Requires agent with [IDataStore](./daf-core.idatastore.md) methods | - -Returns: - -Promise<void> - + + +[Home](./index.md) > [daf-core](./daf-core.md) > [IEventListener](./daf-core.ieventlistener.md) > [onEvent](./daf-core.ieventlistener.onevent.md) + +## IEventListener.onEvent() method + +Processes an event emitted by the agent. + +Signature: + +```typescript +onEvent?(event: { + type: string; + data: any; + }, context: IAgentContext<{}>): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| event | { type: string; data: any; } | | +| context | [IAgentContext](./daf-core.iagentcontext.md)<{}> | Execution context. Requires agent with [IDataStore](./daf-core.idatastore.md) methods | + +Returns: + +Promise<void> + diff --git a/docs/api/daf-core.md b/docs/api/daf-core.md index ebe59ce81d..bde1c81ba0 100644 --- a/docs/api/daf-core.md +++ b/docs/api/daf-core.md @@ -24,7 +24,6 @@ Provides [Agent](./daf-core.agent.md) implementation and defines [IResolver](./d | Interface | Description | | --- | --- | | [EcdsaSignature](./daf-core.ecdsasignature.md) | | -| [Event\_2](./daf-core.event_2.md) | Describes an event that can be emitted by agent plugins. agent.emit(type, data) | | [IAgent](./daf-core.iagent.md) | Agent that can execute methods | | [IAgentBase](./daf-core.iagentbase.md) | Agent base interface | | [IAgentContext](./daf-core.iagentcontext.md) | Standard plugin method context interface | diff --git a/docs/api/daf-selective-disclosure.selectivedisclosure.md b/docs/api/daf-selective-disclosure.selectivedisclosure.md index 466d255dea..327cf7b5fa 100644 --- a/docs/api/daf-selective-disclosure.selectivedisclosure.md +++ b/docs/api/daf-selective-disclosure.selectivedisclosure.md @@ -29,7 +29,7 @@ export declare class SelectiveDisclosure implements IAgentPlugin | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [methods](./daf-selective-disclosure.selectivedisclosure.methods.md) | | [ISelectiveDisclosure](./daf-selective-disclosure.iselectivedisclosure.md) | (BETA) | -| [schema](./daf-selective-disclosure.selectivedisclosure.schema.md) | | { components: { schemas: { ICreateProfileCredentialsArgs: { type: string; properties: { holder: { type: string; description: string; }; verifier: { type: string; description: string; }; name: { type: string; description: string; }; picture: { type: string; description: string; }; url: { type: string; description: string; }; save: { type: string; description: string; }; send: { type: string; description: string; }; }; required: string\[\]; description: string; }; VerifiablePresentation: { type: string; properties: { id: { type: string; }; holder: { type: string; }; issuanceDate: { type: string; }; expirationDate: { type: string; }; "@context": { type: string; items: { type: string; }; }; type: { type: string; items: { type: string; }; }; verifier: { type: string; items: { type: string; }; }; verifiableCredential: { type: string; items: { $ref: string; }; }; proof: { type: string; properties: { type: { type: string; }; }; }; }; required: string\[\]; description: string; }; VerifiableCredential: { type: string; properties: { "@context": { type: string; items: { type: string; }; }; id: { type: string; }; type: { type: string; items: { type: string; }; }; issuer: { type: string; properties: { id: { type: string; }; }; required: string\[\]; }; issuanceDate: { type: string; }; expirationDate: { type: string; }; credentialSubject: { type: string; properties: { id: { type: string; }; }; }; credentialStatus: { type: string; properties: { id: { type: string; }; type: { type: string; }; }; required: string\[\]; }; proof: { type: string; properties: { type: { type: string; }; }; }; }; required: string\[\]; description: string; }; ICreateSelectiveDisclosureRequestArgs: { type: string; properties: { data: { $ref: string; }; }; required: string\[\]; description: string; }; ISelectiveDisclosureRequest: { type: string; properties: { issuer: { type: string; description: string; }; subject: { type: string; description: string; }; replyUrl: { type: string; description: string; }; tag: { type: string; }; claims: { type: string; items: { $ref: string; }; description: string; }; credentials: { type: string; items: { type: string; }; description: string; }; }; required: string\[\]; description: string; }; ICredentialRequestInput: { type: string; properties: { reason: { type: string; description: string; }; essential: { type: string; description: string; }; credentialType: { type: string; description: string; }; credentialContext: { type: string; description: string; }; claimType: { type: string; description: string; }; claimValue: { type: string; description: string; }; issuers: { type: string; items: { $ref: string; }; description: string; }; }; required: string\[\]; description: string; }; Issuer: { type: string; properties: { did: { type: string; description: string; }; url: { type: string; description: string; }; }; required: string\[\]; description: string; }; IGetVerifiableCredentialsForSdrArgs: { type: string; properties: { sdr: { type: string; properties: { subject: { type: string; description: string; }; replyUrl: { type: string; description: string; }; tag: { type: string; }; claims: { type: string; items: { $ref: string; }; description: string; }; credentials: { type: string; items: { type: string; }; description: string; }; }; required: string\[\]; description: string; }; did: { type: string; description: string; }; }; required: string\[\]; description: string; }; ICredentialsForSdr: { type: string; properties: { reason: { type: string; description: string; }; essential: { type: string; description: string; }; credentialType: { type: string; description: string; }; credentialContext: { type: string; description: string; }; claimType: { type: string; description: string; }; claimValue: { type: string; description: string; }; issuers: { type: string; items: { $ref: string; }; description: string; }; credentials: { type: string; items: { $ref: string; }; }; }; required: string\[\]; description: string; }; IValidatePresentationAgainstSdrArgs: { type: string; properties: { presentation: { $ref: string; }; sdr: { $ref: string; }; }; required: string\[\]; description: string; }; IPresentationValidationResult: { type: string; properties: { valid: { type: string; }; claims: { type: string; items: { $ref: string; }; }; }; required: string\[\]; description: string; }; }; methods: { createProfilePresentation: { description: string; arguments: { $ref: string; }; returnType: { $ref: string; }; }; createSelectiveDisclosureRequest: { description: string; arguments: { $ref: string; }; returnType: { type: string; }; }; getVerifiableCredentialsForSdr: { description: string; arguments: { $ref: string; }; returnType: { type: string; items: { $ref: string; }; }; }; validatePresentationAgainstSdr: { description: string; arguments: { $ref: string; }; returnType: { $ref: string; }; }; }; }; } | (BETA) | +| [schema](./daf-selective-disclosure.selectivedisclosure.schema.md) | | { components: { schemas: { ICreateProfileCredentialsArgs: { type: string; properties: { holder: { type: string; description: string; }; verifier: { type: string; description: string; }; name: { type: string; description: string; }; picture: { type: string; description: string; }; url: { type: string; description: string; }; save: { type: string; description: string; }; send: { type: string; description: string; }; }; required: string\[\]; description: string; }; VerifiablePresentation: { type: string; properties: { id: { type: string; }; holder: { type: string; }; issuanceDate: { type: string; }; expirationDate: { type: string; }; '@context': { type: string; items: { type: string; }; }; type: { type: string; items: { type: string; }; /\*\* \* Creates a Selective disclosure request, encoded as a JWT. \* \* @remarks See {@link https://github.com/uport-project/specs/blob/develop/flows/selectivedisclosure.md \| Selective Disclosure} \* \* @param args - The param object with the properties necessary to create the request. See {@link ISelectiveDisclosureRequest} \* @param context - \*RESERVED\* This is filled by the framework when the method is called. \* \* @beta \*/ }; verifier: { type: string; items: { type: string; }; }; verifiableCredential: { type: string; items: { $ref: string; }; }; proof: { type: string; properties: { type: { type: string; }; }; }; }; required: string\[\]; description: string; }; VerifiableCredential: { type: string; properties: { '@context': { type: string; items: { type: string; }; }; id: { type: string; }; type: { type: string; items: { type: string; }; }; issuer: { type: string; properties: { id: { type: string; }; }; required: string\[\]; }; issuanceDate: { type: string; }; expirationDate: { type: string; }; credentialSubject: { type: string; properties: { id: { type: string; }; }; }; credentialStatus: { type: string; properties: { id: { type: string; }; type: { type: string; }; }; required: string\[\]; }; proof: { type: string; properties: { type: { type: string; }; }; }; }; required: string\[\]; description: string; }; ICreateSelectiveDisclosureRequestArgs: { type: string; properties: { data: { $ref: string; }; }; required: string\[\]; description: string; }; ISelectiveDisclosureRequest: { type: string; properties: { issuer: { type: string; description: string; }; subject: { type: string; description: string; }; replyUrl: { type: string; description: string; }; tag: { type: string; }; claims: { type: string; items: { $ref: string; }; description: string; }; credentials: { type: string; items: { type: string; }; description: string; }; }; required: string\[\]; description: string; }; ICredentialRequestInput: { type: string; properties: { reason: { type: string; description: string; }; essential: { type: string; description: string; }; credentialType: { type: string; description: string; }; credentialContext: { type: string; description: string; }; claimType: { type: string; description: string; }; claimValue: { type: string; description: string; }; issuers: { type: string; items: { $ref: string; }; description: string; }; }; required: string\[\]; description: string; }; Issuer: { type: string; properties: { did: { type: string; description: string; }; url: { type: string; description: string; }; }; required: string\[\]; description: string; }; IGetVerifiableCredentialsForSdrArgs: { type: string; properties: { sdr: { type: string; properties: { subject: { type: string; description: string; }; replyUrl: { type: string; description: string; }; tag: { type: string; }; claims: { type: string; items: { $ref: string; }; description: string; }; credentials: { type: string; items: { type: string; }; description: string; }; }; required: string\[\]; description: string; }; did: { type: string; description: string; }; }; required: string\[\]; description: string; }; ICredentialsForSdr: { type: string; properties: { reason: { type: string; description: string; }; essential: { type: string; description: string; }; credentialType: { type: string; description: string; }; credentialContext: { type: string; description: string; }; claimType: { type: string; description: string; }; claimValue: { type: string; description: string; }; issuers: { type: string; items: { $ref: string; }; description: string; }; credentials: { type: string; items: { $ref: string; }; }; }; required: string\[\]; description: string; }; IValidatePresentationAgainstSdrArgs: { type: string; properties: { presentation: { $ref: string; }; sdr: { $ref: string; }; }; required: string\[\]; description: string; }; IPresentationValidationResult: { type: string; properties: { valid: { type: string; }; claims: { type: string; items: { $ref: string; }; }; }; required: string\[\]; description: string; }; }; methods: { createProfilePresentation: { description: string; arguments: { $ref: string; }; returnType: { $ref: string; }; }; createSelectiveDisclosureRequest: { description: string; arguments: { $ref: string; }; returnType: { type: string; }; }; getVerifiableCredentialsForSdr: { description: string; arguments: { $ref: string; }; returnType: { type: string; items: { $ref: string; }; }; }; validatePresentationAgainstSdr: { description: string; arguments: { $ref: string; }; returnType: { $ref: string; }; }; }; }; } | (BETA) | ## Methods diff --git a/docs/api/daf-selective-disclosure.selectivedisclosure.schema.md b/docs/api/daf-selective-disclosure.selectivedisclosure.schema.md index a4b95c02d1..14f8b25738 100644 --- a/docs/api/daf-selective-disclosure.selectivedisclosure.schema.md +++ b/docs/api/daf-selective-disclosure.selectivedisclosure.schema.md @@ -63,7 +63,7 @@ readonly schema: { expirationDate: { type: string; }; - "@context": { + '@context': { type: string; items: { type: string; @@ -73,7 +73,16 @@ readonly schema: { type: string; items: { type: string; - }; + }; /** + * Creates a Selective disclosure request, encoded as a JWT. + * + * @remarks See {@link https://github.com/uport-project/specs/blob/develop/flows/selectivedisclosure.md | Selective Disclosure} + * + * @param args - The param object with the properties necessary to create the request. See {@link ISelectiveDisclosureRequest} + * @param context - *RESERVED* This is filled by the framework when the method is called. + * + * @beta + */ }; verifier: { type: string; @@ -102,7 +111,7 @@ readonly schema: { VerifiableCredential: { type: string; properties: { - "@context": { + '@context': { type: string; items: { type: string; diff --git a/docs/api/daf-typeorm.entities.md b/docs/api/daf-typeorm.entities.md index 99873d3de0..20b8464276 100644 --- a/docs/api/daf-typeorm.entities.md +++ b/docs/api/daf-typeorm.entities.md @@ -7,5 +7,5 @@ Signature: ```typescript -Entities: (typeof Credential | typeof Identity | typeof Claim | typeof Presentation | typeof Message | typeof Key | typeof Service)[] +Entities: (typeof Key | typeof Identity | typeof Service | typeof Claim | typeof Credential | typeof Presentation | typeof Message)[] ``` diff --git a/packages/daf-core/api/daf-core.api.json b/packages/daf-core/api/daf-core.api.json index 69d87334a4..6a71be7978 100644 --- a/packages/daf-core/api/daf-core.api.json +++ b/packages/daf-core/api/daf-core.api.json @@ -490,72 +490,6 @@ ], "extendsTokenRanges": [] }, - { - "kind": "Interface", - "canonicalReference": "daf-core!Event_2:interface", - "docComment": "/**\n * Describes an event that can be emitted by agent plugins. `agent.emit(type, data)`\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "export interface Event " - } - ], - "releaseTag": "Public", - "name": "Event_2", - "members": [ - { - "kind": "PropertySignature", - "canonicalReference": "daf-core!Event_2#data:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "data: " - }, - { - "kind": "Content", - "text": "any" - }, - { - "kind": "Content", - "text": ";" - } - ], - "releaseTag": "Public", - "name": "data", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "PropertySignature", - "canonicalReference": "daf-core!Event_2#type:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "type: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "releaseTag": "Public", - "name": "type", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - } - ], - "extendsTokenRanges": [] - }, { "kind": "Interface", "canonicalReference": "daf-core!IAgent:interface", @@ -1684,16 +1618,15 @@ { "kind": "MethodSignature", "canonicalReference": "daf-core!IEventListener#onEvent:member(1)", - "docComment": "/**\n * Processes an event emitted by the agent.\n *\n * @param context - Execution context. Requires agent with {@link daf-core#IDataStore} methods\n */\n", + "docComment": "/**\n * Processes an event emitted by the agent.\n *\n * @param context - Execution context. Requires agent with {@link daf-core#IDataStore} methods\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "onEvent?(event: " }, { - "kind": "Reference", - "text": "Event", - "canonicalReference": "daf-core!Event:interface" + "kind": "Content", + "text": "{\n type: string;\n data: any;\n }" }, { "kind": "Content", diff --git a/packages/daf-core/api/daf-core.api.md b/packages/daf-core/api/daf-core.api.md index b55f05917f..a9f0300405 100644 --- a/packages/daf-core/api/daf-core.api.md +++ b/packages/daf-core/api/daf-core.api.md @@ -30,16 +30,6 @@ export interface EcdsaSignature { s: string } -// @public -interface Event_2 { - // (undocumented) - data: any - // (undocumented) - type: string -} - -export { Event_2 as Event } - // @public export interface IAgent extends IAgentBase { // (undocumented) @@ -131,7 +121,13 @@ export interface IDataStoreSaveVerifiablePresentationArgs { // @public export interface IEventListener { readonly eventTypes?: string[] - onEvent?(event: Event_2, context: IAgentContext<{}>): Promise + onEvent?( + event: { + type: string + data: any + }, + context: IAgentContext<{}>, + ): Promise } // @public diff --git a/packages/daf-selective-disclosure/api/daf-selective-disclosure.api.json b/packages/daf-selective-disclosure/api/daf-selective-disclosure.api.json index ba67534cba..65dfe9f65c 100644 --- a/packages/daf-selective-disclosure/api/daf-selective-disclosure.api.json +++ b/packages/daf-selective-disclosure/api/daf-selective-disclosure.api.json @@ -1832,7 +1832,7 @@ }, { "kind": "Content", - "text": "{\n components: {\n schemas: {\n ICreateProfileCredentialsArgs: {\n type: string;\n properties: {\n holder: {\n type: string;\n description: string;\n };\n verifier: {\n type: string;\n description: string;\n };\n name: {\n type: string;\n description: string;\n };\n picture: {\n type: string;\n description: string;\n };\n url: {\n type: string;\n description: string;\n };\n save: {\n type: string;\n description: string;\n };\n send: {\n type: string;\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n VerifiablePresentation: {\n type: string;\n properties: {\n id: {\n type: string;\n };\n holder: {\n type: string;\n };\n issuanceDate: {\n type: string;\n };\n expirationDate: {\n type: string;\n };\n \"@context\": {\n type: string;\n items: {\n type: string;\n };\n };\n type: {\n type: string;\n items: {\n type: string;\n };\n };\n verifier: {\n type: string;\n items: {\n type: string;\n };\n };\n verifiableCredential: {\n type: string;\n items: {\n $ref: string;\n };\n };\n proof: {\n type: string;\n properties: {\n type: {\n type: string;\n };\n };\n };\n };\n required: string[];\n description: string;\n };\n VerifiableCredential: {\n type: string;\n properties: {\n \"@context\": {\n type: string;\n items: {\n type: string;\n };\n };\n id: {\n type: string;\n };\n type: {\n type: string;\n items: {\n type: string;\n };\n };\n issuer: {\n type: string;\n properties: {\n id: {\n type: string;\n };\n };\n required: string[];\n };\n issuanceDate: {\n type: string;\n };\n expirationDate: {\n type: string;\n };\n credentialSubject: {\n type: string;\n properties: {\n id: {\n type: string;\n };\n };\n };\n credentialStatus: {\n type: string;\n properties: {\n id: {\n type: string;\n };\n type: {\n type: string;\n };\n };\n required: string[];\n };\n proof: {\n type: string;\n properties: {\n type: {\n type: string;\n };\n };\n };\n };\n required: string[];\n description: string;\n };\n ICreateSelectiveDisclosureRequestArgs: {\n type: string;\n properties: {\n data: {\n $ref: string;\n };\n };\n required: string[];\n description: string;\n };\n ISelectiveDisclosureRequest: {\n type: string;\n properties: {\n issuer: {\n type: string;\n description: string;\n };\n subject: {\n type: string;\n description: string;\n };\n replyUrl: {\n type: string;\n description: string;\n };\n tag: {\n type: string;\n };\n claims: {\n type: string;\n items: {\n $ref: string;\n };\n description: string;\n };\n credentials: {\n type: string;\n items: {\n type: string;\n };\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n ICredentialRequestInput: {\n type: string;\n properties: {\n reason: {\n type: string;\n description: string;\n };\n essential: {\n type: string;\n description: string;\n };\n credentialType: {\n type: string;\n description: string;\n };\n credentialContext: {\n type: string;\n description: string;\n };\n claimType: {\n type: string;\n description: string;\n };\n claimValue: {\n type: string;\n description: string;\n };\n issuers: {\n type: string;\n items: {\n $ref: string;\n };\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n Issuer: {\n type: string;\n properties: {\n did: {\n type: string;\n description: string;\n };\n url: {\n type: string;\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n IGetVerifiableCredentialsForSdrArgs: {\n type: string;\n properties: {\n sdr: {\n type: string;\n properties: {\n subject: {\n type: string;\n description: string;\n };\n replyUrl: {\n type: string;\n description: string;\n };\n tag: {\n type: string;\n };\n claims: {\n type: string;\n items: {\n $ref: string;\n };\n description: string;\n };\n credentials: {\n type: string;\n items: {\n type: string;\n };\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n did: {\n type: string;\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n ICredentialsForSdr: {\n type: string;\n properties: {\n reason: {\n type: string;\n description: string;\n };\n essential: {\n type: string;\n description: string;\n };\n credentialType: {\n type: string;\n description: string;\n };\n credentialContext: {\n type: string;\n description: string;\n };\n claimType: {\n type: string;\n description: string;\n };\n claimValue: {\n type: string;\n description: string;\n };\n issuers: {\n type: string;\n items: {\n $ref: string;\n };\n description: string;\n };\n credentials: {\n type: string;\n items: {\n $ref: string;\n };\n };\n };\n required: string[];\n description: string;\n };\n IValidatePresentationAgainstSdrArgs: {\n type: string;\n properties: {\n presentation: {\n $ref: string;\n };\n sdr: {\n $ref: string;\n };\n };\n required: string[];\n description: string;\n };\n IPresentationValidationResult: {\n type: string;\n properties: {\n valid: {\n type: string;\n };\n claims: {\n type: string;\n items: {\n $ref: string;\n };\n };\n };\n required: string[];\n description: string;\n };\n };\n methods: {\n createProfilePresentation: {\n description: string;\n arguments: {\n $ref: string;\n };\n returnType: {\n $ref: string;\n };\n };\n createSelectiveDisclosureRequest: {\n description: string;\n arguments: {\n $ref: string;\n };\n returnType: {\n type: string;\n };\n };\n getVerifiableCredentialsForSdr: {\n description: string;\n arguments: {\n $ref: string;\n };\n returnType: {\n type: string;\n items: {\n $ref: string;\n };\n };\n };\n validatePresentationAgainstSdr: {\n description: string;\n arguments: {\n $ref: string;\n };\n returnType: {\n $ref: string;\n };\n };\n };\n };\n }" + "text": "{\n components: {\n schemas: {\n ICreateProfileCredentialsArgs: {\n type: string;\n properties: {\n holder: {\n type: string;\n description: string;\n };\n verifier: {\n type: string;\n description: string;\n };\n name: {\n type: string;\n description: string;\n };\n picture: {\n type: string;\n description: string;\n };\n url: {\n type: string;\n description: string;\n };\n save: {\n type: string;\n description: string;\n };\n send: {\n type: string;\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n VerifiablePresentation: {\n type: string;\n properties: {\n id: {\n type: string;\n };\n holder: {\n type: string;\n };\n issuanceDate: {\n type: string;\n };\n expirationDate: {\n type: string;\n };\n '@context': {\n type: string;\n items: {\n type: string;\n };\n };\n type: {\n type: string;\n items: {\n type: string;\n }; /**\n * Creates a Selective disclosure request, encoded as a JWT.\n *\n * @remarks See {@link https://github.com/uport-project/specs/blob/develop/flows/selectivedisclosure.md | Selective Disclosure}\n *\n * @param args - The param object with the properties necessary to create the request. See {@link ISelectiveDisclosureRequest}\n * @param context - *RESERVED* This is filled by the framework when the method is called.\n *\n * @beta\n */\n };\n verifier: {\n type: string;\n items: {\n type: string;\n };\n };\n verifiableCredential: {\n type: string;\n items: {\n $ref: string;\n };\n };\n proof: {\n type: string;\n properties: {\n type: {\n type: string;\n };\n };\n };\n };\n required: string[];\n description: string;\n };\n VerifiableCredential: {\n type: string;\n properties: {\n '@context': {\n type: string;\n items: {\n type: string;\n };\n };\n id: {\n type: string;\n };\n type: {\n type: string;\n items: {\n type: string;\n };\n };\n issuer: {\n type: string;\n properties: {\n id: {\n type: string;\n };\n };\n required: string[];\n };\n issuanceDate: {\n type: string;\n };\n expirationDate: {\n type: string;\n };\n credentialSubject: {\n type: string;\n properties: {\n id: {\n type: string;\n };\n };\n };\n credentialStatus: {\n type: string;\n properties: {\n id: {\n type: string;\n };\n type: {\n type: string;\n };\n };\n required: string[];\n };\n proof: {\n type: string;\n properties: {\n type: {\n type: string;\n };\n };\n };\n };\n required: string[];\n description: string;\n };\n ICreateSelectiveDisclosureRequestArgs: {\n type: string;\n properties: {\n data: {\n $ref: string;\n };\n };\n required: string[];\n description: string;\n };\n ISelectiveDisclosureRequest: {\n type: string;\n properties: {\n issuer: {\n type: string;\n description: string;\n };\n subject: {\n type: string;\n description: string;\n };\n replyUrl: {\n type: string;\n description: string;\n };\n tag: {\n type: string;\n };\n claims: {\n type: string;\n items: {\n $ref: string;\n };\n description: string;\n };\n credentials: {\n type: string;\n items: {\n type: string;\n };\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n ICredentialRequestInput: {\n type: string;\n properties: {\n reason: {\n type: string;\n description: string;\n };\n essential: {\n type: string;\n description: string;\n };\n credentialType: {\n type: string;\n description: string;\n };\n credentialContext: {\n type: string;\n description: string;\n };\n claimType: {\n type: string;\n description: string;\n };\n claimValue: {\n type: string;\n description: string;\n };\n issuers: {\n type: string;\n items: {\n $ref: string;\n };\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n Issuer: {\n type: string;\n properties: {\n did: {\n type: string;\n description: string;\n };\n url: {\n type: string;\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n IGetVerifiableCredentialsForSdrArgs: {\n type: string;\n properties: {\n sdr: {\n type: string;\n properties: {\n subject: {\n type: string;\n description: string;\n };\n replyUrl: {\n type: string;\n description: string;\n };\n tag: {\n type: string;\n };\n claims: {\n type: string;\n items: {\n $ref: string;\n };\n description: string;\n };\n credentials: {\n type: string;\n items: {\n type: string;\n };\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n did: {\n type: string;\n description: string;\n };\n };\n required: string[];\n description: string;\n };\n ICredentialsForSdr: {\n type: string;\n properties: {\n reason: {\n type: string;\n description: string;\n };\n essential: {\n type: string;\n description: string;\n };\n credentialType: {\n type: string;\n description: string;\n };\n credentialContext: {\n type: string;\n description: string;\n };\n claimType: {\n type: string;\n description: string;\n };\n claimValue: {\n type: string;\n description: string;\n };\n issuers: {\n type: string;\n items: {\n $ref: string;\n };\n description: string;\n };\n credentials: {\n type: string;\n items: {\n $ref: string;\n };\n };\n };\n required: string[];\n description: string;\n };\n IValidatePresentationAgainstSdrArgs: {\n type: string;\n properties: {\n presentation: {\n $ref: string;\n };\n sdr: {\n $ref: string;\n };\n };\n required: string[];\n description: string;\n };\n IPresentationValidationResult: {\n type: string;\n properties: {\n valid: {\n type: string;\n };\n claims: {\n type: string;\n items: {\n $ref: string;\n };\n };\n };\n required: string[];\n description: string;\n };\n };\n methods: {\n createProfilePresentation: {\n description: string;\n arguments: {\n $ref: string;\n };\n returnType: {\n $ref: string;\n };\n };\n createSelectiveDisclosureRequest: {\n description: string;\n arguments: {\n $ref: string;\n };\n returnType: {\n type: string;\n };\n };\n getVerifiableCredentialsForSdr: {\n description: string;\n arguments: {\n $ref: string;\n };\n returnType: {\n type: string;\n items: {\n $ref: string;\n };\n };\n };\n validatePresentationAgainstSdr: {\n description: string;\n arguments: {\n $ref: string;\n };\n returnType: {\n $ref: string;\n };\n };\n };\n };\n }" }, { "kind": "Content", diff --git a/packages/daf-selective-disclosure/api/daf-selective-disclosure.api.md b/packages/daf-selective-disclosure/api/daf-selective-disclosure.api.md index 9ce76301fb..874a48c282 100644 --- a/packages/daf-selective-disclosure/api/daf-selective-disclosure.api.md +++ b/packages/daf-selective-disclosure/api/daf-selective-disclosure.api.md @@ -206,6 +206,16 @@ export class SelectiveDisclosure implements IAgentPlugin { items: { type: string } + /** + * Creates a Selective disclosure request, encoded as a JWT. + * + * @remarks See {@link https://github.com/uport-project/specs/blob/develop/flows/selectivedisclosure.md | Selective Disclosure} + * + * @param args - The param object with the properties necessary to create the request. See {@link ISelectiveDisclosureRequest} + * @param context - *RESERVED* This is filled by the framework when the method is called. + * + * @beta + */ } verifier: { type: string diff --git a/packages/daf-typeorm/api/daf-typeorm.api.json b/packages/daf-typeorm/api/daf-typeorm.api.json index ff4ba60797..fb171e9fd4 100644 --- a/packages/daf-typeorm/api/daf-typeorm.api.json +++ b/packages/daf-typeorm/api/daf-typeorm.api.json @@ -2167,8 +2167,8 @@ }, { "kind": "Reference", - "text": "Credential", - "canonicalReference": "daf-typeorm!Credential:class" + "text": "Key", + "canonicalReference": "daf-typeorm!Key:class" }, { "kind": "Content", @@ -2185,8 +2185,8 @@ }, { "kind": "Reference", - "text": "Claim", - "canonicalReference": "daf-typeorm!Claim:class" + "text": "Service", + "canonicalReference": "daf-typeorm!Service:class" }, { "kind": "Content", @@ -2194,8 +2194,8 @@ }, { "kind": "Reference", - "text": "Presentation", - "canonicalReference": "daf-typeorm!Presentation:class" + "text": "Claim", + "canonicalReference": "daf-typeorm!Claim:class" }, { "kind": "Content", @@ -2203,8 +2203,8 @@ }, { "kind": "Reference", - "text": "Message", - "canonicalReference": "daf-typeorm!Message:class" + "text": "Credential", + "canonicalReference": "daf-typeorm!Credential:class" }, { "kind": "Content", @@ -2212,8 +2212,8 @@ }, { "kind": "Reference", - "text": "Key", - "canonicalReference": "daf-typeorm!Key:class" + "text": "Presentation", + "canonicalReference": "daf-typeorm!Presentation:class" }, { "kind": "Content", @@ -2221,8 +2221,8 @@ }, { "kind": "Reference", - "text": "Service", - "canonicalReference": "daf-typeorm!Service:class" + "text": "Message", + "canonicalReference": "daf-typeorm!Message:class" }, { "kind": "Content", diff --git a/packages/daf-typeorm/api/daf-typeorm.api.md b/packages/daf-typeorm/api/daf-typeorm.api.md index 89013c66a7..cc2e6dbd3a 100644 --- a/packages/daf-typeorm/api/daf-typeorm.api.md +++ b/packages/daf-typeorm/api/daf-typeorm.api.md @@ -1271,13 +1271,13 @@ export class DataStoreORM implements IAgentPlugin { // @public (undocumented) export const Entities: ( - | typeof Credential_2 + | typeof Key | typeof Identity + | typeof Service | typeof Claim + | typeof Credential_2 | typeof Presentation | typeof Message - | typeof Key - | typeof Service )[] // @public (undocumented) From b97ff3b0a7c34d49215173e4ec76b2d093892c36 Mon Sep 17 00:00:00 2001 From: Simonas Karuzas Date: Thu, 19 Nov 2020 17:51:35 +0200 Subject: [PATCH 2/2] chore(beta-release): v7.0.0-beta.46 --- CHANGELOG.md | 13 +++++++ lerna.json | 2 +- packages/daf-cli/CHANGELOG.md | 12 +++++++ packages/daf-cli/package.json | 36 +++++++++---------- packages/daf-core/CHANGELOG.md | 11 ++++++ packages/daf-core/package.json | 2 +- packages/daf-did-comm/CHANGELOG.md | 8 +++++ packages/daf-did-comm/package.json | 6 ++-- packages/daf-did-jwt/CHANGELOG.md | 11 ++++++ packages/daf-did-jwt/package.json | 6 ++-- packages/daf-elem-did/CHANGELOG.md | 8 +++++ packages/daf-elem-did/package.json | 6 ++-- packages/daf-ethr-did/CHANGELOG.md | 8 +++++ packages/daf-ethr-did/package.json | 6 ++-- packages/daf-express/CHANGELOG.md | 8 +++++ packages/daf-express/package.json | 6 ++-- packages/daf-identity-manager/CHANGELOG.md | 8 +++++ packages/daf-identity-manager/package.json | 4 +-- packages/daf-key-manager/CHANGELOG.md | 8 +++++ packages/daf-key-manager/package.json | 4 +-- packages/daf-libsodium/CHANGELOG.md | 8 +++++ packages/daf-libsodium/package.json | 6 ++-- packages/daf-message-handler/CHANGELOG.md | 11 ++++++ packages/daf-message-handler/package.json | 4 +-- .../daf-react-native-libsodium/CHANGELOG.md | 8 +++++ .../daf-react-native-libsodium/package.json | 6 ++-- packages/daf-resolver-universal/CHANGELOG.md | 8 +++++ packages/daf-resolver-universal/package.json | 4 +-- packages/daf-resolver/CHANGELOG.md | 8 +++++ packages/daf-resolver/package.json | 4 +-- packages/daf-rest/CHANGELOG.md | 8 +++++ packages/daf-rest/package.json | 4 +-- .../daf-selective-disclosure/CHANGELOG.md | 11 ++++++ .../daf-selective-disclosure/package.json | 12 +++---- packages/daf-typeorm/CHANGELOG.md | 11 ++++++ packages/daf-typeorm/package.json | 8 ++--- packages/daf-url/CHANGELOG.md | 11 ++++++ packages/daf-url/package.json | 6 ++-- packages/daf-w3c/CHANGELOG.md | 11 ++++++ packages/daf-w3c/package.json | 10 +++--- packages/daf-web-did/CHANGELOG.md | 8 +++++ packages/daf-web-did/package.json | 6 ++-- 42 files changed, 272 insertions(+), 74 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e32e5cf6c4..f56713c728 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* Add event system to agent ([#262](https://github.com/uport-project/daf/issues/262)) ([9a6747e](https://github.com/uport-project/daf/commit/9a6747e84037613d396e14a6f68cb2de8275ddca)) +* CLI server homepage template ([ac9cf52](https://github.com/uport-project/daf/commit/ac9cf526bbbc210de15e933970b5eac3ab646c17)) +* Provide link to DID document ([1578c1c](https://github.com/uport-project/daf/commit/1578c1c4f7cafffe2ca5b40643a3213dd0ac5c4d)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) diff --git a/lerna.json b/lerna.json index 82cae43a40..21c4860f34 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "packages": [ "packages/*" ], diff --git a/packages/daf-cli/CHANGELOG.md b/packages/daf-cli/CHANGELOG.md index ed896bb79b..ebcf0876da 100644 --- a/packages/daf-cli/CHANGELOG.md +++ b/packages/daf-cli/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* CLI server homepage template ([ac9cf52](https://github.com/uport-project/daf/commit/ac9cf526bbbc210de15e933970b5eac3ab646c17)) +* Provide link to DID document ([1578c1c](https://github.com/uport-project/daf/commit/1578c1c4f7cafffe2ca5b40643a3213dd0ac5c4d)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) diff --git a/packages/daf-cli/package.json b/packages/daf-cli/package.json index fa607aab22..39b3a4c439 100644 --- a/packages/daf-cli/package.json +++ b/packages/daf-cli/package.json @@ -1,7 +1,7 @@ { "name": "daf-cli", "description": "DAF command line application.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/cli.js", "types": "build/cli.d.ts", "bin": { @@ -21,23 +21,23 @@ "commander": "^6.1.0", "console-table-printer": "^2.0.0", "cross-fetch": "^3.0.6", - "daf-core": "^7.0.0-beta.45", - "daf-did-comm": "^7.0.0-beta.45", - "daf-did-jwt": "^7.0.0-beta.45", - "daf-ethr-did": "^7.0.0-beta.45", - "daf-express": "^7.0.0-beta.45", - "daf-identity-manager": "^7.0.0-beta.45", - "daf-key-manager": "^7.0.0-beta.45", - "daf-libsodium": "^7.0.0-beta.45", - "daf-message-handler": "^7.0.0-beta.45", - "daf-resolver": "^7.0.0-beta.45", - "daf-resolver-universal": "^7.0.0-beta.45", - "daf-rest": "^7.0.0-beta.45", - "daf-selective-disclosure": "^7.0.0-beta.45", - "daf-typeorm": "^7.0.0-beta.45", - "daf-url": "^7.0.0-beta.45", - "daf-w3c": "^7.0.0-beta.45", - "daf-web-did": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-did-comm": "^7.0.0-beta.46", + "daf-did-jwt": "^7.0.0-beta.46", + "daf-ethr-did": "^7.0.0-beta.46", + "daf-express": "^7.0.0-beta.46", + "daf-identity-manager": "^7.0.0-beta.46", + "daf-key-manager": "^7.0.0-beta.46", + "daf-libsodium": "^7.0.0-beta.46", + "daf-message-handler": "^7.0.0-beta.46", + "daf-resolver": "^7.0.0-beta.46", + "daf-resolver-universal": "^7.0.0-beta.46", + "daf-rest": "^7.0.0-beta.46", + "daf-selective-disclosure": "^7.0.0-beta.46", + "daf-typeorm": "^7.0.0-beta.46", + "daf-url": "^7.0.0-beta.46", + "daf-w3c": "^7.0.0-beta.46", + "daf-web-did": "^7.0.0-beta.46", "date-fns": "^2.8.1", "debug": "^4.1.1", "dotenv": "^8.2.0", diff --git a/packages/daf-core/CHANGELOG.md b/packages/daf-core/CHANGELOG.md index 1b2d2243b9..18bbd1c9e2 100644 --- a/packages/daf-core/CHANGELOG.md +++ b/packages/daf-core/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* Add event system to agent ([#262](https://github.com/uport-project/daf/issues/262)) ([9a6747e](https://github.com/uport-project/daf/commit/9a6747e84037613d396e14a6f68cb2de8275ddca)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-core diff --git a/packages/daf-core/package.json b/packages/daf-core/package.json index dc9acd9be7..b2eaa761d4 100644 --- a/packages/daf-core/package.json +++ b/packages/daf-core/package.json @@ -1,7 +1,7 @@ { "name": "daf-core", "description": "DID Agent Framework Core Logic & Interfaces.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { diff --git a/packages/daf-did-comm/CHANGELOG.md b/packages/daf-did-comm/CHANGELOG.md index 552bf6f8ef..f64a1b7e1b 100644 --- a/packages/daf-did-comm/CHANGELOG.md +++ b/packages/daf-did-comm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-did-comm + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-did-comm diff --git a/packages/daf-did-comm/package.json b/packages/daf-did-comm/package.json index 5b706d24d1..2b17851231 100644 --- a/packages/daf-did-comm/package.json +++ b/packages/daf-did-comm/package.json @@ -1,7 +1,7 @@ { "name": "daf-did-comm", "description": "DAF DIDComm inspired messaging based on the v1 messaging envelope.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -16,8 +16,8 @@ }, "dependencies": { "cross-fetch": "^3.0.5", - "daf-core": "^7.0.0-beta.45", - "daf-message-handler": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-message-handler": "^7.0.0-beta.46", "debug": "^4.1.1", "uuid": "^8.3.0" }, diff --git a/packages/daf-did-jwt/CHANGELOG.md b/packages/daf-did-jwt/CHANGELOG.md index 817abc01db..16cd121b87 100644 --- a/packages/daf-did-jwt/CHANGELOG.md +++ b/packages/daf-did-jwt/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* Add event system to agent ([#262](https://github.com/uport-project/daf/issues/262)) ([9a6747e](https://github.com/uport-project/daf/commit/9a6747e84037613d396e14a6f68cb2de8275ddca)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-did-jwt diff --git a/packages/daf-did-jwt/package.json b/packages/daf-did-jwt/package.json index 0e9325edbf..ee01c0837c 100644 --- a/packages/daf-did-jwt/package.json +++ b/packages/daf-did-jwt/package.json @@ -1,7 +1,7 @@ { "name": "daf-did-jwt", "description": "DAF message validator plugin for decoding JWT payloads.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,8 +9,8 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45", - "daf-message-handler": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-message-handler": "^7.0.0-beta.46", "debug": "^4.1.1", "did-jwt": "4.5.0", "did-resolver": "2.1.1" diff --git a/packages/daf-elem-did/CHANGELOG.md b/packages/daf-elem-did/CHANGELOG.md index f0917aedf8..184e2344a6 100644 --- a/packages/daf-elem-did/CHANGELOG.md +++ b/packages/daf-elem-did/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-elem-did + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-elem-did diff --git a/packages/daf-elem-did/package.json b/packages/daf-elem-did/package.json index 06873a5aed..7a0f91626d 100644 --- a/packages/daf-elem-did/package.json +++ b/packages/daf-elem-did/package.json @@ -1,7 +1,7 @@ { "name": "daf-elem-did", "description": "DAF elem-did based identity controller plugin.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -10,8 +10,8 @@ }, "dependencies": { "@transmute/element-lib": "0.8.4", - "daf-core": "^7.0.0-beta.45", - "daf-identity-manager": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-identity-manager": "^7.0.0-beta.46", "debug": "^4.1.1" }, "devDependencies": { diff --git a/packages/daf-ethr-did/CHANGELOG.md b/packages/daf-ethr-did/CHANGELOG.md index 35dc923bf5..65ec9ceb56 100644 --- a/packages/daf-ethr-did/CHANGELOG.md +++ b/packages/daf-ethr-did/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-ethr-did + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-ethr-did diff --git a/packages/daf-ethr-did/package.json b/packages/daf-ethr-did/package.json index 67fe3e3905..fcd4051809 100644 --- a/packages/daf-ethr-did/package.json +++ b/packages/daf-ethr-did/package.json @@ -1,7 +1,7 @@ { "name": "daf-ethr-did", "description": "DAF ehtr-did based identity controller plugin.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,8 +9,8 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45", - "daf-identity-manager": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-identity-manager": "^7.0.0-beta.46", "debug": "^4.1.1", "ethjs-provider-signer": "^0.1.4", "ethr-did": "^1.1.0", diff --git a/packages/daf-express/CHANGELOG.md b/packages/daf-express/CHANGELOG.md index 619545f053..0db4f6a097 100644 --- a/packages/daf-express/CHANGELOG.md +++ b/packages/daf-express/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-express + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-express diff --git a/packages/daf-express/package.json b/packages/daf-express/package.json index a798855d2a..fc58ca94a7 100644 --- a/packages/daf-express/package.json +++ b/packages/daf-express/package.json @@ -1,7 +1,7 @@ { "name": "daf-express", "description": "DAF express", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,8 +9,8 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45", - "daf-rest": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-rest": "^7.0.0-beta.46", "debug": "^4.1.1" }, "devDependencies": { diff --git a/packages/daf-identity-manager/CHANGELOG.md b/packages/daf-identity-manager/CHANGELOG.md index fe74093ad8..01e80cf8c3 100644 --- a/packages/daf-identity-manager/CHANGELOG.md +++ b/packages/daf-identity-manager/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-identity-manager + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-identity-manager diff --git a/packages/daf-identity-manager/package.json b/packages/daf-identity-manager/package.json index 4ae57cd7c1..0c0ed4b528 100644 --- a/packages/daf-identity-manager/package.json +++ b/packages/daf-identity-manager/package.json @@ -1,7 +1,7 @@ { "name": "daf-identity-manager", "description": "DAF Identity Manager", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,7 +9,7 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45" + "daf-core": "^7.0.0-beta.46" }, "devDependencies": { "typescript": "^4.0.3" diff --git a/packages/daf-key-manager/CHANGELOG.md b/packages/daf-key-manager/CHANGELOG.md index 61cc93d0da..a1035e5543 100644 --- a/packages/daf-key-manager/CHANGELOG.md +++ b/packages/daf-key-manager/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-key-manager + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-key-manager diff --git a/packages/daf-key-manager/package.json b/packages/daf-key-manager/package.json index 1f4f199997..5d2afc007f 100644 --- a/packages/daf-key-manager/package.json +++ b/packages/daf-key-manager/package.json @@ -1,7 +1,7 @@ { "name": "daf-key-manager", "description": "DAF Key Manager", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,7 +9,7 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45" + "daf-core": "^7.0.0-beta.46" }, "devDependencies": { "typescript": "^4.0.3" diff --git a/packages/daf-libsodium/CHANGELOG.md b/packages/daf-libsodium/CHANGELOG.md index 84d2d4bd9e..0a9f82308e 100644 --- a/packages/daf-libsodium/CHANGELOG.md +++ b/packages/daf-libsodium/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-libsodium + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-libsodium diff --git a/packages/daf-libsodium/package.json b/packages/daf-libsodium/package.json index fd3382f0ec..d471d0df1a 100644 --- a/packages/daf-libsodium/package.json +++ b/packages/daf-libsodium/package.json @@ -1,7 +1,7 @@ { "name": "daf-libsodium", "description": "DAF KMS plugin using libsodium.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -10,8 +10,8 @@ }, "dependencies": { "base-58": "^0.0.1", - "daf-core": "^7.0.0-beta.45", - "daf-key-manager": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-key-manager": "^7.0.0-beta.46", "debug": "^4.1.1", "did-jwt": "4.5.0", "elliptic": "^6.5.2", diff --git a/packages/daf-message-handler/CHANGELOG.md b/packages/daf-message-handler/CHANGELOG.md index 6245244930..3a3caf8916 100644 --- a/packages/daf-message-handler/CHANGELOG.md +++ b/packages/daf-message-handler/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* Add event system to agent ([#262](https://github.com/uport-project/daf/issues/262)) ([9a6747e](https://github.com/uport-project/daf/commit/9a6747e84037613d396e14a6f68cb2de8275ddca)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-message-handler diff --git a/packages/daf-message-handler/package.json b/packages/daf-message-handler/package.json index 810790b31e..159ee87bd5 100644 --- a/packages/daf-message-handler/package.json +++ b/packages/daf-message-handler/package.json @@ -1,7 +1,7 @@ { "name": "daf-message-handler", "description": "DAF Message Handler", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,7 +9,7 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45" + "daf-core": "^7.0.0-beta.46" }, "devDependencies": { "typescript": "^4.0.3" diff --git a/packages/daf-react-native-libsodium/CHANGELOG.md b/packages/daf-react-native-libsodium/CHANGELOG.md index 2931ce7300..663b38bb22 100644 --- a/packages/daf-react-native-libsodium/CHANGELOG.md +++ b/packages/daf-react-native-libsodium/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-react-native-libsodium + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-react-native-libsodium diff --git a/packages/daf-react-native-libsodium/package.json b/packages/daf-react-native-libsodium/package.json index 4cbb9b394e..ff4a0f101b 100644 --- a/packages/daf-react-native-libsodium/package.json +++ b/packages/daf-react-native-libsodium/package.json @@ -1,7 +1,7 @@ { "name": "daf-react-native-libsodium", "description": "DAF KMS plugin using react-native-sodium.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -10,8 +10,8 @@ }, "dependencies": { "base-58": "^0.0.1", - "daf-core": "^7.0.0-beta.45", - "daf-key-manager": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-key-manager": "^7.0.0-beta.46", "debug": "^4.1.1", "did-jwt": "4.5.0", "elliptic": "^6.5.2", diff --git a/packages/daf-resolver-universal/CHANGELOG.md b/packages/daf-resolver-universal/CHANGELOG.md index b2a22beecb..96b33bc77f 100644 --- a/packages/daf-resolver-universal/CHANGELOG.md +++ b/packages/daf-resolver-universal/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-resolver-universal + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-resolver-universal diff --git a/packages/daf-resolver-universal/package.json b/packages/daf-resolver-universal/package.json index 494c395142..8b0bd89d82 100644 --- a/packages/daf-resolver-universal/package.json +++ b/packages/daf-resolver-universal/package.json @@ -1,7 +1,7 @@ { "name": "daf-resolver-universal", "description": "DAF resolver plugin using the uniresolver.io API.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -10,7 +10,7 @@ }, "dependencies": { "cross-fetch": "^3.0.5", - "daf-core": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", "debug": "^4.1.1", "did-resolver": "2.1.1" }, diff --git a/packages/daf-resolver/CHANGELOG.md b/packages/daf-resolver/CHANGELOG.md index 9832f40662..e79402bf93 100644 --- a/packages/daf-resolver/CHANGELOG.md +++ b/packages/daf-resolver/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-resolver + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-resolver diff --git a/packages/daf-resolver/package.json b/packages/daf-resolver/package.json index ad8ce4c77a..9a030c1218 100644 --- a/packages/daf-resolver/package.json +++ b/packages/daf-resolver/package.json @@ -1,7 +1,7 @@ { "name": "daf-resolver", "description": "DAF resolver plugin using in-process resolver modules.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,7 +9,7 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", "debug": "^4.1.1", "did-resolver": "2.1.1", "ethr-did-resolver": "^3.0.0", diff --git a/packages/daf-rest/CHANGELOG.md b/packages/daf-rest/CHANGELOG.md index 402c79d6f5..986128d76c 100644 --- a/packages/daf-rest/CHANGELOG.md +++ b/packages/daf-rest/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-rest + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) diff --git a/packages/daf-rest/package.json b/packages/daf-rest/package.json index 2bec971245..7b65fb46da 100644 --- a/packages/daf-rest/package.json +++ b/packages/daf-rest/package.json @@ -1,7 +1,7 @@ { "name": "daf-rest", "description": "DAF REST", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -10,7 +10,7 @@ }, "dependencies": { "cross-fetch": "^3.0.5", - "daf-core": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", "debug": "^4.1.1", "openapi-types": "^7.0.0" }, diff --git a/packages/daf-selective-disclosure/CHANGELOG.md b/packages/daf-selective-disclosure/CHANGELOG.md index db93b0c8e3..67de1cdd28 100644 --- a/packages/daf-selective-disclosure/CHANGELOG.md +++ b/packages/daf-selective-disclosure/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* Add event system to agent ([#262](https://github.com/uport-project/daf/issues/262)) ([9a6747e](https://github.com/uport-project/daf/commit/9a6747e84037613d396e14a6f68cb2de8275ddca)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-selective-disclosure diff --git a/packages/daf-selective-disclosure/package.json b/packages/daf-selective-disclosure/package.json index 8f78ee0061..34f7b48e46 100644 --- a/packages/daf-selective-disclosure/package.json +++ b/packages/daf-selective-disclosure/package.json @@ -1,7 +1,7 @@ { "name": "daf-selective-disclosure", "description": "DAF plugin to enable the uPort selective disclosure protocol with W3C compatibility.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -16,11 +16,11 @@ }, "dependencies": { "blakejs": "^1.1.0", - "daf-core": "^7.0.0-beta.45", - "daf-did-jwt": "^7.0.0-beta.45", - "daf-message-handler": "^7.0.0-beta.45", - "daf-typeorm": "^7.0.0-beta.45", - "daf-w3c": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-did-jwt": "^7.0.0-beta.46", + "daf-message-handler": "^7.0.0-beta.46", + "daf-typeorm": "^7.0.0-beta.46", + "daf-w3c": "^7.0.0-beta.46", "debug": "^4.1.1", "did-jwt": "4.5.0" }, diff --git a/packages/daf-typeorm/CHANGELOG.md b/packages/daf-typeorm/CHANGELOG.md index 404e832949..bad0689b51 100644 --- a/packages/daf-typeorm/CHANGELOG.md +++ b/packages/daf-typeorm/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* Add event system to agent ([#262](https://github.com/uport-project/daf/issues/262)) ([9a6747e](https://github.com/uport-project/daf/commit/9a6747e84037613d396e14a6f68cb2de8275ddca)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) diff --git a/packages/daf-typeorm/package.json b/packages/daf-typeorm/package.json index d8e8b5a6a1..1ece6013d9 100644 --- a/packages/daf-typeorm/package.json +++ b/packages/daf-typeorm/package.json @@ -1,7 +1,7 @@ { "name": "daf-typeorm", "description": "DAF TypeORM", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -15,9 +15,9 @@ } }, "dependencies": { - "daf-core": "^7.0.0-beta.45", - "daf-identity-manager": "^7.0.0-beta.45", - "daf-key-manager": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-identity-manager": "^7.0.0-beta.46", + "daf-key-manager": "^7.0.0-beta.46", "debug": "^4.1.1", "typeorm": "0.2.24" }, diff --git a/packages/daf-url/CHANGELOG.md b/packages/daf-url/CHANGELOG.md index 3a298f5f57..76374d0add 100644 --- a/packages/daf-url/CHANGELOG.md +++ b/packages/daf-url/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* Add event system to agent ([#262](https://github.com/uport-project/daf/issues/262)) ([9a6747e](https://github.com/uport-project/daf/commit/9a6747e84037613d396e14a6f68cb2de8275ddca)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-url diff --git a/packages/daf-url/package.json b/packages/daf-url/package.json index 3199f54966..e470d71ebf 100644 --- a/packages/daf-url/package.json +++ b/packages/daf-url/package.json @@ -1,7 +1,7 @@ { "name": "daf-url", "description": "DAF plugin able to decode URL message validator.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,8 +9,8 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45", - "daf-message-handler": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-message-handler": "^7.0.0-beta.46", "debug": "^4.1.1", "url-parse": "^1.4.7" }, diff --git a/packages/daf-w3c/CHANGELOG.md b/packages/daf-w3c/CHANGELOG.md index a8e1a6a748..be6f0a961f 100644 --- a/packages/daf-w3c/CHANGELOG.md +++ b/packages/daf-w3c/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + + +### Features + +* Add event system to agent ([#262](https://github.com/uport-project/daf/issues/262)) ([9a6747e](https://github.com/uport-project/daf/commit/9a6747e84037613d396e14a6f68cb2de8275ddca)) + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-w3c diff --git a/packages/daf-w3c/package.json b/packages/daf-w3c/package.json index fb15aea301..3b2849ba08 100644 --- a/packages/daf-w3c/package.json +++ b/packages/daf-w3c/package.json @@ -1,7 +1,7 @@ { "name": "daf-w3c", "description": "DAF plugin for working with W3C verifiable credentials & presentations.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -16,10 +16,10 @@ }, "dependencies": { "blakejs": "^1.1.0", - "daf-core": "^7.0.0-beta.45", - "daf-did-jwt": "^7.0.0-beta.45", - "daf-message-handler": "^7.0.0-beta.45", - "daf-resolver": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-did-jwt": "^7.0.0-beta.46", + "daf-message-handler": "^7.0.0-beta.46", + "daf-resolver": "^7.0.0-beta.46", "debug": "^4.1.1", "did-jwt-vc": "^1.0.3", "did-resolver": "2.1.1" diff --git a/packages/daf-web-did/CHANGELOG.md b/packages/daf-web-did/CHANGELOG.md index 95a2443f60..ce41c98a4f 100644 --- a/packages/daf-web-did/CHANGELOG.md +++ b/packages/daf-web-did/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0-beta.46](https://github.com/uport-project/daf/compare/v7.0.0-beta.45...v7.0.0-beta.46) (2020-11-19) + +**Note:** Version bump only for package daf-web-did + + + + + # [7.0.0-beta.45](https://github.com/uport-project/daf/compare/v7.0.0-beta.44...v7.0.0-beta.45) (2020-10-22) **Note:** Version bump only for package daf-web-did diff --git a/packages/daf-web-did/package.json b/packages/daf-web-did/package.json index 414654b8fc..f34815ed23 100644 --- a/packages/daf-web-did/package.json +++ b/packages/daf-web-did/package.json @@ -1,7 +1,7 @@ { "name": "daf-web-did", "description": "DAF plugin to enable web-did backed identity control.", - "version": "7.0.0-beta.45", + "version": "7.0.0-beta.46", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -9,8 +9,8 @@ "extract-api": "daf extractPluginApi -c ./api-extractor.json" }, "dependencies": { - "daf-core": "^7.0.0-beta.45", - "daf-identity-manager": "^7.0.0-beta.45", + "daf-core": "^7.0.0-beta.46", + "daf-identity-manager": "^7.0.0-beta.46", "debug": "^4.1.1" }, "devDependencies": {