diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-12-21 07:35:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 07:35:26 +0800 |
commit | 9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3 (patch) | |
tree | 87b38e76cc52301a4b4fd259c83f3eb69414fe85 /packages/instant/src/types.ts | |
parent | 5ec1ae5f7f488d20130d68ed422fac769b843f93 (diff) | |
parent | 56af9b2aab26fd6a774d0b345ce8e1441bb1a9e0 (diff) | |
download | dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.gz dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.bz2 dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.lz dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.xz dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.zst dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.zip |
Merge pull request #1434 from 0xProject/fix/instant/signature-denied
[instant] fix signature denial error message and add trust wallet detection
Diffstat (limited to 'packages/instant/src/types.ts')
-rw-r--r-- | packages/instant/src/types.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/types.ts b/packages/instant/src/types.ts index e7c920f36..ae672c919 100644 --- a/packages/instant/src/types.ts +++ b/packages/instant/src/types.ts @@ -96,6 +96,7 @@ export enum Network { export enum ZeroExInstantError { AssetMetaDataNotAvailable = 'ASSET_META_DATA_NOT_AVAILABLE', InsufficientETH = 'INSUFFICIENT_ETH', + CouldNotSubmitTransaction = 'COULD_NOT_SUBMIT_TRANSACTION', } export type SimpleHandler = () => void; @@ -181,6 +182,7 @@ export enum ProviderType { Mist = 'MIST', CoinbaseWallet = 'COINBASE_WALLET', Cipher = 'CIPHER', + TrustWallet = 'TRUST_WALLET', Fallback = 'FALLBACK', } |