diff --git a/python/pyproject.toml b/python/pyproject.toml index 478be82..f9087d8 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "samp-core" -version = "1.1.1" +version = "1.2.0" description = "Substrate Account Messaging Protocol -- Python SDK" license = "MIT" readme = "README.md" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 37f83c5..090831a 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "samp-core" -version = "1.1.0" +version = "1.2.0" edition = "2021" description = "Substrate Account Messaging Protocol — reference implementation" license = "MIT" @@ -17,7 +17,7 @@ curve25519-dalek = { version = "4", features = ["digest"] } hkdf = "0.12" sha2 = "0.10" chacha20poly1305 = "0.10" -getrandom = "0.3" +getrandom = { version = "0.3", features = ["std"] } hex = "0.4" zeroize = "1" parity-scale-codec = "3" diff --git a/rust/tests/conformance.rs b/rust/tests/conformance.rs index 528c105..535b320 100644 --- a/rust/tests/conformance.rs +++ b/rust/tests/conformance.rs @@ -2162,7 +2162,7 @@ fn decrypt_from_group_trial_with_multiple_capsules() { .collect(); let members: Vec<_> = seeds .iter() - .map(|s| encryption::public_from_seed(s)) + .map(encryption::public_from_seed) .collect(); let n = Nonce::from_bytes([0x01; 12]); let plaintext = Plaintext::from_bytes(b"multi-member trial".to_vec()); diff --git a/typescript/package-lock.json b/typescript/package-lock.json index 38930e9..24631b8 100644 --- a/typescript/package-lock.json +++ b/typescript/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@samp-org/samp", - "version": "1.1.0", + "name": "samp-core", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@samp-org/samp", - "version": "1.1.0", + "name": "samp-core", + "version": "1.2.0", "license": "MIT", "dependencies": { "@noble/ciphers": "^1.2.0", diff --git a/typescript/package.json b/typescript/package.json index d09ee48..55fbc77 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -1,6 +1,6 @@ { "name": "samp-core", - "version": "1.1.0", + "version": "1.2.0", "description": "Substrate Account Messaging Protocol -- TypeScript SDK", "license": "MIT", "type": "module",