Comparing version 7.0.0-beta.17 to 7.0.0-beta.18
import { IAgent, IPluginMethodMap, IAgentPlugin, TAgent } from './types'; | ||
/** | ||
* Agent configuration options | ||
* Agent configuration options. | ||
* | ||
* This interface is used to describe the constellation of plugins that this agent | ||
* will use and provide. | ||
* | ||
* You will use this to attach plugins, to setup overrides for their methods and to | ||
* explicitly set the methods that this agent instance is allowed to call. | ||
* This permissioning method is also used for internal calls made by plugin code. | ||
* | ||
* @public | ||
@@ -13,3 +20,4 @@ */ | ||
/** | ||
* The map of plugin methods. Can be used to override methods provided by plugins, or to add additional methods without writing a plugin | ||
* The map of plugin methods. Can be used to override methods provided by plugins, | ||
* or to add additional methods without writing a plugin | ||
*/ | ||
@@ -34,4 +42,9 @@ overrides?: IPluginMethodMap; | ||
/** | ||
* Provides a common context for all plugin methods | ||
* Provides a common context for all plugin methods. | ||
* | ||
* This is the main entry point into the API of the DID Agent Framework. | ||
* When plugins are installed, they extend the API of the agent and the methods | ||
* they provide can all use the common context so that plugins can build on top | ||
* of each other and create a richer experience. | ||
* | ||
* @public | ||
@@ -61,4 +74,8 @@ */ | ||
/** | ||
* Executes a plugin method | ||
* Executes a plugin method. | ||
* | ||
* Normally, the `execute()` method need not be called. | ||
* The agent will expose the plugin methods directly on the agent instance | ||
* but this can be used when dynamically deciding which methods to call. | ||
* | ||
* @remarks | ||
@@ -65,0 +82,0 @@ * Plugin method will receive a context object as a second argument. |
@@ -94,4 +94,9 @@ "use strict"; | ||
/** | ||
* Provides a common context for all plugin methods | ||
* Provides a common context for all plugin methods. | ||
* | ||
* This is the main entry point into the API of the DID Agent Framework. | ||
* When plugins are installed, they extend the API of the agent and the methods | ||
* they provide can all use the common context so that plugins can build on top | ||
* of each other and create a richer experience. | ||
* | ||
* @public | ||
@@ -166,4 +171,8 @@ */ | ||
/** | ||
* Executes a plugin method | ||
* Executes a plugin method. | ||
* | ||
* Normally, the `execute()` method need not be called. | ||
* The agent will expose the plugin methods directly on the agent instance | ||
* but this can be used when dynamically deciding which methods to call. | ||
* | ||
* @remarks | ||
@@ -170,0 +179,0 @@ * Plugin method will receive a context object as a second argument. |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.8.15" | ||
"packageVersion": "7.9.13" | ||
} | ||
] | ||
} |
@@ -6,2 +6,43 @@ # Change Log | ||
# [7.0.0-beta.18](https://github.com/uport-project/daf/compare/v6.3.0...v7.0.0-beta.18) (2020-09-09) | ||
### Bug Fixes | ||
* IdentityManager ([1f2da11](https://github.com/uport-project/daf/commit/1f2da1150d4895db3f21711bb1d11f619961a321)) | ||
* IdentityManager ([32a1c03](https://github.com/uport-project/daf/commit/32a1c0335bb66b6055efe851c2e2ac72348b54a3)) | ||
* IHandleMessage interface ([0ab68fd](https://github.com/uport-project/daf/commit/0ab68fd945e719dc375757650c52752bba3338a7)) | ||
* IIdentityManager interface ([b6d1e36](https://github.com/uport-project/daf/commit/b6d1e36252b74c9decd95a46bb371df092fa6479)) | ||
* IKeyManager arg types ([f79967e](https://github.com/uport-project/daf/commit/f79967e1d9fbed7abbd1648d3f1f259c8f3cd92e)) | ||
* KeyManagerSignEthTX ([c936a00](https://github.com/uport-project/daf/commit/c936a001a270086378e26cf7fa5054dbc8d7d94e)) | ||
* MessageHandler chain ([198a33a](https://github.com/uport-project/daf/commit/198a33a0000181ba83be1c9848f035e1a69c2cd1)) | ||
* Removing EcdsaSignature type ([3e3a684](https://github.com/uport-project/daf/commit/3e3a6843a77cf389be9aa6414a2f77ebe26adc62)) | ||
* TAgent definition ([ce1af94](https://github.com/uport-project/daf/commit/ce1af94c639b4b98ad54212608d850d2a1833580)) | ||
### Code Refactoring | ||
* Refactor and add inline documentation to daf-w3c package ([f0e2cb9](https://github.com/uport-project/daf/commit/f0e2cb9748dc04b0d46ac1d80bac9a0b7f7546cd)) | ||
### Features | ||
* Added keyManagerGetKeyManagementSystems ([9741462](https://github.com/uport-project/daf/commit/974146281b400fa9d3108a8428d0d9da09dd2292)) | ||
* Authorized agent methods ([53f9454](https://github.com/uport-project/daf/commit/53f9454b6ec7495d2cfc0e2e9f34ccb0845c8a39)) | ||
* Debug agent.execute ([fb58ddc](https://github.com/uport-project/daf/commit/fb58ddce18cb99e4aeb1f7eb7604e4a65fa293f3)) | ||
* Generating OpenAPI schema (broken) ([e319c41](https://github.com/uport-project/daf/commit/e319c41d3d9a5f4beb8dfdd17221fb9ef5dc04ef)) | ||
* Method identityManagerGetOrCreateIdentity ([0155389](https://github.com/uport-project/daf/commit/0155389bf8ad3cfe6f4802d1ac5ce655321423c6)) | ||
### BREAKING CHANGES | ||
* the `IW3c` type and `W3c` class have been renamed to | ||
`ICredentialIssuer` and `CredentialIssuer` | ||
fix(deps): update `did-resolver` and `did-jwt` libs for all packages to maintain type consistency | ||
# [7.0.0-beta.17](https://github.com/uport-project/daf/compare/v6.1.1...v7.0.0-beta.17) (2020-09-04) | ||
@@ -176,2 +217,41 @@ | ||
# [6.3.0](https://github.com/uport-project/daf/compare/v6.1.1...v6.3.0) (2020-09-04) | ||
### Bug Fixes | ||
* **core:** Improve identity lookup speed ([#230](https://github.com/uport-project/daf/issues/230)) ([b2f6332](https://github.com/uport-project/daf/commit/b2f6332d5b4e6e62235a796fdc43170d58cae63b)), closes [#229](https://github.com/uport-project/daf/issues/229) | ||
### Features | ||
* **release:** Fix package descriptions and trigger new minor release ([#233](https://github.com/uport-project/daf/issues/233)) ([e67f4da](https://github.com/uport-project/daf/commit/e67f4da055d1f0b1b0ba4205726b79979d234a06)) | ||
* **release:** Trigger a new minor release ([#234](https://github.com/uport-project/daf/issues/234)) ([7c905e1](https://github.com/uport-project/daf/commit/7c905e1ea7c4851f7f06e87e06efe34d4eac7b0f)) | ||
# [6.2.0](https://github.com/uport-project/daf/compare/v6.1.2...v6.2.0) (2020-09-04) | ||
### Features | ||
* **release:** Fix package descriptions and trigger new minor release ([#233](https://github.com/uport-project/daf/issues/233)) ([e67f4da](https://github.com/uport-project/daf/commit/e67f4da055d1f0b1b0ba4205726b79979d234a06)) | ||
## [6.1.2](https://github.com/uport-project/daf/compare/v6.1.1...v6.1.2) (2020-09-03) | ||
### Bug Fixes | ||
* **core:** Improve identity lookup speed ([#230](https://github.com/uport-project/daf/issues/230)) ([b2f6332](https://github.com/uport-project/daf/commit/b2f6332d5b4e6e62235a796fdc43170d58cae63b)), closes [#229](https://github.com/uport-project/daf/issues/229) | ||
## [6.1.1](https://github.com/uport-project/daf/compare/v6.1.0...v6.1.1) (2020-07-06) | ||
@@ -178,0 +258,0 @@ |
{ | ||
"name": "daf-core", | ||
"description": "DID Agent Framework Core", | ||
"version": "7.0.0-beta.17", | ||
"description": "DID Agent Framework Core Logic & Interfaces.", | ||
"version": "7.0.0-beta.18", | ||
"main": "build/index.js", | ||
@@ -30,3 +30,3 @@ "types": "build/index.d.ts", | ||
"keywords": [], | ||
"gitHead": "023091d42beb928510b0bb51f92a7163483bc5be" | ||
"gitHead": "7f0a92dcdcbc43f9b29c245a51fbb8adb7fb80cd" | ||
} |
@@ -27,4 +27,11 @@ import { IAgent, IPluginMethodMap, IAgentPlugin, TAgent } from './types' | ||
/** | ||
* Agent configuration options | ||
* Agent configuration options. | ||
* | ||
* This interface is used to describe the constellation of plugins that this agent | ||
* will use and provide. | ||
* | ||
* You will use this to attach plugins, to setup overrides for their methods and to | ||
* explicitly set the methods that this agent instance is allowed to call. | ||
* This permissioning method is also used for internal calls made by plugin code. | ||
* | ||
* @public | ||
@@ -39,3 +46,4 @@ */ | ||
/** | ||
* The map of plugin methods. Can be used to override methods provided by plugins, or to add additional methods without writing a plugin | ||
* The map of plugin methods. Can be used to override methods provided by plugins, | ||
* or to add additional methods without writing a plugin | ||
*/ | ||
@@ -63,4 +71,9 @@ overrides?: IPluginMethodMap | ||
/** | ||
* Provides a common context for all plugin methods | ||
* Provides a common context for all plugin methods. | ||
* | ||
* This is the main entry point into the API of the DID Agent Framework. | ||
* When plugins are installed, they extend the API of the agent and the methods | ||
* they provide can all use the common context so that plugins can build on top | ||
* of each other and create a richer experience. | ||
* | ||
* @public | ||
@@ -121,4 +134,8 @@ */ | ||
/** | ||
* Executes a plugin method | ||
* Executes a plugin method. | ||
* | ||
* Normally, the `execute()` method need not be called. | ||
* The agent will expose the plugin methods directly on the agent instance | ||
* but this can be used when dynamically deciding which methods to call. | ||
* | ||
* @remarks | ||
@@ -125,0 +142,0 @@ * Plugin method will receive a context object as a second argument. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112548
2091