Skip to content

Commit

Permalink
feat(wasm): add equals method to protocol objects in WASM bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Jun 21, 2023
1 parent 830dc68 commit ef84faf
Show file tree
Hide file tree
Showing 9 changed files with 172 additions and 173 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fixed a typo in the Python type stubs for `ferveo.Keypair.secure_randomness_size()`. ([#61])

### Added

- Added `equals` method to protocol objects in WASM bindings ([#56])

[#61]: https://github.com/nucypher/nucypher-core/pull/61

Expand All @@ -34,8 +37,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0


[#53]: https://github.com/nucypher/nucypher-core/pull/53
[#58]: https://github.com/nucypher/nucypher-core/pull/58
[#54]: https://github.com/nucypher/nucypher-core/pull/54
[#56]: https://github.com/nucypher/nucypher-core/pull/56
[#58]: https://github.com/nucypher/nucypher-core/pull/58


## [0.8.0] - 2023-05-23
Expand Down
56 changes: 32 additions & 24 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 nucypher-core-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
pyo3 = "0.18"
nucypher-core = { path = "../nucypher-core" }
umbral-pre = { version = "0.10.0", features = ["bindings-python"] }
ferveo = { package = "ferveo-pre-release", version = "0.1.0-alpha.8", features = ["bindings-python"] }
ferveo = { package = "ferveo-pre-release", version = "0.1.0-alpha.8", features = ["bindings-python"], git = "https://github.com/nucypher/ferveo.git", rev = "c259bf774939340fca0c2b90d3ee2fb2aa4ad947" }
derive_more = { version = "0.99", default-features = false, features = ["from", "as_ref"] }

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion nucypher-core-python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ impl ThresholdDecryptionRequest {
_ => {
return Err(PyValueError::new_err(
"Invalid ThresholdDecryptionRequest variant",
))
));
}
};

Expand Down
3 changes: 2 additions & 1 deletion nucypher-core-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ default = ["console_error_panic_hook"]

[dependencies]
umbral-pre = { version = "0.10.0", features = ["bindings-wasm"] }
ferveo = { package = "ferveo-pre-release", version = "0.1.0-alpha.8", features = ["bindings-wasm"] }
ferveo = { package = "ferveo-pre-release", version = "0.1.0-alpha.8", features = ["bindings-wasm"], git = "https://github.com/nucypher/ferveo.git", rev = "c259bf774939340fca0c2b90d3ee2fb2aa4ad947" }
nucypher-core = { path = "../nucypher-core" }
wasm-bindgen = "0.2.86"
js-sys = "0.3.63"
Expand All @@ -31,4 +31,5 @@ x25519-dalek = "2.0.0-rc.2"

[dev-dependencies]
console_error_panic_hook = "0.1"
hex = "0.4.3"
wasm-bindgen-test = "0.3.36"
Loading

0 comments on commit ef84faf

Please sign in to comment.