@ethlete/query 0.1.0-next.25 → 0.1.0-next.26
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/esm2020/lib/query-client/query-client.mjs +3 -3
- package/esm2020/lib/query-client/query-client.types.mjs +1 -1
- package/fesm2015/ethlete-query.mjs +4 -2
- package/fesm2015/ethlete-query.mjs.map +1 -1
- package/fesm2020/ethlete-query.mjs +2 -2
- package/fesm2020/ethlete-query.mjs.map +1 -1
- package/lib/query-client/query-client.types.d.ts +6 -0
- package/package.json +2 -3
|
@@ -1413,10 +1413,10 @@ class QueryClient {
|
|
|
1413
1413
|
return this._clientConfig;
|
|
1414
1414
|
}
|
|
1415
1415
|
get authProvider() {
|
|
1416
|
-
return this._authProvider$.getValue();
|
|
1416
|
+
return this._authProvider$.getValue() ?? this._clientConfig.parent?._authProvider$.getValue() ?? null;
|
|
1417
1417
|
}
|
|
1418
1418
|
get authProvider$() {
|
|
1419
|
-
return this._authProvider$.asObservable();
|
|
1419
|
+
return this._authProvider$.asObservable() ?? this._clientConfig.parent?._authProvider$.asObservable() ?? null;
|
|
1420
1420
|
}
|
|
1421
1421
|
constructor(_clientConfig) {
|
|
1422
1422
|
this._clientConfig = _clientConfig;
|