|
1 | 1 | # @evolution-sdk/evolution |
2 | 2 |
|
| 3 | +## 0.3.2 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- [#88](https://github.com/IntersectMBO/evolution-sdk/pull/88) [`61ffded`](https://github.com/IntersectMBO/evolution-sdk/commit/61ffded47892f12bda6f538e8028b3fd64492187) Thanks [@solidsnakedev](https://github.com/solidsnakedev)! - Add CIP-30 message signing support with modular architecture |
| 8 | + |
| 9 | + This release introduces comprehensive CIP-30 `signData` and `verifyData` support, implementing the complete COSE Sign1 specification with a clean, modular structure: |
| 10 | + |
| 11 | + **New Features:** |
| 12 | + - Full CIP-30 message signing (`signData`) and verification (`verifyData`) implementation |
| 13 | + - COSE (CBOR Object Signing and Encryption) primitives per RFC 8152 |
| 14 | + - Support for Ed25519 signatures with proper COSE key structures |
| 15 | + - Message hashing with BLAKE2b-256 for payload integrity |
| 16 | + - CIP-8 compliant address field handling |
| 17 | + - Complete test coverage with CSL compatibility tests |
| 18 | + |
| 19 | + **Module Structure:** |
| 20 | + - `message-signing/SignData.ts` - Main CIP-30 signData/verifyData API |
| 21 | + - `message-signing/Header.ts` - COSE header structures and operations |
| 22 | + - `message-signing/Label.ts` - COSE label types and algorithm identifiers |
| 23 | + - `message-signing/CoseSign1.ts` - COSE_Sign1 structure implementation |
| 24 | + - `message-signing/CoseKey.ts` - COSE key format support |
| 25 | + - `message-signing/Ed25519Key.ts` - Ed25519 key operations |
| 26 | + - `message-signing/Utils.ts` - Encoding and conversion utilities |
| 27 | + |
| 28 | + **Breaking Changes:** |
| 29 | + - Refactored `Bytes` module API: |
| 30 | + - Renamed `bytesEquals` to `equals` with stricter type signature (no longer accepts undefined) |
| 31 | + - Removed `Bytes.FromHex` schema in favor of Effect's built-in `Schema.Uint8ArrayFromHex` |
| 32 | + - Updated `fromHex`/`toHex` to use Effect's native schemas |
| 33 | + |
| 34 | + **Internal Improvements:** |
| 35 | + - Removed unused `Bytes` imports across 32 files |
| 36 | + - Updated all modules to use new Bytes API |
| 37 | + - Improved CBOR encoding/decoding with proper codec options |
| 38 | + - Enhanced type safety with Effect Schema compositions |
| 39 | + |
3 | 40 | ## 0.3.1 |
4 | 41 |
|
5 | 42 | ### Patch Changes |
|
0 commit comments