Skip to content

Commit

Permalink
Merge branch 'main' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbinth authored Jan 29, 2025
2 parents a9599d8 + 67eb223 commit 6686249
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release packages
run-name: Release packaging for ${{ inputs.version || github.ref }}

env:
version: ${{ inputs.version || github.ref }}
version: ${{ inputs.version || github.ref_name }}

on:
release:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@

- [BREAKING] Updated minimum Rust version to 1.84.

## v0.7.2 (2025-01-29)

### Fixes

- Faucet webpage rejects valid account IDs (#655).

## v0.7.1 (2025-01-28)

### Fixes

- Faucet webpage fails to load styling (index.css) and script (index.js) (#647).

### Changes

- [BREAKING] Default faucet endpoint is now public instead of localhost (#647).
Expand Down
66 changes: 48 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/faucet/src/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ document.addEventListener('DOMContentLoaded', function () {
let accountId = accountIdInput.value.trim();
errorMessage.style.display = 'none';

if (!accountId || !/^0x[0-9a-fA-F]{16}$/i.test(accountId)) {
if (!accountId || !/^0x[0-9a-fA-F]{30}$/i.test(accountId)) {
errorMessage.textContent = !accountId ? "Account ID is required." : "Invalid Account ID.";
errorMessage.style.display = 'block';
return;
Expand Down

0 comments on commit 6686249

Please sign in to comment.