23 Commits

Author SHA1 Message Date
Hayden Young
170d9a9b7c chore: Update npm packages. 2023-09-18 14:12:43 +01:00
Hayden Young
c75b805ed1 refactor: Use an identity provider. 2023-09-07 09:38:19 +01:00
Hayden Young
a0fc91d674 chore: Lint fixes. 2023-09-05 23:01:37 +01:00
Hayden Young
b0296838bb refactor: Align AC/IDP/Database registration processes. Should return similar errors. 2023-09-05 22:53:47 +01:00
Hayden Young
cc2ee0fe2a test: Check for valid IDP when creating an identity. 2023-09-04 17:35:01 +01:00
Hayden Young
a552bde0b0 fix: Export the IDP type in both the function definition and the function return values. 2023-09-04 17:03:10 +01:00
Hayden Young
c08bf8d2d0 refactor: Move type and verifyIdentity into IDP function. Pass provider as using provider param. 2023-09-04 10:39:25 +01:00
Hayden Young
0a5a6ed1ac refactor: Identity provider can be passed as partially instantiated function. 2023-09-04 00:43:27 +01:00
Hayden Young
4c3a338205 refactor: Standardize module loader functions. Do not expose module lists. 2023-06-18 03:05:07 +01:00
Hayden Young
b9e573dc6d
feat: Expose identity provider managers. (#75)
* feat: Expose identity provider managers.

* refactor: Remove unnecessary provider tools.

* refactor: Match AC management to other management mechanisms (e.g. Identity Providers).
2023-06-02 02:53:40 +08:00
Hayden Young
794136c762
refactor: Functionize identity provider. (#74)
* refactor: Functionize identity provider.

* docs: Building a custom identity provider.

* refactor: Functionize clock.
2023-05-25 00:48:01 +08:00
haad
b1d16fc7b4 Cleanups 2023-04-13 08:26:41 +03:00
haad
a94d2a7918 Renaming pass 2023-04-06 08:32:31 +03:00
saul
2845c138c5 Remove buffer usage from tests. 2023-03-27 11:48:30 +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
eacada3ab2 Don't use secp256k1.publicKeyConvert function 2023-03-02 10:08:07 +02:00
haad
2c6e40c0f1 Fix identity storage path and clean up tests 2023-03-02 07:24:21 +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
f6368c2645 feat: Implement new keystore across tests. 2023-03-01 10:01:17 +00:00
Hayden Young
bf86156f9f refactor: Use KeyStore as function. Export signMessage and verifyMessage to avoid clashes with similarly named functions. 2023-02-27 02:42:18 +00:00
haad
f84915fca8 Merge identity keys and signing keys keystores 2023-02-20 11:21:34 +02:00
haad
0caa34afcb Change Identity's signatures structure 2023-02-20 10:51:12 +02:00