Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @metamask/rpc-errors to ^6.2.0 #3954

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Bump @metamask/rpc-errors to ^6.2.0 #3954

merged 1 commit into from
Feb 22, 2024

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Feb 22, 2024

Explanation

This bumps @metamask/rpc-errors to ^6.2.0 to solve a type error when using @metamask/permission-controller:

node_modules/@metamask/permission-controller/dist/errors.d.ts:22:107 - error TS7016: Could not find a declaration file for module '@metamask/rpc-errors/dist/utils'. '/Users/morten/Development/MetaMask/snaps/node_modules/@metamask/rpc-errors/dist/utils.js' implicitly has an 'any' type.

Changelog

@metamask/approval-controller

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/assets-controllers

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/json-rpc-engine

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/network-controller

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/permission-controller

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/queued-request-controller

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/rate-limit-controller

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/signature-controller

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/transaction-controller

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

@metamask/user-operation-controller

  • CHANGED: Bump @metamask/rpc-errors from ^6.1.0 to ^6.2.0.

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@Mrtenz Mrtenz merged commit d646595 into main Feb 22, 2024
136 checks passed
@Mrtenz Mrtenz deleted the mrtenz/rpc-errors@6.2.0 branch February 22, 2024 09:44
@Mrtenz Mrtenz mentioned this pull request Feb 26, 2024
3 tasks
Mrtenz added a commit that referenced this pull request Feb 26, 2024
## Explanation

This bumps `@metamask/rpc-errors` to `^6.2.1`. This is a more permanent
fix for a type issue (initially solved by #3954).

## Changelog

<!--
If you're making any consumer-facing changes, list those changes here as
if you were updating a changelog, using the template below as a guide.

(CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or
FIXED. For security-related issues, follow the Security Advisory
process.)

Please take care to name the exact pieces of the API you've added or
changed (e.g. types, interfaces, functions, or methods).

If there are any breaking changes, make sure to offer a solution for
consumers to follow once they upgrade to the changes.

Finally, if you're only making changes to development scripts or tests,
you may replace the template below with "None".
-->

### `@metamask/approval-controller`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/assets-controllers`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/json-rpc-engine`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/network-controller`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/permission-controller`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/queued-request-controller`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/rate-limit-controller`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/signature-controller`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/transaction-controller`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

### `@metamask/user-operation-controller`

- **CHANGED**: Bump `@metamask/rpc-errors` from `^6.2.0` to `^6.2.1`.

## Checklist

- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [ ] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants