@soyio/soyio-widget 3.6.1 → 3.7.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.
package/README.md CHANGED
@@ -212,9 +212,8 @@ The `PrivacyCenterBox` lets you embed the Privacy Center inside your page. You c
212
212
  // Override the "exercise your rights" link shown in consent-only mode (optional)
213
213
  externalRightsExerciseUrl: "https://privacy.example.com/rights",
214
214
 
215
- // Controls whether users can add multiple data categories in a single rectification request (optional)
216
- // When false, only one data category can be selected per rectification request
217
- // Only applies to the rectification right; all other rights always allow multiple categories
215
+ // Controls whether users can add multiple data categories in a single mutation request (optional)
216
+ // When false, only one data category can be selected per rectification, opposition, or suppression request
218
217
  allowManyDataCategoriesMutations: true,
219
218
 
220
219
  // Header and copy customization (optional)
@@ -304,7 +303,7 @@ The `PrivacyCenterBox` lets you embed the Privacy Center inside your page. You c
304
303
  - Non-`user` taxonomy values are ignored.
305
304
  - Backend `blacklistedDataCategories` can still hide configured values.
306
305
  - `externalRightsExerciseUrl`: Optional URL used by required consent alerts when users need to exercise their rights outside the embedded privacy center.
307
- - `allowManyDataCategoriesMutations`: Optional boolean that controls whether users can add multiple data categories in a single rectification request. When `false`, only one data category can be selected per rectification request and a notice is shown instead of the "add another" button. Only applies to the `rectification` right — all other rights always allow multiple categories regardless of this setting. When omitted, the company's backend configuration determines the behavior.
306
+ - `allowManyDataCategoriesMutations`: Optional boolean that controls whether users can add multiple data categories in a single mutation request. When `false`, only one data category can be selected per `rectification`, `opposition`, or `suppression` request and a notice is shown instead of the "add another" button. When omitted, the company's backend configuration determines the behavior.
308
307
  - `appearance.config.showHeader`: Optional boolean to show/hide the privacy center header (title and description).
309
308
  - `content.header`: Optional object with `title` and `description` overrides for the privacy center header copy.
310
309
  - `appearance.config.showConsentManagementHeader`: Optional boolean to show/hide the title and description in the consent management page.
package/dist/index.d.ts CHANGED
@@ -424,6 +424,7 @@ declare type PrivacyCenterConfig = BaseConfig<PrivacyCenterEvent> & {
424
424
  allowedExtensions?: string[];
425
425
  maxFileSize?: number;
426
426
  };
427
+ rectificationFileRequiredCategories?: UserDataCategoryKey[];
427
428
  consentMode?: 'immediate' | 'batch';
428
429
  consentRetentionPeriod?: string;
429
430
  allowGranularScopeSelection?: boolean;