@xsolla/payment-client-core 0.1.9 → 0.1.10

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.
@@ -2341,8 +2341,6 @@ class CheckboxControlConfig extends ControlConfig {
2341
2341
  constructor() {
2342
2342
  super(...arguments);
2343
2343
  this.controlType = 'checkbox';
2344
- this.checkedValue = true; // eslint-disable-line @typescript-eslint/no-explicit-any
2345
- this.uncheckedValue = false; // eslint-disable-line @typescript-eslint/no-explicit-any
2346
2344
  }
2347
2345
  }
2348
2346
 
@@ -2362,8 +2360,7 @@ class CheckboxConverter extends Converter {
2362
2360
  createControlConfig(field) {
2363
2361
  const config = this.createDefaultControlConfig(CheckboxControlConfig, field);
2364
2362
  config.placeholder = config.title;
2365
- config.checkedValue = this.checkedValue;
2366
- config.uncheckedValue = this.uncheckedValue;
2363
+ config.initValue = field.value;
2367
2364
  return config;
2368
2365
  }
2369
2366
  }