Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Eppo-exp/node-server-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelflux committed Apr 27, 2023
2 parents 410e0cb + 14d0a3e commit 4677b40
Show file tree
Hide file tree
Showing 4 changed files with 652 additions and 658 deletions.
2 changes: 1 addition & 1 deletion docs/node-server-sdk.ieppoclient.stoppolling.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
npm install husky<!-- Do not edit this file. It is automatically generated by API Documenter. -->
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@eppo/node-server-sdk](./node-server-sdk.md) &gt; [IEppoClient](./node-server-sdk.ieppoclient.md) &gt; [stopPolling](./node-server-sdk.ieppoclient.stoppolling.md)

Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eppo/node-server-sdk",
"version": "1.3.0",
"version": "1.3.1",
"description": "Eppo node server SDK",
"main": "dist/index.js",
"files": [
Expand Down Expand Up @@ -31,15 +31,14 @@
"dependencies": {
"axios": "^0.26.1",
"http-status-codes": "^2.2.0",
"lru-cache": "^7.9.0"
"lru-cache": "^9.1.1"
},
"devDependencies": {
"@google-cloud/storage": "^6.9.3",
"@microsoft/api-documenter": "^7.17.6",
"@microsoft/api-extractor": "^7.21.2",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.1",
"@types/lru-cache": "^7.6.1",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"eslint": "7.32.0",
Expand All @@ -61,4 +60,4 @@
"node": ">=14.x",
"yarn": "1.x"
}
}
}
4 changes: 2 additions & 2 deletions src/configuration-store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as LRUCache from 'lru-cache';
import { LRUCache } from 'lru-cache';

export interface IConfigurationStore<T> {
getConfiguration(key: string): T;
Expand All @@ -15,7 +15,7 @@ export class InMemoryConfigurationStore<T> implements IConfigurationStore<T> {
}

getConfiguration(key: string): T {
return this.cache.get<T>(key);
return this.cache.get(key);
}

setConfigurations(configs: Record<string, T>) {
Expand Down
Loading

0 comments on commit 4677b40

Please sign in to comment.