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

@sanity/webhook

Package Overview
Dependencies
Maintainers
47
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/webhook - npm Package Versions

2

4.0.4

Diff

Changelog

Source

4.0.4 (2024-04-11)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to v6 (#75) (fcbae6b)
sanity-io
published 4.0.3 •

Changelog

Source

4.0.3 (2024-03-18)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to v5 (#68) (ee9da2a)
stipsan
published 4.0.2-bc •

sanity-io
published 4.0.2 •

Changelog

Source

4.0.2 (2024-02-26)

Bug Fixes

  • rethrow errors that are not signature errors (2cea92f)
  • throw when Web Crypto isn't available (3dd652f)
sanity-io
published 4.0.1 •

Changelog

Source

4.0.1 (2024-01-25)

Bug Fixes

  • update engines.node to v20 (8f40440), closes #44
sanity-io
published 4.0.0 •

Changelog

Source

4.0.0 (2023-11-27)

⚠ BREAKING CHANGES

  • Replace the Node.js crypto API with the Web Crypto API, enabling usage in more environments. All assertion/checking functions are now async, eg return Promises instead of straight booleans.

  • Only Node.js version 18 and higher is now supported.

  • feat: add tsdoc for all exported members

  • test: only test on lts node.js engines

Features

sanity-io
published 3.0.1 •

Changelog

Source

3.0.1 (2023-08-19)

Bug Fixes

  • improve TS export of definitions (77770e7)
sanity-io
published 3.0.0 •

Changelog

Source

3.0.0 (2023-08-18)

Features

rexxars
published 2.0.0 •

Changelog

Source

2.0.0

BREAKING

  • BREAKING: The requireSignedRequest(), assertValidRequest() and isValidRequest() methods now require a body in string/buffer format, and will throw an error if it is already parsed. This is due to potential signature mismatches when re-encoding JSON. See the migration docs for more information.
rexxars
published 1.1.0 •

Changelog

Source

1.1.0

Changed

  • Generating signatures should now be done based on the raw body of the request (as text/buffer) instead of re-encoding the body to JSON and comparing it. This fixes a few issues where the JSON encoding in v8 would differ from the JSON encoding of the server, leading to signature mismatches. A warning is now emitted when comparing a parsed body - see the migration docs for more information.
  • The requireSignedRequest() method now takes an additional option - parseBody. By default, it is set to true, and will parse the incoming JSON request and assign it to request.body. If set to false, the body is left untouched and has to be parsed by the user.
2
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