Skip to content

Commit

Permalink
build(ed25519)!: replace tweetnacl (#187)
Browse files Browse the repository at this point in the history
* feat(types): add type AnyLinkableHash

* app-agent-ws: remove unneeded error

* build: replace tweetnacl by noble/ed25519

* refactor: use globalThis to check for window

* refactor: replace isomorphic-ws with own wrapper

* shim webcrypto for nodejs & adapt ws close method

* docs: api documenter re-formatting

* build: flake update

* refactor: spawn lair in-process of holochain

* refactor: update dna storage blob

* build: upgrade to rc.7
  • Loading branch information
jost-s committed Apr 27, 2023
1 parent ce1415c commit 71c8c62
Show file tree
Hide file tree
Showing 518 changed files with 1,244 additions and 1,064 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:

- name: Cache test zome build
uses: actions/cache@v3
if: always()
env:
cache-name: test-zome
with:
Expand Down
52 changes: 26 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/client.action.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
## Action type


<b>Signature:</b>
**Signature:**

```typescript
export declare type Action = Dna | AgentValidationPkg | InitZomesComplete | CreateLink | DeleteLink | OpenChain | CloseChain | Delete | NewEntryAction;
export type Action = Dna | AgentValidationPkg | InitZomesComplete | CreateLink | DeleteLink | OpenChain | CloseChain | Delete | NewEntryAction;
```
<b>References:</b> [Dna](./client.dna.md)<!-- -->, [AgentValidationPkg](./client.agentvalidationpkg.md)<!-- -->, [InitZomesComplete](./client.initzomescomplete.md)<!-- -->, [CreateLink](./client.createlink.md)<!-- -->, [DeleteLink](./client.deletelink.md)<!-- -->, [OpenChain](./client.openchain.md)<!-- -->, [CloseChain](./client.closechain.md)<!-- -->, [Delete](./client.delete.md)<!-- -->, [NewEntryAction](./client.newentryaction.md)
**References:** [Dna](./client.dna.md)<!-- -->, [AgentValidationPkg](./client.agentvalidationpkg.md)<!-- -->, [InitZomesComplete](./client.initzomescomplete.md)<!-- -->, [CreateLink](./client.createlink.md)<!-- -->, [DeleteLink](./client.deletelink.md)<!-- -->, [OpenChain](./client.openchain.md)<!-- -->, [CloseChain](./client.closechain.md)<!-- -->, [Delete](./client.delete.md)<!-- -->, [NewEntryAction](./client.newentryaction.md)

6 changes: 3 additions & 3 deletions docs/client.actionbase.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
## ActionBase type


<b>Signature:</b>
**Signature:**

```typescript
export declare type ActionBase = {
export type ActionBase = {
Create: CreateBase;
} | {
Update: UpdateBase;
};
```
<b>References:</b> [CreateBase](./client.createbase.md)<!-- -->, [UpdateBase](./client.updatebase.md)
**References:** [CreateBase](./client.createbase.md)<!-- -->, [UpdateBase](./client.updatebase.md)

6 changes: 3 additions & 3 deletions docs/client.actionhash.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
## ActionHash type


<b>Signature:</b>
**Signature:**

```typescript
export declare type ActionHash = HoloHash;
export type ActionHash = HoloHash;
```
<b>References:</b> [HoloHash](./client.holohash.md)
**References:** [HoloHash](./client.holohash.md)

6 changes: 3 additions & 3 deletions docs/client.actionhashb64.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
## ActionHashB64 type


<b>Signature:</b>
**Signature:**

```typescript
export declare type ActionHashB64 = HoloHashB64;
export type ActionHashB64 = HoloHashB64;
```
<b>References:</b> [HoloHashB64](./client.holohashb64.md)
**References:** [HoloHashB64](./client.holohashb64.md)

6 changes: 3 additions & 3 deletions docs/client.actionhashed.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
## ActionHashed type


<b>Signature:</b>
**Signature:**

```typescript
export declare type ActionHashed = HoloHashed<Action>;
export type ActionHashed = HoloHashed<Action>;
```
<b>References:</b> [HoloHashed](./client.holohashed.md)<!-- -->, [Action](./client.action.md)
**References:** [HoloHashed](./client.holohashed.md)<!-- -->, [Action](./client.action.md)

2 changes: 1 addition & 1 deletion docs/client.actiontype.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## ActionType enum


<b>Signature:</b>
**Signature:**

```typescript
export declare enum ActionType
Expand Down
6 changes: 3 additions & 3 deletions docs/client.addagentinforequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
## AddAgentInfoRequest type


<b>Signature:</b>
**Signature:**

```typescript
export declare type AddAgentInfoRequest = {
export type AddAgentInfoRequest = {
agent_infos: Array<AgentInfoSigned>;
};
```
<b>References:</b> [AgentInfoSigned](./client.agentinfosigned.md)
**References:** [AgentInfoSigned](./client.agentinfosigned.md)

4 changes: 2 additions & 2 deletions docs/client.addagentinforesponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
## AddAgentInfoResponse type


<b>Signature:</b>
**Signature:**

```typescript
export declare type AddAgentInfoResponse = any;
export type AddAgentInfoResponse = any;
```
2 changes: 1 addition & 1 deletion docs/client.adminapi.addagentinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.addAgentInfo property

<b>Signature:</b>
**Signature:**

```typescript
addAgentInfo: Requester<AddAgentInfoRequest, AddAgentInfoResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.agentinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.agentInfo property

<b>Signature:</b>
**Signature:**

```typescript
agentInfo: Requester<AgentInfoRequest, AgentInfoResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.attachappinterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.attachAppInterface property

<b>Signature:</b>
**Signature:**

```typescript
attachAppInterface: Requester<AttachAppInterfaceRequest, AttachAppInterfaceResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.deleteclonecell.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.deleteCloneCell property

<b>Signature:</b>
**Signature:**

```typescript
deleteCloneCell: Requester<DeleteCloneCellRequest, DeleteCloneCellResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.disableapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.disableApp property

<b>Signature:</b>
**Signature:**

```typescript
disableApp: Requester<DisableAppRequest, DisableAppResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.dumpfullstate.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.dumpFullState property

<b>Signature:</b>
**Signature:**

```typescript
dumpFullState: Requester<DumpFullStateRequest, DumpFullStateResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.dumpnetworkstats.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.dumpNetworkStats property

<b>Signature:</b>
**Signature:**

```typescript
dumpNetworkStats: Requester<DumpNetworkStatsRequest, DumpNetworkStatsResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.dumpstate.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.dumpState property

<b>Signature:</b>
**Signature:**

```typescript
dumpState: Requester<DumpStateRequest, DumpStateResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.enableapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.enableApp property

<b>Signature:</b>
**Signature:**

```typescript
enableApp: Requester<EnableAppRequest, EnableAppResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.generateagentpubkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.generateAgentPubKey property

<b>Signature:</b>
**Signature:**

```typescript
generateAgentPubKey: Requester<GenerateAgentPubKeyRequest, GenerateAgentPubKeyResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.getdnadefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.getDnaDefinition property

<b>Signature:</b>
**Signature:**

```typescript
getDnaDefinition: Requester<GetDnaDefinitionRequest, GetDnaDefinitionResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.grantzomecallcapability.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.grantZomeCallCapability property

<b>Signature:</b>
**Signature:**

```typescript
grantZomeCallCapability: Requester<GrantZomeCallCapabilityRequest, GrantZomeCallCapabilityResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.installapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.installApp property

<b>Signature:</b>
**Signature:**

```typescript
installApp: Requester<InstallAppRequest, InstallAppResponse>;
Expand Down
2 changes: 1 addition & 1 deletion docs/client.adminapi.listappinterfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## AdminApi.listAppInterfaces property

<b>Signature:</b>
**Signature:**

```typescript
listAppInterfaces: Requester<ListAppInterfacesRequest, ListAppInterfacesResponse>;
Expand Down

0 comments on commit 71c8c62

Please sign in to comment.