@transcend-io/airgap.js-types
Advanced tools
Comparing version 8.22.0 to 8.23.0
@@ -110,2 +110,4 @@ import * as t from 'io-ts'; | ||
confirmed?: boolean; | ||
/** Was the UI shown to the user? */ | ||
prompted?: boolean; | ||
} | ||
@@ -132,2 +134,4 @@ /** airgap.js API */ | ||
options?: ConsentOptions): boolean; | ||
/** Sets whether or not the Consent UI has been shown to the user */ | ||
setPrompted(state: boolean): Promise<void>; | ||
/** Consents the user to all tracking purposes (requires recent UI interaction) */ | ||
@@ -381,2 +385,4 @@ optIn( | ||
timestamp: string; | ||
/** Whether or not the UI has been shown to the end-user (undefined in older versions of airgap.js) */ | ||
prompted?: boolean; | ||
}; | ||
@@ -383,0 +389,0 @@ /** Tracking purpose */ |
@@ -5,3 +5,3 @@ { | ||
"description": "TypeScript types for airgap.js interoperability with custom consent UIs", | ||
"version": "8.22.0", | ||
"version": "8.23.0", | ||
"homepage": "https://github.com/transcend-io/airgap.js-types", | ||
@@ -8,0 +8,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
131466
1492