-
Notifications
You must be signed in to change notification settings - Fork 3
chore: bump and upgrades #67
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- package.json: Language not supported
Comments suppressed due to low confidence (1)
config/web3-auth.ts:19
- The label still uses 'openlogin' even though the adapter key has been updated to AUTH; consider updating the label to reflect the new adapter for clarity.
label: "openlogin",
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 14 out of 16 changed files in this pull request and generated no comments.
Files not reviewed (2)
- .env.local: Language not supported
- package.json: Language not supported
Comments suppressed due to low confidence (3)
lib/ghostcloud.ts:146
- The invalidation of queries using a static key array (e.g. ["metas"]) may not fully invalidate queries that are registered with composite keys (e.g. ["metas", page]). Consider aligning the invalidation keys to match the dynamic query keys to ensure cache consistency.
queryClient.invalidateQueries({ queryKey: ["metas"] })
config/web3-auth.ts:18
- [nitpick] The adapter label is still set as 'openlogin' while using the AUTH adapter. Consider updating the label to better reflect the new adapter for clarity.
[WALLET_ADAPTERS.AUTH]: { label: "openlogin",
lib/ghostcloud.ts:320
- [nitpick] The use of 'placeholderData' with the imported 'keepPreviousData' may not behave as intended compared to the previous 'keepPreviousData: true' option. Verify that this change preserves previous data as expected or adjust the implementation accordingly.
placeholderData: keepPreviousData,
This pull request includes several updates to dependencies, improvements to the test suite, and changes to the configuration files. The most important changes include transitioning to
@tanstack/react-query
, updating theweb3auth
integration, and adding support for the Ghostcloud REST endpoint.Dependency Updates:
react-query
to@tanstack/react-query
across the codebase, including test files and main application files. [1] [2] [3] [4] [5]package.json
including@web3auth
packages,react
,next
, and@cosmjs
packages. [1] [2]Configuration Changes:
NEXT_PUBLIC_GHOSTCLOUD_REST_TARGET
to the.env.local
file.GHOSTCLOUD_REST_TARGET
toconfig/ghostcloud-chain.ts
and updated its usage in the codebase.Web3Auth Integration:
web3auth
to use the new@web3auth/auth-adapter
instead ofopenlogin-adapter
. [1] [2] [3] [4]Ghostcloud Integration:
useLcdQueryClient
hook for interacting with the Ghostcloud REST endpoint.useFetchMetas
,useFetchBalance
, and other related hooks to use the LCD client instead of the RPC client. [1] [2] [3] [4]Miscellaneous:
dev
script inpackage.json
to usenext dev --turbopack
.QueryCache
inpages/_app.tsx
.