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

refactor: Replace DetectTokensController with core monorepo's TokenDetectionController #22928

Merged
merged 42 commits into from
Mar 14, 2024

Commits on Mar 9, 2024

  1. Configuration menu
    Copy the full SHA
    48d93c0 View commit details
    Browse the repository at this point in the history
  2. Bump @metamask/assets-controllers to v26, and peerDeps `@metamask/a…

    …ccounts-controller`, `@metamask/keyring-controller`
    MajorLift committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    f8ba2f5 View commit details
    Browse the repository at this point in the history
  3. Update all references to DetectTokensController and `detectNewToken…

    …s` into `TokenDetectionController` and `detectTokens`
    MajorLift committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    17db540 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22c39c1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fde07ec View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d7fe975 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    70d9d70 View commit details
    Browse the repository at this point in the history
  8. dedupe lockfile

    MajorLift committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    06d94f5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e36814b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b507e95 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8048e03 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a2fe4ce View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    66c6e9d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    052b51b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f655b27 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0c6854f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    466a60c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    144f436 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    500a539 View commit details
    Browse the repository at this point in the history
  20. Replace all imports of toChecksumHexAddress from `@metamask/control…

    …ler-utils` with imports from `shared/modules/hexstring-utils`
    
    - This is unrelated to the `@metamask/controller-utils` bump to `^8.0.4`. It's still necessary with `^8.0.1`.
    MajorLift committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    46827f0 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Register action handler for TokensController:getState to `MetamaskC…

    …ontroller` class controller-messenger
    MajorLift committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    12cf087 View commit details
    Browse the repository at this point in the history
  2. Refactor isClientOpen setter to call enable, disable on `tokenD…

    …etectionController`
    MajorLift committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ed9859d View commit details
    Browse the repository at this point in the history
  3. Add empty state object as entry for TokenDetectionController in `SE…

    …NTRY_BACKGROUND_STATE` object
    MajorLift committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    a1a20ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    08dd6b0 View commit details
    Browse the repository at this point in the history
  5. Remove unused patches

    MajorLift committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    0023df2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    21c8d29 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    484be71 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    00d5e74 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cc9d167 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Configuration menu
    Copy the full SHA
    32bc395 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    dc34547 View commit details
    Browse the repository at this point in the history
  2. Define preferencesMessenger and refactor PreferencesController to…

    … publish `stateChange` events for `setUseTokenDetection`, `setSelectedAddress` calls
    MajorLift committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    56eff3f View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. [preferences-controller] Replace manual publish calls with subscripti…

    …on to observable store
    MajorLift committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    4f6a160 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c374f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d6b48c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b825ed4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5f7ae9d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d038ff9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    127ca1d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    17dde59 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    f98cbad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f5db24 View commit details
    Browse the repository at this point in the history