Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Aug 13, 2024
1 parent 927d715 commit 5848ebe
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 20 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## \[Unreleased\]

### Added
- New parameter can be specified when calling `addPlayerWithApp` to specify the logLevel that the Holochain conductor
should be launched with.
### Removed
### Changed
### Fixed

## 2024-08-13: v0.17.0-dev.5
### Added
- New parameter can be specified when calling `addPlayerWithApp` to specify the logLevel that the Holochain conductor
should be launched with.

## 2024-07-23: v0.17.0-dev.4
### Changed
- Update default signal server to wss://sbd-0.main.infra.holo.host.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ snafu = "0.6"
structopt = "0.2"
tokio = "1.38"
tokio-tungstenite = "0.21"
trycp_api = { version = "0.17.0-dev.2", path = "crates/trycp_api" }
trycp_api = { version = "0.17.0-dev.5", path = "crates/trycp_api" }
url = "2"

[profile.dev]
Expand Down
2 changes: 1 addition & 1 deletion crates/trycp_api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trycp_api"
version = "0.17.0-dev.2"
version = "0.17.0-dev.5"
description = "conductor provisioner API for tryorama"
license = "CAL-1.0"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion crates/trycp_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trycp_client"
version = "0.17.0-dev.2"
version = "0.17.0-dev.5"
description = "Client for TryCP"
license = "CAL-1.0"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion crates/trycp_server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trycp_server"
version = "0.17.0-dev.2"
version = "0.17.0-dev.5"
description = "conductor provisioner for tryorama"
license = "CAL-1.0"
keywords = ["holochain", "holo", "p2p", "network", "simulation"]
Expand Down
8 changes: 4 additions & 4 deletions docs/tryorama.trycpclient.addconductor.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Create and add a conductor to the client.
**Signature:**

```typescript
addConductor(partialConfig?: string): Promise<TryCpConductor>;
addConductor(options?: TryCpConductorOptions): Promise<TryCpConductor>;
```

## Parameters
Expand All @@ -32,17 +32,17 @@ Description
</th></tr></thead>
<tbody><tr><td>

partialConfig
options


</td><td>

string
[TryCpConductorOptions](./tryorama.trycpconductoroptions.md)


</td><td>

_(Optional)_ Conductor configuration (optional).
_(Optional)_ Conductor configuration, log level and other settings (optional).


</td></tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/tryorama.trycpclient.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Description
</th></tr></thead>
<tbody><tr><td>

[addConductor(partialConfig)](./tryorama.trycpclient.addconductor.md)
[addConductor(options)](./tryorama.trycpclient.addconductor.md)


</td><td>
Expand Down
2 changes: 1 addition & 1 deletion docs/tryorama.trycpconductoroptions.loglevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Log level of the conductor (optional).

default: "info"
default: "error"

**Signature:**

Expand Down
2 changes: 1 addition & 1 deletion docs/tryorama.trycpconductoroptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ _(Optional)_ Identifier for the conductor (optional).

_(Optional)_ Log level of the conductor (optional).

default: "info"
default: "error"


</td></tr>
Expand Down
6 changes: 4 additions & 2 deletions docs/tryorama.trycpscenario.addplayerwithapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ Creates and adds a single player with an installed app to the scenario,
**Signature:**

```typescript
addPlayerWithApp(tryCpClient: TryCpClient, appBundleSource: AppBundleSource, options?: AppOptions): Promise<TryCpPlayer>;
addPlayerWithApp(tryCpClient: TryCpClient, appBundleSource: AppBundleSource, options?: AppOptions & {
logLevel?: TryCpConductorLogLevel;
}): Promise<TryCpPlayer>;
```

## Parameters
Expand Down Expand Up @@ -69,7 +71,7 @@ options

</td><td>

[AppOptions](./tryorama.appoptions.md)
[AppOptions](./tryorama.appoptions.md) &amp; { logLevel?: [TryCpConductorLogLevel](./tryorama.trycpconductorloglevel.md)<!-- -->; }


</td><td>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@holochain/tryorama",
"description": "Toolset to manage Holochain conductors and facilitate running test scenarios",
"version": "0.17.0-dev.4",
"version": "0.17.0-dev.5",
"author": "Holochain Foundation",
"license": "MIT",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion ts/src/trycp/conductor/scenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class TryCpScenario {
// create conductors for each client
for (let i = 0; i < numberOfConductorsPerClient; i++) {
const conductorCreated = client
.addConductor(options?.partialConfig)
.addConductor({partialConfig: options?.partialConfig})
.then(async (conductor) => {
const app = options.app;
let appOptions;
Expand Down

0 comments on commit 5848ebe

Please sign in to comment.