From a5706d22ebc8afbfda938c1c6a9946640810fb53 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 25 Mar 2021 08:48:13 +0100 Subject: [PATCH] bump to ocean.js v0.12.1 (#455) --- package-lock.json | 8 ++++---- package.json | 2 +- src/hooks/usePublish.ts | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5c5156dda..14624660c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3625,9 +3625,9 @@ "integrity": "sha512-6GrBk1jy+zxjDjh2SPra06etrqdp8CB6RaZaTq2OQpK8dA2Dq91hqCbj+6eb21MlU8bDY3/atnxax9rgPgsxkA==" }, "@oceanprotocol/lib": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.12.0.tgz", - "integrity": "sha512-bREJhiyQ1LlFdLY0WoZbelfH27R7PLi0pY+c3TiX3fYvDShfp5NCYkq0B8Wf4FjxUxd4BMJREwRNdOS416RYVA==", + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.12.1.tgz", + "integrity": "sha512-Cw4d4Di6GnL1gfZcYqemnKh1Agpc66AemIJANfbJpO08KkgiLEZhhMYsYQZzha+zQD9Jr4ZuzE/ZlYDr6S0o6w==", "requires": { "@ethereum-navigator/navigator": "^0.5.2", "@oceanprotocol/contracts": "^0.5.10", @@ -16410,7 +16410,7 @@ } }, "ethereumjs-abi": { - "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1ce6a1d64235fabe2aaf827fd606def55693508f", + "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#1a27c59c15ab1e95ee8e5c4ed6ad814c49cc439e", "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git", "requires": { "bn.js": "^4.11.8", diff --git a/package.json b/package.json index 5c5c9e804..01474a108 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@coingecko/cryptoformat": "^0.4.2", "@loadable/component": "^5.14.1", "@oceanprotocol/art": "^3.0.0", - "@oceanprotocol/lib": "^0.12.0", + "@oceanprotocol/lib": "^0.12.1", "@oceanprotocol/typographies": "^0.1.0", "@portis/web3": "^3.0.3", "@sindresorhus/slugify": "^1.0.0", diff --git a/src/hooks/usePublish.ts b/src/hooks/usePublish.ts index 6ef5cbda8..bf0192b3b 100644 --- a/src/hooks/usePublish.ts +++ b/src/hooks/usePublish.ts @@ -113,8 +113,9 @@ function usePublish(): UsePublish { servers ) const origComputePrivacy: ServiceComputePrivacy = { - allowRawAlgorithm: true, + allowRawAlgorithm: false, allowNetworkAccess: false, + allowAllPublishedAlgorithms: false, publisherTrustedAlgorithms: [] } const computeService = ocean.compute.createComputeService(