shelving 1.258.9 → 1.258.10
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/api/cache/EndpointCache.js +1 -1
- package/db/store/QueryStore.js +1 -1
- package/package.json +1 -1
- package/store/URLStore.d.ts +1 -1
- package/util/array.js +1 -1
|
@@ -96,7 +96,7 @@ export class EndpointCache {
|
|
|
96
96
|
* @example await cache.refresh({ id: "abc" })
|
|
97
97
|
* @see https://shelving.cc/api/EndpointCache/refresh
|
|
98
98
|
*/
|
|
99
|
-
async refresh(payload, maxAge, caller = this.
|
|
99
|
+
async refresh(payload, maxAge, caller = this.refresh) {
|
|
100
100
|
await this.get(payload, caller)?.refresh(maxAge);
|
|
101
101
|
}
|
|
102
102
|
/**
|
package/db/store/QueryStore.js
CHANGED
package/package.json
CHANGED
package/store/URLStore.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export declare class URLStore extends BusyStore<ImmutableURL, PossibleURL> {
|
|
|
103
103
|
* @example store.requireParam("page");
|
|
104
104
|
* @see https://shelving.cc/store/URLStore/requireParam
|
|
105
105
|
*/
|
|
106
|
-
requireParam(key: string): string
|
|
106
|
+
requireParam(key: string): string;
|
|
107
107
|
/**
|
|
108
108
|
* Set all params in this URL (all current params are cleared first).
|
|
109
109
|
*
|
package/util/array.js
CHANGED