diff --git a/packages/concordia-app/package.json b/packages/concordia-app/package.json index 103506e..e31bacb 100644 --- a/packages/concordia-app/package.json +++ b/packages/concordia-app/package.json @@ -26,7 +26,7 @@ "dependencies": { "@ecentrics/breeze": "~0.7.0", "@ecentrics/drizzle": "~0.5.0", - "@ecentrics/eth-identity-provider": "~0.1.2", + "@ecentrics/eth-identity-provider": "~0.2.0", "@reduxjs/toolkit": "~1.4.0", "@welldone-software/why-did-you-render": "~6.0.5", "apexcharts": "^3.26.0", diff --git a/packages/concordia-app/src/redux/sagas/orbitSaga.js b/packages/concordia-app/src/redux/sagas/orbitSaga.js index 07e660b..c70d8e1 100644 --- a/packages/concordia-app/src/redux/sagas/orbitSaga.js +++ b/packages/concordia-app/src/redux/sagas/orbitSaga.js @@ -30,6 +30,7 @@ function* orbitSaga() { EthereumContractIdentityProvider.setContractAddress(contractAddress); EthereumContractIdentityProvider.setWeb3(web3); + EthereumContractIdentityProvider.setStoreAuthDataLocally(true); yield initOrbitDatabases({ breeze: res[1].breeze, account: res[2].accounts[0] }); } diff --git a/yarn.lock b/yarn.lock index 8cfe77f..160c027 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1207,6 +1207,14 @@ level "~6.0.1" orbit-db-identity-provider "~0.3.1" +"@ecentrics/eth-identity-provider@~0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@ecentrics/eth-identity-provider/-/eth-identity-provider-0.2.0.tgz#c7cd36e4c4f9e85d73082fba80cb43c9d7e4a4a3" + integrity sha512-AH4JXCee/wlD7FJwyLAmwjVJD1XP6TpSUzllUkpabptkhJkRNpQJypvDatN/1x2cCWGjSMBhoNXxCC5WDtobiw== + dependencies: + level "~6.0.1" + orbit-db-identity-provider "~0.3.1" + "@eslint/eslintrc@^0.4.0": version "0.4.0" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.0.tgz#99cc0a0584d72f1df38b900fb062ba995f395547"