@twurple/eventsub-base
Advanced tools
Comparing version 7.1.0-pre.0 to 7.1.0-pre.1
@@ -84,4 +84,5 @@ import { type Logger, type LoggerOptions } from '@d-fischer/logger'; | ||
* @param subscription The subscription that was successfully created. | ||
* @param apiSubscription The subscription data from the API. | ||
*/ | ||
readonly onSubscriptionCreateSuccess: import("@d-fischer/typed-event-emitter").EventBinder<[subscription: EventSubSubscription<unknown>]>; | ||
readonly onSubscriptionCreateSuccess: import("@d-fischer/typed-event-emitter").EventBinder<[subscription: EventSubSubscription<unknown>, apiSubscription: HelixEventSubSubscription]>; | ||
/** | ||
@@ -88,0 +89,0 @@ * Fires when the client fails to create a subscription. |
@@ -80,2 +80,3 @@ "use strict"; | ||
* @param subscription The subscription that was successfully created. | ||
* @param apiSubscription The subscription data from the API. | ||
*/ | ||
@@ -131,3 +132,3 @@ this.onSubscriptionCreateSuccess = this.registerEvent(); | ||
this._subscriptionsByTwitchId.set(data.id, subscription); | ||
this.emit(this.onSubscriptionCreateSuccess, subscription); | ||
this.emit(this.onSubscriptionCreateSuccess, subscription, data); | ||
} | ||
@@ -134,0 +135,0 @@ /** @private */ |
{ | ||
"name": "@twurple/eventsub-base", | ||
"version": "7.1.0-pre.0", | ||
"version": "7.1.0-pre.1", | ||
"publishConfig": { | ||
@@ -38,5 +38,5 @@ "access": "public" | ||
"@d-fischer/typed-event-emitter": "^3.3.0", | ||
"@twurple/api": "7.1.0-pre.0", | ||
"@twurple/auth": "7.1.0-pre.0", | ||
"@twurple/common": "7.1.0-pre.0", | ||
"@twurple/api": "7.1.0-pre.1", | ||
"@twurple/auth": "7.1.0-pre.1", | ||
"@twurple/common": "7.1.0-pre.1", | ||
"tslib": "^2.0.3" | ||
@@ -43,0 +43,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
669672
16985
+ Added@d-fischer/cache-decorators@4.0.1(transitive)
+ Added@twurple/api@7.1.0-pre.1(transitive)
+ Added@twurple/api-call@7.1.0-pre.1(transitive)
+ Added@twurple/auth@7.1.0-pre.1(transitive)
+ Added@twurple/common@7.1.0-pre.1(transitive)
- Removed@d-fischer/cache-decorators@3.0.3(transitive)
- Removed@twurple/api@7.1.0-pre.0(transitive)
- Removed@twurple/api-call@7.1.0-pre.0(transitive)
- Removed@twurple/auth@7.1.0-pre.0(transitive)
- Removed@twurple/common@7.1.0-pre.0(transitive)
Updated@twurple/api@7.1.0-pre.1
Updated@twurple/auth@7.1.0-pre.1
Updated@twurple/common@7.1.0-pre.1