Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

octoflare

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

octoflare - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

2

dist/octoflare.js

@@ -13,3 +13,3 @@ import { App } from 'octokit';

appId: env.OCTOFLARE_APP_ID,
privateKey: env.OCTOFLARE_APP_PRIVATE_KEY_PKCS8
privateKey: env.OCTOFLARE_PRIVATE_KEY_PKCS8
});

@@ -16,0 +16,0 @@ try {

export type InternalEnv = {
OCTOFLARE_APP_ID: string;
OCTOFLARE_APP_PRIVATE_KEY_PKCS8: string;
OCTOFLARE_APP_WEBHOOK_SECRET: string;
OCTOFLARE_PRIVATE_KEY_PKCS8: string;
OCTOFLARE_WEBHOOK_SECRET: string;
};

@@ -24,3 +24,3 @@ import crypto from 'node:crypto';

const signature = crypto
.createHmac('sha256', env.OCTOFLARE_APP_WEBHOOK_SECRET)
.createHmac('sha256', env.OCTOFLARE_WEBHOOK_SECRET)
.update(body)

@@ -27,0 +27,0 @@ .digest('hex');

{
"name": "octoflare",
"version": "0.0.0",
"version": "0.1.0",
"description": "A framework for building GitHub Apps with Cloudflare Worker",

@@ -5,0 +5,0 @@ "type": "module",

@@ -8,3 +8,3 @@ # octoflare

```sh
npm i octoflare-app
npm i octoflare
```

@@ -16,5 +16,5 @@

// src/index.js
import { octoflare } from 'octoflare-app'
import { octoflare } from 'octoflare'
export default octoflare((request, env, { app, payload }) => {
export default octoflare(({ request, env, app, payload }) => {
// Application Code

@@ -32,2 +32,2 @@ })

[Type Definition](./src/types/OctoflareApp.ts)
[Type Definition](./src/types/OctoflareHandler.ts)
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