monkey-front-core 0.0.311 → 0.0.313
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 +10 -12
- package/fesm2015/monkey-front-core.mjs +6 -10
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +8 -10
- 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.313.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.311.tgz +0 -0
|
@@ -3672,19 +3672,17 @@ class MonkeyEcxTokenStorageService {
|
|
|
3672
3672
|
}
|
|
3673
3673
|
console.log('6666');
|
|
3674
3674
|
const config = await monkeyecxConfigService.config()
|
|
3675
|
-
.pipe(
|
|
3676
|
-
console.log('val');
|
|
3677
|
-
console.log(val);
|
|
3678
|
-
return !!val && JSON.stringify(val) !== '{}';
|
|
3679
|
-
}))
|
|
3680
|
-
.toPromise();
|
|
3675
|
+
.pipe(take(1)).toPromise();
|
|
3681
3676
|
console.log('7777');
|
|
3677
|
+
const handledData = {
|
|
3678
|
+
...data
|
|
3679
|
+
};
|
|
3682
3680
|
if (data && !data?.program && config?.program) {
|
|
3683
|
-
|
|
3681
|
+
handledData.program = config?.program?.token;
|
|
3684
3682
|
}
|
|
3685
|
-
console.log('
|
|
3686
|
-
console.log(
|
|
3687
|
-
return
|
|
3683
|
+
console.log('handledData');
|
|
3684
|
+
console.log(handledData);
|
|
3685
|
+
return handledData;
|
|
3688
3686
|
}
|
|
3689
3687
|
catch (e) {
|
|
3690
3688
|
console.log('=======');
|