@apollo/react-hoc
Advanced tools
Comparing version 0.1.0-beta.2 to 0.1.0-beta.3
@@ -6,2 +6,4 @@ export { graphql } from './graphql'; | ||
export { withApollo } from './withApollo'; | ||
export { ApolloProvider, ApolloConsumer, getApolloContext, resetApolloContext } from '@apollo/react-common'; | ||
export { getMarkupFromTree, getDataFromTree, renderToStringWithData } from '@apollo/react-components'; | ||
export * from './types'; |
@@ -6,2 +6,4 @@ export { graphql } from './graphql'; | ||
export { withApollo } from './withApollo'; | ||
export { ApolloProvider, ApolloConsumer, getApolloContext, resetApolloContext } from '@apollo/react-common'; | ||
export { getMarkupFromTree, getDataFromTree, renderToStringWithData } from '@apollo/react-components'; | ||
//# sourceMappingURL=index.js.map |
@@ -292,2 +292,44 @@ 'use strict'; | ||
Object.defineProperty(exports, 'ApolloConsumer', { | ||
enumerable: true, | ||
get: function () { | ||
return reactCommon.ApolloConsumer; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'ApolloProvider', { | ||
enumerable: true, | ||
get: function () { | ||
return reactCommon.ApolloProvider; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'getApolloContext', { | ||
enumerable: true, | ||
get: function () { | ||
return reactCommon.getApolloContext; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'resetApolloContext', { | ||
enumerable: true, | ||
get: function () { | ||
return reactCommon.resetApolloContext; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'getDataFromTree', { | ||
enumerable: true, | ||
get: function () { | ||
return reactComponents.getDataFromTree; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'getMarkupFromTree', { | ||
enumerable: true, | ||
get: function () { | ||
return reactComponents.getMarkupFromTree; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'renderToStringWithData', { | ||
enumerable: true, | ||
get: function () { | ||
return reactComponents.renderToStringWithData; | ||
} | ||
}); | ||
exports.graphql = graphql; | ||
@@ -294,0 +336,0 @@ exports.withApollo = withApollo; |
import { parser, DocumentType, ApolloConsumer } from '@apollo/react-common'; | ||
export { ApolloConsumer, ApolloProvider, getApolloContext, resetApolloContext } from '@apollo/react-common'; | ||
import { __extends, __assign, __rest } from 'tslib'; | ||
@@ -6,2 +7,3 @@ import React from 'react'; | ||
import { Query, Mutation, Subscription } from '@apollo/react-components'; | ||
export { getDataFromTree, getMarkupFromTree, renderToStringWithData } from '@apollo/react-components'; | ||
import { invariant } from 'ts-invariant'; | ||
@@ -8,0 +10,0 @@ |
@@ -288,2 +288,44 @@ (function (global, factory) { | ||
Object.defineProperty(exports, 'ApolloConsumer', { | ||
enumerable: true, | ||
get: function () { | ||
return reactCommon.ApolloConsumer; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'ApolloProvider', { | ||
enumerable: true, | ||
get: function () { | ||
return reactCommon.ApolloProvider; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'getApolloContext', { | ||
enumerable: true, | ||
get: function () { | ||
return reactCommon.getApolloContext; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'resetApolloContext', { | ||
enumerable: true, | ||
get: function () { | ||
return reactCommon.resetApolloContext; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'getDataFromTree', { | ||
enumerable: true, | ||
get: function () { | ||
return reactComponents.getDataFromTree; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'getMarkupFromTree', { | ||
enumerable: true, | ||
get: function () { | ||
return reactComponents.getMarkupFromTree; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'renderToStringWithData', { | ||
enumerable: true, | ||
get: function () { | ||
return reactComponents.renderToStringWithData; | ||
} | ||
}); | ||
exports.graphql = graphql; | ||
@@ -290,0 +332,0 @@ exports.withApollo = withApollo; |
{ | ||
"name": "@apollo/react-hoc", | ||
"description": "React Apollo `graphql` higher-order component.", | ||
"version": "0.1.0-beta.2", | ||
"version": "0.1.0-beta.3", | ||
"author": "opensource@apollographql.com", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"@apollo/react-common": "^0.1.0-beta.5", | ||
"@apollo/react-components": "^0.1.0-beta.2", | ||
"@apollo/react-components": "^0.1.0-beta.3", | ||
"ts-invariant": "^0.4.2", | ||
@@ -49,3 +49,3 @@ "tslib": "^1.9.3" | ||
}, | ||
"gitHead": "5c3632c2db18a93173c00933fd1ad6cc88da8ed2" | ||
"gitHead": "15dea607a6caf71c0902c788fba43b323aabe12f" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
108132
1333
0