another-cache-wrapper
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -13,4 +13,5 @@ /** | ||
export declare const LOCK_TTL: number; | ||
export { setLogger } from './model/Logger'; | ||
export declare function cache(opts?: CacheOpts): Bluebird<AbstractCache>; | ||
export declare function cacheKey(key: any, prefixes?: string[] | string): string; | ||
export declare function cachedMethodCall(prefix: string[] | string, method: () => any, keyExtractor?: () => any, ttl?: number): () => Promise<any>; |
@@ -28,2 +28,4 @@ "use strict"; | ||
exports.LOCK_TTL = ttl_1.default.LOCK_TTL; | ||
var Logger_2 = require("./model/Logger"); | ||
exports.setLogger = Logger_2.setLogger; | ||
function cache(opts) { | ||
@@ -30,0 +32,0 @@ return factory_1.default(opts); |
{ | ||
"name": "another-cache-wrapper", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "custom cache interface", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
53610
941