diff --git a/README.md b/README.md index 5676add1..fe1f3e57 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Safe Apps SDK [![Logo](https://raw.githubusercontent.com/gnosis/safe-apps-sdk/master/assets/logo.png)](https://gnosis.pm/) - +[![npm version](https://badge.fury.io/js/%40gnosis.pm%2Fsafe-apps-sdk.svg)](https://badge.fury.io/js/%40gnosis.pm%2Fsafe-apps-sdk) [![Build Status](https://travis-ci.org/gnosis/safe-apps-sdk.svg?branch=master)](https://travis-ci.org/gnosis/pm-contracts) Software development kit to integrate third-party applications (Safe Apps) with Safe Multisig (https://gnosis-safe.io/app/). diff --git a/src/types.ts b/src/types.ts index 457bdd9e..e48198df 100644 --- a/src/types.ts +++ b/src/types.ts @@ -6,8 +6,28 @@ import { txs } from './txs'; type for networks contains uppercase strings and with previous type it resulted in a type error. The sdk converts network to lowercase, so passing an uppercase one is totally valid too. */ -export type UppercaseNetworks = 'MAINNET' | 'MORDEN' | 'ROPSTEN' | 'RINKEBY' | 'GOERLI' | 'KOVAN' | 'UNKNOWN'; -export type LowercaseNetworks = 'mainnet' | 'morden' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'unknown'; +export type UppercaseNetworks = + | 'MAINNET' + | 'MORDEN' + | 'ROPSTEN' + | 'RINKEBY' + | 'GOERLI' + | 'KOVAN' + | 'XDAI' + | 'ENERGY_WEB_CHAIN' + | 'VOLTA' + | 'UNKNOWN'; +export type LowercaseNetworks = + | 'mainnet' + | 'morden' + | 'ropsten' + | 'rinkeby' + | 'goerli' + | 'kovan' + | 'xdai' + | 'energy_web_chain' + | 'volta' + | 'unknown'; export type Networks = UppercaseNetworks | LowercaseNetworks; export interface Transaction {