Skip to content

Releases: hyperledger/identus-edge-agent-sdk-ts

v6.3.1

06 Nov 11:06
0a02840
Compare
Choose a tag to compare

What's Changed

  • fix: adding esbuild also as optional missing dependency (#324) by @curtis-h in #326

Full Changelog: v6.3.0...v6.3.1

v6.3.0

05 Nov 13:43
06a1343
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.2.3...v6.3.0

v6.2.2

04 Oct 13:17
d08a2c9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.1.0...v6.2.2

v6.1.0

12 Sep 12:01
d8d84e6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.0.1...v6.1.0

v6.0.0

20 Jul 11:08
6fb74c3
Compare
Choose a tag to compare

What's Changed

  • chore: add required md files by @essbante-io in #212

  • docs: improve main readme as per feedback we got from community in #227

  • feat: Backup and Restore #215

  • feat: Implement sd+jwt for issuance and verification flows with cloud agent in #228

  • feat: add sdk jwt revocation verification in #231

  • docs: backup and sd-jwt in #230

  • fix: Message properties body, createdTime, expiresTimePlus in #232

  • fix: create custom class to verify bitstring position more precisely in #234

  • fix: add missing files in package to clean rxdb vulnerabilities to fix e2e in #233

  • fix: using rust dependency for jwe in #235

  • fix: e2e issues fix in #236

  • fix: jwe rust library for backup encryption not including the node wa… in ttps://github.com//pull/237

  • test: enable multi sdk actors in ttps://github.com//pull/238

  • fix: attachment encoding fallback base64 + base64url by default in #239

  • test: add backup e2e scenarios in #242

  • fix(Castor): createPrismDID and resolveDID key id conflicts in #243

  • fix: attachment descriptor parameters in #240

  • fix: add e2e tests for jwt revocation, sdk verification for jwt and anoncreds in #244

  • fix: moving to hyperledger namespace in #245

  • fix: escape the <-> sequence to fix the build error in the identus-… in #248

  • chore: use identus apollo in #247

  • fix: releasing to HL in #253

  • fix: remove typo in release pipeline in #254

  • fix: generate docs after releasing as we cannot access a package that… in #255

BREAKING CHANGE:

  • Pollux instance now requires to have Apollo first constructor parameter (used internally)
  • Deprecated internal function processJWTCredential, processAnoncredsCredential and extractCredentialFormatFromMessage. Internally, in order to process any type of credential offer just call pollux.processCredentialOffer instead. In order to extract the credentialFormat from a DIDComm message if available, use message.credentialFormat (will return known CredentialType or unknown) In order to extract the payload of whatever DIDComm message, use message.payload which will decode it into the right object instance
  • JWT class now needs apollo and castor in constructor as they now instantiate from JWTCore (used internally)
    Derivable Private key is not deriving using the derivationPath as a string not the DerivationPath class (used internally)

v5.2.0

31 May 16:57
v5.2.0
121abdc
Compare
Choose a tag to compare

Features:

  • fix: update event callback argument type (216)
  • test: add revocation scenario (211)
  • fix: deprecate browser demos (221)
  • fix: rename references (218)
  • ci: changes e2e workflow trigger (222)
  • feat: implementing SDK Verification Phase2 Anoncreds (219)
  • fix: build node wasm not bundled up (226)

Full Changelog: v5.1.1...v5.2.0

v5.1.1

18 May 03:09
a684dbc
Compare
Choose a tag to compare

Full Changelog: v5.1.0...v5.1.1

v5.1.0

07 May 13:31
8284587
Compare
Choose a tag to compare

Features:

test: fix e2e var checks (#180)
docs: update the PR template (#181)
feat: updating Anoncreds to io fork (#157)
fix: wasm build folder change (#186)
feat: Implementing JWT Credential revocation notification (#184)
test: add coveralls (#176)
fix: issue with build script not replacing some files that have been … (#191)
fix: ConnectionManager emit Messages (#190)
fix: Agent.createNewPrismDID to use derivationPath (#158)
fix: db cannot be created twice with the same name which crashes demos (#193)
test: add zkp e2e test (#194)
test: fixes agent url issue (#195)
docs: update code owners (#187)
fix: optin to websockets for the mediator live mode as an experiment,… (#199)
fix: e2e issues with latest websocket changes (#200)
fix: updating references to Identus (#197)
feat(sdk-verification)!: Implementing DIF Presentation exchange protocol 2.0 for SDK to SDK OOB verification (#196)
fix: type references are lost in the package. (#202)
fix: rename prism-agent into edge-agent (#203)
fix: Rename the documentation file accordingly. (#204)
fix: prevent broken links to exist in order for docs site to build pr… (#205)
fix: add compliant dates not in ms, but in seconds. (#206)

INTERNAL BREAKING CHANGES:

  1. JWTVerifiable Credential
    Removed fromJWT which was used internally most of the times, has been replaced by fromJWS which just needs the JWS string.
  2. Agent Credentials
    This class is also for internal usee and its constructor has changed, now requiring an instance of mercury and did higher functions.
    Most implementations will not be affected by this breaking change but could be in more advanced implementations.
  3. Presentation Request
    The type field in the constructor now needs to be called with enum AttachmentFormats instead of CredentialType, making a clear gap between didcomm message format types and credential types.

Full Changelog: v5.0.0...v5.1.0

v5.0.0

03 May 09:44
v5.0.0
46381e4
Compare
Choose a tag to compare

What's Changed

  • add reference app + mediator live mode (#177) (14dd42d)

  • e2e tests improvement (#178) (46381e4)

  • key's id name according to the DID Peer new specs #126 (#148) (09cab81)

  • Manually generating the missing changelog and breaking changes b… (#167) (9a8e3bb)

  • Recover JTI field correctly. Allowing to regenerate the original JWT string (#171) (9129387)

  • feat!: Implementing Pluto Repositories (#160) (71bd0c6), closes #160

BREAKING CHANGES

  • Domain.Credential now has uuid (string) as an optional attribute in the class
  • Change StorePrismDID Function parameters, removing keyPathIndex and privateKeyMetadataId which were not in use
  • Small change in the getCredentialMetadata and getLinkSecret to return null when not found
  • Change Pluto interface to use CredentialMetadata class VS what it was using before.
  • Change Pluto interface, storeMediator now accepts a Mediator class and not 3 attributes, mediator, host and routing
  • Rename storePrivateKeys to storePrivateKey
  • Change Pluto interface, using Domain.PrismDID instead of Domain.PrismDID which is being removed
  • Added new properties to handle Anoncreds credentials properties.
  • Re-implemented Pluto which is now available again to all the users.
import SDK from "@atala/prism-wallet-sdk";
import IndexDB from "@pluto-encrypted/indexdb";

const store = new SDK.Store({
name: "test",
storage: IndexDB,
password: Buffer.from("demoapp").toString("hex")
});
const pluto = new SDK.Pluto(store, apollo);

Migrations, schemas, queries and error handling have been moved to the SDK again but user's which were using the existing storages can just pass the indexDB pluto-encrypted storage and it will integrate with the new db schemas, migrations, etc

Full Changelog: v4.0.2...v5.0.0

v4.0.2

03 May 09:37
v4.0.2
9129387
Compare
Choose a tag to compare

What's Changed

  • fix: Recover JTI field correctly. Allowing to regenerate the original JWT string (#171)
  • test: refactor and add new scenarios by @amagyar-iohk in #86
  • feat: extending Agent.acceptInvitation to handle OOB + Prism by @curtis-h in #111
  • fix: CI pipeline issues. by @elribonazo in #121
  • chore: publish to npm registry under @Atala group by @elribonazo in #119
  • chore(release): release 3.1.0 by @amagyar-iohk in #124
  • fix: removing terser to allow an unminified build that is easier to d… by @elribonazo in #127
  • feat: Integrate Apollo back + make secp256k1 keys part of derivable abstraction by @elribonazo in #110
  • test: update e2e env vars by @amagyar-iohk in #122
  • docs: remove the github authentication token notice from the demos an… by @elribonazo in #125
  • fix: Update demos to use the new Mediator peer did by @elribonazo in #128
  • fix: Change the demo mediator ID for the beta one. by @elribonazo in #135
  • feat(ExportableKey): adding ExportableKey protocol and implementation by @curtis-h in #131
  • fix: Integrate rust auto-generated code through submodules. by @elribonazo in #136
  • fix: wrong CI pipelines for git submodules. Missing With. by @elribonazo in #139
  • refactor: PrivateKey.index to return an integer | undefined by @curtis-h in #140
  • fix: merging multiple PeerDID classes by @curtis-h in #130
  • docs: ADR sdk package release + docs generation in MD by @curtis-h in #120
  • fix: add docusaurus sidebar by @elribonazo in #143
  • feat: release hybrid browser-nodejs as commonjs and module dependency by @elribonazo in #142
  • fix: update apollo dependency. by @elribonazo in #145
  • fix: typos InvalidBasicMEssageBodyError and signasture by @curtis-h in #144
  • fix: approve the ADR + implement the CI changes to release RC packages. by @elribonazo in #146
  • fix: CI fix, make sure that we build package before publishing into npm by @elribonazo in #147
  • fix: try to set the prerelease property through env vars the current … by @elribonazo in #149
  • fix: adding the right variables to the ci pipeline. by @elribonazo in #151
  • fix: Releasing with semantic-release -e extending a js configuration … by @elribonazo in #152
  • fix: build script not able to find file. by @elribonazo in #153
  • fix: replace rc and release with correct configuration files in relea… by @elribonazo in #154
  • fix: package name update by @elribonazo in #155
  • feat(Pollux)!: Adding Anoncreds presentation by @curtis-h in #137

BREAKING CHANGE:

  • PrivateKey.index now returns number | undefined
  • PrivateKey.index was returning a string it's possible where that's being used (ie Pluto) will need to handle the new number | undefined type
  • The SDK is now exportes as default, in order to import it use import sdk from '@atala/prism-wallet-sdk', vs import * as sdk from '@atala/prism-wallet-sdk'. Browsers now also don't need to build complex webpack configuration, check the demos for more info.
  • Pollux requires a new function: createPresentationProof to handle creating a Presentation for the relevant Request and Credential.

Full Changelog: v3.0.0...v4.0.2