opportunity-service 0.0.515 → 0.0.516
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
|
|
1
1
|
import opportunityService from '../../OpportunityService';
|
2
2
|
import * as addressMap from '../../blockchain/addresses.json';
|
3
|
-
const ethNetwork = opportunityService.getEthNetwork();
|
3
|
+
const ethNetwork = opportunityService.getEthNetwork() || "rinkeby";
|
4
4
|
export default {
|
5
5
|
'MarketFactory': addressMap[ethNetwork]['MarketFactory'],
|
6
6
|
'UserRegistration': addressMap[ethNetwork]['UserRegistration'],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addresses.js","sourceRoot":"","sources":["../../../src/api/internal/addresses.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,iCAAiC,CAAC;AAE9D,MAAM,UAAU,GAAG,kBAAkB,CAAC,aAAa,EAAE,CAAA;
|
1
|
+
{"version":3,"file":"addresses.js","sourceRoot":"","sources":["../../../src/api/internal/addresses.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,iCAAiC,CAAC;AAE9D,MAAM,UAAU,GAAG,kBAAkB,CAAC,aAAa,EAAE,IAAI,SAAS,CAAA;AAElE,eAAe;IACX,eAAe,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,eAAe,CAAC;IACxD,kBAAkB,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,kBAAkB,CAAC;IAC9D,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC;IACpC,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC;CACnD,CAAA"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import opportunityService from '../../OpportunityService';
|
2
2
|
import * as addressMap from '../../blockchain/addresses.json';
|
3
3
|
|
4
|
-
const ethNetwork = opportunityService.getEthNetwork()
|
4
|
+
const ethNetwork = opportunityService.getEthNetwork() || "rinkeby"
|
5
5
|
|
6
6
|
export default {
|
7
7
|
'MarketFactory': addressMap[ethNetwork]['MarketFactory'],
|