@arsedizioni/ars-utils 20.3.21 → 20.3.23
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/clipper.common/index.d.ts +1 -1
- package/evolution.common/index.d.ts +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +2 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +2 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/package.json +9 -9
|
@@ -1085,7 +1085,7 @@ declare class ClipperService implements OnDestroy {
|
|
|
1085
1085
|
* @param flags: the optional login flags
|
|
1086
1086
|
* @returns: the login result
|
|
1087
1087
|
*/
|
|
1088
|
-
login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined, flags?: ClipperLoginFlags): rxjs.Observable<ApiResult<ClipperLoginResult>>;
|
|
1088
|
+
login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined, flags?: ClipperLoginFlags | undefined): rxjs.Observable<ApiResult<ClipperLoginResult>>;
|
|
1089
1089
|
/**
|
|
1090
1090
|
* Complete login
|
|
1091
1091
|
* @param result : the login result
|
|
@@ -800,7 +800,7 @@ declare class EvolutionService implements OnDestroy {
|
|
|
800
800
|
* @param flags: the optional login flags
|
|
801
801
|
* @returns: the login result
|
|
802
802
|
*/
|
|
803
|
-
login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string, flags?: EvolutionLoginFlags): rxjs.Observable<ApiResult<EvolutionLoginResult>>;
|
|
803
|
+
login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined, flags?: EvolutionLoginFlags | undefined): rxjs.Observable<ApiResult<EvolutionLoginResult>>;
|
|
804
804
|
/**
|
|
805
805
|
* Complete login
|
|
806
806
|
* @param result : the login result
|
|
@@ -2274,10 +2274,11 @@ class ClipperService {
|
|
|
2274
2274
|
* @param flags: the optional login flags
|
|
2275
2275
|
* @returns: the login result
|
|
2276
2276
|
*/
|
|
2277
|
-
login(email, password, remember, oauth, oauthAccessToken = sessionStorage.getItem("clipper_oauth_token") ?? undefined, flags) {
|
|
2277
|
+
login(email, password, remember, oauth, oauthAccessToken = sessionStorage.getItem("clipper_oauth_token") ?? undefined, flags = ClipperLoginFlags.None) {
|
|
2278
2278
|
if (remember) {
|
|
2279
2279
|
flags |= ClipperLoginFlags.RememberCredentials;
|
|
2280
2280
|
}
|
|
2281
|
+
console.log('remember: ' + remember + ' flags: ' + flags);
|
|
2281
2282
|
return this.httpClient
|
|
2282
2283
|
.post(this._serviceUri + '/login2', {
|
|
2283
2284
|
clientId: localStorage.getItem("clipper_client_id"),
|