1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

extra checks

This commit is contained in:
alexcos20 2020-09-16 06:44:01 -07:00
parent 20493dfca4
commit d10766d967
2 changed files with 12 additions and 0 deletions

View File

@ -393,11 +393,17 @@ export class Assets extends Instantiable {
return {
type: 'access',
index: 2,
<<<<<<< HEAD
<<<<<<< HEAD
serviceEndpoint: customProvider || this.ocean.provider.url,
=======
serviceEndpoint: customProvider || this.ocean.provider.getConsumeEndpoint(),
>>>>>>> 17e61d0... allow customProvider on publish
=======
serviceEndpoint: customProvider
? customProvider + this.ocean.provider.getConsumeEndpointShort()
: this.ocean.provider.getConsumeEndpoint(),
>>>>>>> 960e90f... extra checks
attributes: {
main: {
creator: creator.getId(),

View File

@ -293,6 +293,7 @@ export class Compute extends Instantiable {
const service = {
type: 'compute',
index: 3,
<<<<<<< HEAD
<<<<<<< HEAD
serviceEndpoint: customProvider
? customProvider + this.ocean.provider.getComputeEndpointShort()
@ -300,6 +301,11 @@ export class Compute extends Instantiable {
=======
serviceEndpoint: customProvider || this.ocean.provider.getComputeEndpoint(),
>>>>>>> 17e61d0... allow customProvider on publish
=======
serviceEndpoint: customProvider
? customProvider + this.ocean.provider.getComputeEndpointShort()
: this.ocean.provider.getComputeEndpoint(),
>>>>>>> 960e90f... extra checks
attributes: {
main: {
name,