fix: set connect query to 2.1.1 by rsbh · Pull Request #1402 · raystack/frontier

Summary

This PR hardcodes connect-query to version 2.1.1
We were using 2.1.1 before, but recently we started using 2.2.0 because of the ^ in the package.json and the need to update the pnpm lock file.

The issue is that our pageQuery is nested inside the query. But we were passing query as the key, since we can't pass query.offset, as it doesn't support that and it will throw TS issue.
But in the recent changes to the library, it ignores the page query when generating the infinite query key.
We were passing query as the page query and search, and the filter was nested inside it, and they stopped working.
Either we move the offset ouside query or add support for nested keys in connect-query.

An issue has been raised in connect-query as well connectrpc/connect-query-es#569