@apollo/client 3.8.0-rc.0 → 3.8.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apollo-client.cjs +1 -1
- package/apollo-client.cjs.map +1 -1
- package/apollo-client.min.cjs +1 -1
- package/core/core.cjs +1 -1
- package/core/core.cjs.map +1 -1
- package/core/core.cjs.native.js +1 -1
- package/dev/dev.cjs +1 -1
- package/dev/dev.cjs.map +1 -1
- package/dev/dev.cjs.native.js +1 -1
- package/package.json +1 -1
- package/utilities/globals/globals.cjs +1 -1
- package/utilities/globals/globals.cjs.map +1 -1
- package/utilities/globals/globals.cjs.native.js +1 -1
- package/utilities/graphql/operations.d.ts.map +1 -1
- package/utilities/graphql/operations.js +3 -4
- package/utilities/graphql/operations.js.map +1 -1
- package/utilities/utilities.cjs +3 -3
- package/utilities/utilities.cjs.map +1 -1
- package/utilities/utilities.cjs.native.js +3 -3
- package/version.js +1 -1
|
@@ -880,13 +880,13 @@ function isOperation(document, operation) {
|
|
|
880
880
|
return ((_a = getOperationDefinition(document)) === null || _a === void 0 ? void 0 : _a.operation) === operation;
|
|
881
881
|
}
|
|
882
882
|
function isMutationOperation(document) {
|
|
883
|
-
return isOperation(document,
|
|
883
|
+
return isOperation(document, 'mutation');
|
|
884
884
|
}
|
|
885
885
|
function isQueryOperation(document) {
|
|
886
|
-
return isOperation(document,
|
|
886
|
+
return isOperation(document, 'query');
|
|
887
887
|
}
|
|
888
888
|
function isSubscriptionOperation(document) {
|
|
889
|
-
return isOperation(document,
|
|
889
|
+
return isOperation(document, 'subscription');
|
|
890
890
|
}
|
|
891
891
|
|
|
892
892
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
package/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var version = '3.8.0-rc.
|
|
1
|
+
export var version = '3.8.0-rc.1';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|