@ketch-sdk/ketch-types 1.38.3 → 1.38.4

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/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -379,9 +379,9 @@ export type ShowPreferenceOptions = {
379
379
  * ShowConsentOptions
380
380
  */
381
381
  export type ShowConsentOptions = {
382
- displayHint: ConsentExperienceType;
382
+ displayHint?: ConsentExperienceType;
383
383
  purposes?: string[];
384
- experienceCode?: string;
384
+ experience?: string;
385
385
  };
386
386
  /**
387
387
  * InvokeRightEvent
@@ -2243,7 +2243,7 @@ export interface Ketch {
2243
2243
  /**
2244
2244
  * Show the consent experience
2245
2245
  */
2246
- showConsent(): Promise<void>;
2246
+ showConsent(params?: ShowConsentOptions): Promise<void>;
2247
2247
  /**
2248
2248
  * Show the experience as described
2249
2249
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ketch-sdk/ketch-types",
3
- "version": "1.38.3",
3
+ "version": "1.38.4",
4
4
  "description": "Ketch Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",