Skip to content

Commit

Permalink
chore(release): release 6.1.0
Browse files Browse the repository at this point in the history
# [6.1.0](v6.0.1...v6.1.0) (2024-10-04)

### Bug Fixes

* bitstring improvement and test coverage ([#270](#270)) ([dce65b5](dce65b5))
* e2e cucumber import ([#291](#291)) ([e569d79](e569d79))
* external build update for new generated code ([#264](#264)) ([460102a](460102a))
* main branchname in semantic release config ([#279](#279)) ([a6a72ff](a6a72ff))
* make mediator updateable in the nextjs demo ([#262](#262)) ([99df3c0](99df3c0))
* next generation building tools and testing framework ([#258](#258)) ([54ead35](54ead35))
* nextjs demo safeBody ([#263](#263)) ([0d09ea7](0d09ea7))
* noble-ciphers dependency ([#284](#284)) ([fabcc2c](fabcc2c))
* package dependencies found by mixmix ([#273](#273)) ([#275](#275)) ([82a50d3](82a50d3))
* rollup is not a optionalDependency, and is not included in our m… ([#269](#269)) ([9ea9d42](9ea9d42))
* sdk module resolution issues ([#290](#290)) ([f53d728](f53d728))
* update code-owners ([#281](#281)) ([b8409af](b8409af))

### Features

* Connectionless Offer ([#293](#293)) ([97e05e7](97e05e7))
* Connectionless presentation ([#272](#272)) ([d43ec60](d43ec60))
* decoupling JWT from Pollux and adding KID header to JWTs ([#271](#271)) ([8a1ed3f](8a1ed3f))
* errors introducing error codes and refactoring Apollo errors ([#265](#265)) ([f99c565](f99c565))
* integrating error reporting protocol  ([#289](#289)) ([02430db](02430db))
* OIDC Agent ([#278](#278)) ([295e14f](295e14f))
* separate DIDCommAgent and adding Tasks ([#277](#277)) ([3a8fd66](3a8fd66))
  • Loading branch information
hyperledger-bot committed Oct 4, 2024
1 parent 7b4542f commit 498b035
Show file tree
Hide file tree
Showing 303 changed files with 4,395 additions and 2,419 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# [6.1.0](https://github.com/hyperledger/identus-edge-agent-sdk-ts/compare/v6.0.1...v6.1.0) (2024-10-04)


### Bug Fixes

* bitstring improvement and test coverage ([#270](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/270)) ([dce65b5](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/dce65b56affd5ed2a17d5d82dbab3efcfb8475bb))
* e2e cucumber import ([#291](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/291)) ([e569d79](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/e569d799dd50c1bdc5abe26cc9e1471422c0d252))
* external build update for new generated code ([#264](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/264)) ([460102a](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/460102ac442a2b7aa41f73d91a7f1301b9686db7))
* main branchname in semantic release config ([#279](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/279)) ([a6a72ff](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/a6a72ff6f9ce61f383485202cf2349f473bbd1f4))
* make mediator updateable in the nextjs demo ([#262](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/262)) ([99df3c0](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/99df3c042cf722c9137bcd576e1ac71c44bea6db))
* next generation building tools and testing framework ([#258](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/258)) ([54ead35](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/54ead350b06df8bbe53212e7189e5762e1e9eb33))
* nextjs demo safeBody ([#263](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/263)) ([0d09ea7](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/0d09ea79d9c044a9b672b0543b1c1a4bf08e4d70))
* noble-ciphers dependency ([#284](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/284)) ([fabcc2c](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/fabcc2c636b237414ad4d0b27717c9994bd1b9ca))
* package dependencies found by mixmix ([#273](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/273)) ([#275](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/275)) ([82a50d3](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/82a50d36f80116f8047b6e83b9efb82690de97d6))
* rollup is not a optionalDependency, and is not included in our m… ([#269](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/269)) ([9ea9d42](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/9ea9d424eb95627fdfe90c7f6337b04b9afd47ac))
* sdk module resolution issues ([#290](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/290)) ([f53d728](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/f53d72829dbb64b64b6998fdcbfcbb47c6b4361a))
* update code-owners ([#281](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/281)) ([b8409af](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/b8409af57ed0bb987499ad5cfb1cbbef14e22b53))


### Features

* Connectionless Offer ([#293](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/293)) ([97e05e7](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/97e05e7ae6b07162dfb48222ba1f42beba97fd2c))
* Connectionless presentation ([#272](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/272)) ([d43ec60](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/d43ec604b24b2b5b18a80d714a7188223f58a4bb))
* decoupling JWT from Pollux and adding KID header to JWTs ([#271](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/271)) ([8a1ed3f](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/8a1ed3fb7d3df5e627c1bdaf56434ca799ab01f7))
* errors introducing error codes and refactoring Apollo errors ([#265](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/265)) ([f99c565](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/f99c565c8c0d2f97e78c8bba6a64e07e22d5a0b6))
* integrating error reporting protocol ([#289](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/289)) ([02430db](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/02430dbd5158607f9f9c227bb9428f3733e0388f))
* OIDC Agent ([#278](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/278)) ([295e14f](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/295e14fdcec839ecfad1190c4644a489a3d56014))
* separate DIDCommAgent and adding Tasks ([#277](https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/277)) ([3a8fd66](https://github.com/hyperledger/identus-edge-agent-sdk-ts/commit/3a8fd6661fae80b05e3fc98154488fc98be504a5))

# [4.0.0](https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/compare/v3.1.0...v4.0.0) (2024-02-02)

* fix: removing terser to allow an unminified build that is easier to d… by @elribonazo in https://github.com/input-output-hk/atala-prism-wallet-sdk-ts/pull/127
Expand Down
75 changes: 34 additions & 41 deletions docs/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Identus TypeScript SDK

[![Coverage Status](https://coveralls.io/repos/github/input-output-hk/atala-prism-wallet-sdk-ts/badge.svg?branch=master)](https://coveralls.io/github/input-output-hk/atala-prism-wallet-sdk-ts?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/hyperledger/identus-edge-agent-sdk-ts/badge.svg?branch=master)](https://coveralls.io/github/hyperledger/identus-edge-agent-sdk-ts?branch=master)

---

Expand All @@ -11,90 +11,83 @@ verifiable data and digital identity. Built on Cardano, as a distributed ledger,
it offers core infrastructure for issuing DIDs (Decentralized identifiers) and
verifiable credentials, alongside tools and frameworks to help expand your ecosystem.
The complete platform is separated into multiple repositories:

* [Cloud Agent](https://github.com/hyperledger/identus-cloud-agent) - Repo that contains the Cloud Agent that provides self-sovereign identity services to build products and solutions.
* [Mediator](https://github.com/input-output-hk/atala-prism-mediator) - Repo for the DIDComm V2 Mediator.
* [Edge Agent SDK TS](https://github.com/input-output-hk/atala-prism-wallet-sdk-ts) - Repo for the Typescript version of the SDK.
* [Edge Agent SDK Swift](https://github.com/input-output-hk/atala-prism-wallet-sdk-swift) - Repo for the Swift version of the SDK.
* [Edge Agent SDK KMP](https://github.com/input-output-hk/atala-prism-wallet-sdk-kmm) - Repo for the Kotlin Multi-Platform version of the SDK.
*
* [Mediator](https://github.com/input-output-hk/identus-prism-mediator) - Repo for the DIDComm V2 Mediator.
* [Edge Agent SDK TS](https://github.com/hyperledger/identus-edge-agent-sdk-ts) - Repo for the Typescript version of the SDK.

We also have edge agents for other platforms:
* [Edge Agent SDK Swift](https://github.com/hyperledger/identus-edge-agent-sdk-swift) - Repo for the Swift version of the SDK.
* [Edge Agent SDK KMP](https://github.com/hyperledger/identus-edge-agent-sdk-kmp) - Repo for the Kotlin Multi-Platform version of the SDK.

## SDK Overview

- Apollo: Provides a suite of necessary cryptographic operations.
- Castor: Provides a suite of operations to create, manage and resolve decentralized identifiers.
- Pollux: Provides a suite of operations for handling [verifiable credentials](https://github.com/input-output-hk/atala-prism-docs/blob/master/documentation/docs/concepts/glossary.md#verifiable-credentials).
- Pollux: Provides a suite of operations for handling [verifiable credentials](https://github.com/hyperledger/identus-docs/blob/master/documentation/docs/concepts/glossary.md#verifiable-credentials).
- Mercury: Provides a suite of operations for handling DIDComm V2 messages.
- Pluto: Provides an interface for storage operations in a portable, storage-agnostic manner.
- Agent: A component using all other building blocks, provides basic edge agent capabilities, including implementing DIDComm V2 protocols.

## Getting started
We highly recommend you check out the [docs](https://hyperledger.github.io/identus-docs/docs/getting-started) :world_map:

This repository includes a browser and a Node.js demo application, and also a step-by-step documented process on [how to run it](#running-a-demo-project).

### Use in your project
You can install and use this library in browsers and nodejs.
### Install

```bash
npm i @atala/prism-wallet-sdk --save
npm i @hyperledger/identus-edge-agent-sdk
```

or with yarn

or
```bash
yarn add @atala/prism-wallet-sdk
yarn add @hyperledger/identus-edge-agent-sdk
```

### Running a demo project

#### Building from source
This repository contains compiles typescript code and some rust dependencies for DIDComm and AnonCreds, so in order to build the code from source you will need the following:
### Demo application
This repository also includes a browser and a Node.js demo application

#### Build demo dependencies
The demos assume building this repo from source, so you will need the following:
* Bash
* Have Rust ([cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)) and [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/) installed.
* Rust ([cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)) and [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/) installed.
* Node JS Version (20/LTS Recommended)

Clone the repository
```
git clone [email protected]:input-output-hk/atala-prism-wallet-sdk-ts.git --recruse-submodules
```

To be able to run the demos, we have to build `prism-wallet-sdk`.
From the repository root run:

Clone and build:
```bash
git clone [email protected]:hyperledger/identus-edge-agent-sdk-ts.git --recurse-submodules
cd identus-agent-sdk-ts
npm i
npm run build
```

### Running the sample applications
We have enabled sample implementations for browsers (React or Next.js) and Node.js.
To run each demo, ensure the whole SDK builds from the source, then cd into the demo.
#### Run the demos
Once you have [built the demo dependencies](#build-demo-dependencies), you can try out each of the demos:

Nodejs CommonJS
Nodejs Module:
```bash
cd demos/node-cjs
cd demos/node-esm
npm i
npm run start
```

Nodejs Module
Nodejs CommonJS:
```bash
cd demos/node-esm
cd demos/node-cjs
npm i
npm run start
```

Browser NextJS
Browser React / NextJS
```bash
cd demos/next
npm i
npm run build # becuase Error: ENOENT: no such file or directory, open '/.../atala-prism-wallet-sdk-ts/demos/next/.next/BUILD_ID']
npm run build # becuase Error: ENOENT: no such file or directory, open '/.../identus-edge-agent-sdk-ts/demos/next/.next/BUILD_ID']
npm run start
```

### Implementing storage for the SDK
This SDK exposes Pluto, a storage interface that should be implemented by the user, in the most appropriate way for a particular use case.

We don't provide a default implementation out of the box at the moment, but we do provide a couple of demo implementations that can be used to get started with demos and testing.
This SDK exposes Pluto, which manages data schemas, migrations for you, but requires a Pluto.Store which needs to be implemented by the user, as this is particular to your use case.

Provided demo implementations are intentionally oversimplified and **should not** be used in production.

Example community implementations:
- [atala-community-projects/pluto-encrypted](https://github.com/atala-community-projects/pluto-encrypted): InMemory, IndexDB, LevelDB, as well as a test-suite to help you build your own.
Loading

1 comment on commit 498b035

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines Statements Branches Functions
Coverage: 76%
76.29% (3541/4641) 66.4% (1544/2325) 79.98% (855/1069)

Please sign in to comment.