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

feat: add heartbeat data to indexer types #372

Merged
merged 1 commit into from
Jan 17, 2025
Merged

feat: add heartbeat data to indexer types #372

merged 1 commit into from
Jan 17, 2025

Conversation

neilcampbell
Copy link
Contributor

@neilcampbell neilcampbell commented Jan 16, 2025

Adding heartbeat transaction data to the indexer types.
This change is only required in v7 (hence main-v7 target), as v8 leverages the indexer types introduced in algosdk@3.

*
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
*/
'hb-pk'?: string
Copy link
Contributor Author

@neilcampbell neilcampbell Jan 16, 2025

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. All the props in hb-proof are optional, but hb-proof is not. Seems weird but good that it matches SDK and indexer API.

@neilcampbell neilcampbell requested a review from lempira January 16, 2025 04:29
*
* *Pattern:* `"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==\|[A-Za-z0-9+/]{3}=)?$"`
*/
'hb-pk'?: string
Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. All the props in hb-proof are optional, but hb-proof is not. Seems weird but good that it matches SDK and indexer API.

@neilcampbell neilcampbell merged commit 31886a5 into main-v7 Jan 17, 2025
2 checks passed
@neilcampbell neilcampbell deleted the hb-types branch January 17, 2025 01:01
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