@apollo/client 3.8.0-rc.2 → 3.8.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 +20 -21
- 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/link/http/http.cjs +25 -6
- package/link/http/http.cjs.map +1 -1
- package/link/http/http.cjs.native.js +25 -6
- package/link/http/responseIterator.d.ts.map +1 -1
- package/link/http/responseIterator.js +20 -1
- package/link/http/responseIterator.js.map +1 -1
- package/package.json +12 -12
- 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/index.d.ts +0 -1
- package/utilities/index.d.ts.map +1 -1
- package/utilities/index.js +0 -1
- package/utilities/index.js.map +1 -1
- package/utilities/utilities.cjs +0 -26
- package/utilities/utilities.cjs.map +1 -1
- package/utilities/utilities.cjs.native.js +0 -26
- package/version.js +1 -1
- package/utilities/common/responseIterator.d.ts +0 -10
- package/utilities/common/responseIterator.d.ts.map +0 -1
- package/utilities/common/responseIterator.js +0 -21
- package/utilities/common/responseIterator.js.map +0 -1
package/apollo-client.cjs
CHANGED
|
@@ -31,7 +31,7 @@ function _interopNamespace(e) {
|
|
|
31
31
|
var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
|
|
32
32
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
33
33
|
|
|
34
|
-
var version = '3.8.
|
|
34
|
+
var version = '3.8.1';
|
|
35
35
|
|
|
36
36
|
function maybe(thunk) {
|
|
37
37
|
try {
|
|
@@ -1332,26 +1332,6 @@ function mergeOptions(defaults, options) {
|
|
|
1332
1332
|
});
|
|
1333
1333
|
}
|
|
1334
1334
|
|
|
1335
|
-
function isNodeResponse(value) {
|
|
1336
|
-
return !!value.body;
|
|
1337
|
-
}
|
|
1338
|
-
function isReadableStream(value) {
|
|
1339
|
-
return !!value.getReader;
|
|
1340
|
-
}
|
|
1341
|
-
function isAsyncIterableIterator(value) {
|
|
1342
|
-
return !!(canUseAsyncIteratorSymbol &&
|
|
1343
|
-
value[Symbol.asyncIterator]);
|
|
1344
|
-
}
|
|
1345
|
-
function isStreamableBlob(value) {
|
|
1346
|
-
return !!value.stream;
|
|
1347
|
-
}
|
|
1348
|
-
function isBlob(value) {
|
|
1349
|
-
return !!value.arrayBuffer;
|
|
1350
|
-
}
|
|
1351
|
-
function isNodeReadableStream(value) {
|
|
1352
|
-
return !!value.pipe;
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
1335
|
function fromError(errorValue) {
|
|
1356
1336
|
return new zenObservableTs.Observable(function (observer) {
|
|
1357
1337
|
observer.error(errorValue);
|
|
@@ -1689,6 +1669,25 @@ function readerIterator(reader) {
|
|
|
1689
1669
|
return iterator;
|
|
1690
1670
|
}
|
|
1691
1671
|
|
|
1672
|
+
function isNodeResponse(value) {
|
|
1673
|
+
return !!value.body;
|
|
1674
|
+
}
|
|
1675
|
+
function isReadableStream(value) {
|
|
1676
|
+
return !!value.getReader;
|
|
1677
|
+
}
|
|
1678
|
+
function isAsyncIterableIterator(value) {
|
|
1679
|
+
return !!(canUseAsyncIteratorSymbol &&
|
|
1680
|
+
value[Symbol.asyncIterator]);
|
|
1681
|
+
}
|
|
1682
|
+
function isStreamableBlob(value) {
|
|
1683
|
+
return !!value.stream;
|
|
1684
|
+
}
|
|
1685
|
+
function isBlob(value) {
|
|
1686
|
+
return !!value.arrayBuffer;
|
|
1687
|
+
}
|
|
1688
|
+
function isNodeReadableStream(value) {
|
|
1689
|
+
return !!value.pipe;
|
|
1690
|
+
}
|
|
1692
1691
|
function responseIterator(response) {
|
|
1693
1692
|
var body = response;
|
|
1694
1693
|
if (isNodeResponse(response))
|