monkey-front-core 0.0.312 → 0.0.314
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/core/services/storage/monkeyecx-token-storage.service.mjs +9 -6
- package/fesm2015/monkey-front-core.mjs +6 -5
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +8 -5
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +37 -2
- package/monkey-front-core-0.0.314.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.312.tgz +0 -0
|
@@ -3668,18 +3668,21 @@ class MonkeyEcxTokenStorageService {
|
|
|
3668
3668
|
data = await store.select(select({ username })).pipe(take(1)).toPromise();
|
|
3669
3669
|
console.log('data');
|
|
3670
3670
|
console.log(data);
|
|
3671
|
-
delete data?.me;
|
|
3672
3671
|
}
|
|
3673
3672
|
console.log('6666');
|
|
3674
3673
|
const config = await monkeyecxConfigService.config()
|
|
3675
3674
|
.pipe(take(1)).toPromise();
|
|
3676
3675
|
console.log('7777');
|
|
3676
|
+
const handledData = {
|
|
3677
|
+
...data
|
|
3678
|
+
};
|
|
3677
3679
|
if (data && !data?.program && config?.program) {
|
|
3678
|
-
|
|
3680
|
+
handledData.program = config?.program?.token;
|
|
3679
3681
|
}
|
|
3680
|
-
|
|
3681
|
-
console.log(
|
|
3682
|
-
|
|
3682
|
+
delete handledData?.me;
|
|
3683
|
+
console.log('handledData');
|
|
3684
|
+
console.log(handledData);
|
|
3685
|
+
return handledData;
|
|
3683
3686
|
}
|
|
3684
3687
|
catch (e) {
|
|
3685
3688
|
console.log('=======');
|