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

eth-query ^2.1.2 -> @metamask/eth-query ^3.0.1 #1546

Merged
merged 2 commits into from
Jul 21, 2023
Merged

eth-query ^2.1.2 -> @metamask/eth-query ^3.0.1 #1546

merged 2 commits into from
Jul 21, 2023

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Jul 21, 2023

Explanation

The eth-query package does not ship with TypeScript type definitions, and none have been published under @types/eth-query. This results in TypeScript failing to build packages in this repo that want to use eth-query. We've attempted to mitigate this issue by adding our own type definitions for eth-query to this repo, but since they aren't included in the published version of the packages in question, it means that any other project that wants to use those packages must supply their own type definitions for eth-query.

We have republished eth-query as @metamask/eth-query, which does ship with type definitions. This removes the need for this repo or any consumers of these packages to provide their own.

Fixes #1471.

References

Changelog

@metamask/assets-controllers

  • CHANGED: Replace eth-query ^2.1.2 with @metamask/eth-query ^3.0.1
    • Our fork of eth-query includes TypeScript type definitions.

@metamask/controller-utils

  • CHANGED: Replace eth-query ^2.1.2 with @metamask/eth-query ^3.0.1
    • Our fork of eth-query includes TypeScript type definitions.

@metamask/gas-fee-controller

  • CHANGED: Replace eth-query ^2.1.2 with @metamask/eth-query ^3.0.1
    • Our fork of eth-query includes TypeScript type definitions.

@metamask/network-controller

  • CHANGED: Replace eth-query ^2.1.2 with @metamask/eth-query ^3.0.1
    • Our fork of eth-query includes TypeScript type definitions.

@metamask/transaction-controller

  • CHANGED: Replace eth-query ^2.1.2 with @metamask/eth-query ^3.0.1
    • Our fork of eth-query includes TypeScript type definitions.

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

@mcmire mcmire requested a review from a team as a code owner July 21, 2023 21:35
@socket-security
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: eth-query@2.1.2

Mrtenz
Mrtenz previously approved these changes Jul 21, 2023
The `eth-query` package does not ship with TypeScript type definitions,
and none have been published under `@types/eth-query`. This results in
TypeScript failing to build packages in this repo that want to use
`eth-query`. We've attempted to mitigate this issue by adding our own
type definitions for `eth-query` to this repo, but since they aren't
included in the published version of the packages in question, it means
that any other project that wants to use those packages must supply
their own type definitions for `eth-query`.

We have republished `eth-query` as `@metamask/eth-query`, which _does_
ship with type definitions. This removes the need for this repo or
any consumers of these packages to provide their own.
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mcmire mcmire merged commit 6437c7a into main Jul 21, 2023
@mcmire mcmire deleted the bump-eth-query branch July 21, 2023 22:39
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
The `eth-query` package does not ship with TypeScript type definitions,
and none have been published under `@types/eth-query`. This results in
TypeScript failing to build packages in this repo that want to use
`eth-query`. We've attempted to mitigate this issue by adding our own
type definitions for `eth-query` to this repo, but since they aren't
included in the published version of the packages in question, it means
that any other project that wants to use those packages must supply
their own type definitions for `eth-query`.

We have republished `eth-query` as `@metamask/eth-query`, which _does_
ship with type definitions. This removes the need for this repo or
any consumers of these packages to provide their own.
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
The `eth-query` package does not ship with TypeScript type definitions,
and none have been published under `@types/eth-query`. This results in
TypeScript failing to build packages in this repo that want to use
`eth-query`. We've attempted to mitigate this issue by adding our own
type definitions for `eth-query` to this repo, but since they aren't
included in the published version of the packages in question, it means
that any other project that wants to use those packages must supply
their own type definitions for `eth-query`.

We have republished `eth-query` as `@metamask/eth-query`, which _does_
ship with type definitions. This removes the need for this repo or
any consumers of these packages to provide their own.
tommasini added a commit that referenced this pull request Mar 7, 2024
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.

Publish new version of eth-query with type definitions from this repo
3 participants