@eppo/js-client-sdk-common
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -1,3 +0,3 @@ | ||
import { LRUCache } from 'lru-cache'; | ||
import { EppoValue } from './eppo_value'; | ||
import { LRUCache } from './lru-cache'; | ||
export interface AssignmentCacheKey { | ||
@@ -39,5 +39,5 @@ subjectKey: string; | ||
*/ | ||
export declare class LRUInMemoryAssignmentCache extends AssignmentCache<LRUCache<string, string>> { | ||
export declare class LRUInMemoryAssignmentCache extends AssignmentCache<LRUCache> { | ||
constructor(maxSize: number); | ||
} | ||
//# sourceMappingURL=assignment-cache.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LRUInMemoryAssignmentCache = exports.NonExpiringInMemoryAssignmentCache = exports.AssignmentCache = void 0; | ||
const lru_cache_1 = require("lru-cache"); | ||
const lru_cache_1 = require("./lru-cache"); | ||
class AssignmentCache { | ||
@@ -53,3 +53,3 @@ constructor(cacheInstance) { | ||
constructor(maxSize) { | ||
super(new lru_cache_1.LRUCache({ max: maxSize })); | ||
super(new lru_cache_1.LRUCache(maxSize)); | ||
} | ||
@@ -56,0 +56,0 @@ } |
{ | ||
"name": "@eppo/js-client-sdk-common", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Eppo SDK for client-side JavaScript applications (base for both web and react native)", | ||
@@ -68,3 +68,2 @@ "main": "dist/index.js", | ||
"axios": "^1.6.0", | ||
"lru-cache": "^10.0.1", | ||
"md5": "^2.3.0", | ||
@@ -71,0 +70,0 @@ "pino": "^8.19.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
5
93
1717
717529
- Removedlru-cache@^10.0.1
- Removedlru-cache@10.4.3(transitive)