Commit Graph

512 Commits

Author SHA1 Message Date
Hayden Young
ba043391d9 chore: Upgrade Helia. 2024-01-09 16:50:25 +00:00
Hayden Young
7003912d2b Merge branch 'helia' into fix/helia-6 2023-12-16 00:27:42 +08:00
haad
cf59f6cad2 Clean up package.json, update to LTS Node.js version 2023-12-15 10:52:35 +02:00
haad
9666de703f Update dependencies 2023-12-15 10:01:09 +02:00
Hayden Young
c0fe90744c chore: Upgrade Helia. 2023-12-12 23:20:23 +00:00
Hayden Young
4ba30b763e Merge remote-tracking branch 'origin' into helia 2023-12-03 23:19:06 +00:00
Hayden Young
13025e0769 chore: Iterate version. 2023-12-03 17:28:06 +00:00
Hayden Young
82591bf456 Merge remote-tracking branch 'origin' into helia 2023-12-02 21:48:09 +00:00
Hayden Young
e3bd3d770e chore: Iterate version. 2023-11-21 15:16:20 +00:00
Hayden Young
bfba8193ff test: Playwright time/timeEnd fix. 2023-11-13 16:43:20 +00:00
Hayden Young
59faae5694 test: Change muxer. 2023-11-09 23:26:33 +00:00
Hayden Young
0b9dd10c96 chore: Upgrade to helia 2.0.3. 2023-11-04 23:50:54 +00:00
Hayden Young
01187a31f8 test: Run playwright-test for browser testing. 2023-09-28 15:18:58 +01:00
Hayden Young
f28aa476f7 test: Relay for web browser testing. 2023-09-26 03:22:06 +01: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
haad
e877c594b2 Update package.json 2023-09-18 14:48:14 +03:00
Hayden Young
e92406afe9 chore: Iterate release version. 2023-09-18 12:11:52 +01:00
Hayden Young
9beddc8e90 chore: Increment version for 1.0.0 RC2. 2023-09-08 11:43:48 +01:00
Hayden Young
2748ff66ca chore: Increment 0.30.0 to 0.30.1 2023-08-17 18:31:55 +01:00
Hayden Young
a63525ab31 refactor: Scope package name. 2023-08-15 00:44:30 +01:00
Hayden Young
091ad065a2 chore: Bumping version for testing package release. 2023-08-02 12:50:57 +01:00
Hayden Young
af57db4337 refactor: Change package name orbit-db -> orbitdb. 2023-07-15 15:44:06 +01:00
Hayden Young
86358ea2c5 docs: Clean jsdoc-generated API. 2023-06-30 16:18:57 +01:00
Hayden Young
bba53d730a docs: Add a README home page to API. 2023-06-25 00:18:39 +01:00
Hayden Young
58bcdb4855 docs: Change API output dir. 2023-06-18 20:36:04 +01:00
Hayden Young
6def69f345 Identity issue (#82)
* docs: Correctly print out db query results.

* test: Remove concurrent.

* test: Remove unimplemented and 3rd party AC tests.

* test: Remove unimplemented and 3rd party identity tests.

* docs: Move jsdoc config to conf directory.

* Point package.json main at index.js to access all exported functions.

* test: Identities storage pointing at wrong location.

* refactor: Identities is configurable when creating an OrbitDB instance.
2023-06-13 23:55:25 +08:00
Hayden Young
8a97a39047 Docs (#81)
* docs: Update README to match new version.

* docs: Update events example to use new API.

* docs: Correctly print out db query results.

* docs: Describe keyvalue-indexed db.

* docs: Notes about Helia migration.

* docs: Simplify update docs.

* docs: Using the iterator to display results.

* docs: Remove packages.

* chore: Shorten path.

* docs: Show db address for using with replicated peers or re-opening at a later time.

* docs: Import correct ipfs package.
2023-06-13 18:49:01 +08: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
haad
c117ef63ba Add jsdocs 2023-04-13 09:15:27 +03:00
saul
f5c9d5eb90 Remove remark-cli. 2023-04-04 14:14:51 +12:00
saul
7a9e002ead Remove and replace p-map-series with Promise.all. 2023-04-04 14:11:57 +12:00
saul
b3e4a093ca Remove cpy-cli. 2023-04-04 14:10:43 +12:00
saul
23aee1d1ec Remove p-map package and replace with Promise.all. 2023-04-04 14:05:25 +12:00
saul
1cca881a9e Remove logplease. 2023-04-04 14:01:23 +12:00
Haad
a5c14d5377 Fix log fetching parallelism (#60)
* Fix log traverse parallelism

* Rename pointerCount to referencesCount
2023-03-29 21:10:24 +08:00
Haad
fddcd0d775 Fix tests (#51)
* Fix error event test in Sync tests

* Fix race condition

* Debug timeouts

* More tests fixing

* Try running local webrtc-star-signalling server for tests

* Fix sync tests

* Skip Log references tests in the browser tests
2023-03-27 20:09:26 +08:00
Haad
893e34451d Merge pull request #53 from saul-jb/feat/buffer-refactor
feat: remove dependence on buffer/safe-buffer
2023-03-27 07:05:42 +03:00
saul
1c16a7155c Replace ipfs package with ipfs-core. 2023-03-27 12:59:51 +13:00
saul
92dcad1a6e Remove safe-buffer. 2023-03-27 11:50:56 +13:00
saul
b6f1943f3e Add uint8arrays package. 2023-03-27 10:01:31 +13:00
haad
2fa2423851 Enable linting for benchmarks 2023-03-25 12:32:42 +02:00
Hayden Young
b9422463d0 chore: Check required params. (#46)
* chore: Check required params.

* fix: Linting.

* feat: Specify a list of peers with write access.

* test: Identify OrbitDB tests.

* test: IPFS access controller.

* test: Omit "OrbitDB" from test labels.

* test: Correctly set write options.

* fix: Linting.
2023-03-25 06:00:08 +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
56943d0e8a Add code coverage reporting 2023-03-03 09:20:03 +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
93473c8fec Update packages 2023-03-02 08:35:50 +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
61fe23c8d5 chore: Enable linting of tests. 2023-02-23 16:12:21 +00:00