nectiasw 0.0.86 → 0.0.87
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/dist/index.es.js +14 -18
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/providers/microfront/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -52694,24 +52694,20 @@ const MicrofrontHost = React__default.memo((props) => {
|
|
|
52694
52694
|
}));
|
|
52695
52695
|
try {
|
|
52696
52696
|
const data = await ((_a3 = props == null ? void 0 : props.onAuthCallback) == null ? void 0 : _a3.call(props));
|
|
52697
|
-
|
|
52698
|
-
|
|
52699
|
-
|
|
52700
|
-
|
|
52701
|
-
|
|
52702
|
-
|
|
52703
|
-
|
|
52704
|
-
|
|
52705
|
-
|
|
52706
|
-
|
|
52707
|
-
|
|
52708
|
-
|
|
52709
|
-
|
|
52710
|
-
|
|
52711
|
-
refreshToken: data == null ? void 0 : data.refreshToken
|
|
52712
|
-
}
|
|
52713
|
-
};
|
|
52714
|
-
});
|
|
52697
|
+
setSignal((signal2) => ({
|
|
52698
|
+
...signal2,
|
|
52699
|
+
user: data,
|
|
52700
|
+
ref: {
|
|
52701
|
+
lastName: renderName(data == null ? void 0 : data.lastName),
|
|
52702
|
+
firstName: renderName(data == null ? void 0 : data.firstName),
|
|
52703
|
+
role: assign(data == null ? void 0 : data.roles)
|
|
52704
|
+
},
|
|
52705
|
+
session: {
|
|
52706
|
+
token: data == null ? void 0 : data.token,
|
|
52707
|
+
refreshToken: data == null ? void 0 : data.refreshToken
|
|
52708
|
+
},
|
|
52709
|
+
info: (data == null ? void 0 : data.token) ? jwtDecode(data.token) : void 0
|
|
52710
|
+
}));
|
|
52715
52711
|
} catch (e) {
|
|
52716
52712
|
console.debug("Microfront Error:", e);
|
|
52717
52713
|
} finally {
|