Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Commit

Permalink
chore: bump @well-known-components/logger to 3.0.0 (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Arregui authored Aug 1, 2022
1 parent 315e121 commit 021454b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@well-known-components/env-config-provider": "^1.1.1",
"@well-known-components/http-server": "^1.1.2",
"@well-known-components/interfaces": "^1.1.1",
"@well-known-components/logger": "^2.1.0",
"@well-known-components/logger": "^3.0.0",
"@well-known-components/metrics": "^1.1.3",
"@well-known-components/nats-component": "^1.0.0-20220722202432.commit-34395ec",
"google-protobuf": "^3.20.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function initComponents(): Promise<AppComponents> {

const ethNetwork = (await config.getString('ETH_NETWORK')) ?? DEFAULT_ETH_NETWORK

const logs = createLogComponent({})
const logs = await createLogComponent({})
const ws = await createWsComponent({ logs })
const server = await createServerComponent<GlobalContext>(
{ config, logs, ws: ws.ws },
Expand Down
6 changes: 3 additions & 3 deletions test/unit/realm-component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('realm-controller-unit', () => {

const realm = await createRealmComponent({
config: createConfigComponent({}),
logs: createLogComponent({}),
logs: await createLogComponent({}),
fetch: createTestFetchComponent(handler),
contract
})
Expand All @@ -46,7 +46,7 @@ describe('realm-controller-unit', () => {

const realm = await createRealmComponent({
config: createConfigComponent({}),
logs: createLogComponent({}),
logs: await createLogComponent({}),
fetch: createTestFetchComponent(handler),
contract
})
Expand Down Expand Up @@ -74,7 +74,7 @@ describe('realm-controller-unit', () => {

const realm = await createRealmComponent({
config: createConfigComponent(config),
logs: createLogComponent({}),
logs: await createLogComponent({}),
fetch: createTestFetchComponent(handler),
contract
})
Expand Down

0 comments on commit 021454b

Please sign in to comment.