25 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
9fd01ff530
Merge pull request #64 from saul-jb/refactor/packages
refactor: Remove unused packages.
2023-04-07 07:38:28 +03:00
haad
3030336db9 More refactoring 2023-04-06 15:25:42 +03: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
saul
7a9e002ead Remove and replace p-map-series with Promise.all. 2023-04-04 14:11:57 +12: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
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
fbc76b4b31 Clean up oplog tests 2023-03-02 07:08:05 +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
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
Hayden Young
ba521f7bc2 test: Ranges. 2023-02-22 21:07:08 +00:00
Hayden Young
0381c74146 test: Iterator option tests. 2023-02-22 16:39:05 +00:00
haad
e03af7e905 Fix tests 2023-02-22 10:09:15 +02:00
Hayden Young
d7d4d72ce9 test: amount, lt, lte, gt, gte. 2023-02-22 02:34:56 +00:00
Hayden Young
8db138ac9d refactor: Return hash and value. 2023-02-21 17:22:27 +00:00
Hayden Young
f252e3b332 feat: Iterator can return full operation. 2023-02-21 14:26:43 +00:00
Hayden Young
fe207a9020 test: Test event store iterator options. 2023-02-21 02:47:05 +00:00
Hayden Young
d8145edcc3 test: Move store tests to subdir. 2023-02-20 23:44:56 +00:00