From 292b4263d79618e2da9e7b351f0b6b64c63dc67d Mon Sep 17 00:00:00 2001 From: Hendrik Eeckhaut Date: Wed, 26 Jun 2024 14:18:49 +0200 Subject: [PATCH] chore: release v0.1.0-alpha.6 (#57) --- package.json | 2 +- quickstart.md | 12 ++++++------ test/specs/full-integration-swapi.spec.ts | 2 +- utils/build-tlsn-binaries.sh | 2 +- wasm/prover/Cargo.toml | 6 ++---- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 8b9e257..008ea2b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tlsn-js", - "version": "v0.1.0-alpha.5.3", + "version": "v0.1.0-alpha.6.0", "description": "", "repository": "https://github.com/tlsnotary/tlsn-js", "main": "build/index.js", diff --git a/quickstart.md b/quickstart.md index c1272d1..7ba6941 100644 --- a/quickstart.md +++ b/quickstart.md @@ -12,11 +12,11 @@ To run your own websocket proxy for `https://swapi.dev` **locally**: 1. Install [websocat](https://github.com/vi/websocat): - | tool | command | - |--------|-------------------------------| - | cargo | `cargo install websocat` | - | brew | `brew install websocat` | - | source | https://github.com/vi/websocat| + | tool | command | + | ------ | ------------------------------ | + | cargo | `cargo install websocat` | + | brew | `brew install websocat` | + | source | https://github.com/vi/websocat | 2. Run a websocket proxy for `https://swapi.dev`: ```sh @@ -31,7 +31,7 @@ For this demo, we also need to run a local notary server. 1. Clone the TLSNotary repository: ```shell - git clone https://github.com/tlsnotary/tlsn.git --branch "v0.1.0-alpha.5" + git clone https://github.com/tlsnotary/tlsn.git --branch "v0.1.0-alpha.6" ``` 2. Edit the notary server config file (`notary-server/config/config.yaml`) to turn off TLS so that the browser extension can connect to the local notary server without requiring extra steps to accept self-signed certificates in the browser. ```yaml diff --git a/test/specs/full-integration-swapi.spec.ts b/test/specs/full-integration-swapi.spec.ts index 2146227..f981732 100644 --- a/test/specs/full-integration-swapi.spec.ts +++ b/test/specs/full-integration-swapi.spec.ts @@ -12,7 +12,7 @@ import { assert } from '../utils'; maxTranscriptSize: 16384, notaryUrl: process.env.LOCAL_NOTARY ? 'http://localhost:7047' - : 'https://notary.pse.dev/v0.1.0-alpha.5', + : 'https://notary.pse.dev/v0.1.0-alpha.6', websocketProxyUrl: process.env.LOCAL_WS ? 'ws://localhost:55688' : 'wss://notary.pse.dev/proxy?token=swapi.dev', diff --git a/utils/build-tlsn-binaries.sh b/utils/build-tlsn-binaries.sh index f4fce6b..99a9819 100755 --- a/utils/build-tlsn-binaries.sh +++ b/utils/build-tlsn-binaries.sh @@ -20,7 +20,7 @@ else fi # Checkout the specific tag -git checkout "v0.1.0-alpha.5" +git checkout "v0.1.0-alpha.6" for dir in "tlsn/tlsn-server-fixture/" "notary-server"; do # Change to the specific subdirectory diff --git a/wasm/prover/Cargo.toml b/wasm/prover/Cargo.toml index 4100a40..a9667cc 100644 --- a/wasm/prover/Cargo.toml +++ b/wasm/prover/Cargo.toml @@ -44,10 +44,8 @@ time = { version = "0.3.34", features = ["wasm-bindgen"] } # Used to calculate elapsed time. web-time = "1.0" -tlsn-core = { git = "https://github.com/tlsnotary/tlsn.git", tag = "v0.1.0-alpha.5", package = "tlsn-core" } -tlsn-prover = { git = "https://github.com/tlsnotary/tlsn.git", tag = "v0.1.0-alpha.5", package = "tlsn-prover", features = [ - "tracing", -] } +tlsn-core = { git = "https://github.com/tlsnotary/tlsn.git", tag = "v0.1.0-alpha.6", package = "tlsn-core" } +tlsn-prover = { git = "https://github.com/tlsnotary/tlsn.git", tag = "v0.1.0-alpha.6", package = "tlsn-prover" } web-sys = { version = "0.3.4", features = [ "BinaryType",