From 40c84d0c31af404f84f7094ae710d71995a04048 Mon Sep 17 00:00:00 2001 From: Eli Grey <~@eligrey.com> Date: Fri, 14 Jun 2024 01:28:50 +0000 Subject: [PATCH] expand AirgapAuth type --- src/core.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core.ts b/src/core.ts index 746f41c..6415be2 100644 --- a/src/core.ts +++ b/src/core.ts @@ -99,7 +99,9 @@ export type AirgapAuth = /** A user-initiated interaction event that was just dispatched. */ | UIEvent /** A `load` event from a just-loaded airgap.js script element (which implies auth by being loaded before airgap.js) */ - | Event; + | Event + /** Consent change authorization key automatically conferred by airgap via setAuth() API for UI modules */ + | Symbol; /** A boolean value represented as either `'on'` or `'off'` */ export const BooleanString = t.keyof({