Skip to content

Commit 320e540

Browse files
authored
chore: restructure ic-certified-assets exports (#4285)
1 parent 597d0a1 commit 320e540

6 files changed

Lines changed: 426 additions & 206 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ This incorporates the following executed proposals:
5353

5454
Updated Motoko to [0.14.12](https://github.com/dfinity/motoko/releases/tag/0.14.12)
5555

56+
### Frontend canister
57+
58+
Added missing fields to the asset canister .wasm: `SetAssetContentArguments.last_chunk : opt blob`, and `HttpResponse.upgrade: opt bool`
59+
60+
- Module hash: ffdf61795a862343ea3ebd4280f9b97743b056a120091787193d87d9b38d1236
61+
- https://github.com/dfinity/sdk/pull/4285
62+
5663
# 0.27.0
5764

5865
### feat!: remove the 'native' replica

src/canisters/frontend/ic-certified-assets/assets.did

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ type SetAssetContentArguments = record {
1717
key: Key;
1818
content_encoding: text;
1919
chunk_ids: vec ChunkId;
20+
last_chunk: opt blob;
2021
sha256: opt blob;
2122
};
2223

@@ -80,6 +81,7 @@ type HttpResponse = record {
8081
headers: vec HeaderField;
8182
body: blob;
8283
streaming_strategy: opt StreamingStrategy;
84+
upgrade: opt bool;
8385
};
8486

8587
type StreamingCallbackHttpResponse = record {

0 commit comments

Comments
 (0)