Skip to content

Commit

Permalink
Merge pull request #55 from gnosis/development
Browse files Browse the repository at this point in the history
safe-apps-sdk v0.4.1
  • Loading branch information
mmv08 authored Oct 14, 2020
2 parents 3796d70 + ea8dcab commit 0c678ee
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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/).
Expand Down
24 changes: 22 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0c678ee

Please sign in to comment.