Merge pull request #1506 from gnosis/hotfix/v2.13.1

Hotfix v2.13.1
This commit is contained in:
Daniel Sanchez 2020-10-20 18:12:08 +02:00 committed by GitHub
commit 03ac7dde62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
if: (branch = development) OR (branch = master) OR (release/v2.13.0) OR (type = pull_request) OR (tag IS present) if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
sudo: required sudo: required
dist: bionic dist: bionic
language: node_js language: node_js
@ -22,7 +22,7 @@ matrix:
- REACT_APP_NETWORK='xdai' - REACT_APP_NETWORK='xdai'
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_XDAI} - REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_XDAI}
- STAGING_BUCKET_NAME=${STAGING_XDAI_BUCKET_NAME} - STAGING_BUCKET_NAME=${STAGING_XDAI_BUCKET_NAME}
if: ((branch = master OR branch = release/v2.13.0) AND NOT type = pull_request) OR tag IS present if: (branch = master AND NOT type = pull_request) OR tag IS present
cache: cache:
yarn: true yarn: true
before_script: before_script:

View File

@ -1,6 +1,6 @@
{ {
"name": "safe-react", "name": "safe-react",
"version": "2.13.0", "version": "2.13.1",
"description": "Allowing crypto users manage funds in a safer way", "description": "Allowing crypto users manage funds in a safer way",
"website": "https://github.com/gnosis/safe-react#readme", "website": "https://github.com/gnosis/safe-react#readme",
"bugs": { "bugs": {

View File

@ -157,7 +157,7 @@ export const getExplorerInfo = (hash: string): BlockScanInfo => {
default: { default: {
const type = hash.length > 42 ? 'tx' : 'address' const type = hash.length > 42 ? 'tx' : 'address'
return () => ({ return () => ({
url: `${url}${type}/${hash}`, url: `${url}/${type}/${hash}`,
alt: name || '', alt: name || '',
}) })
} }

View File

@ -55,7 +55,7 @@ const generateBatchRequests = <ReturnValues>({ abi, address, batch, context, met
// If batch was provided add to external batch // If batch was provided add to external batch
batch ? batch.add(request) : localBatch.add(request) batch ? batch.add(request) : localBatch.add(request)
} catch (e) { } catch (e) {
console.error('There was an error trying to batch request from web3.', e) console.warn('There was an error trying to batch request from web3.', e)
resolve() resolve()
} }
}) })