UNPKG

@web3auth/no-modal

Version:
12 lines (8 loc) 572 B
'use strict'; var constants = require('./constants.js'); const CONNECTED_STATUSES = [constants.CONNECTOR_STATUS.CONNECTED, constants.CONNECTOR_STATUS.AUTHORIZED]; const CAN_AUTHORIZE_STATUSES = [constants.CONNECTOR_STATUS.AUTHORIZING, constants.CONNECTOR_STATUS.AUTHORIZED, constants.CONNECTOR_STATUS.CONNECTED]; const CAN_LOGOUT_STATUSES = [...CONNECTED_STATUSES, constants.CONNECTOR_STATUS.CONSENT_REQUIRING]; exports.CAN_AUTHORIZE_STATUSES = CAN_AUTHORIZE_STATUSES; exports.CAN_LOGOUT_STATUSES = CAN_LOGOUT_STATUSES; exports.CONNECTED_STATUSES = CONNECTED_STATUSES;