diff --git a/.gitignore b/.gitignore index a72d833..a9cc0cd 100644 --- a/.gitignore +++ b/.gitignore @@ -119,7 +119,6 @@ dist # vuepress v2.x temp and cache directory .temp -.cache # Docusaurus cache and generated files .docusaurus @@ -153,3 +152,6 @@ dist # Code editors .idea/ + +# OS specific +.DS_Store/ \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 8a6d9d5..d41bca4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "libpep" edition = "2021" -version = "0.6.6" +version = "0.6.7" authors = ["Bernard van Gastel ", "Job Doesburg "] homepage = "https://github.com/NOLAI/libpep" repository = "https://github.com/NOLAI/libpep" diff --git a/package.json b/package.json index 4388920..feac97f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nolai/libpep-wasm", - "version": "0.6.6", + "version": "0.6.7", "description": "The WebAssembly version of the libpep library", "repository": { "type": "git", diff --git a/src/lib/wasm/distributed.rs b/src/lib/wasm/distributed.rs index 24d9465..c298044 100644 --- a/src/lib/wasm/distributed.rs +++ b/src/lib/wasm/distributed.rs @@ -254,7 +254,7 @@ impl WASMPEPClient { /// Restore a PEP client from the given session keys. #[wasm_bindgen(js_name = restore)] - pub fn wasm_restore(&self, session_keys: &WASMSessionKeyPair) -> Self { + pub fn wasm_restore(session_keys: &WASMSessionKeyPair) -> Self { Self(PEPClient::restore( SessionPublicKey(**session_keys.public), SessionSecretKey(**session_keys.secret),