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

@octokit/webhooks

Package Overview
Dependencies
Maintainers
3
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/webhooks - npm Package Compare versions

Comparing version 5.3.0 to 5.3.1

2

package.json
{
"name": "@octokit/webhooks",
"version": "5.3.0",
"version": "5.3.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -54,19 +54,22 @@ const fs = require('fs')

}
export class Webhooks {
constructor (options: Options)
}
public on (event: 'error', callback: (event: Error) => void): void
public on (event: '*' | string | string[], callback: (event: Webhooks.WebhookEvent<any>) => void): void
public on (event: '*' | string | string[], callback: (event: Webhooks.WebhookEvent<any>) => Promise<void>): void
${signatures.join('\n')}
export class Webhooks {
constructor (options: Options)
public sign (data: any): string
public verify (eventPayload: any, signature: string): boolean
public verifyAndReceive (options: { id: string, name: string, payload: any, signature: string }): Promise<void>
public receive (options: { id: string, name: string, payload: any }): Promise<void>
public removeListener (event: string | string[], callback: (event: Webhooks.WebhookEvent<any>) => void): void
public removeListener (event: string | string[], callback: (event: Webhooks.WebhookEvent<any>) => Promise<void>): void
public middleware (request: http.ClientRequest, response: http.ServerResponse, next: (err?: any) => void): (request: http.IncomingMessage, response: http.ServerResponse) => void
}
public on (event: 'error', callback: (event: Error) => void): void
public on (event: '*' | string | string[], callback: (event: Webhooks.WebhookEvent<any>) => void): void
public on (event: '*' | string | string[], callback: (event: Webhooks.WebhookEvent<any>) => Promise<void>): void
${signatures.join('\n')}
public sign (data: any): string
public verify (eventPayload: any, signature: string): boolean
public verifyAndReceive (options: { id: string, name: string, payload: any, signature: string }): Promise<void>
public receive (options: { id: string, name: string, payload: any }): Promise<void>
public removeListener (event: string | string[], callback: (event: Webhooks.WebhookEvent<any>) => void): void
public removeListener (event: string | string[], callback: (event: Webhooks.WebhookEvent<any>) => Promise<void>): void
public middleware (request: http.ClientRequest, response: http.ServerResponse, next: (err?: any) => void): (request: http.IncomingMessage, response: http.ServerResponse) => void
}
export = Webhooks
`

@@ -73,0 +76,0 @@

Sorry, the diff of this file is too big to display

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