-
-
Notifications
You must be signed in to change notification settings - Fork 34
Comparing changes
Open a pull request
base repository: MetaMask/rpc-errors
base: v5.0.0
head repository: MetaMask/rpc-errors
compare: v6.0.0
- 16 commits
- 21 files changed
- 7 contributors
Commits on Apr 17, 2023
-
Allow passing a cause to predefined error functions (#83)
* Allow passing a cause to predefined error functions This allows passing an `Error` class object to one of the predefined error functions as defined in `rpcErrors` and `providerErrors`. Upon calling the `serialise` function of the `JsonRpcError` class, the cause error will be serialised using the `serializeCause` function. * Add tests to ensure error.serialize().data is not an instance of Error The expect function ensures that the type of error.serialize().data is an object and contains specific serialized data while ensuring it does not contain an error instance. This test is necessary to avoid unexpected errors during exception handling. * Apply suggestions from code review Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> * Export `serializeCause` and `DataWithOptionalCause` * Fix type errors * Update coverage tresholds --------- Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e6a9162 - Browse repository at this point
Copy the full SHA e6a9162View commit details
Commits on Apr 18, 2023
-
Standardise workflows per the module template as of April 2023 (#82)
* Standardise workflows per the module template as of April 2023 * Enable Dependabot to update '@metamask/*' npm packages daily This commit adds a Dependabot configuration file to the repository to enable daily checks for new versions of '@metamask/*' npm packages, updating them if needed, and opening a maximum of 10 pull requests with these updates. The configuration file uses the 'increase-if-necessary' versioning strategy to ensure that only necessary version bumps are considered for update. * Update build matrix in GitHub Actions Remove Node.js 14.x from the build matrix since it's no longer supported. The build matrix now includes only Node.js 16.x, 18.x, and 19.x.
Configuration menu - View commit details
-
Copy full SHA for 90024f9 - Browse repository at this point
Copy the full SHA 90024f9View commit details -
Bump @metamask/eslint-config-jest from 10.0.0 to 11.1.0 (#88)
Bumps [@metamask/eslint-config-jest](https://github.com/MetaMask/eslint-config) from 10.0.0 to 11.1.0. - [Release notes](https://github.com/MetaMask/eslint-config/releases) - [Commits](MetaMask/eslint-config@v10.0.0...v11.1.0) --- updated-dependencies: - dependency-name: "@metamask/eslint-config-jest" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 23c4857 - Browse repository at this point
Copy the full SHA 23c4857View commit details -
Bump ESLint configs and dependencies to latest version (#89)
* Bump ESLint configs and dependencies to latest versions * Update code coverage percentage values The previous values of code coverage were updated to new and more accurate values.
Configuration menu - View commit details
-
Copy full SHA for a324a7a - Browse repository at this point
Copy the full SHA a324a7aView commit details -
Bump @metamask/utils from 5.0.0 to 5.0.1 (#85)
Bumps [@metamask/utils](https://github.com/MetaMask/utils) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/MetaMask/utils/releases) - [Changelog](https://github.com/MetaMask/utils/blob/main/CHANGELOG.md) - [Commits](MetaMask/utils@v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: "@metamask/utils" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a388854 - Browse repository at this point
Copy the full SHA a388854View commit details -
* 5.1.0 * Update CHANGELOG.md --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Configuration menu - View commit details
-
Copy full SHA for 1d1852d - Browse repository at this point
Copy the full SHA 1d1852dView commit details
Commits on Apr 19, 2023
-
Allow passing unknown values as cause (#91)
* Allow passing unknown values as cause Previously, only the `Error` type as accepted as cause, but since any value can be thrown as error, we have to allow any value to be used. * Update coverage threshold --------- Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e06f8d8 - Browse repository at this point
Copy the full SHA e06f8d8View commit details -
* 5.1.1 * Update CHANGELOG.md --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Configuration menu - View commit details
-
Copy full SHA for af3ef43 - Browse repository at this point
Copy the full SHA af3ef43View commit details
Commits on Apr 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 95a4a87 - Browse repository at this point
Copy the full SHA 95a4a87View commit details
Commits on Jul 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 09e66ad - Browse repository at this point
Copy the full SHA 09e66adView commit details
Commits on Jul 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8b3f5bc - Browse repository at this point
Copy the full SHA 8b3f5bcView commit details
Commits on Jul 24, 2023
-
Synchronise package with module template (July 2023) (#98)
* Synchronise package with module template (July 2023) * Update pull request template * Update coverage
Configuration menu - View commit details
-
Copy full SHA for ab0ebca - Browse repository at this point
Copy the full SHA ab0ebcaView commit details
Commits on Aug 23, 2023
-
Revert "Synchronise package with module template (July 2023) (#98)" (#…
Configuration menu - View commit details
-
Copy full SHA for b91c7e8 - Browse repository at this point
Copy the full SHA b91c7e8View commit details
Commits on Aug 28, 2023
-
types: Make Data type-parameter optional in JsonRpcError (#102)
* types: Make Data type-parameter optional in JsonRpcError This is in order to provide backwards-compatibility with code implemented towards v5.0.0. * fix/types: make cause actually optional in DataWithOptionalCause
Configuration menu - View commit details
-
Copy full SHA for 2b0bcbd - Browse repository at this point
Copy the full SHA 2b0bcbdView commit details
Commits on Aug 31, 2023
-
deps: @metamask/utils@^5.0.0->^8.0.0 (#101)
* deps: @metamask/utils@^5.0.0->^8.0.0
Configuration menu - View commit details
-
Copy full SHA for fe77220 - Browse repository at this point
Copy the full SHA fe77220View commit details -
--------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: legobt <6wbvkn0j@anonaddy.me>
Configuration menu - View commit details
-
Copy full SHA for a56fcdf - Browse repository at this point
Copy the full SHA a56fcdfView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.0.0...v6.0.0