element-hq / element-hq/element-call

Crypto-wasm asset changes hash between builds

Open
#2,871 4 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
TypeScript
Stars
996
Forks
213
Avg merge
1d 8h
Merged PRs (30d)
55

Description

### Steps to reproduce

1. Build element-call.
2. Note the hash for the crypto-warm asset.
3. Change something in element-call but keep the same crypto-wasm version.
4. Build element-call again.
5. Check the crypto-wasm asset again to see what hash was allocated.
6. See that it is different than before.

### Outcome

#### What did you expect?

The asset hash would depend on the npm version. So, if the npm version hasn’t changed then the asset name would be the same and there is some chance that the browser will have cached the asset.

#### What happened instead?

The asset hash changed even though the npm version was the same.

### Operating system

_No response_

### Browser information

_No response_

### URL for webapp

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.