Skip to content

Commit 986967e

Browse files
authored
remove unneeded code and bump version (#34)
1 parent 8eb907f commit 986967e

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

lib/dataUtils.js

-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ function isStrBase64(str) {
251251
try {
252252
// Use Buffer for Node.js and atob for browsers
253253
const decoded = Buffer.from(str, "base64").toString("utf-8");
254-
console.log("" + decoded);
255254
return true;
256255
} catch (e) {
257256
return false;

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = function (options, handler) {
7070
// config moesifapi
7171
var config = moesifapi.configuration;
7272
config.ApplicationId = options.applicationId || options.ApplicationId || process.env.MOESIF_APPLICATION_ID;
73-
config.UserAgent = 'moesif-aws-lambda-nodejs/' + '2.0.5';
73+
config.UserAgent = 'moesif-aws-lambda-nodejs/' + '2.0.6';
7474
config.BaseUri = options.baseUri || options.BaseUri || config.BaseUri;
7575
var moesifController = moesifapi.ApiController;
7676

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "moesif-aws-lambda",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "API Monitoring Middleware for AWS Lambda",
55
"main": "lib/index.js",
66
"keywords": [

0 commit comments

Comments
 (0)