Socket
Socket
Sign inDemoInstall

@twurple/api

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twurple/api - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

5

lib/api/helix/eventSub/HelixEventSubSubscription.d.ts

@@ -22,2 +22,3 @@ import { DataObject } from '@twurple/common';

type: string;
cost: number;
version: string;

@@ -48,2 +49,6 @@ condition: Record<string, unknown>;

/**
* The cost of the subscription.
*/
get cost(): number;
/**
* The condition of the subscription.

@@ -50,0 +55,0 @@ */

@@ -35,2 +35,8 @@ "use strict";

/**
* The cost of the subscription.
*/
get cost() {
return this[common_1.rawDataSymbol].cost;
}
/**
* The condition of the subscription.

@@ -37,0 +43,0 @@ */

23

lib/ApiClient.d.ts

@@ -17,2 +17,5 @@ import type { LoggerOptions } from '@d-fischer/logger';

import { HelixModerationApi } from './api/helix/moderation/HelixModerationApi';
import { HelixPollApi } from './api/helix/poll/HelixPollApi';
import { HelixPredictionApi } from './api/helix/prediction/HelixPredictionApi';
import { HelixScheduleApi } from './api/helix/schedule/HelixScheduleApi';
import { HelixSearchApi } from './api/helix/search/HelixSearchApi';

@@ -117,2 +120,6 @@ import { HelixStreamApi } from './api/helix/stream/HelixStreamApi';

/**
* The Helix game API methods.
*/
get games(): HelixGameApi;
/**
* The Helix Hype Train API methods.

@@ -122,6 +129,2 @@ */

/**
* The Helix game API methods.
*/
get games(): HelixGameApi;
/**
* The Helix moderation API methods.

@@ -131,2 +134,14 @@ */

/**
* The Helix poll API methods.
*/
get polls(): HelixPollApi;
/**
* The Helix prediction API methods.
*/
get predictions(): HelixPredictionApi;
/**
* The Helix schedule API methods.
*/
get schedule(): HelixScheduleApi;
/**
* The Helix search API methods.

@@ -133,0 +148,0 @@ */

@@ -22,2 +22,5 @@ "use strict";

const HelixModerationApi_1 = require("./api/helix/moderation/HelixModerationApi");
const HelixPollApi_1 = require("./api/helix/poll/HelixPollApi");
const HelixPredictionApi_1 = require("./api/helix/prediction/HelixPredictionApi");
const HelixScheduleApi_1 = require("./api/helix/schedule/HelixScheduleApi");
const HelixSearchApi_1 = require("./api/helix/search/HelixSearchApi");

@@ -155,2 +158,8 @@ const HelixStreamApi_1 = require("./api/helix/stream/HelixStreamApi");

/**
* The Helix game API methods.
*/
get games() {
return new HelixGameApi_1.HelixGameApi(this);
}
/**
* The Helix Hype Train API methods.

@@ -162,8 +171,2 @@ */

/**
* The Helix game API methods.
*/
get games() {
return new HelixGameApi_1.HelixGameApi(this);
}
/**
* The Helix moderation API methods.

@@ -175,2 +178,20 @@ */

/**
* The Helix poll API methods.
*/
get polls() {
return new HelixPollApi_1.HelixPollApi(this);
}
/**
* The Helix prediction API methods.
*/
get predictions() {
return new HelixPredictionApi_1.HelixPredictionApi(this);
}
/**
* The Helix schedule API methods.
*/
get schedule() {
return new HelixScheduleApi_1.HelixScheduleApi(this);
}
/**
* The Helix search API methods.

@@ -269,6 +290,6 @@ */

cache_decorators_1.CachedGetter()
], ApiClient.prototype, "hypeTrain", null);
], ApiClient.prototype, "games", null);
tslib_1.__decorate([
cache_decorators_1.CachedGetter()
], ApiClient.prototype, "games", null);
], ApiClient.prototype, "hypeTrain", null);
tslib_1.__decorate([

@@ -279,2 +300,11 @@ cache_decorators_1.CachedGetter()

cache_decorators_1.CachedGetter()
], ApiClient.prototype, "polls", null);
tslib_1.__decorate([
cache_decorators_1.CachedGetter()
], ApiClient.prototype, "predictions", null);
tslib_1.__decorate([
cache_decorators_1.CachedGetter()
], ApiClient.prototype, "schedule", null);
tslib_1.__decorate([
cache_decorators_1.CachedGetter()
], ApiClient.prototype, "search", null);

@@ -281,0 +311,0 @@ tslib_1.__decorate([

10

package.json
{
"name": "@twurple/api",
"version": "5.0.4",
"version": "5.0.5",
"publishConfig": {

@@ -39,8 +39,8 @@ "access": "public"

"@d-fischer/shared-utils": "^3.2.0",
"@twurple/api-call": "^5.0.4",
"@twurple/common": "^5.0.4",
"@twurple/api-call": "^5.0.5",
"@twurple/common": "^5.0.5",
"tslib": "^2.0.3"
},
"devDependencies": {
"@twurple/auth": "^5.0.4"
"@twurple/auth": "^5.0.5"
},

@@ -61,3 +61,3 @@ "peerDependencies": {

},
"gitHead": "9c12174774dcf13ed286063108d096e1e861740f"
"gitHead": "0691f45769785ea43027fab9a75ee862bf3b80bd"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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