UNPKG

@make-software/csprclick-core-types

Version:

Typescript definitions for CSPR.click core packages

28 lines (27 loc) 1.23 kB
export const MESSAGES = { CORE_LOADED: 'core-loaded', REQUEST_CONNECTION: 'request-connection', CONNECTED_ACCOUNT: 'connected-account', DISCONNECTED_SITE: 'disconnected-site', KNOWN_ACCOUNTS: 'known-accounts', FORGET_ACCOUNT: 'forget-account', WEB_TOKEN_ISSUED: 'web-token-issued', PROXY_UI_EVENT: 'proxy-ui-event', //custom-jwt related messages TKEY_NEW_ACCOUNT_WITH_JWT: 'tkey-new-account-with-jwt', TKEY_NEW_SESSION_WITH_JWT: 'tkey-new-session-with-jwt', TKEY_RESTORE_SESSION: 'tkey-restore-session', TKEY_SIGN_NETWORK_TRANSACTION: 'tkey-sign-network-transaction', TKEY_SIGN_MESSAGE: 'tkey-sign-message', TKEY_CANCEL_SIGN_REQUEST: 'tkey-cancel-sign-request', TKEY_UNLOCK_ACCOUNT: 'tkey-unlock-account', TKEY_SAVE_UNLOCK_PIN: 'tkey-save-unlock-pin', TKEY_IS_UNLOCKED: 'tkey-is-unlocked', TKEY_DOWNLOAD_PEM_FILE: 'tkey-download-pem-file', TKEY_NEW_RECOVERY_PHRASE: 'tkey-new-recovery-phrase', TKEY_UNLOCK_WITH_RECOVERY_PHRASE: 'tkey-unlock-with-recovery-phrase', TKEY_DISCONNECT: 'tkey-disconnect', TKEY_PASSWORD_REQUIRED: 'tkey-password-required', //social logins related messages SL_GET_TOKEN: 'sociallogin-get-token', };