forked from adamlaska/MEWconnect-web-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmessages.js
More file actions
33 lines (31 loc) · 1.12 KB
/
messages.js
File metadata and controls
33 lines (31 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const messages = {
decline: 'User declined action in MEW wallet app',
approveTx: 'Check your phone to approve transaction ',
disconnect: 'Disconnected from MEW wallet',
complete: 'Transaction completed',
sent: 'Transaction sent',
failed: 'Transaction failed',
signMessage: 'Check your phone to sign the message',
declineSignMessage: 'User declined message signing',
notConnected: 'Phone not connected. Please connect your phone and try again',
defaultMessage: 'Check your phone to continue',
error: 'An error occurred while preparing the last action',
communicationError:
'Could not complete last response from MEW wallet. Nothing was sent. Please try to send or sign again.',
disconnectError: ''
};
const messageConstants = {
decline: 'decline',
approveTx: 'approveTx',
disconnect: 'disconnect',
complete: 'complete',
sent: 'sent',
failed: 'failed',
signMessage: 'signMessage',
error: 'error',
notConnected: 'notConnected',
declineMessage: 'declineSignMessage',
communicationError: 'communicationError',
disconnectError: 'disconnectError'
};
export { messages, messageConstants };