New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

inngest

Package Overview
Dependencies
Maintainers
2
Versions
680
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inngest - npm Package Compare versions

Comparing version 0.4.16-cfp.1 to 0.4.16-cfp.2

5

cloudflare.js

@@ -13,3 +13,3 @@ "use strict";

createHandler() {
return async ({ request: req, }) => {
return async ({ request: req, env, }) => {
let reqUrl;

@@ -24,2 +24,5 @@ try {

}
if (!this.signingKey && env[consts_1.envKeys.SigningKey]) {
this.signingKey = env[consts_1.envKeys.SigningKey];
}
switch (req.method) {

@@ -26,0 +29,0 @@ case "PUT": {

3

components/Inngest.js

@@ -14,2 +14,3 @@ "use strict";

const axios_1 = __importDefault(require("axios"));
const consts_1 = require("../helpers/consts");
const version_1 = require("../version");

@@ -67,3 +68,3 @@ const InngestFunction_1 = require("./InngestFunction");

*/
constructor({ name, eventKey = process.env.INNGEST_EVENT_KEY, inngestBaseUrl = "https://inn.gs/", }) {
constructor({ name, eventKey = process.env[consts_1.envKeys.EventKey], inngestBaseUrl = "https://inn.gs/", }) {
_Inngest_instances.add(this);

@@ -70,0 +71,0 @@ if (!name) {

@@ -60,3 +60,3 @@ import { Inngest } from "./components/Inngest";

protected readonly frameworkName: string;
protected readonly signingKey: string | undefined;
protected signingKey: string | undefined;
/**

@@ -63,0 +63,0 @@ * An Axios instance used for communicating with Inngest Cloud.

export declare const fnIdParam = "fnId";
export declare const stepIdParam = "stepId";
export declare enum envKeys {
SigningKey = "INNGEST_SIGNING_KEY",
EventKey = "INNGEST_EVENT_KEY"
}
//# sourceMappingURL=consts.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.stepIdParam = exports.fnIdParam = void 0;
exports.envKeys = exports.stepIdParam = exports.fnIdParam = void 0;
exports.fnIdParam = "fnId";
exports.stepIdParam = "stepId";
var envKeys;
(function (envKeys) {
envKeys["SigningKey"] = "INNGEST_SIGNING_KEY";
envKeys["EventKey"] = "INNGEST_EVENT_KEY";
})(envKeys = exports.envKeys || (exports.envKeys = {}));
//# sourceMappingURL=consts.js.map
{
"name": "inngest",
"version": "0.4.16-cfp.1",
"version": "0.4.16-cfp.2",
"description": "Official SDK for Inngest.com",

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

@@ -1,2 +0,2 @@

export declare const version = "0.4.16-cfp.1";
export declare const version = "0.4.16-cfp.2";
//# sourceMappingURL=version.d.ts.map

@@ -5,3 +5,3 @@ "use strict";

// Generated by genversion.
exports.version = "0.4.16-cfp.1";
exports.version = "0.4.16-cfp.2";
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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