diff --git a/CHANGELOG.md b/CHANGELOG.md index 295d9dc6..87f7fd8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Added ### Removed ### Changed -- Update dependencies to Holochain v0.5.0-dev.0 ### Fixed +## 2024-10-10: v0.18.0-dev.0 +### Changed +- Update dependencies to Holochain v0.5.0-dev.0 + ## 2024-10-02: v0.17.0-dev.6 ### Added - Support for DPKI in Holochain. DPKI is a Holochain conductor service to manage agent keys. Within a scenario there are two new member properties `noDpki` and `dpkiNetworkSeed`. Set `noDpki` to `true` to disable DPKI for the scenario. If DPKI is enabled, a network seed for the DPKI service can be set with `dpkiNetworkSeed`. diff --git a/Cargo.lock b/Cargo.lock index 2a9ce8b4..cf8e261f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4287,7 +4287,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "trycp_api" -version = "0.17.0-dev.6" +version = "0.18.0-dev.0" dependencies = [ "serde", "serde_bytes", @@ -4296,7 +4296,7 @@ dependencies = [ [[package]] name = "trycp_client" -version = "0.17.0-dev.6" +version = "0.18.0-dev.0" dependencies = [ "futures", "rmp-serde", @@ -4308,7 +4308,7 @@ dependencies = [ [[package]] name = "trycp_server" -version = "0.17.0-dev.6" +version = "0.18.0-dev.0" dependencies = [ "futures", "holochain_conductor_api", diff --git a/Cargo.toml b/Cargo.toml index 3536fcf6..759bd27b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ snafu = "0.6" structopt = "0.2" tokio = "1.38" tokio-tungstenite = "0.21" -trycp_api = { version = "0.17.0-dev.5", path = "crates/trycp_api" } +trycp_api = { version = "0.18.0-dev.0", path = "crates/trycp_api" } url = "2" [profile.dev] diff --git a/crates/trycp_api/Cargo.toml b/crates/trycp_api/Cargo.toml index 48f4b16e..803b3707 100644 --- a/crates/trycp_api/Cargo.toml +++ b/crates/trycp_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trycp_api" -version = "0.17.0-dev.6" +version = "0.18.0-dev.0" description = "conductor provisioner API for tryorama" license = "CAL-1.0" edition = "2021" diff --git a/crates/trycp_client/Cargo.toml b/crates/trycp_client/Cargo.toml index 3a663011..8ca95dec 100644 --- a/crates/trycp_client/Cargo.toml +++ b/crates/trycp_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trycp_client" -version = "0.17.0-dev.6" +version = "0.18.0-dev.0" description = "Client for TryCP" license = "CAL-1.0" edition = "2021" diff --git a/crates/trycp_server/Cargo.toml b/crates/trycp_server/Cargo.toml index 6cf45938..43fa663a 100644 --- a/crates/trycp_server/Cargo.toml +++ b/crates/trycp_server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trycp_server" -version = "0.17.0-dev.6" +version = "0.18.0-dev.0" description = "conductor provisioner for tryorama" license = "CAL-1.0" keywords = ["holochain", "holo", "p2p", "network", "simulation"] diff --git a/docs/tryorama.adminapiresponse.md b/docs/tryorama.adminapiresponse.md index fcb64d28..a5f964b2 100644 --- a/docs/tryorama.adminapiresponse.md +++ b/docs/tryorama.adminapiresponse.md @@ -9,7 +9,7 @@ All possible responses from the Admin API. **Signature:** ```typescript -export type AdminApiResponse = AdminApiResponseAgentInfo | AdminApiResponseAgentInfoAdded | AdminApiResponseAgentPubKeyGenerated | AdminApiResponseAppDisabled | AdminApiResponseAppEnabled | AdminApiResponseAppInstalled | AdminApiResponseAppInterfaceAttached | AdminApiResponseAppInterfacesListed | AdminApiResponseAppStarted | AdminApiResponseAppUninstalled | AdminApiResponseAppsListed | AdminApiResponseCellIdsListed | AdminApiResponseCloneCellDeleted | AdminApiResponseCoordinatorsUpdated | AdminApiResponseDnasDefinitionReturned | AdminApiResponseGetCompatibleCells | AdminApiResponseDnasListed | AdminApiResponseDnaRegistered | AdminApiResponseFullStateDumped | AdminApiResponseNetworkStatsDumped | AdminApiResponseStateDumped | AdminApiResponseStorageInfo | AdminApiResponseAppAuthenticationTokenIssued | AdminApiResponseZomeCallCapabilityGranted; +export type AdminApiResponse = AdminApiResponseAgentInfo | AdminApiResponseAgentInfoAdded | AdminApiResponseAgentPubKeyGenerated | AdminApiResponseAppDisabled | AdminApiResponseAppEnabled | AdminApiResponseAppInstalled | AdminApiResponseAppInterfaceAttached | AdminApiResponseAppInterfacesListed | AdminApiResponseAppStarted | AdminApiResponseAppUninstalled | AdminApiResponseAppsListed | AdminApiResponseCellIdsListed | AdminApiResponseCloneCellDeleted | AdminApiResponseCoordinatorsUpdated | AdminApiResponseDnasDefinitionReturned | AdminApiResponseGetCompatibleCells | AdminApiResponseDnasListed | AdminApiResponseDnaRegistered | AdminApiResponseFullStateDumped | AdminApiResponseNetworkStatsDumped | AdminApiResponseAgentKeyRevoked | AdminApiResponseStateDumped | AdminApiResponseStorageInfo | AdminApiResponseAppAuthenticationTokenIssued | AdminApiResponseZomeCallCapabilityGranted; ``` -**References:** [AdminApiResponseAgentInfo](./tryorama.adminapiresponseagentinfo.md), [AdminApiResponseAgentInfoAdded](./tryorama.adminapiresponseagentinfoadded.md), [AdminApiResponseAgentPubKeyGenerated](./tryorama.adminapiresponseagentpubkeygenerated.md), [AdminApiResponseAppDisabled](./tryorama.adminapiresponseappdisabled.md), [AdminApiResponseAppEnabled](./tryorama.adminapiresponseappenabled.md), [AdminApiResponseAppInstalled](./tryorama.adminapiresponseappinstalled.md), [AdminApiResponseAppInterfaceAttached](./tryorama.adminapiresponseappinterfaceattached.md), [AdminApiResponseAppInterfacesListed](./tryorama.adminapiresponseappinterfaceslisted.md), [AdminApiResponseAppStarted](./tryorama.adminapiresponseappstarted.md), [AdminApiResponseAppUninstalled](./tryorama.adminapiresponseappuninstalled.md), [AdminApiResponseAppsListed](./tryorama.adminapiresponseappslisted.md), [AdminApiResponseCellIdsListed](./tryorama.adminapiresponsecellidslisted.md), [AdminApiResponseCloneCellDeleted](./tryorama.adminapiresponseclonecelldeleted.md), [AdminApiResponseCoordinatorsUpdated](./tryorama.adminapiresponsecoordinatorsupdated.md), [AdminApiResponseDnasDefinitionReturned](./tryorama.adminapiresponsednasdefinitionreturned.md), [AdminApiResponseGetCompatibleCells](./tryorama.adminapiresponsegetcompatiblecells.md), [AdminApiResponseDnasListed](./tryorama.adminapiresponsednaslisted.md), [AdminApiResponseDnaRegistered](./tryorama.adminapiresponsednaregistered.md), [AdminApiResponseFullStateDumped](./tryorama.adminapiresponsefullstatedumped.md), [AdminApiResponseNetworkStatsDumped](./tryorama.adminapiresponsenetworkstatsdumped.md), [AdminApiResponseStateDumped](./tryorama.adminapiresponsestatedumped.md), [AdminApiResponseStorageInfo](./tryorama.adminapiresponsestorageinfo.md), [AdminApiResponseAppAuthenticationTokenIssued](./tryorama.adminapiresponseappauthenticationtokenissued.md), [AdminApiResponseZomeCallCapabilityGranted](./tryorama.adminapiresponsezomecallcapabilitygranted.md) +**References:** [AdminApiResponseAgentInfo](./tryorama.adminapiresponseagentinfo.md), [AdminApiResponseAgentInfoAdded](./tryorama.adminapiresponseagentinfoadded.md), [AdminApiResponseAgentPubKeyGenerated](./tryorama.adminapiresponseagentpubkeygenerated.md), [AdminApiResponseAppDisabled](./tryorama.adminapiresponseappdisabled.md), [AdminApiResponseAppEnabled](./tryorama.adminapiresponseappenabled.md), [AdminApiResponseAppInstalled](./tryorama.adminapiresponseappinstalled.md), [AdminApiResponseAppInterfaceAttached](./tryorama.adminapiresponseappinterfaceattached.md), [AdminApiResponseAppInterfacesListed](./tryorama.adminapiresponseappinterfaceslisted.md), [AdminApiResponseAppStarted](./tryorama.adminapiresponseappstarted.md), [AdminApiResponseAppUninstalled](./tryorama.adminapiresponseappuninstalled.md), [AdminApiResponseAppsListed](./tryorama.adminapiresponseappslisted.md), [AdminApiResponseCellIdsListed](./tryorama.adminapiresponsecellidslisted.md), [AdminApiResponseCloneCellDeleted](./tryorama.adminapiresponseclonecelldeleted.md), [AdminApiResponseCoordinatorsUpdated](./tryorama.adminapiresponsecoordinatorsupdated.md), [AdminApiResponseDnasDefinitionReturned](./tryorama.adminapiresponsednasdefinitionreturned.md), [AdminApiResponseGetCompatibleCells](./tryorama.adminapiresponsegetcompatiblecells.md), [AdminApiResponseDnasListed](./tryorama.adminapiresponsednaslisted.md), [AdminApiResponseDnaRegistered](./tryorama.adminapiresponsednaregistered.md), [AdminApiResponseFullStateDumped](./tryorama.adminapiresponsefullstatedumped.md), [AdminApiResponseNetworkStatsDumped](./tryorama.adminapiresponsenetworkstatsdumped.md), [AdminApiResponseAgentKeyRevoked](./tryorama.adminapiresponseagentkeyrevoked.md), [AdminApiResponseStateDumped](./tryorama.adminapiresponsestatedumped.md), [AdminApiResponseStorageInfo](./tryorama.adminapiresponsestorageinfo.md), [AdminApiResponseAppAuthenticationTokenIssued](./tryorama.adminapiresponseappauthenticationtokenissued.md), [AdminApiResponseZomeCallCapabilityGranted](./tryorama.adminapiresponsezomecallcapabilitygranted.md) diff --git a/docs/tryorama.adminapiresponseagentkeyrevoked.data.md b/docs/tryorama.adminapiresponseagentkeyrevoked.data.md new file mode 100644 index 00000000..235a61e1 --- /dev/null +++ b/docs/tryorama.adminapiresponseagentkeyrevoked.data.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [AdminApiResponseAgentKeyRevoked](./tryorama.adminapiresponseagentkeyrevoked.md) > [data](./tryorama.adminapiresponseagentkeyrevoked.data.md) + +## AdminApiResponseAgentKeyRevoked.data property + +**Signature:** + +```typescript +data: RevokeAgentKeyResponse; +``` diff --git a/docs/tryorama.adminapiresponseagentkeyrevoked.md b/docs/tryorama.adminapiresponseagentkeyrevoked.md new file mode 100644 index 00000000..9965ce0c --- /dev/null +++ b/docs/tryorama.adminapiresponseagentkeyrevoked.md @@ -0,0 +1,71 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [AdminApiResponseAgentKeyRevoked](./tryorama.adminapiresponseagentkeyrevoked.md) + +## AdminApiResponseAgentKeyRevoked interface + + +**Signature:** + +```typescript +export interface AdminApiResponseAgentKeyRevoked +``` + +## Properties + + + + +
+ +Property + + + + +Modifiers + + + + +Type + + + + +Description + + +
+ +[data](./tryorama.adminapiresponseagentkeyrevoked.data.md) + + + + + + + +RevokeAgentKeyResponse + + + + + +
+ +[type](./tryorama.adminapiresponseagentkeyrevoked.type.md) + + + + + + + +"agent\_key\_revoked" + + + + + +
diff --git a/docs/tryorama.adminapiresponseagentkeyrevoked.type.md b/docs/tryorama.adminapiresponseagentkeyrevoked.type.md new file mode 100644 index 00000000..bfdeeba3 --- /dev/null +++ b/docs/tryorama.adminapiresponseagentkeyrevoked.type.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [AdminApiResponseAgentKeyRevoked](./tryorama.adminapiresponseagentkeyrevoked.md) > [type](./tryorama.adminapiresponseagentkeyrevoked.type.md) + +## AdminApiResponseAgentKeyRevoked.type property + +**Signature:** + +```typescript +type: "agent_key_revoked"; +``` diff --git a/docs/tryorama.conductoroptions.dpkinetworkseed.md b/docs/tryorama.conductoroptions.dpkinetworkseed.md new file mode 100644 index 00000000..3a591195 --- /dev/null +++ b/docs/tryorama.conductoroptions.dpkinetworkseed.md @@ -0,0 +1,15 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [ConductorOptions](./tryorama.conductoroptions.md) > [dpkiNetworkSeed](./tryorama.conductoroptions.dpkinetworkseed.md) + +## ConductorOptions.dpkiNetworkSeed property + +Set a DPKI network seed in the conductor instance. + +Defaults to "deepkey-test". + +**Signature:** + +```typescript +dpkiNetworkSeed?: NetworkSeed; +``` diff --git a/docs/tryorama.conductoroptions.md b/docs/tryorama.conductoroptions.md index 4bdb4d3e..e4c5e83d 100644 --- a/docs/tryorama.conductoroptions.md +++ b/docs/tryorama.conductoroptions.md @@ -52,6 +52,27 @@ URL _(Optional)_ A bootstrap server URL for peers to discover each other. + + + +[dpkiNetworkSeed?](./tryorama.conductoroptions.dpkinetworkseed.md) + + + + + + + +NetworkSeed + + + + +_(Optional)_ Set a DPKI network seed in the conductor instance. + +Defaults to "deepkey-test". + + @@ -87,7 +108,7 @@ boolean -_(Optional)_ Exclude dpki in the conductor instance. +_(Optional)_ Disable DPKI in the conductor instance. diff --git a/docs/tryorama.conductoroptions.nodpki.md b/docs/tryorama.conductoroptions.nodpki.md index eb46d1e7..a6193ea3 100644 --- a/docs/tryorama.conductoroptions.nodpki.md +++ b/docs/tryorama.conductoroptions.nodpki.md @@ -4,7 +4,7 @@ ## ConductorOptions.noDpki property -Exclude dpki in the conductor instance. +Disable DPKI in the conductor instance. **Signature:** diff --git a/docs/tryorama.createconductoroptions.md b/docs/tryorama.createconductoroptions.md index d56a364d..17640f80 100644 --- a/docs/tryorama.createconductoroptions.md +++ b/docs/tryorama.createconductoroptions.md @@ -9,7 +9,7 @@ Options for using the conductor factory. **Signature:** ```typescript -export type CreateConductorOptions = Pick; +export type CreateConductorOptions = Pick; ``` **References:** [ConductorOptions](./tryorama.conductoroptions.md) diff --git a/docs/tryorama.md b/docs/tryorama.md index adb9ee3f..d4c25fee 100644 --- a/docs/tryorama.md +++ b/docs/tryorama.md @@ -335,6 +335,16 @@ Description + + + +[AdminApiResponseAgentKeyRevoked](./tryorama.adminapiresponseagentkeyrevoked.md) + + + + + + diff --git a/docs/tryorama.requestadmininterfacemessage.data.md b/docs/tryorama.requestadmininterfacemessage.data.md index b2ce0b39..6d63ac61 100644 --- a/docs/tryorama.requestadmininterfacemessage.data.md +++ b/docs/tryorama.requestadmininterfacemessage.data.md @@ -7,5 +7,5 @@ **Signature:** ```typescript -data?: AddAgentInfoRequest | AgentInfoRequest | AttachAppInterfaceRequest | DeleteCloneCellRequest | DisableAppRequest | DumpFullStateRequest | DumpNetworkStatsRequest | DumpStateRequest | EnableAppRequest | GetCompatibleCellsRequest | GetDnaDefinitionRequest | GrantZomeCallCapabilityRequest | InstallAppRequest | ListAppsRequest | RegisterDnaRequest | StartAppRequest | StorageInfoRequest | UninstallAppRequest | UpdateCoordinatorsRequest | IssueAppAuthenticationTokenRequest; +data?: AddAgentInfoRequest | AgentInfoRequest | AttachAppInterfaceRequest | DeleteCloneCellRequest | DisableAppRequest | DumpFullStateRequest | DumpNetworkStatsRequest | DumpStateRequest | EnableAppRequest | GetCompatibleCellsRequest | GetDnaDefinitionRequest | GrantZomeCallCapabilityRequest | InstallAppRequest | ListAppsRequest | RegisterDnaRequest | RevokeAgentKeyRequest | StartAppRequest | StorageInfoRequest | UninstallAppRequest | UpdateCoordinatorsRequest | IssueAppAuthenticationTokenRequest; ``` diff --git a/docs/tryorama.requestadmininterfacemessage.md b/docs/tryorama.requestadmininterfacemessage.md index 6df197a9..43adfe55 100644 --- a/docs/tryorama.requestadmininterfacemessage.md +++ b/docs/tryorama.requestadmininterfacemessage.md @@ -45,7 +45,7 @@ Description -AddAgentInfoRequest \| AgentInfoRequest \| AttachAppInterfaceRequest \| DeleteCloneCellRequest \| DisableAppRequest \| DumpFullStateRequest \| DumpNetworkStatsRequest \| DumpStateRequest \| EnableAppRequest \| GetCompatibleCellsRequest \| GetDnaDefinitionRequest \| GrantZomeCallCapabilityRequest \| InstallAppRequest \| ListAppsRequest \| RegisterDnaRequest \| StartAppRequest \| StorageInfoRequest \| UninstallAppRequest \| UpdateCoordinatorsRequest \| IssueAppAuthenticationTokenRequest +AddAgentInfoRequest \| AgentInfoRequest \| AttachAppInterfaceRequest \| DeleteCloneCellRequest \| DisableAppRequest \| DumpFullStateRequest \| DumpNetworkStatsRequest \| DumpStateRequest \| EnableAppRequest \| GetCompatibleCellsRequest \| GetDnaDefinitionRequest \| GrantZomeCallCapabilityRequest \| InstallAppRequest \| ListAppsRequest \| RegisterDnaRequest \| RevokeAgentKeyRequest \| StartAppRequest \| StorageInfoRequest \| UninstallAppRequest \| UpdateCoordinatorsRequest \| IssueAppAuthenticationTokenRequest diff --git a/docs/tryorama.requestadmininterfacemessagetype.md b/docs/tryorama.requestadmininterfacemessagetype.md index 88766f9c..892e1e9c 100644 --- a/docs/tryorama.requestadmininterfacemessagetype.md +++ b/docs/tryorama.requestadmininterfacemessagetype.md @@ -9,5 +9,5 @@ The types of all possible calls to the Admin API. **Signature:** ```typescript -export type RequestAdminInterfaceMessageType = "add_agent_info" | "agent_info" | "attach_app_interface" | "connect_app_interface" | "delete_clone_cell" | "disable_app" | "dump_full_state" | "dump_network_stats" | "dump_state" | "enable_app" | "generate_agent_pub_key" | "get_compatible_cells" | "get_dna_definition" | "grant_zome_call_capability" | "install_app" | "list_apps" | "list_app_interfaces" | "list_cell_ids" | "list_dnas" | "register_dna" | "start_app" | "storage_info" | "uninstall_app" | "update_coordinators" | "issue_app_authentication_token"; +export type RequestAdminInterfaceMessageType = "add_agent_info" | "agent_info" | "attach_app_interface" | "connect_app_interface" | "delete_clone_cell" | "disable_app" | "dump_full_state" | "dump_network_stats" | "dump_state" | "enable_app" | "generate_agent_pub_key" | "get_compatible_cells" | "get_dna_definition" | "grant_zome_call_capability" | "install_app" | "list_apps" | "list_app_interfaces" | "list_cell_ids" | "list_dnas" | "register_dna" | "revoke_agent_key" | "start_app" | "storage_info" | "uninstall_app" | "update_coordinators" | "issue_app_authentication_token"; ``` diff --git a/docs/tryorama.scenario.dpkinetworkseed.md b/docs/tryorama.scenario.dpkinetworkseed.md new file mode 100644 index 00000000..635473ec --- /dev/null +++ b/docs/tryorama.scenario.dpkinetworkseed.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [Scenario](./tryorama.scenario.md) > [dpkiNetworkSeed](./tryorama.scenario.dpkinetworkseed.md) + +## Scenario.dpkiNetworkSeed property + +**Signature:** + +```typescript +dpkiNetworkSeed: string; +``` diff --git a/docs/tryorama.scenario.md b/docs/tryorama.scenario.md index d0db6531..0985b70d 100644 --- a/docs/tryorama.scenario.md +++ b/docs/tryorama.scenario.md @@ -102,6 +102,23 @@ URL \| undefined + + + +[dpkiNetworkSeed](./tryorama.scenario.dpkinetworkseed.md) + + + + + + + +string + + + + + @@ -119,6 +136,23 @@ string + + + +[noDpki](./tryorama.scenario.nodpki.md) + + + + + + + +boolean + + + + + diff --git a/docs/tryorama.scenario.nodpki.md b/docs/tryorama.scenario.nodpki.md new file mode 100644 index 00000000..92fae6c4 --- /dev/null +++ b/docs/tryorama.scenario.nodpki.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [Scenario](./tryorama.scenario.md) > [noDpki](./tryorama.scenario.nodpki.md) + +## Scenario.noDpki property + +**Signature:** + +```typescript +noDpki: boolean; +``` diff --git a/docs/tryorama.trycpconductor.adminws.md b/docs/tryorama.trycpconductor.adminws.md index aca01e39..77814eb0 100644 --- a/docs/tryorama.trycpconductor.adminws.md +++ b/docs/tryorama.trycpconductor.adminws.md @@ -33,6 +33,7 @@ adminWs(): { listCellIds: () => Promise; listDnas: () => Promise; registerDna: (request: RegisterDnaRequest & DnaSource) => Promise; + revokeAgentKey: (data: RevokeAgentKeyRequest) => Promise; startApp: (request: StartAppRequest) => Promise; storageInfo: (request: StorageInfoRequest) => Promise; uninstallApp: (request: UninstallAppRequest) => Promise; @@ -42,7 +43,7 @@ adminWs(): { ``` **Returns:** -{ addAgentInfo: (request: AddAgentInfoRequest) => Promise<void>; agentInfo: (req: AgentInfoRequest) => Promise<import("@holochain/client").AgentInfoResponse>; attachAppInterface: (request?: AttachAppInterfaceRequest) => Promise<{ port: number; }>; authorizeSigningCredentials: (cellId: CellId, functions?: GrantedFunctions) => Promise<void>; deleteCloneCell: (request: DeleteCloneCellRequest) => Promise<void>; disableApp: (request: DisableAppRequest) => Promise<null>; dumpFullState: (request: DumpFullStateRequest) => Promise<FullStateDump>; dumpNetworkStats: (request: DumpNetworkStatsRequest) => Promise<string>; dumpState: (request: DumpStateRequest) => Promise<\[FullStateDump, string\]>; enableApp: (request: EnableAppRequest) => Promise<import("@holochain/client").EnableAppResponse>; generateAgentPubKey: () => Promise<AgentPubKey>; getCompatibleCells: (dnaHash: GetCompatibleCellsRequest) => Promise<GetCompatibleCellsResponse>; getDnaDefinition: (dnaHash: GetDnaDefinitionRequest) => Promise<DnaDefinition>; grantSigningKey: (cellId: CellId, functions: GrantedFunctions, signingKey: AgentPubKey) => Promise<CapSecret>; grantZomeCallCapability: (request: GrantZomeCallCapabilityRequest) => Promise<void>; installApp: (data: InstallAppRequest) => Promise<import("@holochain/client").AppInfo>; listAppInterfaces: () => Promise<import("@holochain/client").ListAppInterfacesResponse>; listApps: (request: ListAppsRequest) => Promise<import("@holochain/client").ListAppsResponse>; listCellIds: () => Promise<import("@holochain/client").ListCellIdsResponse>; listDnas: () => Promise<import("@holochain/client").ListDnasResponse>; registerDna: (request: RegisterDnaRequest & DnaSource) => Promise<DnaHash>; startApp: (request: StartAppRequest) => Promise<boolean>; storageInfo: (request: StorageInfoRequest) => Promise<import("@holochain/client").StorageInfo>; uninstallApp: (request: UninstallAppRequest) => Promise<null>; updateCoordinators: (request: UpdateCoordinatorsRequest) => Promise<void>; issueAppAuthenticationToken: (request: IssueAppAuthenticationTokenRequest) => Promise<import("@holochain/client").IssueAppAuthenticationTokenResponse>; } +{ addAgentInfo: (request: AddAgentInfoRequest) => Promise<void>; agentInfo: (req: AgentInfoRequest) => Promise<import("@holochain/client").AgentInfoResponse>; attachAppInterface: (request?: AttachAppInterfaceRequest) => Promise<{ port: number; }>; authorizeSigningCredentials: (cellId: CellId, functions?: GrantedFunctions) => Promise<void>; deleteCloneCell: (request: DeleteCloneCellRequest) => Promise<void>; disableApp: (request: DisableAppRequest) => Promise<null>; dumpFullState: (request: DumpFullStateRequest) => Promise<FullStateDump>; dumpNetworkStats: (request: DumpNetworkStatsRequest) => Promise<string>; dumpState: (request: DumpStateRequest) => Promise<\[FullStateDump, string\]>; enableApp: (request: EnableAppRequest) => Promise<import("@holochain/client").EnableAppResponse>; generateAgentPubKey: () => Promise<AgentPubKey>; getCompatibleCells: (dnaHash: GetCompatibleCellsRequest) => Promise<GetCompatibleCellsResponse>; getDnaDefinition: (dnaHash: GetDnaDefinitionRequest) => Promise<DnaDefinition>; grantSigningKey: (cellId: CellId, functions: GrantedFunctions, signingKey: AgentPubKey) => Promise<CapSecret>; grantZomeCallCapability: (request: GrantZomeCallCapabilityRequest) => Promise<void>; installApp: (data: InstallAppRequest) => Promise<import("@holochain/client").AppInfo>; listAppInterfaces: () => Promise<import("@holochain/client").ListAppInterfacesResponse>; listApps: (request: ListAppsRequest) => Promise<import("@holochain/client").ListAppsResponse>; listCellIds: () => Promise<import("@holochain/client").ListCellIdsResponse>; listDnas: () => Promise<import("@holochain/client").ListDnasResponse>; registerDna: (request: RegisterDnaRequest & DnaSource) => Promise<DnaHash>; revokeAgentKey: (data: RevokeAgentKeyRequest) => Promise<import("@holochain/client").RevokeAgentKeyResponse>; startApp: (request: StartAppRequest) => Promise<boolean>; storageInfo: (request: StorageInfoRequest) => Promise<import("@holochain/client").StorageInfo>; uninstallApp: (request: UninstallAppRequest) => Promise<null>; updateCoordinators: (request: UpdateCoordinatorsRequest) => Promise<void>; issueAppAuthenticationToken: (request: IssueAppAuthenticationTokenRequest) => Promise<import("@holochain/client").IssueAppAuthenticationTokenResponse>; } The Admin API web socket. diff --git a/docs/tryorama.trycpconductor.configure.md b/docs/tryorama.trycpconductor.configure.md index e0e634c7..22c36214 100644 --- a/docs/tryorama.trycpconductor.configure.md +++ b/docs/tryorama.trycpconductor.configure.md @@ -9,7 +9,7 @@ Create conductor configuration. **Signature:** ```typescript -configure(partialConfig?: string): Promise; +configure(partialConfig?: string, noDpki?: boolean, dpkiNetworkSeed?: string): Promise; ``` ## Parameters @@ -45,6 +45,38 @@ string _(Optional)_ The configuration to add to the default configuration. + + + +noDpki + + + + +boolean + + + + +_(Optional)_ Disable the DPKI service on this conductor. + + + + + +dpkiNetworkSeed + + + + +string + + + + +_(Optional)_ Set DPKI network seed. + + **Returns:** diff --git a/docs/tryorama.trycpconductor.defaultpartialconfig.md b/docs/tryorama.trycpconductor.defaultpartialconfig.md new file mode 100644 index 00000000..fee0cda3 --- /dev/null +++ b/docs/tryorama.trycpconductor.defaultpartialconfig.md @@ -0,0 +1,15 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [TryCpConductor](./tryorama.trycpconductor.md) > [defaultPartialConfig](./tryorama.trycpconductor.defaultpartialconfig.md) + +## TryCpConductor.defaultPartialConfig() method + +**Signature:** + +```typescript +static defaultPartialConfig(): string; +``` +**Returns:** + +string + diff --git a/docs/tryorama.trycpconductor.md b/docs/tryorama.trycpconductor.md index 6e921130..c1546e8b 100644 --- a/docs/tryorama.trycpconductor.md +++ b/docs/tryorama.trycpconductor.md @@ -144,7 +144,7 @@ Get all [Admin API methods](https://github.com/holochain/holochain-client-js/blo -[configure(partialConfig)](./tryorama.trycpconductor.configure.md) +[configure(partialConfig, noDpki, dpkiNetworkSeed)](./tryorama.trycpconductor.configure.md) @@ -183,6 +183,20 @@ Connect a web socket to the App API. Get all [App API methods](https://github.com/holochain/holochain-client-js/blob/develop/docs/API_appwebsocket.md) of the Holochain client. + + + +[defaultPartialConfig()](./tryorama.trycpconductor.defaultpartialconfig.md) + + + + +`static` + + + + + diff --git a/docs/tryorama.trycpconductoroptions.dpkinetworkseed.md b/docs/tryorama.trycpconductoroptions.dpkinetworkseed.md new file mode 100644 index 00000000..5247ba26 --- /dev/null +++ b/docs/tryorama.trycpconductoroptions.dpkinetworkseed.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [TryCpConductorOptions](./tryorama.trycpconductoroptions.md) > [dpkiNetworkSeed](./tryorama.trycpconductoroptions.dpkinetworkseed.md) + +## TryCpConductorOptions.dpkiNetworkSeed property + +Set a DPKI network seed. + +**Signature:** + +```typescript +dpkiNetworkSeed?: string; +``` diff --git a/docs/tryorama.trycpconductoroptions.md b/docs/tryorama.trycpconductoroptions.md index 474fc2d3..358e82df 100644 --- a/docs/tryorama.trycpconductoroptions.md +++ b/docs/tryorama.trycpconductoroptions.md @@ -36,6 +36,25 @@ Description +[dpkiNetworkSeed?](./tryorama.trycpconductoroptions.dpkinetworkseed.md) + + + + + + + +string + + + + +_(Optional)_ Set a DPKI network seed. + + + + + [id?](./tryorama.trycpconductoroptions.id.md) @@ -89,9 +108,9 @@ boolean -_(Optional)_ Exclude dpki in the conductor instance. +_(Optional)_ Disable DPKI in the conductor instance. -default: false // defaults to using the dpki +default: false // defaults to using DPKI diff --git a/docs/tryorama.trycpconductoroptions.nodpki.md b/docs/tryorama.trycpconductoroptions.nodpki.md index 7336793e..cf1ade24 100644 --- a/docs/tryorama.trycpconductoroptions.nodpki.md +++ b/docs/tryorama.trycpconductoroptions.nodpki.md @@ -4,9 +4,9 @@ ## TryCpConductorOptions.noDpki property -Exclude dpki in the conductor instance. +Disable DPKI in the conductor instance. -default: false // defaults to using the dpki +default: false // defaults to using DPKI **Signature:** diff --git a/docs/tryorama.trycpscenario.dpkinetworkseed.md b/docs/tryorama.trycpscenario.dpkinetworkseed.md new file mode 100644 index 00000000..a2f5d7cf --- /dev/null +++ b/docs/tryorama.trycpscenario.dpkinetworkseed.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [TryCpScenario](./tryorama.trycpscenario.md) > [dpkiNetworkSeed](./tryorama.trycpscenario.dpkinetworkseed.md) + +## TryCpScenario.dpkiNetworkSeed property + +**Signature:** + +```typescript +dpkiNetworkSeed: string; +``` diff --git a/docs/tryorama.trycpscenario.md b/docs/tryorama.trycpscenario.md index c594f221..8f05a386 100644 --- a/docs/tryorama.trycpscenario.md +++ b/docs/tryorama.trycpscenario.md @@ -104,6 +104,23 @@ URL \| undefined + + + +[dpkiNetworkSeed](./tryorama.trycpscenario.dpkinetworkseed.md) + + + + + + + +string + + + + + @@ -121,6 +138,23 @@ string + + + +[noDpki](./tryorama.trycpscenario.nodpki.md) + + + + + + + +boolean + + + + + diff --git a/docs/tryorama.trycpscenario.nodpki.md b/docs/tryorama.trycpscenario.nodpki.md new file mode 100644 index 00000000..fb148834 --- /dev/null +++ b/docs/tryorama.trycpscenario.nodpki.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [@holochain/tryorama](./tryorama.md) > [TryCpScenario](./tryorama.trycpscenario.md) > [noDpki](./tryorama.trycpscenario.nodpki.md) + +## TryCpScenario.noDpki property + +**Signature:** + +```typescript +noDpki: boolean; +``` diff --git a/package-lock.json b/package-lock.json index 7164524f..769327ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@holochain/tryorama", - "version": "0.17.0-dev.6", + "version": "0.18.0-dev.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@holochain/tryorama", - "version": "0.17.0-dev.6", + "version": "0.18.0-dev.0", "license": "MIT", "dependencies": { - "@holochain/client": "^0.18.0-dev.13", + "@holochain/client": "^0.19.0-dev.0", "get-port": "^6.1.2", "lodash": "^4.17.21", "uuid": "^8.3.2", @@ -614,9 +614,9 @@ } }, "node_modules/@holochain/client": { - "version": "0.18.0-dev.13", - "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.18.0-dev.13.tgz", - "integrity": "sha512-pwmqsVRhzERt036Ms3Nch7UT94u1+kEPnGF1rcYParrx8lE5aol5XxW5UqS1wiIoadd5iYjYXJE8CJI2fga0Sg==", + "version": "0.19.0-dev.0", + "resolved": "https://registry.npmjs.org/@holochain/client/-/client-0.19.0-dev.0.tgz", + "integrity": "sha512-JEnjr5ehOYbFP1ZGNgymUov9vIbJTzPqJcSsFqv9NnyqD+3FNnYDhnp19iI5Ut+WWYzNEJnEQNR/z4czHMrf6Q==", "license": "CAL-1.0", "dependencies": { "@bitgo/blake2b": "^3.2.4", diff --git a/package.json b/package.json index 1a76af20..b2f2c553 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@holochain/tryorama", "description": "Toolset to manage Holochain conductors and facilitate running test scenarios", - "version": "0.17.0-dev.6", + "version": "0.18.0-dev.0", "author": "Holochain Foundation", "license": "MIT", "keywords": [ @@ -43,7 +43,7 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@holochain/client": "^0.18.0-dev.13", + "@holochain/client": "^0.19.0-dev.0", "get-port": "^6.1.2", "lodash": "^4.17.21", "uuid": "^8.3.2",