@shopify/react-graphql
Advanced tools
Comparing version 10.0.0 to 10.0.1
import React from 'react'; | ||
import { ApolloClient } from '@apollo/client'; | ||
import type { ApolloClient } from '@apollo/client'; | ||
export interface Props<CacheShape> { | ||
@@ -4,0 +4,0 @@ readonly client: ApolloClient<CacheShape>; |
import type { AsyncQueryComponentType } from '../types'; | ||
import { Options } from './query'; | ||
import type { Options } from './query'; | ||
export declare function createAsyncQueryComponent<Data extends {}, Variables extends {}, DeepPartial extends {}>(options: Options<Data, Variables, DeepPartial>): AsyncQueryComponentType<Data, Variables, DeepPartial>; | ||
//# sourceMappingURL=component.d.ts.map |
import type { DocumentNode } from 'graphql-typed'; | ||
import { ResolverOptions } from '@shopify/async'; | ||
import type { ResolverOptions } from '@shopify/async'; | ||
import type { AsyncDocumentNode } from '../types'; | ||
@@ -4,0 +4,0 @@ export interface Options<Data, Variables, DeepPartial> extends ResolverOptions<DocumentNode<Data, Variables, DeepPartial>> { |
@@ -1,2 +0,2 @@ | ||
import { OperationVariables } from '@apollo/client'; | ||
import type { OperationVariables } from '@apollo/client'; | ||
import type { DocumentNode } from 'graphql-typed'; | ||
@@ -3,0 +3,0 @@ import type { IfAllNullableKeys, NoInfer } from '@shopify/useful-types'; |
@@ -1,2 +0,3 @@ | ||
import { ApolloLink, Operation, NextLink } from '@apollo/client'; | ||
import type { Operation, NextLink } from '@apollo/client'; | ||
import { ApolloLink } from '@apollo/client'; | ||
export declare function createSsrExtractableLink(): SsrExtractableLink; | ||
@@ -3,0 +4,0 @@ export declare class SsrExtractableLink extends ApolloLink { |
/// <reference types="react" /> | ||
import type { OperationVariables } from '@apollo/client'; | ||
import type { DocumentNode } from 'graphql-typed'; | ||
import { QueryHookResult, QueryHookOptions } from './hooks'; | ||
import type { QueryHookResult, QueryHookOptions } from './hooks'; | ||
interface QueryComponentOptions<Data, Variables> extends QueryHookOptions { | ||
@@ -6,0 +6,0 @@ children: (result: QueryHookResult<Data, Variables>) => JSX.Element | null; |
{ | ||
"name": "@shopify/react-graphql", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"license": "MIT", | ||
@@ -28,13 +28,13 @@ "description": "Tools for creating type-safe and asynchronous GraphQL components for React", | ||
"@apollo/client": "^3.5.8", | ||
"@shopify/async": "^4.0.2", | ||
"@shopify/react-async": "^5.2.1", | ||
"@shopify/async": "^4.0.3", | ||
"@shopify/react-async": "^5.2.2", | ||
"@shopify/react-effect": "^5.0.3", | ||
"@shopify/react-hooks": "^3.0.3", | ||
"@shopify/react-idle": "^3.1.1", | ||
"@shopify/useful-types": "^5.1.1", | ||
"graphql-typed": "^2.0.1", | ||
"@shopify/react-hooks": "^3.0.4", | ||
"@shopify/react-idle": "^3.1.2", | ||
"@shopify/useful-types": "^5.1.2", | ||
"graphql-typed": "^2.0.2", | ||
"fast-deep-equal": "^3.1.3" | ||
}, | ||
"devDependencies": { | ||
"@shopify/react-testing": "^5.1.1" | ||
"@shopify/react-testing": "^5.1.2" | ||
}, | ||
@@ -41,0 +41,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88819
1223
Updated@shopify/async@^4.0.3
Updated@shopify/react-async@^5.2.2
Updated@shopify/react-hooks@^3.0.4
Updated@shopify/react-idle@^3.1.2
Updated@shopify/useful-types@^5.1.2
Updatedgraphql-typed@^2.0.2