Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add webhook verify utility function to node #457

Merged
merged 14 commits into from
Jul 19, 2022

Commits on May 16, 2022

  1. Configuration menu
    Copy the full SHA
    f789711 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. fix: try to fix regex warning

    mjcuva committed May 18, 2022
    Configuration menu
    Copy the full SHA
    efa9f21 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Configuration menu
    Copy the full SHA
    40e1b1e View commit details
    Browse the repository at this point in the history
  2. fix: remove crypto package

    This is in core and doesnt need to come from npm
    domharrington committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    91abcc2 View commit details
    Browse the repository at this point in the history
  3. fix(webhooks): expired signature test

    This test was throwing an error, but not the Expired Signature error
    that we were expecting. It was throwing because we were passing in
    `new Date()` into the test instead of `Date.now()`.
    
    I've fixed all of the tests here, and ensured that we're casting to int
    when constructing the new Date() in verify()
    domharrington committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    21544c8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    453195b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a133514 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    35b38be View commit details
    Browse the repository at this point in the history
  7. chore(webhooks): lint

    domharrington committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    1194286 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. chore(webhooks): lint

    domharrington committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    492744d View commit details
    Browse the repository at this point in the history
  2. refactor(webhooks): replace regex with a string.split solution

    Inspired by stripe-node
    domharrington committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    56f8688 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Configuration menu
    Copy the full SHA
    a513638 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a56b0d View commit details
    Browse the repository at this point in the history
  3. chore: lint

    domharrington committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    73ae381 View commit details
    Browse the repository at this point in the history