Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
dmihalcik-virtru committed Dec 16, 2024
1 parent a1b21e0 commit ca94c45
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 22 deletions.
18 changes: 2 additions & 16 deletions cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"prettier": "^3.3.3",
"sinon": "^19.0.2",
"ts-node": "^10.9.2",
"typescript": "^5.1.6",
"why-is-node-running": "^3.2.1"
"typescript": "^5.1.6"
},
"dependencies": {
"@opentdf/sdk": "file:../lib/opentdf-sdk-0.2.0.tgz",
Expand Down
3 changes: 0 additions & 3 deletions cli/src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import whyIsNodeRunning from 'why-is-node-running' // should be your first import

import { createWriteStream, openAsBlob } from 'node:fs';
import { stat } from 'node:fs/promises';
import { Writable } from 'node:stream';
Expand Down Expand Up @@ -464,7 +462,6 @@ export const handleArgs = (args: string[]) => {
}
console.assert(accessToken, 'No access_token found');
console.assert(!argv.dpop || dpopToken, 'DPoP requested but absent');
setImmediate(() => whyIsNodeRunning())
} finally {
client.close();
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/opentdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class NanoHeaderCache {
this.cache.delete(key);
}
}
}, 300000);
}, 500);
}

get(key: Uint8Array): CryptoKey | undefined {
Expand Down

0 comments on commit ca94c45

Please sign in to comment.