@adyen/kyc-components 3.24.5 → 3.24.6

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.
@@ -35717,13 +35717,14 @@ function DropinComposerComponent({
35717
35717
  handleSingpassMyInfoLoginFailure(e);
35718
35718
  }
35719
35719
  },
35720
- onMessage: ({
35720
+ onMessage: async ({
35721
35721
  data: {
35722
35722
  isSuccessful
35723
35723
  }
35724
35724
  }) => {
35725
35725
  if (isSuccessful) {
35726
35726
  handleSingpassMyInfoLoginSuccess();
35727
+ await refreshLegalEntity();
35727
35728
  } else {
35728
35729
  handleSingpassMyInfoLoginFailure(legalEntityResponse.type === LegalEntityType.INDIVIDUAL ? "weCouldntConnectToMyinfo" : "weCouldntConnectToMyinfoBusiness");
35729
35730
  }
@@ -39736,7 +39737,7 @@ const ConfigurationApiProvider = ({
39736
39737
  isEmbeddedDropin,
39737
39738
  loadingContext
39738
39739
  } = authContext;
39739
- const sdkVersion = "3.24.5";
39740
+ const sdkVersion = "3.24.6";
39740
39741
  useAnalytics({
39741
39742
  onUserEvent,
39742
39743
  legalEntityId: rootLegalEntityId,
@@ -40368,7 +40369,7 @@ const DebugModal = ({
40368
40369
  };
40369
40370
  const copyToClipboard = async () => {
40370
40371
  const toCopy = {
40371
- sdkVersion: "3.24.5",
40372
+ sdkVersion: "3.24.6",
40372
40373
  experiments: Object.fromEntries(allExperimentsWithValues),
40373
40374
  settings: Object.fromEntries(allSettingsWithValues)
40374
40375
  };
@@ -40398,7 +40399,7 @@ const DebugModal = ({
40398
40399
  children: [jsxs("div", {
40399
40400
  className: "adyen-kyc-debug-modal__meta",
40400
40401
  children: [jsxs("span", {
40401
- children: ["SDK version: ", "3.24.5"]
40402
+ children: ["SDK version: ", "3.24.6"]
40402
40403
  }), jsxs("span", {
40403
40404
  children: ["rootLegalEntityId: ", rootLegalEntityId]
40404
40405
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.24.5",
3
+ "version": "3.24.6",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",