Skip to content

Conversation

@snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented May 5, 2021

Snyk has created this PR to upgrade @top-gg/sdk from 3.0.7 to 3.1.0.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 3 versions ahead of your current version.
  • The recommended version was released 22 days ago, on 2021-04-13.
Release notes
Package name: @top-gg/sdk
  • 3.1.0 - 2021-04-13
    • Added Webhook.listener() to replace Webhook.middleware()

    Example

    // ...
    const webhook = new Webhook('auth')
    

    const app = express()

    app.post('/botvote', webhook.listener((vote) => {
    console.log(vote.user) // 172075838806818817
    }))
    // ...




  • 3.0.9 - 2021-03-04

    Changed the way types are exported allowing for the following in TypeScript

    import { BotStats /* other types */ } from '@ top-gg/sdk/dist/typings'

    Which was previously not possible for external packages.

  • 3.0.8 - 2021-03-02
    • Change docs URL
    • Fix typos in a few method docs
    • Specified that .hasVoted() is last 12 hours
    • Auto-respond with status 200 as per docs
  • 3.0.7 - 2021-02-02

    Add new bannerUrl to typings (#43)

    * Update typings.ts

    * bump

    * Update Changelog.md

from @top-gg/sdk GitHub release notes
Commit messages
Package name: @top-gg/sdk

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants