Skip to content

Commit

Permalink
remove unneeded code and bump version (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinghengwang authored Sep 19, 2024
1 parent 8eb907f commit 986967e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/dataUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ function isStrBase64(str) {
try {
// Use Buffer for Node.js and atob for browsers
const decoded = Buffer.from(str, "base64").toString("utf-8");
console.log("" + decoded);
return true;
} catch (e) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = function (options, handler) {
// config moesifapi
var config = moesifapi.configuration;
config.ApplicationId = options.applicationId || options.ApplicationId || process.env.MOESIF_APPLICATION_ID;
config.UserAgent = 'moesif-aws-lambda-nodejs/' + '2.0.5';
config.UserAgent = 'moesif-aws-lambda-nodejs/' + '2.0.6';
config.BaseUri = options.baseUri || options.BaseUri || config.BaseUri;
var moesifController = moesifapi.ApiController;

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moesif-aws-lambda",
"version": "2.0.5",
"version": "2.0.6",
"description": "API Monitoring Middleware for AWS Lambda",
"main": "lib/index.js",
"keywords": [
Expand Down

0 comments on commit 986967e

Please sign in to comment.