+6
.changeset/fluffy-tools-marry.md
+6
.changeset/fluffy-tools-marry.md
···+Remove dependence on `graphql` package and replace it with `@0no-co/graphql.web`, which reduces the default bundlesize impact of `urql` packages to a minimum. All types should remain compatible, even if you use `graphql` elsewhere in your app, and if other dependencies are using `graphql` you may alias it to `graphql-web-lite`.
+5
.changeset/tame-pumas-promise.md
+5
.changeset/tame-pumas-promise.md
-3
exchanges/auth/package.json
-3
exchanges/auth/package.json
+3
-5
exchanges/auth/src/authExchange.ts
+3
-5
exchanges/auth/src/authExchange.ts
·········
-3
exchanges/context/package.json
-3
exchanges/context/package.json
+1
-3
exchanges/graphcache/package.json
+1
-3
exchanges/graphcache/package.json
···
+55
exchanges/graphcache/src/ast/graphql.ts
+55
exchanges/graphcache/src/ast/graphql.ts
···
+1
-1
exchanges/graphcache/src/ast/node.ts
+1
-1
exchanges/graphcache/src/ast/node.ts
+5
-6
exchanges/graphcache/src/ast/schema.ts
+5
-6
exchanges/graphcache/src/ast/schema.ts
·········
+4
-1
exchanges/graphcache/src/ast/schemaPredicates.ts
+4
-1
exchanges/graphcache/src/ast/schemaPredicates.ts
+1
-1
exchanges/graphcache/src/ast/traversal.ts
+1
-1
exchanges/graphcache/src/ast/traversal.ts
+1
-1
exchanges/graphcache/src/ast/variables.ts
+1
-1
exchanges/graphcache/src/ast/variables.ts
+5
-1
exchanges/graphcache/src/helpers/help.ts
+5
-1
exchanges/graphcache/src/helpers/help.ts
···
+1
-1
exchanges/graphcache/src/offlineExchange.ts
+1
-1
exchanges/graphcache/src/offlineExchange.ts
+6
-1
exchanges/graphcache/src/operations/query.ts
+6
-1
exchanges/graphcache/src/operations/query.ts
+6
-1
exchanges/graphcache/src/operations/write.ts
+6
-1
exchanges/graphcache/src/operations/write.ts
+1
-1
exchanges/graphcache/src/store/store.ts
+1
-1
exchanges/graphcache/src/store/store.ts
······
+15
-8
exchanges/graphcache/src/types.ts
+15
-8
exchanges/graphcache/src/types.ts
·····················
-3
exchanges/multipart-fetch/package.json
-3
exchanges/multipart-fetch/package.json
-3
exchanges/persisted/package.json
-3
exchanges/persisted/package.json
+5
-3
exchanges/persisted/src/persistedExchange.ts
+5
-3
exchanges/persisted/src/persistedExchange.ts
······
-3
exchanges/refocus/package.json
-3
exchanges/refocus/package.json
-3
exchanges/request-policy/package.json
-3
exchanges/request-policy/package.json
-3
exchanges/retry/package.json
-3
exchanges/retry/package.json
+1
package.json
+1
package.json
+1
-6
packages/core/package.json
+1
-6
packages/core/package.json
···
+1
-1
packages/core/src/client.test.ts
+1
-1
packages/core/src/client.test.ts
+5
-7
packages/core/src/client.ts
+5
-7
packages/core/src/client.ts
···············
+1
-1
packages/core/src/exchanges/ssr.ts
+1
-1
packages/core/src/exchanges/ssr.ts
+1
-1
packages/core/src/gql.test.ts
+1
-1
packages/core/src/gql.test.ts
+2
-1
packages/core/src/gql.ts
+2
-1
packages/core/src/gql.ts
···
+19
-9
packages/core/src/types.ts
+19
-9
packages/core/src/types.ts
······* @see {@link https://github.com/dotansimha/graphql-typed-document-node} for more information.···* @see {@link https://spec.graphql.org/draft/#sec-Errors.Error-Result-Format} for the GraphQL Error Result format spec.* @see {@link https://spec.graphql.org/draft/#sel-EAPHJCAACCoGu9J} for the GraphQL Error Result format spec.······
+3
-2
packages/core/src/utils/error.ts
+3
-2
packages/core/src/utils/error.ts
······
+16
packages/core/src/utils/graphql.ts
+16
packages/core/src/utils/graphql.ts
···
+1
-1
packages/core/src/utils/request.test.ts
+1
-1
packages/core/src/utils/request.test.ts
···
+8
-18
packages/core/src/utils/request.ts
+8
-18
packages/core/src/utils/request.ts
············
+1
-1
packages/core/src/utils/typenames.test.ts
+1
-1
packages/core/src/utils/typenames.test.ts
+48
-36
packages/core/src/utils/typenames.ts
+48
-36
packages/core/src/utils/typenames.ts
·········* @see {@link https://spec.graphql.org/October2021/#sec-Type-Name-Introspection} for more information···
-1
packages/preact-urql/package.json
-1
packages/preact-urql/package.json
+2
-3
packages/preact-urql/src/components/Mutation.ts
+2
-3
packages/preact-urql/src/components/Mutation.ts
······
+2
-5
packages/preact-urql/src/hooks/useMutation.ts
+2
-5
packages/preact-urql/src/hooks/useMutation.ts
······
-1
packages/react-urql/package.json
-1
packages/react-urql/package.json
+2
-3
packages/react-urql/src/components/Mutation.ts
+2
-3
packages/react-urql/src/components/Mutation.ts
······
+2
-5
packages/react-urql/src/hooks/useMutation.ts
+2
-5
packages/react-urql/src/hooks/useMutation.ts
······
+2
-3
packages/react-urql/src/hooks/useRequest.ts
+2
-3
packages/react-urql/src/hooks/useRequest.ts
······
-1
packages/svelte-urql/package.json
-1
packages/svelte-urql/package.json
-1
packages/vue-urql/package.json
-1
packages/vue-urql/package.json
+25
-4
pnpm-lock.yaml
+25
-4
pnpm-lock.yaml
··················+resolution: {integrity: sha512-JBq2pWyDchE1vVjj/+c4dzZ8stbpew4RrzpZ3vYdn1WJFGHfYg6YIX1fDdMKtSXJJM9FUlsoDOxemr9WMM2p+A==}+resolution: {integrity: sha512-JBq2pWyDchE1vVjj/+c4dzZ8stbpew4RrzpZ3vYdn1WJFGHfYg6YIX1fDdMKtSXJJM9FUlsoDOxemr9WMM2p+A==}resolution: {integrity: sha512-Vv4y0EW0ptEkU+Pjs5RGS/0EryTvI6s79LjSV9Gg/h+O3H/ddpjhuX/Bi/HZE4pbNPyjGtQjbdFWphkZhmgabA==}···resolution: {integrity: sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==}
+4
-1
scripts/rollup/cleanup-plugin.mjs
+4
-1
scripts/rollup/cleanup-plugin.mjs
······