From 5aa33ad733bcf64a982f2931fdac68edd67d9cdb Mon Sep 17 00:00:00 2001 From: Andrei Bancioiu Date: Thu, 31 Mar 2022 11:38:09 +0300 Subject: [PATCH] Remove not used files. --- src/dapp/constants.ts | 9 --------- src/dapp/dom.ts | 9 --------- src/dapp/interface.ts | 7 ------- 3 files changed, 25 deletions(-) delete mode 100644 src/dapp/constants.ts delete mode 100644 src/dapp/dom.ts delete mode 100644 src/dapp/interface.ts diff --git a/src/dapp/constants.ts b/src/dapp/constants.ts deleted file mode 100644 index d63cbd33..00000000 --- a/src/dapp/constants.ts +++ /dev/null @@ -1,9 +0,0 @@ -// Wallet intercom messages -export const DAPP_DEFAULT_TIMEOUT = 5000; -export const DAPP_MESSAGE_INIT = "dapp_message_init"; -export const DAPP_MESSAGE_IS_CONNECTED = "dapp_message_is_connected"; -export const DAPP_MESSAGE_GET_ADDRESS = "dapp_message_get_address"; -export const DAPP_MESSAGE_CONNECT_URL = "dapp_message_connect_url"; -export const DAPP_MESSAGE_LOG_OUT = "dapp_message_log_out"; -export const DAPP_MESSAGE_SEND_TRANSACTION_URL = "dapp_message_send_transaction_url"; -export const DAPP_MESSAGE_SIGN_TRANSACTION_URL = "dapp_message_sign_transaction_url"; diff --git a/src/dapp/dom.ts b/src/dapp/dom.ts deleted file mode 100644 index 5c0d8803..00000000 --- a/src/dapp/dom.ts +++ /dev/null @@ -1,9 +0,0 @@ -export function mainFrameStyle(): any { - return { - position: "absolute", - width: "1px", - height: "1px", - border: "none", - overflow: "visible", - }; -} diff --git a/src/dapp/interface.ts b/src/dapp/interface.ts deleted file mode 100644 index 4fe63b58..00000000 --- a/src/dapp/interface.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface IDappMessageEvent extends MessageEvent { - data: { - type: string; - data: any; - error: string; - }; -}