@apollo-elements/mixins
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -154,9 +154,9 @@ import { ApolloElementMixin } from './apollo-element-mixin.js'; | ||
* | ||
* @param {{document: DocumentNode, updateQuery: Function}=} options | ||
* @param {{document: DocumentNode, updateQuery: Function, variables: Object, onError: Function}=} options | ||
* @return {function(): void} | ||
*/ | ||
subscribeToMore({ document, updateQuery } = {}) { | ||
subscribeToMore(options) { | ||
return ( | ||
this.observableQuery && | ||
this.observableQuery.subscribeToMore({ document, updateQuery }) | ||
this.observableQuery.subscribeToMore(options) | ||
); | ||
@@ -163,0 +163,0 @@ } |
# CHANGELOG | ||
## 0.0.3 | ||
- Fixes a bug in `ApolloQuery#subscribeToMore`. We now pass the arguments as is to `ObservableQuery#subscribeToMore` | ||
## 0.0.2 | ||
@@ -4,0 +7,0 @@ - Updates README |
{ | ||
"name": "@apollo-elements/mixins", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "👩🚀🌛 Custom Element class mixins for Apollo GraphQL 🚀👨🚀", | ||
@@ -37,3 +37,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "79d171cdc9934d717605e2844a09887b6337b083" | ||
"gitHead": "4434456eb1033edf952960d59befd00f739f786a" | ||
} |
260853