14 Commits

Author SHA1 Message Date
Hayden Young
58769c4d15 style: Linting. 2024-10-15 18:38:53 +01:00
Hayden Young
e1ef3224b4 feat: Upgrade ccrypto. 2024-10-15 18:35:19 +01:00
Hayden Young
b55319b3d1 test: Check type not class for peer id. 2024-10-15 12:57:06 +01:00
haad
0fd5287c8c Remove obsolete timeout, fix couple of typos in tests 2023-12-15 10:28:47 +02:00
Hayden Young
31597d7084 refactor: Support Helia. 2023-09-23 16:25:29 +01:00
Hayden Young
170d9a9b7c chore: Update npm packages. 2023-09-18 14:12:43 +01:00
Hayden Young
5f5d25d4c1 chore: Fix lint issues. 2023-08-15 01:09:51 +01:00
Hayden Young
5079d490d9 refactor: Rename OrbitDB entry point. 2023-08-15 00:55:27 +01:00
Hayden Young
60fbe47ee3
Jsdocs (#73)
* fix: Load correct main.

* docs: Enable markdown.

* docs: Add jsdoc blocks.

* docs: Separate orbitdb into module and namespace.

* docs: Database module and namespace.

* docs: Default values for storage.

* docs: Match param naming across modules.

* docs: Use @link where possible.

* docs: Use @example for code.

* docs: KeyStore module and namespace documentation.

* docs: API for Access controller management.

* docs: Document Database events.

* docs: Formatting.

* docs: Notes on Custom AC and including a canAppend function.

* docs: Standardize primitive data types.

* docs: Proposed submodule structure.

* docs: Composed storage. How to create custom storage.

* docs: annotations for all storage modules.

* docs: Documents.

* docs: KeyValueIndexed.

* docs: Provide example for specifying storage for keyvalue.

* docs: KeyValue.

* docs: Remove const documentation where not required.

* docs: KeyStore static functions.

* docs: Identities.

* docs: Identity.

* refactor: Remove unused param.

* docs: Address.

* docs: Address.

* docs: Manifest.

* docs: IPFSAccessController.

* docs: OrbitDBAccessController.

* docs: Utils.

* test: check for correct message.
2023-05-18 03:34:44 +08:00
saul
1c16a7155c Replace ipfs package with ipfs-core. 2023-03-27 12:59:51 +13: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
dd22ceabb7 Fix tests, remove old fixtures data 2023-03-02 08:16:59 +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