commit
03ac7dde62
|
@ -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:
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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 || '',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue