@eid-easy/eideasy-widget 3.0.2 → 3.0.3
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/eideasy-widget.mjs
CHANGED
|
@@ -30205,7 +30205,7 @@ const _sfc_main$o = {
|
|
|
30205
30205
|
const useAppStore = inject("useAppStore");
|
|
30206
30206
|
const appStore = useAppStore();
|
|
30207
30207
|
const { loadingStart, loadingEnd, addFlashMessage, clearFlashMessages } = appStore;
|
|
30208
|
-
const { clientInfo, additionalMethodConfig } = storeToRefs(appStore);
|
|
30208
|
+
const { clientInfo, additionalMethodConfig, mode } = storeToRefs(appStore);
|
|
30209
30209
|
const fieldErrors = ref({});
|
|
30210
30210
|
const authProcess = ref({});
|
|
30211
30211
|
function clearErrors() {
|
|
@@ -30229,6 +30229,7 @@ const _sfc_main$o = {
|
|
|
30229
30229
|
clearErrors();
|
|
30230
30230
|
const extraConfig = additionalMethodConfig.value || {};
|
|
30231
30231
|
authProcess.value = eidEasyClient.identification.mitId.start({
|
|
30232
|
+
action: mode.value,
|
|
30232
30233
|
fail: (error2) => {
|
|
30233
30234
|
if (!error2.isCancel) {
|
|
30234
30235
|
addFlashMessage(error2);
|