@dotdev/harmony-sdk 1.21.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,3 @@
1
- declare const logger: import("pino").Logger<never, boolean>;
1
+ import * as pino from "pino";
2
+ declare const logger: pino.Logger<never, boolean>;
2
3
  export default logger;
@@ -1,3 +1,4 @@
1
- import pino from "pino";
2
- const logger = pino();
1
+ import { createGcpLoggingPinoConfig } from "@google-cloud/pino-logging-gcp-config";
2
+ import * as pino from "pino";
3
+ const logger = pino.pino(createGcpLoggingPinoConfig());
3
4
  export default logger;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotdev/harmony-sdk",
3
- "version": "1.21.0",
3
+ "version": "1.22.0",
4
4
  "description": "Harmony API SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,6 +17,7 @@
17
17
  "author": "DotApparel",
18
18
  "license": "ISC",
19
19
  "dependencies": {
20
+ "@google-cloud/pino-logging-gcp-config": "^1.0.4",
20
21
  "axios": "^1.7.2",
21
22
  "axios-retry": "^4.5.0",
22
23
  "pino": "^9.7.0",