This repository has been archived by the owner on Jan 3, 2022. It is now read-only.
Releases: MetaMask/rpc-cap
Releases · MetaMask/rpc-cap
4.0.0
Changed
- (SEMVER-MAJOR)
filterResponse
caveat now performs a deep equality check (#127)- The filter was previously just a strict equality check per array item. Anything that can be compared by
fast-deep-equal@^2.0.1
can now be added to the caveat value. Whether something should be added we leave to the consumer. - Since consumers may have relied on the previous behavior for object and/or array values, this change justifies a major version bump.
- The filter was previously just a strict equality check per array item. Anything that can be compared by
3.2.1
v3.2.0
Add limitResponseLength caveat
Fix permission request validation, sourcemaps
Fix type declarations, faulty null checks
- Fix faulty types in
dist
- Improve type management
- Fix faulty null checks
- Update package(s)
Add type checks, stop writing empty domain metadata
This patch release adds:
- Type checks for certain methods that may be called externally
- Stop creating
domainMetadata
entries ingetDomainMetadta