@colijnit/mainapi 1.0.35 → 1.0.36
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/build/main-api.js +1 -1
- package/package.json +3 -3
package/build/main-api.js
CHANGED
|
@@ -207,7 +207,7 @@ class MainApi {
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
static createConnector(isPublicSession, sessionExists) {
|
|
210
|
-
if (isPublicSession || sessionExists) {
|
|
210
|
+
if (!isPublicSession || sessionExists) {
|
|
211
211
|
return new main_auth_1.MainAuth();
|
|
212
212
|
}
|
|
213
213
|
return new main_public_1.MainPublic();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/mainapi",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.36",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "grunt clean && tsc",
|
|
6
6
|
"browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"rxjs": "6.6.3"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@colijnit/ioneconnector": ">=3.1.
|
|
27
|
+
"@colijnit/ioneconnector": ">=3.1.23"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/jest": "^24.0.13",
|
|
31
|
-
"@colijnit/ioneconnector": "3.1.
|
|
31
|
+
"@colijnit/ioneconnector": "3.1.23",
|
|
32
32
|
"grunt": "^1.0.3",
|
|
33
33
|
"grunt-clean": "^0.4.0",
|
|
34
34
|
"grunt-contrib-clean": "^1.1.0",
|