Browse Source

Up drizzle

develop
Ezerous 4 years ago
parent
commit
5e911899c1
  1. 8
      lerna.json
  2. 4
      packages/concordia-app/package.json
  3. 3
      packages/concordia-app/src/options/drizzleOptions.js
  4. 3568
      yarn.lock

8
lerna.json

@ -1,8 +0,0 @@
{
"version": "0.0.1",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
"packages/*"
]
}

4
packages/concordia-app/package.json

@ -27,10 +27,11 @@
}, },
"dependencies": { "dependencies": {
"@ezerous/breeze": "0.1.0", "@ezerous/breeze": "0.1.0",
"@ezerous/drizzle": "0.2.1", "@ezerous/drizzle": "0.3.0",
"@reduxjs/toolkit": "1.4.0", "@reduxjs/toolkit": "1.4.0",
"concordia-contracts": "0.1.0", "concordia-contracts": "0.1.0",
"level": "6.0.1", "level": "6.0.1",
"orbit-db-identity-provider": "0.3.1",
"prop-types": "15.7.2", "prop-types": "15.7.2",
"react": "16.13.1", "react": "16.13.1",
"react-dom": "16.13.1", "react-dom": "16.13.1",
@ -43,7 +44,6 @@
}, },
"devDependencies": { "devDependencies": {
"libp2p-webrtc-star": "0.20.0", "libp2p-webrtc-star": "0.20.0",
"orbit-db-identity-provider": "0.3.1",
"patch-package": "6.2.2", "patch-package": "6.2.2",
"postinstall-postinstall": "2.1.0" "postinstall-postinstall": "2.1.0"
} }

3
packages/concordia-app/src/options/drizzleOptions.js

@ -9,7 +9,8 @@ const drizzleOptions = {
contracts, contracts,
events: { events: {
Forum: ['UserSignedUp', 'UsernameUpdated', 'TopicCreated', 'PostCreated'] Forum: ['UserSignedUp', 'UsernameUpdated', 'TopicCreated', 'PostCreated']
} },
reloadWindowOnAccountChange: true // We need it to reinitialize breeze and create new Orbit databases
}; };
export default drizzleOptions; export default drizzleOptions;

3568
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save