{"_id":"@octokit/webhooks-methods","_rev":"4180911","name":"@octokit/webhooks-methods","description":"Methods to handle GitHub Webhook requests","dist-tags":{"beta":"5.0.0-beta.6","latest":"6.0.0"},"maintainers":[{"name":"octokitbot","email":""}],"time":{"modified":"2026-03-01T21:49:36.000Z","created":"2021-04-10T22:17:16.636Z","6.0.0":"2025-05-20T15:41:37.592Z","5.1.1":"2025-02-06T23:32:09.843Z","5.1.0":"2024-04-04T20:50:26.812Z","5.0.0":"2024-02-23T22:23:52.479Z","5.0.0-beta.6":"2024-02-23T21:23:38.061Z","5.0.0-beta.5":"2024-02-23T21:19:04.906Z","5.0.0-beta.4":"2024-02-23T01:56:58.520Z","5.0.0-beta.3":"2024-02-23T01:19:43.104Z","5.0.0-beta.2":"2024-02-17T22:00:07.979Z","5.0.0-beta.1":"2024-02-17T21:18:32.176Z","4.1.0":"2024-02-17T18:25:25.245Z","4.0.0":"2023-06-12T19:08:35.029Z","3.0.3":"2023-06-05T21:40:56.448Z","3.0.2":"2023-01-08T19:38:21.839Z","3.0.1":"2022-10-04T00:27:25.616Z","3.0.0":"2022-07-07T22:55:32.907Z","2.0.0":"2021-06-17T19:31:16.141Z","1.0.0":"2021-04-10T22:17:16.636Z"},"users":{},"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"versions":{"6.0.0":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public","provenance":true},"type":"module","version":"6.0.0","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^4.0.0","@types/node":"^22.0.0","@vitest/coverage-v8":"^3.0.0","esbuild":"^0.25.0","prettier":"3.5.3","puppeteer":"^24.0.0","semantic-release-plugin-update-version-in-files":"^2.0.0","typescript":"^5.0.0","vitest":"^3.0.0"},"engines":{"node":">= 20"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"},"default":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@6.0.0","gitHead":"33dc77e69c3f9afedb24aad95e3adc5df44e5e3d","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"shasum":"34abf78aec6f826fe561cfe79d2ebb1950d1d25f","size":5422,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-6.0.0.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webhooks-methods_6.0.0_1747755697405_0.6931649109604929"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-20T15:41:37.592Z","publish_time":1747755697592,"_source_registry_name":"default","_cnpm_publish_time":1747755697592},"5.1.1":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public","provenance":true},"type":"module","version":"5.1.1","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^4.0.0","@types/node":"^22.0.0","@vitest/coverage-v8":"^3.0.0","esbuild":"^0.24.0","prettier":"3.4.2","puppeteer":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","typescript":"^5.0.0","vitest":"^3.0.0"},"engines":{"node":">= 18"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"},"default":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.1.1","gitHead":"0fea22997c4d38ea37c2d2400d89d85997e612fd","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"192f11a1f115702833f033293e2fef8f69f612e4","size":5425,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.1.1.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webhooks-methods_5.1.1_1738884729641_0.8145148617969686"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-06T23:32:09.843Z","publish_time":1738884729843,"_source_registry_name":"default","_cnpm_publish_time":1738884729843},"5.1.0":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public","provenance":true},"type":"module","version":"5.1.0","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^3.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"engines":{"node":">= 18"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"},"default":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.1.0","gitHead":"a92be9c98963c6679fa98099eec604d78bef7e7e","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.1","_npmVersion":"10.5.0","dist":{"shasum":"13b6c08f89902c1ab0ddf31c6eeeec9c2772cfe6","size":5687,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.1.0.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_5.1.0_1712263826628_0.8947269671223135"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-04T20:50:26.812Z","publish_time":1712263826812,"_source_registry_name":"default","_cnpm_publish_time":1712263826812},"5.0.0":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"type":"module","version":"5.0.0","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^3.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"engines":{"node":">= 18"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"},"default":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.0.0","gitHead":"fead92425bbfb2b155ae5d6c29475fd80d23d9e8","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.1","_npmVersion":"10.4.0","dist":{"shasum":"04115f44127967ca2e522bd67191c2436883a59d","size":5670,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.0.0.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_5.0.0_1708727032292_0.5958069271974418"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-23T22:23:52.479Z","publish_time":1708727032479,"_source_registry_name":"default","_cnpm_publish_time":1708727032479},"5.0.0-beta.6":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"type":"module","version":"5.0.0-beta.6","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^3.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"engines":{"node":">= 18"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.0.0-beta.6","readmeFilename":"README.md","gitHead":"57eaae09aa26554d4b2a0a35d7b57fcf94e86496","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.1","_npmVersion":"10.4.0","dist":{"shasum":"c744b7040ec1c52893fc0b2d566465a6f67a1945","size":5685,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.0.0-beta.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.0.0-beta.6.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_5.0.0-beta.6_1708723417906_0.6734026581401407"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-23T21:23:38.061Z","publish_time":1708723418061,"_source_registry_name":"default","_cnpm_publish_time":1708723418061},"5.0.0-beta.5":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"type":"module","version":"5.0.0-beta.5","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^3.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"engines":{"node":">= 18"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.0.0-beta.5","readmeFilename":"README.md","gitHead":"ebf773c953253722fd02b15fdce96e37e2f4d338","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.1","_npmVersion":"10.4.0","dist":{"shasum":"485d9b3cb40d031328fd90683a510942973d4531","size":5669,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.0.0-beta.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.0.0-beta.5.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_5.0.0-beta.5_1708723144681_0.022754005240465114"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-23T21:19:04.906Z","publish_time":1708723144906,"_source_registry_name":"default","_cnpm_publish_time":1708723144906},"5.0.0-beta.4":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"type":"module","version":"5.0.0-beta.4","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^3.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"engines":{"node":">= 18"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.0.0-beta.4","readmeFilename":"README.md","gitHead":"30b204486839cdcc949ac89efdb77d2d73882fa6","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.1","_npmVersion":"10.4.0","dist":{"shasum":"4243c0db8e9d303c1d2a4046a819f6855046befd","size":6334,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.0.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.0.0-beta.4.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_5.0.0-beta.4_1708653418292_0.9254867713037682"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-23T01:56:58.520Z","publish_time":1708653418520,"_source_registry_name":"default","_cnpm_publish_time":1708653418520},"5.0.0-beta.3":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"type":"module","version":"5.0.0-beta.3","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^3.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"engines":{"node":">= 18"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.0.0-beta.3","readmeFilename":"README.md","gitHead":"ee6147dd3f534861d66bbec4dd7980543256d0aa","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.1","_npmVersion":"10.4.0","dist":{"shasum":"8fac372b91488027f4d3cf892b9ddb871bb80100","size":6649,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.0.0-beta.3.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_5.0.0-beta.3_1708651182879_0.2599657037279439"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-23T01:19:43.104Z","publish_time":1708651183104,"_source_registry_name":"default","_cnpm_publish_time":1708651183104},"5.0.0-beta.2":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"type":"module","version":"5.0.0-beta.2","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^3.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"engines":{"node":">= 18"},"exports":{".":{"node":{"types":"./dist-types/index.d.ts","import":"./dist-node/index.js"},"browser":{"types":"./dist-types/web.d.ts","import":"./dist-web/index.js"}}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.0.0-beta.2","readmeFilename":"README.md","gitHead":"62fa3653ee732e43f85c3b08db9b6859f09f9c6d","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.0","_npmVersion":"10.4.0","dist":{"shasum":"c385509fcd82d0461607bc20f5b9513658965aac","size":6645,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.0.0-beta.2.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_5.0.0-beta.2_1708207207778_0.7316605840573813"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-17T22:00:07.979Z","publish_time":1708207207979,"_source_registry_name":"default","_cnpm_publish_time":1708207207979},"5.0.0-beta.1":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"type":"module","version":"5.0.0-beta.1","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^3.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"jest":{"transform":{"^.+\\.(ts|tsx)$":["ts-jest",{"tsconfig":"test/tsconfig.test.json"}]},"coverageThreshold":{"global":{"statements":100,"branches":100,"functions":100,"lines":100}},"testPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/deno/"],"testEnvironment":"node","moduleNameMapper":{"^(.+)\\.jsx?$":"$1"}},"engines":{"node":">= 18"},"exports":{"node":{"import":"./dist-node/index.js","types":"./dist-types/index.d.ts"},"browser":{"import":"./dist-web/index.js","types":"./dist-types/web.d.ts"}},"sideEffects":false,"_id":"@octokit/webhooks-methods@5.0.0-beta.1","readmeFilename":"README.md","gitHead":"87dc90fd23b7f6c3c139bac9c91bd6f7b29a0d72","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.0","_npmVersion":"10.4.0","dist":{"shasum":"a71edbedcd8ef1a4e0f930a56774c77908786071","size":6845,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-5.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-5.0.0-beta.1.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_5.0.0-beta.1_1708204712013_0.5587264578645257"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-17T21:18:32.176Z","publish_time":1708204712176,"_source_registry_name":"default","_cnpm_publish_time":1708204712176},"4.1.0":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"version":"4.1.0","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^2.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","esbuild":"^0.20.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"3.2.5","puppeteer":"^22.0.0","semantic-release":"^23.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"jest":{"transform":{"^.+\\.(ts|tsx)$":["ts-jest",{"tsconfig":"test/tsconfig.test.json"}]},"coverageThreshold":{"global":{"statements":100,"branches":100,"functions":100,"lines":100}},"testPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/deno/"],"testEnvironment":"node","moduleNameMapper":{"^(.+)\\.jsx?$":"$1"}},"engines":{"node":">= 18"},"main":"dist-node/index.js","browser":"dist-web/index.js","types":"dist-types/index.d.ts","module":"dist-src/index.js","sideEffects":false,"_id":"@octokit/webhooks-methods@4.1.0","gitHead":"e2bcb2ce6b9638835dc813ac4e55143ffc0a03d0","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_nodeVersion":"20.11.0","_npmVersion":"10.4.0","dist":{"shasum":"681a6c86c9b21d4ec9e29108fb053ae7512be033","size":7288,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-4.1.0.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_4.1.0_1708194325088_0.7042349779516675"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-17T18:25:25.245Z","publish_time":1708194325245,"_source_registry_name":"default","_cnpm_publish_time":1708194325245},"4.0.0":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"version":"4.0.0","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^2.0.0","@types/jest":"^29.0.0","@types/node":"^18.0.0","esbuild":"^0.18.0","glob":"^10.2.6","jest":"^29.0.0","prettier":"2.8.8","puppeteer":"^20.0.0","semantic-release":"^21.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"jest":{"transform":{"^.+\\.(ts|tsx)$":["ts-jest",{"tsconfig":"test/tsconfig.test.json"}]},"coverageThreshold":{"global":{"statements":100,"branches":100,"functions":100,"lines":100}},"testPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/deno/"]},"engines":{"node":">= 18"},"main":"dist-node/index.js","browser":"dist-web/index.js","types":"dist-types/index.d.ts","module":"dist-src/index.js","sideEffects":false,"gitHead":"17416dbeddb5e03d6db44e5bd656c50dfd8f62a2","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_id":"@octokit/webhooks-methods@4.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.6.6","dist":{"shasum":"d1697930ba3d8e6b6d0f8a2c996bb440d2e1df1b","size":7042,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-4.0.0.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_4.0.0_1686596914874_0.585032400808756"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-12T19:08:35.029Z","publish_time":1686596915029,"_source_registry_name":"default","_cnpm_publish_time":1686596915029},"3.0.3":{"name":"@octokit/webhooks-methods","publishConfig":{"access":"public"},"version":"3.0.3","description":"Methods to handle GitHub Webhook requests","repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"keywords":["github","api","sdk","toolkit"],"author":{"name":"Gregor Martynus","url":"https://dev.to/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^1.0.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^29.0.0","@types/node":"^18.0.0","esbuild":"^0.17.19","glob":"^10.2.6","jest":"^29.0.0","prettier":"2.8.8","puppeteer":"^20.0.0","semantic-release":"^21.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^5.0.0"},"jest":{"preset":"ts-jest","coverageThreshold":{"global":{"statements":100,"branches":100,"functions":100,"lines":100}},"testPathIgnorePatterns":["<rootDir>/node_modules/","<rootDir>/test/deno/"]},"engines":{"node":">= 14"},"main":"dist-node/index.js","browser":"dist-web/index.js","types":"dist-types/index.d.ts","module":"dist-src/index.js","sideEffects":false,"gitHead":"3d307b716092f332391f6a7f7e8ac026518b8a9f","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_id":"@octokit/webhooks-methods@3.0.3","_nodeVersion":"18.16.0","_npmVersion":"9.6.6","dist":{"shasum":"2648668d34fe44e437eca90c9031d0f3cb759c77","size":7025,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-3.0.3.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_3.0.3_1686001256333_0.27240260553487894"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-05T21:40:56.448Z","publish_time":1686001256448,"_source_registry_name":"default","_cnpm_publish_time":1686001256448},"3.0.2":{"name":"@octokit/webhooks-methods","description":"Methods to handle GitHub Webhook requests","version":"3.0.2","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"dependencies":{},"peerDependencies":{},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.2","@octokit/tsconfig":"^1.0.2","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^29.0.0","@types/node":"^18.0.0","jest":"^29.0.0","prettier":"2.8.2","puppeteer":"^19.0.0","semantic-release":"^20.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^4.2.4"},"engines":{"node":">= 14"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","gitHead":"a705a9e9baa1292058eee995be5560ce7227db56","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_id":"@octokit/webhooks-methods@3.0.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.3","dist":{"shasum":"cece91cc72714a1c83b35d121e04334f051e509c","size":6750,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-3.0.2.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_3.0.2_1673206701678_0.8940473838313836"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-08T19:38:21.839Z","publish_time":1673206701839,"_cnpm_publish_time":1673206701839},"3.0.1":{"name":"@octokit/webhooks-methods","description":"Methods to handle GitHub Webhook requests","version":"3.0.1","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"dependencies":{},"peerDependencies":{},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.2","@octokit/tsconfig":"^1.0.2","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^29.0.0","@types/node":"^16.0.0","jest":"^29.0.0","prettier":"2.7.1","puppeteer":"^18.0.0","semantic-release":"^19.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^29.0.0","typescript":"^4.2.4"},"engines":{"node":">= 14"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","gitHead":"19eb9e5212b2f0546bb9fe04a16b05706440dcbb","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_id":"@octokit/webhooks-methods@3.0.1","_nodeVersion":"16.17.0","_npmVersion":"8.19.2","dist":{"shasum":"041ed0e5728cc076e375c372dd803ded5905535f","size":6988,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-3.0.1.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_3.0.1_1664843245401_0.46222691149716155"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-04T00:27:36.735Z","publish_time":1664843245616,"_cnpm_publish_time":1664843245616},"3.0.0":{"name":"@octokit/webhooks-methods","description":"Methods to handle GitHub Webhook requests","version":"3.0.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"dependencies":{},"peerDependencies":{},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.2","@octokit/tsconfig":"^1.0.2","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^28.0.0","@types/node":"^16.0.0","jest":"^28.0.0","prettier":"2.7.1","puppeteer":"^15.0.0","semantic-release":"^19.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^28.0.0","typescript":"^4.2.4"},"engines":{"node":">= 14"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","gitHead":"399eea3c850c7eac80635f35d0ca478e9f668166","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_id":"@octokit/webhooks-methods@3.0.0","_nodeVersion":"16.15.1","_npmVersion":"8.13.1","dist":{"shasum":"4f4443605233f46abc5f85a857ba105095aa1181","size":6351,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-3.0.0.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_3.0.0_1657234532732_0.11580952584354876"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-07T22:55:38.828Z","publish_time":1657234532907,"_cnpm_publish_time":1657234532907},"2.0.0":{"name":"@octokit/webhooks-methods","description":"Methods to handle GitHub Webhook requests","version":"2.0.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"dependencies":{},"peerDependencies":{},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.2","@octokit/tsconfig":"^1.0.2","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.22","@types/node":"^14.14.37","jest":"^27.0.0","prettier":"2.3.1","puppeteer":"^10.0.0","semantic-release":"^17.4.2","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^27.0.0-next.12","typescript":"^4.2.4"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_id":"@octokit/webhooks-methods@2.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.17.0","dist":{"shasum":"1108b9ea661ca6c81e4a8bfa63a09eb27d5bc2db","size":6353,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-2.0.0.tgz"},"_npmUser":{"name":"octokitbot","email":"octokitbot@martynus.net"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_2.0.0_1623958275890_0.10675769989263206"},"_hasShrinkwrap":false,"publish_time":1623958276141,"_cnpm_publish_time":1623958276141,"_cnpmcore_publish_time":"2021-12-16T15:28:23.964Z"},"1.0.0":{"name":"@octokit/webhooks-methods","description":"Methods to handle GitHub Webhook requests","version":"1.0.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/octokit/webhooks-methods.js.git"},"dependencies":{},"peerDependencies":{},"devDependencies":{"@gr2m/pika-plugin-build-web":"^0.6.0-issue-84.2","@octokit/tsconfig":"^1.0.2","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.22","@types/node":"^14.14.37","jest":"^26.6.3","prettier":"^2.2.1","puppeteer":"^8.0.0","semantic-release":"^17.4.2","semantic-release-plugin-update-version-in-files":"^1.1.0","ts-jest":"^26.5.4","typescript":"^4.2.4"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","_id":"@octokit/webhooks-methods@1.0.0","_nodeVersion":"12.22.0","_npmVersion":"7.9.0","dist":{"shasum":"274799138725c89a3466e3af2026afe755f28c4b","size":6619,"noattachment":false,"key":"/@octokit/webhooks-methods/-/@octokit/webhooks-methods-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit/webhooks-methods/download/@octokit/webhooks-methods-1.0.0.tgz"},"_npmUser":{"name":"octokitbot","email":"octokitbot@martynus.net"},"directories":{},"maintainers":[{"name":"octokitbot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webhooks-methods_1.0.0_1618093036468_0.32256475657734773"},"_hasShrinkwrap":false,"publish_time":1618093036636,"_cnpm_publish_time":1618093036636,"_cnpmcore_publish_time":"2021-12-16T15:28:24.181Z"}},"readme":"# webhooks-methods.js\n\n> Methods to handle GitHub Webhook requests\n\n[![@latest](https://img.shields.io/npm/v/@octokit/webhooks-methods.svg)](https://www.npmjs.com/package/@octokit/webhooks-methods)\n[![Build Status](https://github.com/octokit/webhooks-methods.js/workflows/Test/badge.svg)](https://github.com/octokit/webhooks-methods.js/actions?query=workflow%3ATest+branch%3Amain)\n\n<details>\n<summary>Table of contents</summary>\n\n<!-- toc -->\n\n- [usage](#usage)\n- [Methods](#methods)\n  - [`sign()`](#sign)\n  - [`verify()`](#verify)\n  - [`verifyWithFallback()`](#verifywithfallback)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- tocstop -->\n\n</details>\n\n## usage\n\n<table>\n<tbody valign=top align=left>\n<tr><th>\n\nBrowsers\n\n</th><td width=100%>\n\n???? `@octokit/webhooks-methods` is not meant to be used in browsers. The webhook secret is a sensitive credential that must not be exposed to users.\n\nLoad `@octokit/webhooks-methods` directly from [esm.sh](https://esm.sh)\n\n```html\n<script type=\"module\">\n  import {\n    sign,\n    verify,\n    verifyWithFallback,\n  } from \"https://esm.sh/@octokit/webhooks-methods\";\n</script>\n```\n\n</td></tr>\n<tr><th>\n\nNode\n\n</th><td>\n\nInstall with `npm install @octokit/core @octokit/webhooks-methods`\n\n```js\nimport { sign, verify, verifyWithFallback } from \"@octokit/webhooks-methods\";\n```\n\n</td></tr>\n</tbody>\n</table>\n\n```js\nawait sign(\"mysecret\", eventPayloadString);\n// resolves with a string like \"sha256=4864d2759938a15468b5df9ade20bf161da9b4f737ea61794142f3484236bda3\"\n\nawait verify(\"mysecret\", eventPayloadString, \"sha256=486d27...\");\n// resolves with true or false\n\nawait verifyWithFallback(\"mysecret\", eventPayloadString, \"sha256=486d27...\", [\"oldsecret\", ...]);\n// resolves with true or false\n```\n\n## Methods\n\n### `sign()`\n\n```js\nawait sign(secret, eventPayloadString);\n```\n\n<table width=\"100%\">\n  <tr>\n    <td>\n      <code>\n        secret\n      </code>\n      <em>(String)</em>\n    </td>\n    <td>\n      <strong>Required.</strong>\n      Secret as configured in GitHub Settings.\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <code>\n        eventPayloadString\n      </code>\n      <em>\n        (String)\n      </em>\n    </td>\n    <td>\n      <strong>Required.</strong>\n      Webhook request payload as received from GitHub.<br>\n      <br>\n      If you have only access to an already parsed object, stringify it with <code>JSON.stringify(payload)</code>\n    </td>\n  </tr>\n</table>\n\nResolves with a `signature` string. Throws an error if an argument is missing.\n\n### `verify()`\n\n```js\nawait verify(secret, eventPayloadString, signature);\n```\n\n<table width=\"100%\">\n  <tr>\n    <td>\n      <code>\n        secret\n      </code>\n      <em>(String)</em>\n    </td>\n    <td>\n      <strong>Required.</strong>\n      Secret as configured in GitHub Settings.\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <code>\n        eventPayloadString\n      </code>\n      <em>\n        (String)\n      </em>\n    </td>\n    <td>\n      <strong>Required.</strong>\n      Webhook request payload as received from GitHub.<br>\n      <br>\n      If you have only access to an already parsed object, stringify it with <code>JSON.stringify(payload)</code>\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <code>\n        signature\n      </code>\n      <em>\n        (String)\n      </em>\n    </td>\n    <td>\n      <strong>Required.</strong>\n      Signature string as calculated by <code><a href=\"../sign\">sign()</a></code>.\n    </td>\n  </tr>\n</table>\n\nResolves with `true` or `false`. Throws error if an argument is missing.\n\n### `verifyWithFallback()`\n\n```js\nawait verifyWithFallback(\n  secret,\n  eventPayloadString,\n  signature,\n  additionalSecrets,\n);\n```\n\n<table width=\"100%\">\n  <tr>\n    <td>\n      <code>\n        secret\n      </code>\n      <em>(String)</em>\n    </td>\n    <td>\n      <strong>Required.</strong>\n      Secret as configured in GitHub Settings.\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <code>\n        eventPayloadString\n      </code>\n      <em>\n        (String)\n      </em>\n    </td>\n    <td>\n      <strong>Required.</strong>\n      Webhook request payload as received from GitHub.<br>\n      <br>\n      If you have only access to an already parsed object, stringify it with <code>JSON.stringify(payload)</code>\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <code>\n        signature\n      </code>\n      <em>\n        (String)\n      </em>\n    </td>\n    <td>\n      <strong>Required.</strong>\n      Signature string as calculated by <code><a href=\"../sign\">sign()</a></code>.\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <code>\n        additionalSecrets\n      </code>\n      <em>\n        (Array of String)\n      </em>\n    </td>\n    <td>\n        If given, each additional secret will be tried in turn.\n    </td>\n  </tr>\n</table>\n\nThis is a thin wrapper around [`verify()`](#verify) that is intended to ease callers' support for key rotation.\nResolves with `true` or `false`. Throws error if a required argument is missing.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## License\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/octokit/webhooks-methods.js#readme","bugs":{"url":"https://github.com/octokit/webhooks-methods.js/issues"},"license":"MIT"}