@proscom/prostore-apollo-react
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -23,3 +23,6 @@ "use strict"; | ||
const apolloClientsContext = react_1.useContext(exports.ApolloClientsContext); | ||
if (typeof clientOrName === 'string') { | ||
if (!clientOrName) { | ||
return apolloClientsContext.getClient(); | ||
} | ||
else if (typeof clientOrName === 'string') { | ||
return apolloClientsContext.getClient(clientOrName); | ||
@@ -26,0 +29,0 @@ } |
{ | ||
"name": "@proscom/prostore-apollo-react", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "> TODO: description", | ||
@@ -18,9 +18,14 @@ "author": "Andrew Starostin <a.starostin@proscom.ru>", | ||
"scripts": { | ||
"tsc": "tsc", | ||
"build": "tsc", | ||
"watch": "tsc --watch --preserveWatchOutput", | ||
"watch-push": "nodemon --config yalc-push.nodemon.json", | ||
"watch-build-push": "concurrently \"npm run watch\" \"npm run watch-push\"", | ||
"yalc-publish": "yalc publish", | ||
"yalc-push": "yalc push", | ||
"test": "echo \"Error: run tests from root\" && exit 1" | ||
}, | ||
"dependencies": { | ||
"@proscom/prostore": "^0.0.2", | ||
"@proscom/prostore-apollo": "^0.0.2", | ||
"@proscom/prostore-react": "^0.0.2" | ||
"@proscom/prostore": "^0.0.3", | ||
"@proscom/prostore-apollo": "^0.0.3", | ||
"@proscom/prostore-react": "^0.0.3" | ||
}, | ||
@@ -37,3 +42,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "c48c3142405b42019c0dc23a40b3c4da82bb3604" | ||
"gitHead": "dead0fc8c7ff0e78af7740eee6f424f0e0bff430" | ||
} |
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
12143
14
162
+ Added@proscom/prostore@0.0.3(transitive)
+ Added@proscom/prostore-apollo@0.0.3(transitive)
+ Added@proscom/prostore-react@0.0.3(transitive)
- Removed@proscom/prostore@0.0.2(transitive)
- Removed@proscom/prostore-apollo@0.0.2(transitive)
- Removed@proscom/prostore-react@0.0.2(transitive)
Updated@proscom/prostore@^0.0.3