@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.
Files changed (2) hide show
  1. package/README.md +2 -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
- token: string,
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
- - **`token`**: Unique identifier for the consent. Contains necessary information for creation of the consent request. [Learn more](https://docs.soyio.id/docs/api/resources/create-consent-request).
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soyio/soyio-widget",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",