@soyio/soyio-widget 2.4.0 → 2.4.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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -319,7 +319,7 @@ The `onEvent` follows the following format:
|
|
|
319
319
|
{
|
|
320
320
|
eventName: 'CONSENT_CHECKBOX_CHANGE',
|
|
321
321
|
isSelected: boolean
|
|
322
|
-
|
|
322
|
+
jwt: string,
|
|
323
323
|
}
|
|
324
324
|
```
|
|
325
325
|
|
|
@@ -327,7 +327,7 @@ The `onEvent` follows the following format:
|
|
|
327
327
|
|
|
328
328
|
- **`consentTemplateId`**: Identifier of consent template. It must start with `'constpl_'`.
|
|
329
329
|
- **`isSelected`**: Boolean value indicating whether the consent checkbox is selected or not.
|
|
330
|
-
- **`
|
|
330
|
+
- **`jwt`**: JWT token containing necessary information for creation of the consent record. [Learn more](https://docs.soyio.id/docs/api/resources/create-consent-request).
|
|
331
331
|
|
|
332
332
|
## TypeScript
|
|
333
333
|
|