Skip to content

Commit ff9fdcb

Browse files
authored
Merge pull request #252 from WalletConnect/fix/pino-esm
fix: pino esm
2 parents 71b532b + c98e920 commit ff9fdcb

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

misc/logger/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@walletconnect/logger",
33
"description": "Logger Utils",
4-
"version": "2.1.2",
4+
"version": "2.1.3",
55
"author": "WalletConnect, Inc. <walletconnect.com>",
66
"license": "MIT",
77
"homepage": "https://github.com/WalletConnect/walletconnect-utils/",

misc/logger/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/* eslint-disable-next-line import/no-named-default */
2-
import { default as pino } from "pino";
1+
import * as Pino from "pino";
2+
const defaultPino = Pino.default ?? Pino;
33
export * from "./constants";
44
export * from "./utils";
55
export type { Logger } from "pino";
6-
export { pino };
6+
export { defaultPino as pino };

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)