Skip to content

Commit

Permalink
0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sans3108 committed Jul 23, 2024
1 parent a5264f2 commit 3899c13
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ docs/
.vscode/
.idea/

ddnet_cache.sqlite

*.tgz
*.sqlite
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ testing/
.vscode/
.idea/

*.tgz
*.tgz
*.sqlite
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.pnpm-store/
.github/
pnpm-lock.yaml
docs/
docs/
*.sqlite
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ddnet",
"version": "0.5.3",
"version": "0.6.0",
"description": "A typescript npm package for interacting with data from ddnet.org",
"main": "dist/DDNet.js",
"exports": {
Expand Down
7 changes: 0 additions & 7 deletions src/DDNet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,3 @@ export * from './schemas/players/query.js';
export * from './util.js';

export { findPlayer } from './Master.js';

import { Releases } from './classes/other/Releases.js';
import { Type } from './util.js';

const rel = await Releases.new();

console.log(rel.getServer(Type.fun)[0].name);
2 changes: 0 additions & 2 deletions src/classes/other/CacheManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ export class CacheManager<T> {
this.store = new Keyv<T>({ namespace, uri: sqliteAvailable ? 'sqlite://ddnet_cache.sqlite' : undefined });

this.ttl = ttl ?? CacheManager.defaultTTL;

console.log(`[${this.store.opts.namespace}] SQLite store?: ${sqliteAvailable}`);
}

/**
Expand Down

0 comments on commit 3899c13

Please sign in to comment.