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

fix(deps): update dependency @twurple/api to v7 #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 14, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@twurple/api (source) 6.2.1 -> 7.2.0 age adoption passing confidence

Release Notes

twurple/twurple (@​twurple/api)

v7.2.0

Compare Source

v7.1.0: 7.1.0

Compare Source

This is mainly a catch-up release for new additions by Twitch, together with a few EventSub fixes and some general updates to the libraries build infrastructure. Also, the Twitch CLI mock server is now supported for EventSub WS.

Features

Fixes

  • [eventsub] remove some nulls from return types, fix copypasta method names from notification event types (e83ea87)
  • [eventsub] add missing fields to chat message parts (92edad1)
  • [eventsub] fix chat topics not using context user (6517efd, #​545, #​546)
  • [eventsub-ws] do not handle connect/disconnect when reconnecting (d22b5f5)
  • [eventsub-ws] clear reconnect URL after welcome packet (c3089d2)
  • [all] update TS build infra (fixes an eventsub-ws TypeScript issue) (677c339, #​554)
  • [api] update scope for user extensions endpoints (21da5e4, #​561)
  • [api] add missing HelixEventSubSubscriptionStatus values (d1c36d2, #​563)

Improvements

  • [api] use page limit of 1000 for chatters endpoint (ade3c6e)
  • [api, chat] reduce bundle size by about 25% by removing outdated polyfill (a9f39e1)

v7.0.10: 7.0.10

Compare Source

Fixes

  • [api] fix check automod status not transforming its input properly (ce9729c, #​549)

v7.0.9: 7.0.9

Compare Source

Fixes

v7.0.8: 7.0.8

Compare Source

Fixes

  • [eventsub] catch unhandled exceptions and rejections in handler functions (7042723)
  • [eventsub-http] fix some issues regarding resuming existing subscriptions (c6da439)

v7.0.7: 7.0.7

Compare Source

Features

  • [eventsub-ngrok] add ability to pass ngrok options to account for new auth token requirement (5be5074)

v7.0.6: 7.0.6

Compare Source

Features

  • [easy-bot] add CommunitySubEvent#count property (816f2b5)

Fixes

v7.0.5: 7.0.5

Compare Source

Fixes

  • [chat] fix ChatClient refreshing wrong token (93e407d)

v7.0.4: 7.0.4

Compare Source

Fixes

  • [eventsub-http] fix middleware chain continuing on already finished request (eb69e83)

v7.0.3: 7.0.3

Compare Source

Features

  • [api] add content classification labels & branded content flag to channel APIs (7517e96)
  • [api] add isFeatured to clips objects and filters (392ed3f)
  • [chat] add new thread & hype chat tags to ChatMessage (cefffa7)

Fixes

  • [chat] fix ChatUser#isVip always returning true for announcements (6558d64)

v7.0.2: 7.0.2

Compare Source

Features

Fixes

v7.0.1: 7.0.1

Compare Source

Fixes

v7.0.0: 7.0.0

Compare Source

This release mostly addresses the flaws, shortcomings and redundancies that came with the introduction of the new AuthProvider interface in version 6.0, the biggest change being that many of the "moderator ID" type parameters that were introduced in it have been removed again in favor of the 6.0 user context override system (ApiClient#asUser and similar).

It also brings some consistency between the packages (for example, RefreshingAuthProvider is now a proper event emitter like most other event-related classes) and updates to the new versions of some APIs that Twitch deprecated and replaced.

Breaking changes

  • [auth-electron] remove package (547e8af, #​503)
  • [api] remove all "moderator id" type parameters and make the user context overridable (f9d39af, #​487)
  • [api] invert subscription convenience method context logic (3705c18, #​488)
  • [api] remove deprecated follower methods & types (855721b)
  • [api] replace follower shortcuts in HelixUser (e5baf05, #​489)
  • [chat] remove params object from message types (properties of that moved directly to the message object), harmonize some param names (03e386b, #​495)
  • [chat] rename PrivateMessage to ChatMessage (44c0d65)
  • [auth] cache refresh failures (73fdb22, #​485)
  • [auth] use EventEmitter in RefreshingAuthProvider instead of onRefresh in config (d7a38c5, #​484)
  • [eventsub-http] remove legacy secrets (f4cdf98)
  • [chat] remove # prefix from all chat event channel names (3a2ca40, #​482)
  • [chat] remove all references to r9k (is now "unique chat") (6e587ff)
  • [chat] remove async from ChatClient (re)connect methods (f646fd6, #​486)
  • [chat] remove TwitchPrivateMessage#parseEmotes, TwitchPrivateMessage#parseEmotesAndBits (use the function parseChatMessage instead) (38083cc)
  • [api] remove dependency on dom or node-fetch types, offer interface to merge with instead (cd536e2, #​507)
  • [auth] add variable params to auth providers to request more scope sets (fef3545)
  • [api] switch HelixEventSubApi#subscribeToChannelFollowEvents to v2, remove HelixEventSubApi#subscribeToChannelFollowEventsV2 (38083cc)
  • [api] remove HelixCheermoteList#parseMessage, HelixCheermoteList#transformCheerMessage (38083cc)
  • [eventsub] remove clientId from eventsub listener methods (87cd4aa, #​490)
  • [eventsub] remove deprecated signature from onChannelFollow (38083cc)
  • [easy-bot] remove deprecated properties from BotCommandContext(38083cc)
  • [easy-bot] remove deprecated config, method and unused parameter from Bot class (0e6ca6b)

Features

  • [auth] add RefreshingAuthProvider#addUserForCode for easy authorization code flow implementation (741dbab)
  • [chat] expose some basic parsers for emotes & cheermotes (da20b3a)
  • [api, eventsub] add new channel goal types to type definitions (7dc554e, 0542424)
  • [eventsub] add EventSubChannelSubscriptionMessageEvent#emoteOffsets (da20b3a)

Fixes

  • [api] fix requestScopesForUser (fef3545, #​475)
  • [chat] fix auth error notice breaking auth handling (fb85471)
  • [api] add channel:manage:redemptions scope for all redemption related read operations (424bfe7, #​512)

Improvements

  • [chat] use VIP tag rather than (overridable) badge for isVip (92f8cf9)
  • [ebs-helper] replace jsonwebtoken for jose to improve compatibility (ef9e075, #​509, #​510)
  • [all] remove a lot of internal types from the shipped type definitions (92a68cb)
  • [eventsub-ws] disconnect ws socket when no subscriptions are active for the associated user (63ef4e3)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Jul 14, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: fivecity-transmisje-live@0.1.0
npm ERR! Found: @twurple/auth@6.2.1
npm ERR! node_modules/@twurple/auth
npm ERR!   @twurple/auth@"6.2.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @twurple/auth@"7.1.0" from @twurple/api@7.1.0
npm ERR! node_modules/@twurple/api
npm ERR!   @twurple/api@"7.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-03-17T12_29_26_463Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-03-17T12_29_26_463Z-debug-0.log

@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from bc5a936 to f98bde3 Compare July 24, 2023 22:41
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from f98bde3 to 9735755 Compare August 5, 2023 17:19
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from 9735755 to 3fddfe0 Compare August 13, 2023 14:37
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from 3fddfe0 to 7ecf033 Compare September 13, 2023 00:26
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from 7ecf033 to 0eb666d Compare October 2, 2023 15:19
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from 0eb666d to 51f38cc Compare October 15, 2023 18:55
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from 51f38cc to 42805a3 Compare November 4, 2023 22:40
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from 42805a3 to b40d506 Compare November 26, 2023 12:12
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from b40d506 to a5f9b4c Compare January 6, 2024 23:01
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from a5f9b4c to 7b68755 Compare January 26, 2024 18:35
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from 7b68755 to ca80f59 Compare February 18, 2024 22:34
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from ca80f59 to 0d14204 Compare March 17, 2024 12:29
@renovate renovate bot force-pushed the renovate/twurple-api-7.x branch from 0d14204 to 6c475a7 Compare October 8, 2024 22:59
Copy link
Contributor Author

renovate bot commented Oct 8, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: fivecity-transmisje-live@0.1.0
npm error Found: @twurple/auth@6.2.1
npm error node_modules/@twurple/auth
npm error   @twurple/auth@"6.2.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @twurple/auth@"7.2.0" from @twurple/api@7.2.0
npm error node_modules/@twurple/api
npm error   @twurple/api@"7.2.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-10-08T22_59_30_451Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-10-08T22_59_30_451Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants