Commit Graph

541 Commits

Author SHA1 Message Date
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
0a13a27546 Merge pull request #1115 from 1329576606/main
fix log.js iterator
2023-11-14 06:19:53 +08:00
Hayden Young
1c3b99c605 Merge branch 'main' into helia 2023-11-09 18:03:03 +00:00
Hayden Young
071d78df16 refactor: Remove removeAccessController. 2023-11-06 18:09:03 +00:00
zhanxin.xu
d24dffc0a8 fix log.js iterator
fix log.js iterator
2023-10-23 15:12:23 +08:00
Hayden Young
d05cd87b5c chore: Do not catch any error when onPeerJoined. 2023-10-12 21:03:19 +01:00
Hayden Young
b069e76f91 chore: Catch any error when onPeerJoined. 2023-10-12 20:28:59 +01:00
Hayden Young
01d74aaa02 chore: Do not catch any error when onPeerJoined. 2023-10-11 23:41:06 +01:00
Hayden Young
e609d33ae8 chore: Output stack. 2023-10-11 23:30:35 +01:00
Hayden Young
78dab50eb8 chore: Do not catch any error when sendHeads. 2023-10-11 23:20:13 +01:00
Hayden Young
e1a163bce7 fix: Lint issues. 2023-10-11 23:05:22 +01:00
Hayden Young
0c3e7667f3 chore: Catch heads iterator errors. 2023-10-11 23:03:22 +01:00
Hayden Young
3b3f90501c fix: Stop sync before removing listeners. 2023-10-11 22:24:05 +01:00
Hayden Young
3b7ffd02a7 fix: Lint issues. 2023-10-10 09:37:56 +01:00
Hayden Young
280bc60a92 refactor: Do not filter "messages from me". Hand off to Helia config. 2023-10-10 09:36:00 +01:00
haad
f86564db13 Fix helia tests 2023-09-28 16:14:57 +03:00
Hayden Young
ec8b17352a fix: Deregister all events to complete stop sync. 2023-09-25 19:32:36 +01:00
Hayden Young
dc706ee713 fix: Filter pubsub sync messages by address. 2023-09-24 00:31:38 +01:00
Hayden Young
31597d7084 refactor: Support Helia. 2023-09-23 16:25:29 +01:00
Hayden Young
411702e561 Merge pull request #1100 from orbitdb/docs/dead-links
Docs/dead links
2023-09-17 21:43:38 +08:00
Hayden Young
bc7e559f00 docs: Correctly name createOrbitDB func in API. 2023-09-17 14:39:15 +01:00
haad
72ebd7ebc2 Close databases when orbitdb is stopped 2023-09-13 07:49:28 +03:00
Hayden Young
858c66fe86 test: Override default keyvalue with indexed keyvalue. 2023-09-08 00:53:59 +01:00
Hayden Young
01f401a71a refactor: Using the same IDP does not throw error. 2023-09-08 00:13:43 +01:00
Hayden Young
8fb09a959d chore: Fix lint issues. 2023-09-07 14:49:43 +01:00
Hayden Young
5c03f816d3 feat: Return OrbitDB configured id. 2023-09-07 13:46:49 +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
86f4c9cd52 refactor: Second partial function async. 2023-09-06 20:56:04 +01:00
Hayden Young
f6a32050cc fix: If provider is specified, pass to identity creator. 2023-09-06 20:48:46 +01:00
Hayden Young
5b83acf26d refactor: Remove unnecessary identity provider configuration. 2023-09-06 20:15:36 +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
94a8988115 refector: Load default ACs using AC manager. 2023-09-05 21:41:38 +01:00
Hayden Young
fc45f0614a refactor: Load pubkey idp using idp manager. 2023-09-05 21:41:18 +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
a25eb3aba6 fix: Correctly check for identity provider. 2023-09-04 10:44:43 +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
8df135284c docs: API docs for new params. 2023-09-04 00:48:49 +01:00
Hayden Young
0a5a6ed1ac refactor: Identity provider can be passed as partially instantiated function. 2023-09-04 00:43:27 +01:00
haad
ef56b9f9b1 Fix db instance caching 2023-09-01 09:03:34 +03:00
Hayden Young
5079d490d9 refactor: Rename OrbitDB entry point. 2023-08-15 00:55:27 +01:00
Hayden Young
051c17d2a3 Merge pull request #94 from orbitdb/fix/orbitdb-ac
Fix OrbitDBAccessController
2023-07-31 20:05:33 +08:00