Skip to content

Commit 037ef6e

Browse files
committed
fix: ts-ignoring logger type incompatibilities
1 parent 7ad10c6 commit 037ef6e

File tree

66 files changed

+73
-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.

66 files changed

+73
-1
lines changed

src/PolykeyAgent.ts

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

src/bootstrap/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ async function bootstrapState({
100100
const db = await DB.createDB({
101101
dbPath,
102102
fs,
103+
// @ts-ignore - version of js-logger is incompatible (remove when DB updates to 5.*)
103104
logger: logger.getChild(DB.name),
104105
crypto: {
105106
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
@@ -77,6 +77,7 @@ describe(GRPCClientAgent.name, () => {
7777
db = await DB.createDB({
7878
dbPath: dbPath,
7979
fs: fs,
80+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
8081
logger: logger,
8182
crypto: {
8283
key: keyManager.dbKey,

tests/agent/service/notificationsSend.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ describe('notificationsSend', () => {
7575
const dbPath = path.join(dataDir, 'db');
7676
db = await DB.createDB({
7777
dbPath,
78+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
7879
logger,
7980
});
8081
acl = await ACL.createACL({

tests/client/service/agentLockAll.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ describe('agentLockall', () => {
4444
const dbPath = path.join(dataDir, 'db');
4545
db = await DB.createDB({
4646
dbPath,
47+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
4748
logger,
4849
crypto: {
4950
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
@@ -69,6 +69,7 @@ describe('gestaltsDiscoveryByIdentity', () => {
6969
const dbPath = path.join(dataDir, 'db');
7070
db = await DB.createDB({
7171
dbPath,
72+
// @ts-ignore - version of js-logger is incompatible (remove when EFS logger updates to 3.*)
7273
logger,
7374
crypto: {
7475
key: keyManager.dbKey,

0 commit comments

Comments
 (0)