Skip to content

Commit

Permalink
refactor(aepp-wallet schema)!: remove unused enums
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jan 25, 2022
1 parent 72a75f1 commit 95bf0e9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/utils/aepp-wallet-communication/schema.js
Expand Up @@ -24,11 +24,6 @@ export const REQUESTS = asEnum([
'signMessage'
])

export const SUBSCRIPTION_VALUES = asEnum([
'current',
'connected'
])

export const SUBSCRIPTION_TYPES = asEnum([
'subscribe',
'unsubscribe'
Expand All @@ -55,8 +50,7 @@ export const RPC_STATUS = {
DISCONNECTED: 'DISCONNECTED',
CONNECTION_REJECTED: 'CONNECTION_REJECTED',
WAITING_FOR_CONNECTION_APPROVE: 'WAITING_FOR_CONNECTION_APPROVE',
WAITING_FOR_CONNECTION_REQUEST: 'WAITING_FOR_CONNECTION_REQUEST',
WAITING_FOR_SUBSCRIPTION: 'WAITING_FOR_SUBSCRIPTION'
WAITING_FOR_CONNECTION_REQUEST: 'WAITING_FOR_CONNECTION_REQUEST'
}

export const ERRORS = {
Expand Down

0 comments on commit 95bf0e9

Please sign in to comment.