-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Optional agent key * update test with hc-client-js signal changes * updated docs --------- Co-authored-by: Michael Dougherty <[email protected]>
- Loading branch information
Showing
9 changed files
with
185 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [PreflightResponse](./client.preflightresponse.md) > [agent\_state](./client.preflightresponse.agent_state.md) | ||
|
||
## PreflightResponse.agent\_state property | ||
|
||
The chain state declaration for the agent that produced this response. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
agent_state: CountersigningAgentState; | ||
``` | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [PreflightResponse](./client.preflightresponse.md) > [agent\_state](./client.preflightresponse.agent_state.md) | ||
|
||
## PreflightResponse.agent\_state property | ||
|
||
The chain state declaration for the agent that produced this response. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
agent_state: CountersigningAgentState; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,94 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [PreflightResponse](./client.preflightresponse.md) | ||
|
||
## PreflightResponse interface | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export interface PreflightResponse | ||
``` | ||
|
||
## Properties | ||
|
||
<table><thead><tr><th> | ||
|
||
Property | ||
|
||
|
||
</th><th> | ||
|
||
Modifiers | ||
|
||
|
||
</th><th> | ||
|
||
Type | ||
|
||
|
||
</th><th> | ||
|
||
Description | ||
|
||
|
||
</th></tr></thead> | ||
<tbody><tr><td> | ||
|
||
[agent\_state](./client.preflightresponse.agent_state.md) | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td><td> | ||
|
||
[CountersigningAgentState](./client.countersigningagentstate.md) | ||
|
||
|
||
</td><td> | ||
|
||
The chain state declaration for the agent that produced this response. | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[request](./client.preflightresponse.request.md) | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td><td> | ||
|
||
[PreflightRequest](./client.preflightrequest.md) | ||
|
||
|
||
</td><td> | ||
|
||
The request associated with this response. | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[signature](./client.preflightresponse.signature.md) | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td><td> | ||
|
||
[Signature](./client.signature.md) | ||
|
||
|
||
</td><td> | ||
|
||
The signature of this response, by the agent that created it. | ||
|
||
|
||
</td></tr> | ||
</tbody></table> | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [PreflightResponse](./client.preflightresponse.md) | ||
|
||
## PreflightResponse interface | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export interface PreflightResponse | ||
``` | ||
|
||
## Properties | ||
|
||
<table><thead><tr><th> | ||
|
||
Property | ||
|
||
|
||
</th><th> | ||
|
||
Modifiers | ||
|
||
|
||
</th><th> | ||
|
||
Type | ||
|
||
|
||
</th><th> | ||
|
||
Description | ||
|
||
|
||
</th></tr></thead> | ||
<tbody><tr><td> | ||
|
||
[agent\_state](./client.preflightresponse.agent_state.md) | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td><td> | ||
|
||
[CountersigningAgentState](./client.countersigningagentstate.md) | ||
|
||
|
||
</td><td> | ||
|
||
The chain state declaration for the agent that produced this response. | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[request](./client.preflightresponse.request.md) | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td><td> | ||
|
||
[PreflightRequest](./client.preflightrequest.md) | ||
|
||
|
||
</td><td> | ||
|
||
The request associated with this response. | ||
|
||
|
||
</td></tr> | ||
<tr><td> | ||
|
||
[signature](./client.preflightresponse.signature.md) | ||
|
||
|
||
</td><td> | ||
|
||
|
||
</td><td> | ||
|
||
[Signature](./client.signature.md) | ||
|
||
|
||
</td><td> | ||
|
||
The signature of this response, by the agent that created it. | ||
|
||
|
||
</td></tr> | ||
</tbody></table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [PreflightResponse](./client.preflightresponse.md) > [request](./client.preflightresponse.request.md) | ||
|
||
## PreflightResponse.request property | ||
|
||
The request associated with this response. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
request: PreflightRequest; | ||
``` | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [PreflightResponse](./client.preflightresponse.md) > [request](./client.preflightresponse.request.md) | ||
|
||
## PreflightResponse.request property | ||
|
||
The request associated with this response. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
request: PreflightRequest; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [PreflightResponse](./client.preflightresponse.md) > [signature](./client.preflightresponse.signature.md) | ||
|
||
## PreflightResponse.signature property | ||
|
||
The signature of this response, by the agent that created it. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
signature: Signature; | ||
``` | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [PreflightResponse](./client.preflightresponse.md) > [signature](./client.preflightresponse.signature.md) | ||
|
||
## PreflightResponse.signature property | ||
|
||
The signature of this response, by the agent that created it. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
signature: Signature; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [RawSignal](./client.rawsignal.md) | ||
|
||
## RawSignal type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type RawSignal = { | ||
[SignalType.App]: EncodedAppSignal; | ||
} | { | ||
[SignalType.System]: SystemSignal; | ||
}; | ||
``` | ||
**References:** [EncodedAppSignal](./client.encodedappsignal.md)<!-- -->, [SystemSignal](./client.systemsignal.md) | ||
|
||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [RawSignal](./client.rawsignal.md) | ||
|
||
## RawSignal type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type RawSignal = { | ||
[SignalType.App]: EncodedAppSignal; | ||
} | { | ||
[SignalType.System]: SystemSignal; | ||
}; | ||
``` | ||
**References:** [EncodedAppSignal](./client.encodedappsignal.md)<!-- -->, [SystemSignal](./client.systemsignal.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [SignalCb](./client.signalcb.md) | ||
|
||
## SignalCb type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type SignalCb = (signal: Signal) => void; | ||
``` | ||
**References:** [Signal](./client.signal.md) | ||
|
||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [SignalCb](./client.signalcb.md) | ||
|
||
## SignalCb type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type SignalCb = (signal: Signal) => void; | ||
``` | ||
**References:** [Signal](./client.signal.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [SystemSignal](./client.systemsignal.md) | ||
|
||
## SystemSignal type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type SystemSignal = { | ||
SuccessfulCountersigning: EntryHash; | ||
}; | ||
``` | ||
**References:** [EntryHash](./client.entryhash.md) | ||
|
||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@holochain/client](./client.md) > [SystemSignal](./client.systemsignal.md) | ||
|
||
## SystemSignal type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type SystemSignal = { | ||
SuccessfulCountersigning: EntryHash; | ||
}; | ||
``` | ||
**References:** [EntryHash](./client.entryhash.md) | ||
|
Oops, something went wrong.