Socket
Socket
Sign inDemoInstall

@dasmeta/event-manager-platform-helper

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dasmeta/event-manager-platform-helper - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@dasmeta/event-manager-platform-helper",
"version": "1.0.2",
"version": "1.0.3",
"description": "Event platform helper",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -22,3 +22,5 @@ /**

const getFunctionName = (allContext) => {
return allContext[0].request.get('x-fission-function-name');
const deployedName = allContext[0].request.get('x-fission-function-name');
// 0-is separator
return deployedName.replace('0', '_')
}

@@ -25,0 +27,0 @@

@@ -14,3 +14,2 @@ const { recordStart, recordSuccess, recordFailure, recordPreconditionFailure, hasReachedMaxAttempts } = require("../event-logger");

// @todo check eventId, traceId
const { eventId, traceId, data, dataSource, subscription = "" } = event;

@@ -26,3 +25,2 @@

// @todo check abbreviating
if (subscription && subscription !== functionName) {

@@ -29,0 +27,0 @@ console.log("Skip event because the handler is another", eventInfo);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc