20 Commits

Author SHA1 Message Date
Hayden Young
8b93553d0e refactor: Move database type management to db module. 2023-06-18 02:43:03 +01:00
haad
eddf5b853b Refactor Database interface for configuration, add onUpdate callback 2023-04-06 10:00:52 +03:00
haad
a94d2a7918 Renaming pass 2023-04-06 08:32:31 +03:00
Haad
a5c14d5377
Fix log fetching parallelism (#60)
* Fix log traverse parallelism

* Rename pointerCount to referencesCount
2023-03-29 21:10:24 +08:00
saul
1c16a7155c Replace ipfs package with ipfs-core. 2023-03-27 12:59:51 +13:00
Hayden Young
2a563bac79
refactor: Return hash. (#44) 2023-03-18 02:53:52 +08:00
Haad
bc816c7e2e
Browser tests (#41)
* Get browsers tests running

* Clean up replication test

* Setup fixtures for browser tests

* Fix import paths for webpack

* Fix webpack

* Add mocha-headless-chrome to run browser tests

* Add webrtc swarm endpoints for browser test IPFS node configs

* Remove adding pubkey to storage in KeyStore

* Runs browser tests in CI

* Fix import paths again

* Fix failing browser tests

* Fixes
2023-03-11 18:56:23 +08:00
haad
611fb35330 Fix tests for deleting a key-value pair 2023-03-09 09:57:32 +02:00
haad
3008529511 Fix linter 2023-03-09 09:12:14 +02:00
haad
bb6fa4ca1a Add 'amount' parameter to keyvalue iterator 2023-03-09 09:10:25 +02:00
haad
eacada3ab2 Don't use secp256k1.publicKeyConvert function 2023-03-02 10:08:07 +02:00
haad
9f50fb5e53 Use js-ipfs only in tests 2023-03-02 09:08:17 +02:00
haad
b1e953d926 Clean up database tests 2023-03-02 07:41:44 +02:00
haad
13d5c93701 Clean up test files 2023-03-02 06:00:45 +02:00
haad
4a7d3f0720 Move files, clean up 2023-03-01 18:16:06 +02:00
haad
a063b3fb4a Refactor OrbitDB
Fix sync
Fix linter
Fix tests
Clean up
Set default references count to 0
Fix sync
Use address instead of databaseId
Sync protocol
Keep references to open databases in OrbitDB
Fix append benchmark
Initial version of heads exchange
Remove Feed
Fix KeyValuePersisted iterator
Refactor OrbitDBAddress a bit more
Add rest of the database types
Refactor OrbitDB addresses
Initial version for the full circle
Initial structure and tests for new OrbitDB
Make sure KeyStore is open when a Database is created
Re-organize OrbitDB
Use new databases and Log
More clean up
Add 'drop' event to Database
Clean up OrbitDB
Remove id from OrbitDB
Use new KeyStore and Identities
Remove storage from OrbitDB
Remove migrations from OrbitDB
Remove caches from OrbitDB
Remove pubsub from OrbitDB
2023-03-01 16:21:07 +02:00
haad
1575f00912 Add new test keys fixtures database 2023-03-01 14:49:00 +02:00
Hayden Young
1fe62104c6 refactor: queue writes to index. 2023-02-24 02:51:56 +00:00
Hayden Young
3f70f4ddd2 refactor: Do not return hash as part of iterator result. 2023-02-24 00:46:56 +00:00
Hayden Young
0cdd740df6 test: Key/Value. 2023-02-23 02:36:50 +00:00