@iopipe/logger
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -146,5 +146,6 @@ 'use strict'; | ||
} | ||
const { jwtAccess, signedRequest, response } = yield _this.fileUploadMetaPromise; | ||
_this.uploads.push(jwtAccess); | ||
const { jwtAccess, signedRequest, response, url } = yield _this.fileUploadMetaPromise; | ||
debuglog(`Signer response: ${response}`); | ||
if (signedRequest) { | ||
debuglog(`Signed request received for ${url}`); | ||
yield request({ | ||
@@ -157,2 +158,6 @@ url: signedRequest, | ||
}); | ||
if (typeof _this.invocationInstance.context.iopipe.label === 'function') { | ||
_this.invocationInstance.context.iopipe.label('@iopipe/plugin-logger'); | ||
} | ||
_this.uploads.push(jwtAccess); | ||
} else { | ||
@@ -159,0 +164,0 @@ debuglog(`Bad signer response: ${response}`); |
{ | ||
"name": "@iopipe/logger", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "IOpipe plugin for logging", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20275
159