From a63e23ca6a92f43b0a68be4850935a46017000f6 Mon Sep 17 00:00:00 2001 From: Dmitri Zagidulin Date: Tue, 17 Sep 2024 22:45:07 -0400 Subject: [PATCH] Update jsigs (React Native fix). --- CHANGELOG.md | 9 +++++++++ package.json | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 320fc88..a7278a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # @digitalcredentials/ed25519-signature-2020 Changelog +## 6.0.0 - + +### Changed +- **BREAKING**: The dependency `@digitalcredentials/jsonld-signatures@12.0.0` now requires + `expo-crypto` for React Native sha256 digest hashing, instead of + `@sphereon/isomorphic-webcrypto@2.5.0-unstable.0`. + - **IMPORTANT**: This means that IF you're using this library inside a React Native project, you MUST include `expo-crypto` + in your project's `dependencies`. + ## 5.0.0 - 2024-08-03 ### Changed diff --git a/package.json b/package.json index 1dee7ac..16fb10e 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,9 @@ "dependencies": { "@digitalcredentials/ed25519-verification-key-2020": "^3.1.1", "@digitalcredentials/base58-universal": "^1.0.1", + "@digitalcredentials/jsonld-signatures": "^12.0.0", "ed25519-signature-2020-context": "^1.0.1", - "ed25519-signature-2018-context": "^1.1.0", - "@digitalcredentials/jsonld-signatures": "^11.0.0" + "ed25519-signature-2018-context": "^1.1.0" }, "devDependencies": { "@digitalbazaar/ed25519-verification-key-2018": "^3.1.1",