@@ -5,15 +5,22 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 3.0.0]
9+
10+ ### Changed
11+
12+ - Second argument of ` serializeError ` is now an options object ([ #22 ] ( https://github.com/MetaMask/eth-rpc-errors/pull/22 ) )
13+ - Error stacks are no longer serialized by default by ` serializeError ` ([ #22 ] ( https://github.com/MetaMask/eth-rpc-errors/pull/22 ) )
14+
815## [ 2.1.0] - 2020-05-11
916
1017### Added
1118
1219- New/missing errors:
13- - ` ethErrors.provider ` ([ EIP 1193] ( https://eips.ethereum.org/EIPS/eip-1474#provider-errors ) )
20+ - ` ethErrors.provider ` ([ EIP- 1193] ( https://eips.ethereum.org/EIPS/eip-1474#provider-errors ) )
1421 - ` .disconnected ` , ` 4900 `
1522 - ` .chainDisconnected ` , ` 4901 `
16- - ` ethErrors.rpc ` ([ EIP 1474] ( https://eips.ethereum.org/EIPS/eip-1474#error-codes ) )
23+ - ` ethErrors.rpc ` ([ EIP- 1474] ( https://eips.ethereum.org/EIPS/eip-1474#error-codes ) )
1724 - ` .limitExceeded ` , ` -32005 `
1825
1926### Changed
@@ -31,12 +38,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3138 - Renamed affected interfaces
3239- ` ethErrors `
3340 - Added missing
34- [ EIP 1474 errors] ( https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md )
41+ [ EIP- 1474 errors] ( https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md )
3542 - Added corresponding codes and messages
3643 - ** Namespacing**
37- - EIP 1474 (which includes JSON RPC 2.0) errors now namespaced under ` ethErrors.rpc `
44+ - EIP- 1474 (which includes JSON RPC 2.0) errors now namespaced under ` ethErrors.rpc `
3845 - JSON RPC 2.0 errors were formerly under ` errors.jsonRpc `
39- - EIP 1193 errors now namespaced under ` ethErrors.provider `
46+ - EIP- 1193 errors now namespaced under ` ethErrors.provider `
4047 - Formerly under ` errors.eth `
4148 - Most error getters now take a single, * optional* ` opts ` argument, which
4249 is either a string or an object
0 commit comments