Skip to content

Bump hypersync-client to 1.3.0 and add ENVIO_HYPERSYNC_LOG_LEVEL env var (DO NOT MERGE BRANCH)#1059

Closed
JonoPrest wants to merge 3 commits into
release-v2.32.10from
release-v2.32.11
Closed

Bump hypersync-client to 1.3.0 and add ENVIO_HYPERSYNC_LOG_LEVEL env var (DO NOT MERGE BRANCH)#1059
JonoPrest wants to merge 3 commits into
release-v2.32.10from
release-v2.32.11

Conversation

@JonoPrest
Copy link
Copy Markdown
Collaborator

Upgrades @envio-dev/hypersync-client from 1.1.0 to 1.3.0 and adds ENVIO_HYPERSYNC_LOG_LEVEL environment variable that calls setLogLevel on the hypersync client during indexer startup, before any client instances are created. Defaults to #info.

https://claude.ai/code/session_01Dceothqow22AQCivu7DcQA

Upgrades @envio-dev/hypersync-client from 1.1.0 to 1.3.0 and adds
ENVIO_HYPERSYNC_LOG_LEVEL environment variable that calls setLogLevel
on the hypersync client during indexer startup, before any client
instances are created. Defaults to #info.

https://claude.ai/code/session_01Dceothqow22AQCivu7DcQA
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 27, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 81d8ac5e-75ab-49ee-8bd3-f407788047f5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release-v2.32.11

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@JonoPrest JonoPrest requested a review from DZakh March 27, 2026 16:40
DZakh and others added 2 commits March 30, 2026 13:16
* Migrate BlockData queries from HTTP to HyperSync client

The BlockData module was using raw HTTP requests via HyperSyncJsonApi +
Rest.fetch while all other queries used the HyperSyncClient. This switches
block hash/timestamp queries to use client.get(), leveraging the client's
built-in retries, auth handling, and connection pooling.

Changes:
- Add includeAllBlocks field and typed queryResponse to HyperSyncClient
- Rewrite BlockData module to use client.get() instead of Rest.fetch
- Update queryBlockData/queryBlockDataMulti signatures to accept ~client
- Update callers in HyperSyncSource to pass the existing client instance

https://claude.ai/code/session_01GdmmyVikrTScFWYinb8Ba4

* Add package-lock.json generated during build verification

https://claude.ai/code/session_01GdmmyVikrTScFWYinb8Ba4

* Remove package-lock.json (project uses pnpm)

https://claude.ai/code/session_01GdmmyVikrTScFWYinb8Ba4

---------

Co-authored-by: Claude <noreply@anthropic.com>
The publish template (package.json.tmpl) was missed when commit 9df1847
bumped @envio-dev/hypersync-client from 1.1.0 to 1.3.0. This caused the
published envio package to ship code calling setLogLevel (added in 1.3.0)
while depending on 1.1.0 which doesn't export it, resulting in:
TypeError: HypersyncClient.setLogLevel is not a function

https://claude.ai/code/session_015XiyqkwVymVPd2JUqEqyzQ

Co-authored-by: Claude <noreply@anthropic.com>
@DZakh DZakh closed this Apr 16, 2026
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