Skip to content

Commit b25437a

Browse files
authored
chore: update ic-cdk (#4286)
1 parent 320e540 commit b25437a

File tree

8 files changed

+131
-57
lines changed

8 files changed

+131
-57
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ Updated Motoko to [0.14.12](https://github.com/dfinity/motoko/releases/tag/0.14.
5757

5858
Added missing fields to the asset canister .wasm: `SetAssetContentArguments.last_chunk : opt blob`, and `HttpResponse.upgrade: opt bool`
5959

60-
- Module hash: ffdf61795a862343ea3ebd4280f9b97743b056a120091787193d87d9b38d1236
60+
- Module hash: b23a91a6819c963e79a910920c187f9a496f7a3d9b55d9adccd77118e217e691
6161
- https://github.com/dfinity/sdk/pull/4285
62+
- https://github.com/dfinity/sdk/pull/4286
6263

6364
# 0.27.0
6465

Cargo.lock

Lines changed: 80 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ candid_parser = "0.1.4"
2727
dfx-core = { path = "src/dfx-core", version = "0.1.0" }
2828
ic-agent = { version = "0.40.1" }
2929
ic-asset = { path = "src/canisters/frontend/ic-asset", version = "0.22.0" }
30-
ic-cdk = "0.13.1"
30+
ic-cdk = "0.18.4"
3131
ic-identity-hsm = { version = "0.40.1" }
3232
ic-utils = { version = "0.40.1" }
3333

src/canisters/frontend/ic-certified-assets/src/asset_certification/types/http.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl HttpRequest {
109109

110110
pub fn redirect_from_raw_to_certified_domain(&self) -> HttpResponse {
111111
#[cfg(not(test))]
112-
let canister_id = ic_cdk::api::id().to_text();
112+
let canister_id = ic_cdk::api::canister_self().to_text();
113113
#[cfg(test)]
114114
let canister_id = self.get_canister_id();
115115

0 commit comments

Comments
 (0)