490 Commits

Author SHA1 Message Date
haad
0fd5287c8c Remove obsolete timeout, fix couple of typos in tests 2023-12-15 10:28:47 +02:00
haad
6e6e4e6b4a Use only bitswap in tests 2023-12-15 08:50:46 +02:00
haad
47b945471f Remove extra console.log from replication test 2023-12-15 08:47:24 +02:00
Hayden Young
d718a66818 feat: Default Libp2p config for node.js and browser peers. 2023-12-14 01:40:20 +00:00
Hayden Young
82591bf456 Merge remote-tracking branch 'origin' into helia 2023-12-02 21:48:09 +00:00
haad
f675641982 Refactor joinEntry implementation 2023-11-30 07:46:14 +02:00
Hayden Young
9f766da793 Merge branch 'main' into helia 2023-11-14 17:20:10 +00:00
Hayden Young
98594b9081 test: Amount configured more than total entries being returned by gt/gte iterator filter. 2023-11-13 22:25:52 +00:00
Hayden Young
59faae5694 test: Change muxer. 2023-11-09 23:26:33 +00:00
Hayden Young
04e9e8d7e4 chore: Lint fix. 2023-11-09 18:06:42 +00:00
Hayden Young
1c3b99c605 Merge branch 'main' into helia 2023-11-09 18:03:03 +00:00
Hayden Young
4b89ce3e00 test: Connect peers directly once address is established by relay in browser tests. 2023-11-09 17:47:38 +00:00
Hayden Young
3c5c44c389 test: Bump up disconnectThreshold limit when setting up sync streams. 2023-11-08 17:04:30 +00:00
Hayden Young
071d78df16 refactor: Remove removeAccessController. 2023-11-06 18:09:03 +00:00
Hayden Young
8305da9581 test: Remove reservationClearInterval. It is causing NO_RESERVATION errors. 2023-11-06 15:52:09 +00:00
Hayden Young
c8914a74ec fix: Lint issues. 2023-10-14 14:55:03 +01:00
Hayden Young
649c2dfc91 test: Use unique db names to avoid db close errors. 2023-10-14 14:50:58 +01:00
Hayden Young
7123556a27 test: Drop dbs after each test. 2023-10-14 01:48:21 +01:00
Hayden Young
7f87b64542 test: Wait for db2 to close before re-opening. 2023-10-12 23:55:51 +01:00
Hayden Young
e609d33ae8 chore: Output stack. 2023-10-11 23:30:35 +01:00
Hayden Young
3b3f90501c fix: Stop sync before removing listeners. 2023-10-11 22:24:05 +01:00
Hayden Young
a44323851f test: Pause between db close/open when testing deterministic AC. 2023-10-10 19:49:33 +01:00
Hayden Young
e8146bb2ff fix: Lint issues. 2023-10-10 19:42:15 +01:00
Hayden Young
4213bdb241 test: Disable db re-open when testing deterministic AC. 2023-10-10 19:38:53 +01:00
Hayden Young
15ec24570b test: Only run single test to isolate premature db closure during CI. 2023-10-10 19:22:28 +01:00
Hayden Young
5cd69a4b99 test: Skip test to isolate premature db closure during CI. 2023-10-10 18:36:32 +01:00
Hayden Young
29d1a618e5 test: Fix relay timeouts. 2023-10-09 17:32:54 +01:00
Hayden Young
6d82ad2b31 test: Dial peers. 2023-09-28 20:57:00 +01:00
haad
f86564db13 Fix helia tests 2023-09-28 16:14:57 +03:00
Hayden Young
d917e11b6e test: Hang up relay. 2023-09-28 08:08:23 +01:00
Hayden Young
f28aa476f7 test: Relay for web browser testing. 2023-09-26 03:22:06 +01:00
Hayden Young
ec8b17352a fix: Deregister all events to complete stop sync. 2023-09-25 19:32:36 +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
72ebd7ebc2 Close databases when orbitdb is stopped 2023-09-13 07:49:28 +03:00
Hayden Young
954767e50f chore: Fix lint issues. 2023-09-08 01:34:41 +01:00
Hayden Young
858c66fe86 test: Override default keyvalue with indexed keyvalue. 2023-09-08 00:53:59 +01:00
Hayden Young
a8d241cd7b test: Basic tests for identity configuration. 2023-09-08 00:14:42 +01:00
Hayden Young
8fb09a959d chore: Fix lint issues. 2023-09-07 14:49:43 +01:00
Hayden Young
c42f28740a fix: Async both the idp and the verifyIdentity function. 2023-09-07 13:44:24 +01:00
Hayden Young
c75b805ed1 refactor: Use an identity provider. 2023-09-07 09:38:19 +01:00
Hayden Young
06ea870308 refactor: Use an access controller. 2023-09-07 09:34:48 +01:00
Hayden Young
7888ff06a3 refactor: Use a database type. 2023-09-07 09:29:33 +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
c4f085b267 refactor: Match database registration to AC/IDP registration processes. 2023-09-05 22:52:51 +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