@colijnit/articleapi 1.0.36 → 1.0.38
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/articles.js +1 -1
- package/package.json +5 -5
package/build/articles.js
CHANGED
|
@@ -282,7 +282,7 @@ export class Articles {
|
|
|
282
282
|
}));
|
|
283
283
|
}
|
|
284
284
|
static createConnector(isPublicSession, sessionExists) {
|
|
285
|
-
if (isPublicSession || sessionExists) {
|
|
285
|
+
if (!isPublicSession || sessionExists) {
|
|
286
286
|
return new ArticlesAuth();
|
|
287
287
|
}
|
|
288
288
|
return new ArticlesPublic();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/articleapi",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.38",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "grunt clean && tsc",
|
|
6
6
|
"browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"rxjs": "6.6.3"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@colijnit/ioneconnector": ">=3.1.
|
|
27
|
-
"@colijnit/mainapi": ">=1.0.
|
|
26
|
+
"@colijnit/ioneconnector": ">=3.1.23",
|
|
27
|
+
"@colijnit/mainapi": ">=1.0.36"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@colijnit/ioneconnector": "3.1.
|
|
31
|
-
"@colijnit/mainapi": "1.0.
|
|
30
|
+
"@colijnit/ioneconnector": "3.1.23",
|
|
31
|
+
"@colijnit/mainapi": "1.0.36",
|
|
32
32
|
"@types/jest": "^24.0.13",
|
|
33
33
|
"grunt": "^1.0.3",
|
|
34
34
|
"grunt-clean": "^0.4.0",
|