-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: "github-actions[bot]" <"github-actions[bot]@users.noreply.github.com">
- Loading branch information
1 parent
9cc82a1
commit 804407d
Showing
43 changed files
with
980 additions
and
185 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,79 @@ | ||
# Changelog | ||
|
||
## 0.6.0 | ||
|
||
### Minor Changes | ||
|
||
- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native | ||
- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). | ||
|
||
**Example of DIDComm Agent** | ||
|
||
Previously: | ||
|
||
```ts | ||
const config = { | ||
label: name, | ||
endpoints: ['https://myendpoint'], | ||
walletConfig: { | ||
id: name, | ||
key: name, | ||
}, | ||
} satisfies InitConfig | ||
|
||
const agent = new Agent({ | ||
config, | ||
dependencies: agentDependencies, | ||
modules: { | ||
connections: new ConnectionsModule({ | ||
autoAcceptConnections: true, | ||
}) | ||
}) | ||
this.agent.registerInboundTransport(new HttpInboundTransport({ port })) | ||
this.agent.registerOutboundTransport(new HttpOutboundTransport()) | ||
|
||
``` | ||
Now: | ||
```ts | ||
const config = { | ||
label: name, | ||
walletConfig: { | ||
id: name, | ||
key: name, | ||
}, | ||
} satisfies InitConfig | ||
|
||
const agent = new Agent({ | ||
config, | ||
dependencies: agentDependencies, | ||
modules: { | ||
...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), | ||
connections: new ConnectionsModule({ | ||
autoAcceptConnections: true, | ||
}) | ||
}) | ||
agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) | ||
agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) | ||
``` | ||
### Patch Changes | ||
- 13cd8cb: feat: support node 22 | ||
- Updated dependencies [2d10ec3] | ||
- Updated dependencies [13cd8cb] | ||
- Updated dependencies [14673b1] | ||
- Updated dependencies [607659a] | ||
- Updated dependencies [5f08bc6] | ||
- Updated dependencies [2d10ec3] | ||
- Updated dependencies [70c849d] | ||
- Updated dependencies [897c834] | ||
- Updated dependencies [edd2edc] | ||
- Updated dependencies [e80794b] | ||
- @credo-ts/[email protected] | ||
- @credo-ts/[email protected] | ||
## 0.5.13 | ||
### Patch Changes | ||
|
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 |
---|---|---|
@@ -1,5 +1,79 @@ | ||
# Changelog | ||
|
||
## 0.6.0 | ||
|
||
### Minor Changes | ||
|
||
- 70c849d: update target for tsc compiler to ES2020. Generally this should not have an impact for the supported environments (Node.JS / React Native). However this will have to be tested in React Native | ||
- 897c834: DIDComm has been extracted out of the Core. This means that now all DIDComm related modules (e.g. proofs, credentials) must be explicitly added when creating an `Agent` instance. Therefore, their API will be accesable under `agent.modules.[moduleAPI]` instead of `agent.[moduleAPI]`. Some `Agent` DIDComm-related properties and methods where also moved to the API of a new DIDComm module (e.g. `agent.registerInboundTransport` turned into `agent.modules.didcomm.registerInboundTransport`). | ||
|
||
**Example of DIDComm Agent** | ||
|
||
Previously: | ||
|
||
```ts | ||
const config = { | ||
label: name, | ||
endpoints: ['https://myendpoint'], | ||
walletConfig: { | ||
id: name, | ||
key: name, | ||
}, | ||
} satisfies InitConfig | ||
|
||
const agent = new Agent({ | ||
config, | ||
dependencies: agentDependencies, | ||
modules: { | ||
connections: new ConnectionsModule({ | ||
autoAcceptConnections: true, | ||
}) | ||
}) | ||
this.agent.registerInboundTransport(new HttpInboundTransport({ port })) | ||
this.agent.registerOutboundTransport(new HttpOutboundTransport()) | ||
|
||
``` | ||
Now: | ||
```ts | ||
const config = { | ||
label: name, | ||
walletConfig: { | ||
id: name, | ||
key: name, | ||
}, | ||
} satisfies InitConfig | ||
|
||
const agent = new Agent({ | ||
config, | ||
dependencies: agentDependencies, | ||
modules: { | ||
...getDefaultDidcommModules({ endpoints: ['https://myendpoint'] }), | ||
connections: new ConnectionsModule({ | ||
autoAcceptConnections: true, | ||
}) | ||
}) | ||
agent.modules.didcomm.registerInboundTransport(new HttpInboundTransport({ port })) | ||
agent.modules.didcomm.registerOutboundTransport(new HttpOutboundTransport()) | ||
``` | ||
### Patch Changes | ||
- 13cd8cb: feat: support node 22 | ||
- Updated dependencies [2d10ec3] | ||
- Updated dependencies [13cd8cb] | ||
- Updated dependencies [14673b1] | ||
- Updated dependencies [607659a] | ||
- Updated dependencies [5f08bc6] | ||
- Updated dependencies [2d10ec3] | ||
- Updated dependencies [70c849d] | ||
- Updated dependencies [897c834] | ||
- Updated dependencies [edd2edc] | ||
- Updated dependencies [e80794b] | ||
- @credo-ts/[email protected] | ||
- @credo-ts/[email protected] | ||
## 0.5.13 | ||
### Patch Changes | ||
|
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.