react-apollo
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,7 @@ # Change log | ||
### vNext | ||
### 1.0.2 | ||
- Exposed `createBatchingNetworkInterface` from apollo-client so that it can be imported from react-apollo just like `createNetworkInterface`. [PR #618](https://github.com/apollographql/react-apollo/pull/618) | ||
### 1.0.1 | ||
@@ -7,0 +12,0 @@ - Fix: Make sure recycled queries are in cache only mode so they do not trigger network requests. [PR #531](https://github.com/apollographql/react-apollo/pull/531) |
@@ -66,3 +66,2 @@ "use strict"; | ||
exports.default = ApolloProvider; | ||
; | ||
//# sourceMappingURL=ApolloProvider.js.map |
export { default as ApolloProvider } from './ApolloProvider'; | ||
export { default as graphql, withApollo, InjectedGraphQLProps } from './graphql'; | ||
export { compose } from 'redux'; | ||
export { default as ApolloClient, createNetworkInterface } from 'apollo-client'; | ||
export { default as ApolloClient, createNetworkInterface, createBatchingNetworkInterface } from 'apollo-client'; | ||
export { default as gql } from 'graphql-tag'; |
@@ -13,4 +13,5 @@ "use strict"; | ||
exports.createNetworkInterface = apollo_client_1.createNetworkInterface; | ||
exports.createBatchingNetworkInterface = apollo_client_1.createBatchingNetworkInterface; | ||
var graphql_tag_1 = require("graphql-tag"); | ||
exports.gql = graphql_tag_1.default; | ||
//# sourceMappingURL=browser.js.map |
@@ -77,3 +77,2 @@ "use strict"; | ||
exports.withApollo = withApollo; | ||
; | ||
function graphql(document, operationOptions) { | ||
@@ -140,3 +139,2 @@ if (operationOptions === void 0) { operationOptions = {}; } | ||
} | ||
; | ||
if (this.type === parser_1.DocumentType.Subscription | ||
@@ -205,3 +203,2 @@ && operationOptions.shouldResubscribe | ||
}; | ||
; | ||
GraphQL.prototype.calculateResultProps = function (result) { | ||
@@ -402,3 +399,2 @@ var name = this.type === parser_1.DocumentType.Mutation ? 'mutate' : 'data'; | ||
exports.default = graphql; | ||
; | ||
var ObservableQueryRecycler = (function () { | ||
@@ -405,0 +401,0 @@ function ObservableQueryRecycler() { |
export * from './browser'; | ||
export { getDataFromTree, renderToStringWithData } from './server'; | ||
export { default as ApolloClient, createNetworkInterface } from 'apollo-client'; | ||
export { default as ApolloClient, createNetworkInterface, createBatchingNetworkInterface } from 'apollo-client'; | ||
export { default as gql } from 'graphql-tag'; |
@@ -13,4 +13,5 @@ "use strict"; | ||
exports.createNetworkInterface = apollo_client_1.createNetworkInterface; | ||
exports.createBatchingNetworkInterface = apollo_client_1.createBatchingNetworkInterface; | ||
var graphql_tag_1 = require("graphql-tag"); | ||
exports.gql = graphql_tag_1.default; | ||
//# sourceMappingURL=index.js.map |
@@ -169,3 +169,2 @@ "use strict"; | ||
}; | ||
; | ||
MockSubscriptionNetworkInterface.prototype.fireResult = function (id) { | ||
@@ -172,0 +171,0 @@ var handler = this.handlersById[id]; |
{ | ||
"name": "react-apollo", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "React data container for Apollo Client", | ||
@@ -69,3 +69,3 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"react": "0.14.x || 15.* || ^15.0.0", | ||
"react": "15.5.0", | ||
"redux": "^2.0.0 || ^3.0.0" | ||
@@ -112,9 +112,9 @@ }, | ||
"pretty-bytes": "^4.0.2", | ||
"react": "15.4.2", | ||
"react-addons-test-utils": "15.4.2", | ||
"react-dom": "15.4.2", | ||
"react": "^15.5.4", | ||
"react-addons-test-utils": "^15.5.1", | ||
"react-dom": "^15.5.4", | ||
"react-native": "^0.42.0", | ||
"react-redux": "^5.0.3", | ||
"react-test-renderer": "15.4.2", | ||
"recompose": "^0.22.0", | ||
"react-test-renderer": "^15.5.4", | ||
"recompose": "^0.23.0", | ||
"redux": "^3.5.2", | ||
@@ -127,3 +127,3 @@ "redux-form": "^6.0.5", | ||
"travis-weigh-in": "^1.0.2", | ||
"tslint": "^4.4.2", | ||
"tslint": "^5.1.0", | ||
"typescript": "^2.2.0", | ||
@@ -130,0 +130,0 @@ "typescript-require": "^0.2.9-1", |
@@ -9,3 +9,3 @@ export { default as ApolloProvider } from './ApolloProvider'; | ||
// re-exports of close dependencies. | ||
export { default as ApolloClient, createNetworkInterface } from 'apollo-client'; | ||
export { default as gql } from 'graphql-tag' | ||
export { default as ApolloClient, createNetworkInterface, createBatchingNetworkInterface } from 'apollo-client'; | ||
export { default as gql } from 'graphql-tag'; |
@@ -5,3 +5,3 @@ export * from './browser'; | ||
export { default as ApolloClient, createNetworkInterface } from 'apollo-client'; | ||
export { default as gql } from 'graphql-tag' | ||
export { default as ApolloClient, createNetworkInterface, createBatchingNetworkInterface } from 'apollo-client'; | ||
export { default as gql } from 'graphql-tag'; |
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
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
341934
6351