@dereekb/rxjs 13.11.10 → 13.11.11
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +2 -2
package/index.cjs.js
CHANGED
|
@@ -858,7 +858,7 @@ function switchMapOnBoolean(switchOnValue, obs, otherwise) {
|
|
|
858
858
|
if (x === switchOnValue) {
|
|
859
859
|
return asObservableFromGetter(obs);
|
|
860
860
|
}
|
|
861
|
-
return otherwise
|
|
861
|
+
return otherwise == null ? rxjs.EMPTY : asObservableFromGetter(otherwise);
|
|
862
862
|
});
|
|
863
863
|
}
|
|
864
864
|
/**
|
package/index.esm.js
CHANGED
|
@@ -856,7 +856,7 @@ function switchMapOnBoolean(switchOnValue, obs, otherwise) {
|
|
|
856
856
|
if (x === switchOnValue) {
|
|
857
857
|
return asObservableFromGetter(obs);
|
|
858
858
|
}
|
|
859
|
-
return otherwise
|
|
859
|
+
return otherwise == null ? EMPTY : asObservableFromGetter(otherwise);
|
|
860
860
|
});
|
|
861
861
|
}
|
|
862
862
|
/**
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/rxjs",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.11",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"rxjs": "^7.8.2",
|
|
7
|
-
"@dereekb/util": "13.11.
|
|
7
|
+
"@dereekb/util": "13.11.11"
|
|
8
8
|
},
|
|
9
9
|
"exports": {
|
|
10
10
|
"./package.json": "./package.json",
|