@scallop-io/sui-scallop-sdk 0.46.50 → 0.46.52
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.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/constants/cache.ts +1 -1
- package/src/models/scallopCache.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -330,7 +330,7 @@ var import_sui_kit = require("@scallop-io/sui-kit");
|
|
|
330
330
|
var DEFAULT_CACHE_OPTIONS = {
|
|
331
331
|
defaultOptions: {
|
|
332
332
|
queries: {
|
|
333
|
-
staleTime:
|
|
333
|
+
staleTime: 1500
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
};
|
|
@@ -539,8 +539,7 @@ var ScallopCache = class {
|
|
|
539
539
|
);
|
|
540
540
|
}
|
|
541
541
|
return balances;
|
|
542
|
-
}
|
|
543
|
-
staleTime: 5e3
|
|
542
|
+
}
|
|
544
543
|
});
|
|
545
544
|
}
|
|
546
545
|
async queryGetCoinBalance(input) {
|