@eid-easy/eideasy-widget 3.0.1 → 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.
@@ -20011,9 +20011,9 @@ const _sfc_main$17 = {
20011
20011
  appStore.loadingEnd();
20012
20012
  }
20013
20013
  function startMethod(methodType, moduleName) {
20014
- const additionalMethodConfigOrEmpty = additionalMethodConfig || {};
20014
+ const additionalMethodConfigOrEmpty = additionalMethodConfig.value || {};
20015
20015
  eidEasyClient[methodType][moduleName].start({
20016
- action: mode,
20016
+ action: mode.value,
20017
20017
  iframeHolder: iframeHolder2,
20018
20018
  fail: (result) => failHandler(result, methodType, moduleName),
20019
20019
  success: (result) => successHandler(result),
@@ -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);