UNPKG

@web3auth/no-modal

Version:
25 lines (22 loc) 708 B
import _objectSpread from '@babel/runtime/helpers/objectSpread2'; const CONNECTOR_STATUS = { NOT_READY: "not_ready", READY: "ready", CONNECTING: "connecting", CONNECTED: "connected", DISCONNECTING: "disconnecting", DISCONNECTED: "disconnected", ERRORED: "errored" }; const CONNECTOR_EVENTS = _objectSpread(_objectSpread({}, CONNECTOR_STATUS), {}, { CONNECTOR_DATA_UPDATED: "connector_data_updated", CACHE_CLEAR: "cache_clear", CONNECTORS_UPDATED: "connectors_updated", MFA_ENABLED: "mfa_enabled", REHYDRATION_ERROR: "rehydration_error" }); const CONNECTOR_CATEGORY = { EXTERNAL: "external", IN_APP: "in_app" }; export { CONNECTOR_CATEGORY, CONNECTOR_EVENTS, CONNECTOR_STATUS };