@transcend-io/airgap.js-types
Advanced tools
Comparing version 9.2.0 to 9.3.0
@@ -112,4 +112,6 @@ import * as t from 'io-ts'; | ||
prompted?: boolean; | ||
/** Extra betadata to be synced along with consent */ | ||
/** Extra metadata to be synced along with consent */ | ||
metadata?: unknown; | ||
/** Whether or not to return a Promise so that the caller can wait for sync to complete. By default, we do not wait for sync */ | ||
waitForSync?: boolean; | ||
} | ||
@@ -135,3 +137,3 @@ /** airgap.js API */ | ||
/** Consent options */ | ||
options?: ConsentOptions): boolean; | ||
options?: ConsentOptions): Promise<boolean> | boolean; | ||
/** Sets whether or not the Consent UI has been shown to the user */ | ||
@@ -138,0 +140,0 @@ setPrompted(state: boolean): Promise<void>; |
@@ -5,3 +5,3 @@ { | ||
"description": "TypeScript types for airgap.js interoperability with custom consent UIs", | ||
"version": "9.2.0", | ||
"version": "9.3.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
185579
2460