From 7de8d97cffe95480f223226360f1e7aa0d8a5763 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Tue, 21 Sep 2021 14:38:15 +0300 Subject: [PATCH] fix: update imports to new packages --- .../src/components/InitializationScreen/index.jsx | 2 +- packages/concordia-app/src/redux/sagas/eventSaga.js | 2 +- packages/concordia-app/src/redux/sagas/orbitSaga.js | 6 +++--- .../concordia-app/src/redux/sagas/peerDbReplicationSaga.js | 2 +- packages/concordia-app/src/redux/sagas/rootSaga.js | 4 ++-- packages/concordia-app/src/redux/sagas/userSaga.js | 2 +- packages/concordia-app/src/redux/store.js | 6 +++--- packages/concordia-app/src/utils/orbitUtils.js | 2 +- packages/concordia-pinner/src/utils/orbitUtils.js | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/concordia-app/src/components/InitializationScreen/index.jsx b/packages/concordia-app/src/components/InitializationScreen/index.jsx index 21cbf11..ca47538 100644 --- a/packages/concordia-app/src/components/InitializationScreen/index.jsx +++ b/packages/concordia-app/src/components/InitializationScreen/index.jsx @@ -1,5 +1,5 @@ import React, { Children } from 'react'; -import { breezeConstants } from '@ezerous/breeze'; +import { breezeConstants } from '@ecentrics/breeze'; import { useSelector } from 'react-redux'; import { FORUM_CONTRACT } from 'concordia-shared/src/constants/contracts/ContractNames'; import CustomLoader from './CustomLoader'; diff --git a/packages/concordia-app/src/redux/sagas/eventSaga.js b/packages/concordia-app/src/redux/sagas/eventSaga.js index b6017c6..9445631 100644 --- a/packages/concordia-app/src/redux/sagas/eventSaga.js +++ b/packages/concordia-app/src/redux/sagas/eventSaga.js @@ -1,5 +1,5 @@ import { put, takeEvery } from 'redux-saga/effects'; -import { CONTRACT_EVENT_FIRED } from '@ezerous/drizzle/src/contracts/constants'; +import { CONTRACT_EVENT_FIRED } from '@ecentrics/drizzle/src/contracts/constants'; import eventActionMap from '../actions/contractEventActions'; function* eventBreakDown({ event }) { diff --git a/packages/concordia-app/src/redux/sagas/orbitSaga.js b/packages/concordia-app/src/redux/sagas/orbitSaga.js index 8852a8e..07e660b 100644 --- a/packages/concordia-app/src/redux/sagas/orbitSaga.js +++ b/packages/concordia-app/src/redux/sagas/orbitSaga.js @@ -2,10 +2,10 @@ import { call, put, all, take, } from 'redux-saga/effects'; -import { breezeActions } from '@ezerous/breeze'; -import { drizzleActions } from '@ezerous/drizzle'; +import { breezeActions } from '@ecentrics/breeze'; +import { drizzleActions } from '@ecentrics/drizzle'; -import { EthereumContractIdentityProvider } from '@ezerous/eth-identity-provider'; +import { EthereumContractIdentityProvider } from '@ecentrics/eth-identity-provider'; import { FORUM_CONTRACT } from 'concordia-shared/src/constants/contracts/ContractNames'; import drizzleOptions from '../../options/drizzleOptions'; diff --git a/packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js b/packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js index b64d91d..bc93002 100644 --- a/packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js +++ b/packages/concordia-app/src/redux/sagas/peerDbReplicationSaga.js @@ -6,7 +6,7 @@ import { ORBIT_DB_READY, ORBIT_DB_REPLICATED, ORBIT_DB_WRITE, -} from '@ezerous/breeze/src/orbit/orbitActions'; +} from '@ecentrics/breeze/src/orbit/orbitActions'; import { POLLS_DATABASE, POSTS_DATABASE, diff --git a/packages/concordia-app/src/redux/sagas/rootSaga.js b/packages/concordia-app/src/redux/sagas/rootSaga.js index dd24291..e1bfbce 100644 --- a/packages/concordia-app/src/redux/sagas/rootSaga.js +++ b/packages/concordia-app/src/redux/sagas/rootSaga.js @@ -1,6 +1,6 @@ import { all, fork } from 'redux-saga/effects'; -import { drizzleSagas } from '@ezerous/drizzle'; -import { breezeSagas } from '@ezerous/breeze'; +import { drizzleSagas } from '@ecentrics/drizzle'; +import { breezeSagas } from '@ecentrics/breeze'; import orbitSaga from './orbitSaga'; import userSaga from './userSaga'; import peerDbReplicationSaga from './peerDbReplicationSaga'; diff --git a/packages/concordia-app/src/redux/sagas/userSaga.js b/packages/concordia-app/src/redux/sagas/userSaga.js index ed7ae8b..4a86018 100644 --- a/packages/concordia-app/src/redux/sagas/userSaga.js +++ b/packages/concordia-app/src/redux/sagas/userSaga.js @@ -2,7 +2,7 @@ import { all, call, put, take, takeLatest, } from 'redux-saga/effects'; -import { drizzleActions } from '@ezerous/drizzle'; +import { drizzleActions } from '@ecentrics/drizzle'; import { FORUM_CONTRACT } from 'concordia-shared/src/constants/contracts/ContractNames'; import { USER_DATA_UPDATED, USER_DATA_ERROR } from '../actions/userActions'; import { FORUM_EVENT_USER_SIGNED_UP } from '../actions/contractEventActions'; diff --git a/packages/concordia-app/src/redux/store.js b/packages/concordia-app/src/redux/store.js index 25e0e9e..94564ed 100644 --- a/packages/concordia-app/src/redux/store.js +++ b/packages/concordia-app/src/redux/store.js @@ -1,11 +1,11 @@ import { configureStore, getDefaultMiddleware } from '@reduxjs/toolkit'; import { drizzleReducers, drizzleMiddlewares, generateContractsInitialState, Drizzle, -} from '@ezerous/drizzle'; -import { Breeze, breezeReducers } from '@ezerous/breeze'; +} from '@ecentrics/drizzle'; +import { Breeze, breezeReducers } from '@ecentrics/breeze'; import createSagaMiddleware from 'redux-saga'; import getBreezeConfiguration from 'concordia-shared/src/configuration/breezeConfiguration'; -import { EthereumContractIdentityProvider } from '@ezerous/eth-identity-provider'; +import { EthereumContractIdentityProvider } from '@ecentrics/eth-identity-provider'; import userReducer from './reducers/userReducer'; import rootSaga from './sagas/rootSaga'; import drizzleOptions from '../options/drizzleOptions'; diff --git a/packages/concordia-app/src/utils/orbitUtils.js b/packages/concordia-app/src/utils/orbitUtils.js index ae6117e..584b3dd 100644 --- a/packages/concordia-app/src/utils/orbitUtils.js +++ b/packages/concordia-app/src/utils/orbitUtils.js @@ -1,5 +1,5 @@ // https://github.com/orbitdb/orbit-db/blob/master/GUIDE.md#address -import { EthereumContractIdentityProvider } from '@ezerous/eth-identity-provider'; +import { EthereumContractIdentityProvider } from '@ecentrics/eth-identity-provider'; async function determineDBAddress({ orbit, dbName, type, identityId, diff --git a/packages/concordia-pinner/src/utils/orbitUtils.js b/packages/concordia-pinner/src/utils/orbitUtils.js index c8e4404..5d34f6a 100644 --- a/packages/concordia-pinner/src/utils/orbitUtils.js +++ b/packages/concordia-pinner/src/utils/orbitUtils.js @@ -1,6 +1,6 @@ import OrbitDB from 'orbit-db'; import Identities from 'orbit-db-identity-provider'; -import { EthereumContractIdentityProvider } from '@ezerous/eth-identity-provider'; +import { EthereumContractIdentityProvider } from '@ecentrics/eth-identity-provider'; import Web3 from 'web3'; import { databaseNames } from 'concordia-shared/src/constants/orbit/OrbitDatabases'; import { ORBIT_DIRECTORY_DEFAULT } from '../constants';