Skip to content

Commit 4163028

Browse files
authored
Bump version to 1.4.0; add EIP-712 typed-data signing module, update dependencies, and refine repository methods. (#54)
1 parent 42ee333 commit 4163028

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66

77
## [Unreleased]
88

9+
## [1.4.0] - 2026-06-30 — EIP-712 typed-data signing
10+
11+
### Added
12+
13+
- **EIP-712 typed-data signing module.** New `eip712` domain (entities, repository interface, errors), `repositories/eip712` implementation, `dto/eip712` mappers, and `utils/eip712` helpers (`address`, `digest`, `displayModel`, `recover`, `sign`, `validation`). Supports parsing, validating, building a human-readable display model for, signing, and recovering EIP-712 typed data. Wired into `setupRepositories()` as `eip712Repository`. (#41, #42)
14+
- EIP-712 display enrichment: decode `address` values as Casper keys, human-readable date presentation, and CAIP-2 chain identification. (#51)
15+
- `contractPackageHash` support for CsprTrade token URLs — `getMarketDataProviderUrl()` now deep-links to `https://cspr.trade/token-details/<hash>` instead of the site root. (#43)
16+
17+
### Changed
18+
19+
- Renamed EIP-712 repository methods onto the `…TypedData…` convention (`EIP712Repository.signTypedData`). (#47, #52)
20+
- Bumped CI workflow actions: `actions/checkout` 4→7, `actions/setup-node` 4→6, `actions/upload-artifact` 4→7, `github/codeql-action` 3→4. (#28, #29, #30, #31, #48)
21+
- Bumped runtime and dev dependencies, including `lint-staged` 15→17. (#37, #40, #44, #49)
22+
23+
### Fixed
24+
25+
- Dropped a duplicated chain-name row from the EIP-712 domain rows. (#46)
26+
927
## [1.3.0] - 2026-05-18
1028

1129
### Added
@@ -195,7 +213,8 @@ Tag exists; no GitHub release notes were published. See the
195213
Tagged but not published as GitHub Releases. See the
196214
[tag list](https://github.com/make-software/casper-wallet-core/tags) for history.
197215

198-
[Unreleased]: https://github.com/make-software/casper-wallet-core/compare/v1.3.0...HEAD
216+
[Unreleased]: https://github.com/make-software/casper-wallet-core/compare/v1.4.0...HEAD
217+
[1.4.0]: https://github.com/make-software/casper-wallet-core/compare/v1.3.0...v1.4.0
199218
[1.3.0]: https://github.com/make-software/casper-wallet-core/compare/v1.2.1...v1.3.0
200219
[1.2.1]: https://github.com/make-software/casper-wallet-core/compare/v1.2.0...v1.2.1
201220
[1.2.0]: https://github.com/make-software/casper-wallet-core/compare/v1.1.8...v1.2.0

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ Each domain module exposes a repository interface (in `src/domain/<module>/repos
177177
| `domain/appEvents` | `appEventsRepository` | Wallet-wide announcements / app events |
178178
| `domain/tx-signature-request` | `txSignatureRequestRepository` | Decoding & describing transactions awaiting signature |
179179
| `domain/contractPackage` | `contractPackageRepository` | Contract package metadata lookups |
180+
| `domain/eip712` | `eip712Repository` | EIP-712 typed-data parsing, display, signing |
180181

181182
> ⚠️ Note the naming asymmetry between `domain/` and `data/repositories/` (e.g. `domain/validator``repositories/validators`, `domain/tx-signature-request``repositories/txSignatureRequest`). Always import from the package root to avoid drift.
182183
@@ -245,6 +246,7 @@ Tests live next to the code they cover (e.g. `src/utils/common.test.ts`, `src/da
245246
│ │ ├── constants/
246247
│ │ ├── contractPackage/
247248
│ │ ├── deploys/
249+
│ │ ├── eip712/
248250
│ │ ├── env/
249251
│ │ ├── nfts/
250252
│ │ ├── onRamp/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "CasperWalletCore",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"description": "Core business logic and data layer for the Casper Wallet browser extension and mobile app.",
55
"license": "Apache-2.0",
66
"author": "MAKE Software",

0 commit comments

Comments
 (0)