Skip to content

Commit e071da6

Browse files
committed
Fix default cache config overwriting cache config
1 parent f019c3f commit e071da6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/internal/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export class CFToolsClientBuilder {
5252
*/
5353
public withCacheConfiguration(config: Partial<CacheConfiguration>): CFToolsClientBuilder {
5454
this.cacheConfig = {
55-
...config,
5655
...this.cacheConfig,
56+
...config,
5757
};
5858
return this;
5959
}

src/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,11 @@ export interface LeaderboardItem {
222222
suicides: number,
223223
kills: number,
224224
hits: number,
225+
/**
226+
* @deprecated Use killDeathRatio instead
227+
*/
225228
killDeathRation: number,
229+
killDeathRatio: number,
226230
longestKill: number,
227231
longestShot: number,
228232
deaths: number,

0 commit comments

Comments
 (0)