Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@ and this project adheres to

## [Unreleased]

## [2.3.4] - 2026-08-11
## [2.3.5] - 2026-08-11

### Changed

- Upgraded `@ar.io/sdk` to 4.1.2 (fixes `getArNSRecord` timestamp conversion)

### Fixed

- Fixed lease expiry dates showing as 1970 and status as "Expired" on manage
page — SDK's `getArNSRecord` (singular) returns timestamps in seconds while
the app expects milliseconds
page (resolved upstream in SDK 4.1.2)

## [2.3.4] - 2026-08-11

### Fixed

- Fixed Turbo credit balance 404 for Solana users by passing wallet `tokenType`
explicitly instead of guessing from address format
- Fixed atomic `buyRecord` defaulting new names' `@` record target to the ar.io
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "arns-vite-react",
"private": true,
"version": "2.3.4",
"version": "2.3.5",
"homepage": ".",
"scripts": {
"build": "yarn clean && cross-env NODE_OPTIONS=--max-old-space-size=32768 vite build",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@ant-design/icons": "5.4.0",
"@ar.io/sdk": "4.1.1",
"@ar.io/sdk": "4.1.2",
"@ardrive/turbo-sdk": "1.39.2",
"@permaweb/aoconnect": "0.0.69",
"@radix-ui/react-checkbox": "^1.1.4",
Expand Down
15 changes: 1 addition & 14 deletions src/hooks/useDomainInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ export function buildDomainInfoQuery({

// Fast path: look up the single record by name (one PDA read) instead
// of scanning the entire ArNS registry via getArNSRecords.
// NOTE: SDK bug — `getArNSRecord` (singular) returns timestamps in
// seconds (raw from on-chain), while `getArNSRecords` (plural)
// converts them to milliseconds via `secToMs`. Normalise here so
// the rest of the app can assume milliseconds.
const rawRecord =
const record =
domain && arioContract
? await queryClient.fetchQuery(
buildArNSRecordQuery({
Expand All @@ -92,15 +88,6 @@ export function buildDomainInfoQuery({
}),
)
: undefined;
const record = rawRecord
? {
...rawRecord,
startTimestamp: rawRecord.startTimestamp * 1000,
...('endTimestamp' in rawRecord && rawRecord.endTimestamp
? { endTimestamp: rawRecord.endTimestamp * 1000 }
: {}),
}
: undefined;

if (!antId && !record?.processId) {
throw new Error('No ANT id or record found');
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@
prompts "^2.4.2"
zod "^3.25.76"

"@ar.io/sdk@4.1.1":
version "4.1.1"
resolved "https://registry.yarnpkg.com/@ar.io/sdk/-/sdk-4.1.1.tgz#d9932b47c308d45e8b8315150cc2bf5afd55b4e1"
integrity sha512-a0mg6emlmWpzuV2OrVnBikTO7tkjyiiIzK3nbM/wH6CG+YQEcN2+S8N+m0HlixjeOfK/G1rOEnt82NO1vSXF/w==
"@ar.io/sdk@4.1.2":
version "4.1.2"
resolved "https://registry.yarnpkg.com/@ar.io/sdk/-/sdk-4.1.2.tgz#421cf300112e6698b53d000eaad45237437e7d53"
integrity sha512-4AyS67lkKa62L6BAWrNbXx3S1GG/AKWeMNZCGkqpkwwKldLGLyq3ZQrylku2bcSJKqRKL/SmYS76OPqIC6o3aQ==
dependencies:
"@ar.io/solana-contracts" "1.1.0"
"@noble/hashes" "^1.8.0"
Expand Down
Loading