@ensnode/ensnode-sdk 0.0.0-next-20260216125415 → 0.0.0-next-20260216164355
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -2
- package/dist/index.d.ts +19 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -4126,7 +4126,7 @@ var SWRCache = class {
|
|
|
4126
4126
|
backgroundInterval = null;
|
|
4127
4127
|
async revalidate() {
|
|
4128
4128
|
if (!this.inProgressRevalidate) {
|
|
4129
|
-
this.inProgressRevalidate = this.options.fn().then((result) => {
|
|
4129
|
+
this.inProgressRevalidate = this.options.fn(this.cache ?? void 0).then((result) => {
|
|
4130
4130
|
this.cache = {
|
|
4131
4131
|
result,
|
|
4132
4132
|
updatedAt: (0, import_getUnixTime2.getUnixTime)(/* @__PURE__ */ new Date())
|