@squidcloud/client 1.0.111 → 1.0.112
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/dist/cjs/index.js +1 -6
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -31967,12 +31967,7 @@ class QueryBuilder extends BaseQueryBuilder {
|
|
|
31967
31967
|
const query = this.build();
|
|
31968
31968
|
return this.querySubscriptionManager
|
|
31969
31969
|
.processQuery(query, this.collectionName, {}, {}, subscribe, this.forceFetchFromServer)
|
|
31970
|
-
.pipe((
|
|
31971
|
-
if (err.name === 'TimeoutError') {
|
|
31972
|
-
return (0,external_rxjs_namespaceObject.throwError)(() => Error(`Error while waiting for query response, collection: ${this.collectionName}, query: ${JSON.stringify(query)}, error: ${err}`));
|
|
31973
|
-
}
|
|
31974
|
-
return (0,external_rxjs_namespaceObject.throwError)(() => err);
|
|
31975
|
-
}), map_map((docs) => {
|
|
31970
|
+
.pipe(map_map((docs) => {
|
|
31976
31971
|
return docs.map((docRecord) => {
|
|
31977
31972
|
assert_assertTruthy(Object.keys(docRecord).length === 1);
|
|
31978
31973
|
const doc = docRecord[this.collectionName];
|