-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
Signed-off-by: "github-actions[bot]" <"github-actions[bot]@users.noreply.github.com">
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,83 @@ | ||
# 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 [27f971d] | ||
- Updated dependencies [0d877f5] | ||
- Updated dependencies [2d10ec3] | ||
- Updated dependencies [70c849d] | ||
- Updated dependencies [897c834] | ||
- Updated dependencies [a53fc54] | ||
- Updated dependencies [edd2edc] | ||
- Updated dependencies [e80794b] | ||
- Updated dependencies [27f971d] | ||
- @credo-ts/[email protected] | ||
- @credo-ts/[email protected] | ||
## 0.5.13 | ||
### Patch Changes | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,83 @@ | ||
# 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 [27f971d] | ||
- Updated dependencies [0d877f5] | ||
- Updated dependencies [2d10ec3] | ||
- Updated dependencies [70c849d] | ||
- Updated dependencies [897c834] | ||
- Updated dependencies [a53fc54] | ||
- Updated dependencies [edd2edc] | ||
- Updated dependencies [e80794b] | ||
- Updated dependencies [27f971d] | ||
- @credo-ts/[email protected] | ||
- @credo-ts/[email protected] | ||
## 0.5.13 | ||
### Patch Changes | ||
|