diff --git a/Cargo.toml b/Cargo.toml index 18e35c2..d566c5e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "LICENSE" @@ -37,16 +37,16 @@ viewing-key = ["secret-toolkit-viewing-key"] notification = ["secret-toolkit-notification"] [dependencies] -secret-toolkit-crypto = { version = "0.10.0", path = "packages/crypto", optional = true } -secret-toolkit-incubator = { version = "0.10.0", path = "packages/incubator", optional = true } -secret-toolkit-permit = { version = "0.10.0", path = "packages/permit", optional = true } -secret-toolkit-serialization = { version = "0.10.0", path = "packages/serialization", optional = true } -secret-toolkit-snip20 = { version = "0.10.0", path = "packages/snip20", optional = true } -secret-toolkit-snip721 = { version = "0.10.0", path = "packages/snip721", optional = true } -secret-toolkit-storage = { version = "0.10.0", path = "packages/storage", optional = true } -secret-toolkit-utils = { version = "0.10.0", path = "packages/utils", optional = true } -secret-toolkit-viewing-key = { version = "0.10.0", path = "packages/viewing_key", optional = true } -secret-toolkit-notification = { version = "0.10.0", path = "packages/notification", optional = true } +secret-toolkit-crypto = { version = "0.10.1", path = "packages/crypto", optional = true } +secret-toolkit-incubator = { version = "0.10.1", path = "packages/incubator", optional = true } +secret-toolkit-permit = { version = "0.10.1", path = "packages/permit", optional = true } +secret-toolkit-serialization = { version = "0.10.1", path = "packages/serialization", optional = true } +secret-toolkit-snip20 = { version = "0.10.1", path = "packages/snip20", optional = true } +secret-toolkit-snip721 = { version = "0.10.1", path = "packages/snip721", optional = true } +secret-toolkit-storage = { version = "0.10.1", path = "packages/storage", optional = true } +secret-toolkit-utils = { version = "0.10.1", path = "packages/utils", optional = true } +secret-toolkit-viewing-key = { version = "0.10.1", path = "packages/viewing_key", optional = true } +secret-toolkit-notification = { version = "0.10.1", path = "packages/notification", optional = true } [workspace] members = ["packages/*"] diff --git a/Releases.md b/Releases.md index 80f3a78..8dca48d 100644 --- a/Releases.md +++ b/Releases.md @@ -2,6 +2,12 @@ ## Unreleased +## v0.10.1 + +### Bug fixes + +- Fixed `Wasm contract requires unsupported import: "env.rustsecp256k1_v0_8_1_context_preallocated_size` error by freezing `cc` version to `1.1.10`. + ## v0.10.0 ### Features diff --git a/packages/crypto/Cargo.toml b/packages/crypto/Cargo.toml index b787d7a..6dfa584 100644 --- a/packages/crypto/Cargo.toml +++ b/packages/crypto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-crypto" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" @@ -29,6 +29,7 @@ secp256k1 = { version = "0.27.0", default-features = false, features = [ ], optional = true } hkdf = "0.12.3" cosmwasm-std = { workspace = true } +cc = { version = "=1.1.10" } [dev-dependencies] secp256k1 = { version = "0.27.0", default-features = false, features = [ diff --git a/packages/crypto/Readme.md b/packages/crypto/Readme.md index bdf16e2..e80efda 100644 --- a/packages/crypto/Readme.md +++ b/packages/crypto/Readme.md @@ -11,8 +11,8 @@ Add the following to your `cargo.toml` file: ```toml [dependencies] -secret-toolkit = { version = "0.10.0", features = ["crypto"] } -secret-toolkit-crypto = { version = "0.10.0", features = ["hash", "rand", "ecc-secp256k1"] } +secret-toolkit = { version = "0.10.1", features = ["crypto"] } +secret-toolkit-crypto = { version = "0.10.1", features = ["hash", "rand", "ecc-secp256k1"] } ``` ## Example usage diff --git a/packages/incubator/Cargo.toml b/packages/incubator/Cargo.toml index cb1986e..a5214e3 100644 --- a/packages/incubator/Cargo.toml +++ b/packages/incubator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-incubator" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" @@ -16,7 +16,7 @@ all-features = true [dependencies] serde = { workspace = true, optional = true } cosmwasm-std = { workspace = true, optional = true } -secret-toolkit-serialization = { version = "0.10.0", path = "../serialization", optional = true } +secret-toolkit-serialization = { version = "0.10.1", path = "../serialization", optional = true } [features] generational-store = ["secret-toolkit-serialization", "serde", "cosmwasm-std"] diff --git a/packages/permit/Cargo.toml b/packages/permit/Cargo.toml index daa66fe..60ebf9d 100644 --- a/packages/permit/Cargo.toml +++ b/packages/permit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-permit" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" @@ -20,6 +20,6 @@ ripemd = { version = "0.1.3", default-features = false } schemars = { workspace = true } bech32 = "0.9.1" remain = "0.2.8" -secret-toolkit-crypto = { version = "0.10.0", path = "../crypto", features = [ +secret-toolkit-crypto = { version = "0.10.1", path = "../crypto", features = [ "hash", ] } diff --git a/packages/serialization/Cargo.toml b/packages/serialization/Cargo.toml index 10eb64d..2981621 100644 --- a/packages/serialization/Cargo.toml +++ b/packages/serialization/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-serialization" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" diff --git a/packages/snip20/Cargo.toml b/packages/snip20/Cargo.toml index 94c9b53..86b0ebf 100644 --- a/packages/snip20/Cargo.toml +++ b/packages/snip20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-snip20" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" @@ -17,4 +17,4 @@ all-features = true serde = { workspace = true } schemars = { workspace = true } cosmwasm-std = { workspace = true } -secret-toolkit-utils = { version = "0.10.0", path = "../utils" } +secret-toolkit-utils = { version = "0.10.1", path = "../utils" } diff --git a/packages/snip721/Cargo.toml b/packages/snip721/Cargo.toml index 2ad9dca..20432b7 100644 --- a/packages/snip721/Cargo.toml +++ b/packages/snip721/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-snip721" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" @@ -17,4 +17,4 @@ all-features = true serde = { workspace = true } schemars = { workspace = true } cosmwasm-std = { workspace = true } -secret-toolkit-utils = { version = "0.10.0", path = "../utils" } +secret-toolkit-utils = { version = "0.10.1", path = "../utils" } diff --git a/packages/snip721/src/query.rs b/packages/snip721/src/query.rs index 8e770bf..e8e9ac0 100644 --- a/packages/snip721/src/query.rs +++ b/packages/snip721/src/query.rs @@ -48,11 +48,11 @@ pub struct NumTokens { /// response for [`AllTokens`](QueryMsg::AllTokens) and [`Tokens`](QueryMsg::Tokens) /// /// * AllTokens: -/// display an optionally paginated list of all the tokens controlled by the contract. -/// The token supply must either be public, or the querier must be authorized to view +/// display an optionally paginated list of all the tokens controlled by the contract. +/// The token supply must either be public, or the querier must be authorized to view /// * Tokens: -/// displays a list of all the tokens belonging to the input owner in which the viewer -/// has view_owner permission +/// displays a list of all the tokens belonging to the input owner in which the viewer +/// has view_owner permission #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)] pub struct TokenList { /// list of token IDs diff --git a/packages/storage/Cargo.toml b/packages/storage/Cargo.toml index fc9561b..1dc0495 100644 --- a/packages/storage/Cargo.toml +++ b/packages/storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-storage" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" @@ -17,4 +17,4 @@ all-features = true serde = { workspace = true } cosmwasm-std = { workspace = true } cosmwasm-storage = { workspace = true } -secret-toolkit-serialization = { version = "0.10.0", path = "../serialization" } +secret-toolkit-serialization = { version = "0.10.1", path = "../serialization" } diff --git a/packages/utils/Cargo.toml b/packages/utils/Cargo.toml index f14d60c..630d6d7 100644 --- a/packages/utils/Cargo.toml +++ b/packages/utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-utils" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" diff --git a/packages/viewing_key/Cargo.toml b/packages/viewing_key/Cargo.toml index c7434ab..673c558 100644 --- a/packages/viewing_key/Cargo.toml +++ b/packages/viewing_key/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secret-toolkit-viewing-key" -version = "0.10.0" +version = "0.10.1" edition = "2021" authors = ["SCRT Labs "] license-file = "../../LICENSE" @@ -20,8 +20,8 @@ base64 = "0.21.0" subtle = { version = "2.2.3", default-features = false } cosmwasm-std = { workspace = true } cosmwasm-storage = { workspace = true } -secret-toolkit-crypto = { version = "0.10.0", path = "../crypto", features = [ +secret-toolkit-crypto = { version = "0.10.1", path = "../crypto", features = [ "hash", "rand", ] } -secret-toolkit-utils = { version = "0.10.0", path = "../utils" } +secret-toolkit-utils = { version = "0.10.1", path = "../utils" }