@ddd-qc/agent-directory 5.1.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -0
  2. package/package.json +6 -3
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # Agent Directory
2
+
3
+ A holochain zome module that registers agents to a known directory path on agent init.
4
+
5
+
6
+ # API
7
+
8
+ Uses [lit-happ](https://www.npmjs.com/package/@ddd-qc/lit-happ) framework.
9
+ Provides a ZomeProxy and ZomeViewModel.
10
+
11
+ ### Perspective
12
+
13
+ ```javascript
14
+ interface AgentDirectoryPerspective {
15
+ agents: AgentPubKeyB64[], // List of registered agents
16
+ }
17
+ ```
18
+
19
+ ### ZomeViewModel
20
+ - `probeRegisteredAgents()`: Check the DHT for new registered agents.
21
+
22
+
23
+ # Custom Elements
24
+ - `<agent-directory-list>`: A `ul` of all the AgentPubKeys found by `get_registered_agents()`
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@ddd-qc/agent-directory",
3
- "version": "5.1.0",
4
- "license" : "CAL-1.0",
5
- "keywords": ["holochain", "zome"],
3
+ "version": "5.1.1",
4
+ "license": "CAL-1.0",
5
+ "keywords": [
6
+ "holochain",
7
+ "zome"
8
+ ],
6
9
  "main": "./dist/index.js",
7
10
  "module": "./dist/index.js",
8
11
  "typings": "./dist/index.d.ts",