1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-12-23 01:29:49 +01:00

typing tweak

This commit is contained in:
Matthias Kretschmann 2020-10-22 11:19:34 +02:00
parent 4069816516
commit 9ebfb1e93f
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -107,17 +107,17 @@ function usePublish(): UsePublish {
containers,
servers
)
const origComputePrivacy = {
const origComputePrivacy: ServiceComputePrivacy = {
allowRawAlgorithm: true,
allowNetworkAccess: false,
trustedAlgorithms: [] as any
trustedAlgorithms: []
}
const computeService = ocean.compute.createComputeService(
account,
price,
publishedDate,
provider,
origComputePrivacy as ServiceComputePrivacy,
origComputePrivacy,
timeout,
providerUri
)