diff --git a/.changeset/irs-capability-extended-surface.md b/.changeset/irs-capability-extended-surface.md deleted file mode 100644 index 34cc7265..00000000 --- a/.changeset/irs-capability-extended-surface.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@openzeppelin/ui-types": minor ---- - -Extend `IRSCapability` with factory identity lookup, key-purpose probe, and holder management-key grant. - -Adds `getFactoryIdentity`, `hasIdentityKeyPurpose`, and `grantHolderManagementKey` with discriminated read results (`read_failed` distinct from negative answers). Aligns the shared capability contract with adapter-evm 2.4.0+ so consumers no longer need structural casts at the IRS boundary. - -**Breaking for implementors:** any external `IRSCapability` implementor must now provide all three members or fail to compile; consumers calling the capability are unaffected. No in-repo or in-adapters implementor is impacted today (only adapter-evm implements IRS, and it already ships these methods), so practical blast radius is limited to out-of-tree implementations. diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 5eca2b28..f215f1c1 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,15 @@ # @openzeppelin/ui-types +## 3.4.0 + +### Minor Changes + +- [#202](https://github.com/OpenZeppelin/openzeppelin-ui/pull/202) [`f0aee8b`](https://github.com/OpenZeppelin/openzeppelin-ui/commit/f0aee8b713c2a421b517aaf00ddb24d58804053d) Thanks [@pasevin](https://github.com/pasevin)! - Extend `IRSCapability` with factory identity lookup, key-purpose probe, and holder management-key grant. + + Adds `getFactoryIdentity`, `hasIdentityKeyPurpose`, and `grantHolderManagementKey` with discriminated read results (`read_failed` distinct from negative answers). Aligns the shared capability contract with adapter-evm 2.4.0+ so consumers no longer need structural casts at the IRS boundary. + + **Breaking for implementors:** any external `IRSCapability` implementor must now provide all three members or fail to compile; consumers calling the capability are unaffected. No in-repo or in-adapters implementor is impacted today (only adapter-evm implements IRS, and it already ships these methods), so practical blast radius is limited to out-of-tree implementations. + ## 3.3.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index 30e19841..2b211fb8 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@openzeppelin/ui-types", - "version": "3.3.0", + "version": "3.4.0", "private": false, "description": "Shared TypeScript type definitions for the OpenZeppelin UI ecosystem.", "type": "module",