diff --git a/package.json b/package.json index d7844cf9d..4a9a021e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nevermined-io/sdk", - "version": "3.0.15-rc1", + "version": "3.0.15-rc2", "description": "Javascript SDK for connecting with Nevermined Data Platform ", "main": "./dist/node/sdk.js", "typings": "./dist/node/sdk.d.ts", diff --git a/src/nevermined/resources/AppNetworks.ts b/src/nevermined/resources/AppNetworks.ts index c2d042421..9a9e43eab 100644 --- a/src/nevermined/resources/AppNetworks.ts +++ b/src/nevermined/resources/AppNetworks.ts @@ -25,7 +25,7 @@ export class AppDeploymentStaging extends NeverminedAppOptions { instanceName = 'appStaging' appUrl = 'https://staging.nevermined.app' chainId = 421614 - web3ProviderUri = window.ethereum ? window.ethereum : 'https://sepolia-rollup.arbitrum.io/rpc' + web3ProviderUri = window.ethereum ? undefined : 'https://sepolia-rollup.arbitrum.io/rpc' marketplaceUri = 'https://marketplace-api.staging.nevermined.app' graphHttpUri = 'https://api.thegraph.com/subgraphs/name/nevermined-io/public' neverminedNodeUri = 'https://node.staging.nevermined.app' @@ -41,7 +41,7 @@ export class AppDeploymentTesting extends NeverminedAppOptions { instanceName = 'appTesting' appUrl = 'https://testing.nevermined.app' chainId = 421614 - web3ProviderUri = window.ethereum ? window.ethereum : 'https://sepolia-rollup.arbitrum.io/rpc' + web3ProviderUri = window.ethereum ? undefined : 'https://sepolia-rollup.arbitrum.io/rpc' marketplaceUri = 'https://marketplace-api.testing.nevermined.app' graphHttpUri = 'https://api.thegraph.com/subgraphs/name/nevermined-io/public' neverminedNodeUri = 'https://node.testing.nevermined.app' @@ -57,7 +57,7 @@ export class AppDeploymentArbitrum extends NeverminedAppOptions { instanceName = 'appArbitrum' appUrl = 'https://nevermined.app' chainId = 42161 - web3ProviderUri = window.ethereum ? window.ethereum : 'https://arb1.arbitrum.io/rpc' + web3ProviderUri = window.ethereum ? undefined : 'https://arb1.arbitrum.io/rpc' marketplaceUri = 'https://marketplace-api.arbitrum.nevermined.app' graphHttpUri = 'https://api.thegraph.com/subgraphs/name/nevermined-io/public' neverminedNodeUri = 'https://node.arbitrum.nevermined.app' @@ -73,7 +73,7 @@ export class AppDeploymentGnosis extends NeverminedAppOptions { instanceName = 'appGnosis' appUrl = 'https://gnosis.nevermined.app' chainId = 100 - web3ProviderUri = window.ethereum ? window.ethereum : 'https://rpc.gnosischain.com/' + web3ProviderUri = window.ethereum ? undefined : 'https://rpc.gnosischain.com/' marketplaceUri = 'https://marketplace-api.gnosis.nevermined.app' graphHttpUri = 'https://api.thegraph.com/subgraphs/name/nevermined-io/public' neverminedNodeUri = 'https://node.gnosis.nevermined.app' @@ -89,7 +89,7 @@ export class AppDeploymentMatic extends NeverminedAppOptions { instanceName = 'appMatic' appUrl = 'https://matic.nevermined.app' chainId = 137 - web3ProviderUri = window.ethereum ? window.ethereum : 'https://polygon-rpc.com' + web3ProviderUri = window.ethereum ? undefined : 'https://polygon-rpc.com' marketplaceUri = 'https://marketplace-api.matic.nevermined.app' graphHttpUri = 'https://api.thegraph.com/subgraphs/name/nevermined-io/public' neverminedNodeUri = 'https://node.matic.nevermined.app' @@ -105,7 +105,7 @@ export class AppDeploymentBase extends NeverminedAppOptions { instanceName = 'appBase' appUrl = 'https://base.nevermined.app' chainId = 8453 - web3ProviderUri = window.ethereum ? window.ethereum : 'https://1rpc.io/base' + web3ProviderUri = window.ethereum ? undefined : 'https://1rpc.io/base' marketplaceUri = 'https://marketplace-api.base.nevermined.app' graphHttpUri = 'https://api.thegraph.com/subgraphs/name/nevermined-io/public' neverminedNodeUri = 'https://node.base.nevermined.app' @@ -121,7 +121,7 @@ export class AppDeploymentCelo extends NeverminedAppOptions { instanceName = 'appCelo' appUrl = 'https://celo.nevermined.app' chainId = 42220 - web3ProviderUri = window.ethereum ? window.ethereum : 'https://forno.celo.org' + web3ProviderUri = window.ethereum ? undefined : 'https://forno.celo.org' marketplaceUri = 'https://marketplace-api.celo.nevermined.app' graphHttpUri = 'https://api.thegraph.com/subgraphs/name/nevermined-io/public' neverminedNodeUri = 'https://node.celo.nevermined.app' @@ -137,7 +137,7 @@ export class AppDeploymentOptimism extends NeverminedAppOptions { instanceName = 'appOptimism' appUrl = 'https://optimism.nevermined.app' chainId = 10 - web3ProviderUri = window.ethereum ? window.ethereum : 'https://optimism.drpc.org' + web3ProviderUri = window.ethereum ? undefined : 'https://optimism.drpc.org' marketplaceUri = 'https://marketplace-api.optimism.nevermined.app' graphHttpUri = 'https://api.thegraph.com/subgraphs/name/nevermined-io/public' neverminedNodeUri = 'https://node.optimism.nevermined.app'