Skip to content

Commit 96777ad

Browse files
committed
fix: ts-ignoring logger type incompatibilities
1 parent f9b97df commit 96777ad

File tree

65 files changed

+72
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+72
-1
lines changed

src/PolykeyAgent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ class PolykeyAgent {
229229
},
230230
},
231231
fs,
232+
// @ts-ignore - version of js-logger is incompatible (remove when DB updates to 5.*)
232233
logger: logger.getChild(DB.name),
233234
fresh,
234235
}));

src/bootstrap/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ async function bootstrapState({
9999
const db = await DB.createDB({
100100
dbPath,
101101
fs,
102+
// @ts-ignore - version of js-logger is incompatible (remove when DB updates to 5.*)
102103
logger: logger.getChild(DB.name),
103104
crypto: {
104105
key: keyManager.dbKey,

src/vaults/VaultManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ class VaultManager {
181181
efs = await EncryptedFS.createEncryptedFS({
182182
dbPath: this.efsPath,
183183
dbKey: vaultKey,
184+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
184185
logger: this.logger.getChild('EncryptedFileSystem'),
185186
});
186187
} catch (e) {

tests/acl/ACL.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ describe(ACL.name, () => {
4242
const dbPath = `${dataDir}/db`;
4343
db = await DB.createDB({
4444
dbPath,
45+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
4546
logger,
4647
crypto: {
4748
key: dbKey,

tests/agent/GRPCClientAgent.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ describe(GRPCClientAgent.name, () => {
8484
db = await DB.createDB({
8585
dbPath: dbPath,
8686
fs: fs,
87+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
8788
logger: logger,
8889
crypto: {
8990
key: keyManager.dbKey,

tests/agent/service/notificationsSend.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ describe('notificationsSend', () => {
8383
const dbPath = path.join(dataDir, 'db');
8484
db = await DB.createDB({
8585
dbPath,
86+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
8687
logger,
8788
});
8889
acl = await ACL.createACL({

tests/client/service/agentLockAll.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ describe('agentLockall', () => {
5858
const dbPath = path.join(dataDir, 'db');
5959
db = await DB.createDB({
6060
dbPath,
61+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
6162
logger,
6263
crypto: {
6364
key: keyManager.dbKey,

tests/client/service/gestaltsActionsSetUnsetGetByIdentity.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ describe('gestaltsActionsByIdentity', () => {
5555
const dbPath = path.join(dataDir, 'db');
5656
db = await DB.createDB({
5757
dbPath,
58+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
5859
logger,
5960
});
6061
acl = await ACL.createACL({

tests/client/service/gestaltsActionsSetUnsetGetByNode.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ describe('gestaltsActionsByNode', () => {
4949
const dbPath = path.join(dataDir, 'db');
5050
db = await DB.createDB({
5151
dbPath,
52+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
5253
logger,
5354
});
5455
acl = await ACL.createACL({

tests/client/service/gestaltsDiscoveryByIdentity.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ describe('gestaltsDiscoveryByIdentity', () => {
8383
const dbPath = path.join(dataDir, 'db');
8484
db = await DB.createDB({
8585
dbPath,
86+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
8687
logger,
8788
crypto: {
8889
key: keyManager.dbKey,

0 commit comments

Comments
 (0)