mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
more customProvider code
This commit is contained in:
parent
d10766d967
commit
67f6e16330
@ -394,6 +394,7 @@ export class Assets extends Instantiable {
|
||||
type: 'access',
|
||||
index: 2,
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
serviceEndpoint: customProvider || this.ocean.provider.url,
|
||||
=======
|
||||
@ -404,6 +405,9 @@ export class Assets extends Instantiable {
|
||||
? customProvider + this.ocean.provider.getConsumeEndpointShort()
|
||||
: this.ocean.provider.getConsumeEndpoint(),
|
||||
>>>>>>> 960e90f... extra checks
|
||||
=======
|
||||
serviceEndpoint: customProvider || this.ocean.provider.url,
|
||||
>>>>>>> 11b58cb... more customProvider code
|
||||
attributes: {
|
||||
main: {
|
||||
creator: creator.getId(),
|
||||
|
@ -94,7 +94,11 @@ export class Compute extends Instantiable {
|
||||
if (did && txId) {
|
||||
const provider = new Provider(this.instanceConfig)
|
||||
provider.setBaseUrl(serviceEndpoint)
|
||||
<<<<<<< HEAD
|
||||
const computeJobsList = await provider.compute(
|
||||
=======
|
||||
const computeJobsList = await this.ocean.provider.compute(
|
||||
>>>>>>> 11b58cb... more customProvider code
|
||||
'post',
|
||||
did,
|
||||
consumerAccount,
|
||||
|
Loading…
x
Reference in New Issue
Block a user