mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
fix issue with generating public key, adapt interface changes of aquarius
This commit is contained in:
parent
9a90ec80d6
commit
02c36d12ad
@ -105,7 +105,7 @@ export default class Ocean {
|
|||||||
owner: did,
|
owner: did,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
publicKeyBase58: publisher.getPublicKey(),
|
publicKeyBase58: await publisher.getPublicKey(),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
service: [
|
service: [
|
||||||
@ -121,14 +121,14 @@ export default class Ocean {
|
|||||||
conditions: ddoConditions,
|
conditions: ddoConditions,
|
||||||
} as Service,
|
} as Service,
|
||||||
{
|
{
|
||||||
|
type: "Compute",
|
||||||
serviceEndpoint: brizo.getComputeEndpoint(publisher.getId(),
|
serviceEndpoint: brizo.getComputeEndpoint(publisher.getId(),
|
||||||
serviceDefinitionId, "xxx", "xxx"),
|
serviceDefinitionId, "xxx", "xxx"),
|
||||||
type: "Compute",
|
|
||||||
} as Service,
|
} as Service,
|
||||||
{
|
{
|
||||||
type: "Metadata",
|
type: "Metadata",
|
||||||
metadata,
|
|
||||||
serviceEndpoint,
|
serviceEndpoint,
|
||||||
|
metadata,
|
||||||
} as Service,
|
} as Service,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user