Commit Graph

16 Commits

Author SHA1 Message Date
Hayden Young
e6f86fa203 docs: Do not document utils. They are not exposed externally. 2023-06-24 16:18:46 +01: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
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
78432f2166 Fix wrong path join method being used. 2023-04-04 15:03:17 +12:00
Hayden Young
428ce83878 Refactor/ac (#61)
* refactor: Move Manifest to own module.

* refactor: Modularize orbitdb access controller.

* chore: Check for correct access controller path and modify if necessary.

* fix: Linting.

* refactor: AC interface no longer needed.

* refactor: Move IPFS-specific AC list back into IPFS AC.

* refactor: Explicitly name access controller param.

* refactor: Pass in manifest settings as object.

* refactor: Config access controllers.

* refactor: ACs should expose specific params before being called with generic params.

* feat: Pass write access to root IPFS AC.

* refactor: AC should handle type prefix.

* test: Test for type.

* refactor: Pass generic access to Database (and inheriting dbs).

* refactor: Use AccessControllers module to manage custom ACs.

* chore: Remove excess console logging.

* test: Fix ipfs module import.
2023-04-03 19:56:47 +08:00
Haad
a027525e5c Merge pull request #57 from saul-jb/feat/path-refactor
feat: Remove dependence on path.
2023-03-29 18:20:11 +03:00
saul
9ca2408453 Change default join to posix. 2023-03-29 10:39:54 +13:00
saul
194ecafb0a Fix issue using posix paths with win32 join. 2023-03-29 10:13:19 +13:00
saul
35a6bf121c Remove is-defined util. 2023-03-28 15:01:21 +13:00
saul
3c79588778 Fix process undefined error in browsers. 2023-03-28 13:04:08 +13:00
saul
7ce1257cf9 Add posix and win32 variations to path join. 2023-03-28 12:55:11 +13:00
saul
cf421ee669 Add path joining utility. 2023-03-28 12:16:42 +13:00
haad
4a7d3f0720 Move files, clean up 2023-03-01 18:16:06 +02:00
haad
42a5c2d723 WIP 2023-02-16 10:16:15 +02:00
Hayden Young
d06d800943 refactor: Webpack imports. 2022-12-20 01:12:56 +00:00
shamb0t
6226842691 Update dependencies
Add access-controllers, identity

Update build command

Add static createInstance
2019-02-20 13:16:33 +00:00