Skip to content

Commit 509aa3f

Browse files
GulianrdgdJobDoesburg
authored andcommitted
PEPClient.restore was not static in the wasm build
1 parent fb53e09 commit 509aa3f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ dist
119119

120120
# vuepress v2.x temp and cache directory
121121
.temp
122-
.cache
123122

124123
# Docusaurus cache and generated files
125124
.docusaurus
@@ -153,3 +152,6 @@ dist
153152

154153
# Code editors
155154
.idea/
155+
156+
# OS specific
157+
.DS_Store/

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "libpep"
33
edition = "2021"
4-
version = "0.6.6"
4+
version = "0.6.7"
55
authors = ["Bernard van Gastel <bvgastel@bitpowder.com>", "Job Doesburg <job@jobdoesburg.nl>"]
66
homepage = "https://github.com/NOLAI/libpep"
77
repository = "https://github.com/NOLAI/libpep"

src/lib/wasm/distributed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ impl WASMPEPClient {
254254

255255
/// Restore a PEP client from the given session keys.
256256
#[wasm_bindgen(js_name = restore)]
257-
pub fn wasm_restore(&self, session_keys: &WASMSessionKeyPair) -> Self {
257+
pub fn wasm_restore(session_keys: &WASMSessionKeyPair) -> Self {
258258
Self(PEPClient::restore(
259259
SessionPublicKey(**session_keys.public),
260260
SessionSecretKey(**session_keys.secret),

0 commit comments

Comments
 (0)