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: propagate query result #96

Merged
merged 2 commits into from
Apr 8, 2024
Merged

Conversation

dalechyn
Copy link
Collaborator

@dalechyn dalechyn commented Apr 8, 2024

No description provided.

dalechyn added 2 commits April 8, 2024 19:17
The reason being is that all of the queries rely on
`use(Abstract)ModuleQueryClient` and it is pretty straightforward to
figure out the cause of issue if it is on that level.

Full result is needed to leverage full api of `useQuery()`
(specifically, `.refetch` which is really needed atm).

Ideally, we don't want to depend on any queries internally (just like `wagmi`,
where it depends on a `config` which is either instantly retrievable or
not, depending whether it's in the provider or not, failing instantly if
not), but we can't since we depend on `graz` which does not export
actions. Nor doesn't cosmos-kit.
@dalechyn dalechyn self-assigned this Apr 8, 2024
Copy link

changeset-bot bot commented Apr 8, 2024

🦋 Changeset detected

Latest commit: fc1d460

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
wagemos-cosmoskit-nextjs Patch
wagemos-graz-nextjs Patch
@abstract-money/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dalechyn dalechyn merged commit cd41001 into mainline Apr 8, 2024
2 checks passed
@github-actions github-actions bot mentioned this pull request Apr 8, 2024
Copy link
Contributor

github-actions bot commented Apr 8, 2024

Size Change: -135 B (0%)

Total Size: 109 kB

Filename Size Change
packages/cli/dist/plugins 4.97 kB -135 B (-3%)
ℹ️ View Unchanged
Filename Size Change
packages/bundle-require/dist 1.11 kB 0 B
packages/bundle-require/dist/index.d.ts 2 kB 0 B
packages/bundle-require/dist/index.js 4.68 kB 0 B
packages/cli/dist 150 B 0 B
packages/cli/dist/_tsup-dts-rollup.d.ts 379 B 0 B
packages/cli/dist/chunk-6C3VEZWH.js 153 B 0 B
packages/cli/dist/chunk-AOQH5JQO.js 1.4 kB 0 B
packages/cli/dist/chunk-B7QC3SVE.js 31 B 0 B
packages/cli/dist/chunk-ELQZQKSN.js 1.4 kB 0 B
packages/cli/dist/cli.d.ts 2.48 kB 0 B
packages/cli/dist/cli.js 113 B 0 B
packages/cli/dist/commands-RWJT77ZY.js 104 B 0 B
packages/cli/dist/config.d.ts 1.22 kB 0 B
packages/cli/dist/config.js 77 B 0 B
packages/cli/dist/cosmjs.d.ts 131 B 0 B
packages/cli/dist/cosmjs.js 150 B 0 B
packages/cli/dist/index.d.ts 0 B 0 B 🆕
packages/cli/dist/index.js 95 B 0 B
packages/cli/dist/plugins/index.d.ts 0 B 0 B 🆕
packages/cli/dist/plugins/index.js 1.5 kB 0 B
packages/core/dist 533 B 0 B
packages/core/dist/actions 1.32 kB 0 B
packages/core/dist/actions/index.d.ts 7.83 kB 0 B
packages/core/dist/actions/index.js 9.69 kB 0 B
packages/core/dist/chains-AF0KNDOG.d.ts 0 B 0 B 🆕
packages/core/dist/chunk-ULL4K3RN.js 1.45 kB 0 B
packages/core/dist/chunk-WTKBGK32.js 131 B 0 B
packages/core/dist/clients 1.22 kB 0 B
packages/core/dist/clients/index.d.ts 3.01 kB 0 B
packages/core/dist/clients/index.js 7.51 kB 0 B
packages/core/dist/create-public-client-9pfF9KIw.d.ts 1.07 kB 0 B
packages/core/dist/get-version-control-client-7wK4qlA2.d.ts 771 B 0 B
packages/core/dist/get-version-control-query-client-joehQ0M8.d.ts 0 B 0 B 🆕
packages/core/dist/index.d.ts 13.3 kB 0 B
packages/core/dist/index.js 17.7 kB 0 B
packages/core/dist/legacy 2.33 kB 0 B
packages/core/dist/legacy/index.d.ts 354 B 0 B
packages/core/dist/legacy/index.js 0 B 0 B 🆕
packages/core/dist/messages-yrJO8PfG.d.ts 3.6 kB 0 B
packages/core/dist/types-lUss04JZ.d.ts 715 B 0 B
packages/core/dist/utils 829 B 0 B
packages/core/dist/utils/index.d.ts 591 B 0 B
packages/core/dist/utils/index.js 310 B 0 B
packages/cosmwasm-utils/dist 0 B 0 B 🆕
packages/cosmwasm-utils/dist/_tsup-dts-rollup.d.ts 189 B 0 B
packages/cosmwasm-utils/dist/chunk-3ETX6U3V.js 156 B 0 B
packages/cosmwasm-utils/dist/chunk-KTEV5PS3.js 170 B 0 B
packages/cosmwasm-utils/dist/client 182 B 0 B
packages/cosmwasm-utils/dist/client/index.d.ts 0 B 0 B 🆕
packages/cosmwasm-utils/dist/client/index.js 81 B 0 B
packages/cosmwasm-utils/dist/index.d.ts 77 B 0 B
packages/cosmwasm-utils/dist/index.js 109 B 0 B
packages/cosmwasm-utils/dist/query 478 B 0 B
packages/cosmwasm-utils/dist/query/index.d.ts 245 B 0 B
packages/cosmwasm-utils/dist/query/index.js 264 B 0 B
packages/provider-cosmoskit/dist 2.33 kB 0 B
packages/provider-cosmoskit/dist/index.d.ts 0 B 0 B 🆕
packages/provider-cosmoskit/dist/index.js 553 B 0 B
packages/provider-graz/dist 278 B 0 B
packages/provider-graz/dist/index.d.ts 3.31 kB 0 B
packages/provider-graz/dist/index.js 2.22 kB 0 B
packages/react/dist 2.27 kB 0 B
packages/react/dist/chunk-MXPLQMVL.js 0 B 0 B 🆕
packages/react/dist/hooks 0 B 0 B 🆕
packages/react/dist/hooks/index.d.ts 0 B 0 B 🆕
packages/react/dist/hooks/index.js 0 B 0 B 🆕
packages/react/dist/index-3SDQ-qo_.d.ts 0 B 0 B 🆕
packages/react/dist/index.d.ts 0 B 0 B 🆕
packages/react/dist/index.js 0 B 0 B 🆕

compressed-size-action

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.

1 participant