@adyen/kyc-components 2.1.0 → 2.1.1

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.
@@ -22694,11 +22694,10 @@ function IndividualDropinComponent({
22694
22694
  const formValidity = currentState.validityByForm;
22695
22695
  p(() => {
22696
22696
  setData({
22697
- ...currentState.data,
22698
- ...documents2
22697
+ ...currentState.data
22699
22698
  });
22700
22699
  onChange == null ? void 0 : onChange(currentState);
22701
- }, [currentState, documents2, onChange]);
22700
+ }, [currentState, onChange]);
22702
22701
  const forms = F$1(() => {
22703
22702
  const requiredForms = getRequiredForms(individualForms, derivedProps == null ? void 0 : derivedProps.requiredFields, derivedProps == null ? void 0 : derivedProps.optionalFields).filter(
22704
22703
  // TODO: this is a workaround to prevent showing the verification method step when onfido is not enabled
@@ -23027,7 +23026,10 @@ function IndividualDropinComponent({
23027
23026
  children: o(IndividualComponent, {
23028
23027
  ...derivedProps,
23029
23028
  capabilities: Object.keys((legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) ?? {}),
23030
- data: dataFromResponse,
23029
+ data: {
23030
+ ...dataFromResponse,
23031
+ ...documents2
23032
+ },
23031
23033
  country: country2,
23032
23034
  activeForm,
23033
23035
  forms,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "files": [