@ddd-qc/agent-directory 1.165.0 → 1.165.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.
- package/README.md +17 -0
- package/package.json +2 -1
package/README.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Agent Directory
|
2
|
+
|
3
|
+
A holochain zome module that registers agents to a known directory path on agent init.
|
4
|
+
|
5
|
+
|
6
|
+
# Web API
|
7
|
+
|
8
|
+
|
9
|
+
## ViewModel
|
10
|
+
- `subscribe(litElement)`: Have host call this to get updated when data has changed
|
11
|
+
- `pullAllFromDht()`: Check the DHT for any kind of new data
|
12
|
+
- `pullAllRegisteredAgents()`: Check the DHT for new registered agents
|
13
|
+
- `agents()`: Getter for the list of registered agents.
|
14
|
+
|
15
|
+
|
16
|
+
## Custom Elements
|
17
|
+
- `agent-directory-list`: A `ul` of all the AgentPubKeys found by `get_registered_agents()`
|