File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 "context" : " browser" ,
1515 "source" : " src/index-browser.js" ,
1616 "optimize" : false ,
17+ "includeNodeModules" : true ,
18+ "scopeHoist" : true ,
1719 "engines" : {
1820 "browsers" : " Chrome 80"
1921 }
4345 ],
4446 "scripts" : {
4547 "test" : " npx lab" ,
46- "build" : " npx parcel build " ,
48+ "build" : " npx parcel build" ,
4749 "prepare" : " npm run build" ,
4850 "watch" : " parcel watch" ,
4951 "clean" : " rm -rf node_modules; rm package-lock.json; npm i" ,
9597 "uuid" : " ^3.2.1" ,
9698 "uuidv4" : " ^6.2.12" ,
9799 "vm2" : " ^3.9.2" ,
98- "websocket" : " github:sevenbitbyte/WebSocket-Node#parcel-build"
100+ "websocket" : " github:sevenbitbyte/WebSocket-Node#parcel-build" ,
101+ "zangodb" : " github:sevenbitbyte/zangodb#hash-patch"
99102 },
100103 "devDependencies" : {
101104 "@dataparty/bouncer-model" : " 1.4.3" ,
104107 "assert" : " ^2.0.0" ,
105108 "better-docs" : " ^1.1.6" ,
106109 "browserify-zlib" : " ^0.2.0" ,
110+ "crypto-browserify" : " ^3.12.0" ,
107111 "docdash" : " ^1.1.1" ,
108112 "fake-indexeddb" : " ^4.0.0" ,
109113 "https-browserify" : " ^1.0.0" ,
Original file line number Diff line number Diff line change 22
33const IDb = require ( '../idb' )
44const Hoek = require ( '@hapi/hoek' )
5- const zango = require ( 'zangodb' )
5+ import zango from 'zangodb'
66const reach = require ( '../../utils/reach' )
77const ObjectId = require ( 'bson-objectid' )
88
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ module.exports = {
77
88 LokiDb : require ( './db/loki-db' ) ,
99 TingoDb : require ( './db/tingo-db' ) ,
10- // ZangoDb: require('./db/zango-db')
10+ ZangoDb : require ( './db/zango-db' )
1111}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const IParty = require('./iparty')
22const PeerParty = require ( './peer/peer-party' )
33const CloudParty = require ( './cloud/cloud-party' )
44const LokiParty = require ( './local/loki-party' )
5- const ZangoParty = null // require('./local/zango-party')
5+ const ZangoParty = require ( './local/zango-party' )
66
77const IDocument = require ( './idocument' )
88const DocumentFactory = require ( './document-factory' )
You can’t perform that action at this time.
0 commit comments