@ensnode/ensnode-sdk 0.0.0-next-20260708171350 → 0.0.0-next-20260713155143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -4416,12 +4416,12 @@ function isRegistrationExpired(info, now) {
|
|
|
4416
4416
|
}
|
|
4417
4417
|
function isRegistrationFullyExpired(info, now) {
|
|
4418
4418
|
if (info.expiry == null) return false;
|
|
4419
|
-
return now
|
|
4419
|
+
return now > info.expiry + (info.gracePeriod ?? 0n);
|
|
4420
4420
|
}
|
|
4421
4421
|
function isRegistrationInGracePeriod(info, now) {
|
|
4422
4422
|
if (info.expiry == null) return false;
|
|
4423
4423
|
if (info.gracePeriod == null) return false;
|
|
4424
|
-
return info.expiry <= now && info.expiry + info.gracePeriod
|
|
4424
|
+
return info.expiry <= now && info.expiry + info.gracePeriod >= now;
|
|
4425
4425
|
}
|
|
4426
4426
|
|
|
4427
4427
|
// src/resolution/ensip19-chainid.ts
|