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

Fetch plugin data from info server #587

Merged
merged 7 commits into from
Mar 23, 2024
Merged

Fetch plugin data from info server #587

merged 7 commits into from
Mar 23, 2024

Conversation

swansontec
Copy link
Contributor

@swansontec swansontec commented Mar 11, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

@swansontec swansontec changed the title William/info fetch Fetch plugin data from info server Mar 11, 2024
src/core/currency/currency-pixie.ts Show resolved Hide resolved
src/core/currency/currency-pixie.ts Outdated Show resolved Hide resolved
src/types/types.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@samholmes samholmes left a comment

Choose a reason for hiding this comment

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

Approved with minor nit

for (const pluginId of Object.keys(plugins.currency)) {
const plugin = plugins.currency[pluginId]
const newPayload = infoCache.corePlugins?.[pluginId] ?? {}
const oldPayload = lastInfo?.corePlugins?.[pluginId] ?? {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Unnecessary ?. for lastInfo?.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oof! I didn't know match-json.ts was missing from the first review. Good catch

@swansontec swansontec merged commit eb1f9f7 into master Mar 23, 2024
2 checks passed
@swansontec swansontec deleted the william/info-fetch branch March 23, 2024 14:25
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.

2 participants