Releases: MetaMask/swappable-obj-proxy
Releases · MetaMask/swappable-obj-proxy
Release list
2.3.0
2.2.0
Changed
- Only migrate events that were added via the proxy (#53)
- Previously the proxy assumed that all events on the target were added via the proxy, so they would be migrated when the proxy target changed. This introduced bugs when the target was used directly, or when two proxies pointed at the same target.
- Effectively this change adds support for using the target independently of the proxy, and for using multiple proxies for the same event emitter.
2.1.0
Added
- Convert this library to TypeScript (#27)
- You should now be able to use this library in a TypeScript codebase without having to provide your own types.
2.0.0
Added
- Re-release of this package
- This package was previously released under
swappable-obj-proxy(latest version: 1.1.0). We've begun the version history of@metamask/swappable-obj-proxyat 2.0.0 in order to prevent any confusion. Past releases ofswappable-obj-proxyare not explicitly recorded, but can be traced through the commit history. All entries after this line are new additions since the previous release.
- This package was previously released under
- Support proxying instances of class that reference private fields (#10)
- Add type definitions for TypeScript projects (#13)