Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@twurple/api-call

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twurple/api-call - npm Package Compare versions

Comparing version 5.3.0-pre.3 to 5.3.0-pre.4

es/helpers/queries.external.mjs

1

lib/apiCall.js

@@ -27,2 +27,3 @@ "use strict";

const params = (0, qs_1.stringify)(options.query, { arrayFormat: 'repeat', addQueryPrefix: true });
// eslint-disable-next-line @typescript-eslint/naming-convention
const headers = new cross_fetch_1.Headers({ Accept: 'application/json' });

@@ -29,0 +30,0 @@ let body = undefined;

export { callTwitchApi, callTwitchApiRaw } from './apiCall';
export type { HelixPaginatedResponse, HelixPaginatedResponseWithTotal, HelixResponse } from './HelixResponse';
export type { TwitchApiCallFetchOptions, TwitchApiCallOptions, TwitchApiCallType } from './TwitchApiCallOptions';
export { createBroadcasterQuery } from './helpers/queries.external';
export { handleTwitchApiResponseError, transformTwitchApiResponse } from './helpers/transform';
export { HttpStatusCodeError } from './errors/HttpStatusCodeError';
//# sourceMappingURL=index.d.ts.map

4

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpStatusCodeError = exports.transformTwitchApiResponse = exports.handleTwitchApiResponseError = exports.callTwitchApiRaw = exports.callTwitchApi = void 0;
exports.HttpStatusCodeError = exports.transformTwitchApiResponse = exports.handleTwitchApiResponseError = exports.createBroadcasterQuery = exports.callTwitchApiRaw = exports.callTwitchApi = void 0;
var apiCall_1 = require("./apiCall");
Object.defineProperty(exports, "callTwitchApi", { enumerable: true, get: function () { return apiCall_1.callTwitchApi; } });
Object.defineProperty(exports, "callTwitchApiRaw", { enumerable: true, get: function () { return apiCall_1.callTwitchApiRaw; } });
var queries_external_1 = require("./helpers/queries.external");
Object.defineProperty(exports, "createBroadcasterQuery", { enumerable: true, get: function () { return queries_external_1.createBroadcasterQuery; } });
var transform_1 = require("./helpers/transform");

@@ -8,0 +10,0 @@ Object.defineProperty(exports, "handleTwitchApiResponseError", { enumerable: true, get: function () { return transform_1.handleTwitchApiResponseError; } });

{
"name": "@twurple/api-call",
"version": "5.3.0-pre.3",
"version": "5.3.0-pre.4",
"publishConfig": {

@@ -36,3 +36,4 @@ "access": "public"

"@d-fischer/qs": "^7.0.2",
"@twurple/common": "5.3.0-pre.3",
"@d-fischer/shared-utils": "^3.4.0",
"@twurple/common": "5.3.0-pre.4",
"@types/node-fetch": "^2.5.7",

@@ -39,0 +40,0 @@ "tslib": "^2.0.3"

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