mirror of
https://github.com/oceanprotocol/react.git
synced 2025-02-14 21:10:38 +01:00
typing tweak
This commit is contained in:
parent
4069816516
commit
9ebfb1e93f
@ -107,17 +107,17 @@ function usePublish(): UsePublish {
|
|||||||
containers,
|
containers,
|
||||||
servers
|
servers
|
||||||
)
|
)
|
||||||
const origComputePrivacy = {
|
const origComputePrivacy: ServiceComputePrivacy = {
|
||||||
allowRawAlgorithm: true,
|
allowRawAlgorithm: true,
|
||||||
allowNetworkAccess: false,
|
allowNetworkAccess: false,
|
||||||
trustedAlgorithms: [] as any
|
trustedAlgorithms: []
|
||||||
}
|
}
|
||||||
const computeService = ocean.compute.createComputeService(
|
const computeService = ocean.compute.createComputeService(
|
||||||
account,
|
account,
|
||||||
price,
|
price,
|
||||||
publishedDate,
|
publishedDate,
|
||||||
provider,
|
provider,
|
||||||
origComputePrivacy as ServiceComputePrivacy,
|
origComputePrivacy,
|
||||||
timeout,
|
timeout,
|
||||||
providerUri
|
providerUri
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user