Skip to content

Commit

Permalink
Merge pull request #215 from bitfinity-network/update_deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
ufoscout authored May 6, 2024
2 parents 53d2ec1 + 0a4dbff commit 9c95625
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ members = [
]

[workspace.package]
version = "0.15.0"
version = "0.16.0"
edition = "2021"

[workspace.dependencies]
Expand Down Expand Up @@ -76,11 +76,11 @@ tokio = "1.0"
# IC dependencies
candid = "0.10"
dfinity-stable-structures = { package = "ic-stable-structures", version = "0.6" }
ic-agent = { version = "0.33" }
ic-cdk = "0.12"
ic-cdk-macros = "0.8"
ic-cdk-timers = "0.6"
ic-ledger-types = "0.9"
ic-agent = { version = "0.34" }
ic-cdk = "0.13"
ic-cdk-macros = "0.13"
ic-cdk-timers = "0.7"
ic-ledger-types = "0.10"
ic-test-state-machine-client = "3"
icrc-ledger-types = "0.1.0"
pocket-ic = "2.2"
pocket-ic = "3.1"
4 changes: 2 additions & 2 deletions ic-canister/ic-canister-macros/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ pub(crate) fn api_method(
} else {
let args_destr_tuple = if with_args {
quote! {
let #args_destr_tuple: #arg_type = ::ic_exports::ic_cdk::api::call::arg_data();
let #args_destr_tuple: #arg_type = ::ic_exports::ic_cdk::api::call::arg_data(Default::default());
}
} else {
quote! {}
Expand Down Expand Up @@ -405,7 +405,7 @@ pub(crate) fn generate_exports(input: TokenStream) -> TokenStream {
let (args_destr_tuple, args_destr) = if arg_count > 1 {
let args: Vec<Ident> = (1..arg_count).map(|x| Ident::new(&format!("__arg_{x}"), Span::call_site())).collect();
(
quote! { let ( #(#args),* , ) = ::ic_exports::ic_cdk::api::call::arg_data(); },
quote! { let ( #(#args),* , ) = ::ic_exports::ic_cdk::api::call::arg_data(Default::default()); },
quote! { #(#args),* }
)
} else {
Expand Down
2 changes: 1 addition & 1 deletion ic-exports/src/pocket_ic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub use pocket_ic::*;
#[cfg(feature = "pocket-ic-tests-async")]
pub mod nio;

const POCKET_IC_SERVER_VERSION: &str = "3.0.1";
const POCKET_IC_SERVER_VERSION: &str = "4.0.0";

/// Returns the pocket-ic client.
/// If pocket-ic server binary is not present, it downloads it and sets
Expand Down

0 comments on commit 9c95625

Please sign in to comment.