The asset canister candid interface in @dfinity/assets hasn't been updated for two years. In particular, I would like to pass in headers in batch.store(fileContents, { fileName; headers }). This would help playground to build frontend in browser, and display the frontend in iframe, see https://github.com/dfinity/motoko-playground/pull/253.
The asset canister candid interface in
@dfinity/assets
hasn't been updated for two years. In particular, I would like to pass inheaders
inbatch.store(fileContents, { fileName; headers })
. This would help playground to build frontend in browser, and display the frontend in iframe, see https://github.com/dfinity/motoko-playground/pull/253.