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

twitch-auth

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitch-auth - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

11

lib/AccessToken.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccessToken = void 0;
/**

@@ -19,3 +20,3 @@ * Represents the data of an OAuth access token returned by Twitch.

},
enumerable: true,
enumerable: false,
configurable: true

@@ -30,3 +31,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -47,3 +48,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -58,3 +59,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -69,3 +70,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -72,0 +73,0 @@ });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClientCredentialsAuthProvider = void 0;
var tslib_1 = require("tslib");

@@ -73,3 +74,3 @@ var shared_utils_1 = require("@d-fischer/shared-utils");

},
enumerable: true,
enumerable: false,
configurable: true

@@ -84,3 +85,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -87,0 +88,0 @@ });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RefreshableAuthProvider = void 0;
var tslib_1 = require("tslib");

@@ -34,3 +35,3 @@ var shared_utils_1 = require("@d-fischer/shared-utils");

},
enumerable: true,
enumerable: false,
configurable: true

@@ -128,3 +129,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -139,3 +140,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -142,0 +143,0 @@ });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StaticAuthProvider = void 0;
var tslib_1 = require("tslib");

@@ -90,3 +91,3 @@ var shared_utils_1 = require("@d-fischer/shared-utils");

},
enumerable: true,
enumerable: false,
configurable: true

@@ -101,3 +102,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -104,0 +105,0 @@ });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomError = void 0;
var tslib_1 = require("tslib");

@@ -32,3 +33,3 @@ /** @private */

},
enumerable: true,
enumerable: false,
configurable: true

@@ -35,0 +36,0 @@ });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidTokenError = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var CustomError_1 = require("./CustomError");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTokenInfo = exports.revokeToken = exports.refreshUserToken = exports.getAppToken = exports.exchangeCode = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var twitch_api_call_1 = require("twitch-api-call");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.refreshUserAccessToken = exports.getUserAccessToken = exports.getAppAccessToken = exports.InvalidTokenError = exports.StaticAuthProvider = exports.RefreshableAuthProvider = exports.ClientCredentialsAuthProvider = exports.TokenInfo = exports.revokeToken = exports.refreshUserToken = exports.getTokenInfo = exports.getAppToken = exports.exchangeCode = exports.AccessToken = void 0;
var AccessToken_1 = require("./AccessToken");
exports.AccessToken = AccessToken_1.AccessToken;
Object.defineProperty(exports, "AccessToken", { enumerable: true, get: function () { return AccessToken_1.AccessToken; } });
var helpers_1 = require("./helpers");
exports.exchangeCode = helpers_1.exchangeCode;
exports.getAppToken = helpers_1.getAppToken;
exports.getTokenInfo = helpers_1.getTokenInfo;
exports.refreshUserToken = helpers_1.refreshUserToken;
exports.revokeToken = helpers_1.revokeToken;
Object.defineProperty(exports, "exchangeCode", { enumerable: true, get: function () { return helpers_1.exchangeCode; } });
Object.defineProperty(exports, "getAppToken", { enumerable: true, get: function () { return helpers_1.getAppToken; } });
Object.defineProperty(exports, "getTokenInfo", { enumerable: true, get: function () { return helpers_1.getTokenInfo; } });
Object.defineProperty(exports, "refreshUserToken", { enumerable: true, get: function () { return helpers_1.refreshUserToken; } });
Object.defineProperty(exports, "revokeToken", { enumerable: true, get: function () { return helpers_1.revokeToken; } });
var TokenInfo_1 = require("./TokenInfo");
exports.TokenInfo = TokenInfo_1.TokenInfo;
Object.defineProperty(exports, "TokenInfo", { enumerable: true, get: function () { return TokenInfo_1.TokenInfo; } });
var ClientCredentialsAuthProvider_1 = require("./AuthProvider/ClientCredentialsAuthProvider");
exports.ClientCredentialsAuthProvider = ClientCredentialsAuthProvider_1.ClientCredentialsAuthProvider;
Object.defineProperty(exports, "ClientCredentialsAuthProvider", { enumerable: true, get: function () { return ClientCredentialsAuthProvider_1.ClientCredentialsAuthProvider; } });
var RefreshableAuthProvider_1 = require("./AuthProvider/RefreshableAuthProvider");
exports.RefreshableAuthProvider = RefreshableAuthProvider_1.RefreshableAuthProvider;
Object.defineProperty(exports, "RefreshableAuthProvider", { enumerable: true, get: function () { return RefreshableAuthProvider_1.RefreshableAuthProvider; } });
var StaticAuthProvider_1 = require("./AuthProvider/StaticAuthProvider");
exports.StaticAuthProvider = StaticAuthProvider_1.StaticAuthProvider;
Object.defineProperty(exports, "StaticAuthProvider", { enumerable: true, get: function () { return StaticAuthProvider_1.StaticAuthProvider; } });
var InvalidTokenError_1 = require("./Errors/InvalidTokenError");
exports.InvalidTokenError = InvalidTokenError_1.InvalidTokenError;
Object.defineProperty(exports, "InvalidTokenError", { enumerable: true, get: function () { return InvalidTokenError_1.InvalidTokenError; } });
// twitch-auth@^1 compat
var legacy_1 = require("./legacy");
exports.getAppAccessToken = legacy_1.getAppAccessToken;
exports.getUserAccessToken = legacy_1.getUserAccessToken;
exports.refreshUserAccessToken = legacy_1.refreshUserAccessToken;
Object.defineProperty(exports, "getAppAccessToken", { enumerable: true, get: function () { return legacy_1.getAppAccessToken; } });
Object.defineProperty(exports, "getUserAccessToken", { enumerable: true, get: function () { return legacy_1.getUserAccessToken; } });
Object.defineProperty(exports, "refreshUserAccessToken", { enumerable: true, get: function () { return legacy_1.refreshUserAccessToken; } });
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAppAccessToken = exports.refreshUserAccessToken = exports.getUserAccessToken = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var deprecate_1 = require("@d-fischer/deprecate");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TokenInfo = void 0;
/**

@@ -19,3 +20,3 @@ * Information about an access token.

},
enumerable: true,
enumerable: false,
configurable: true

@@ -30,3 +31,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -41,3 +42,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -52,3 +53,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -68,3 +69,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -71,0 +72,0 @@ });

{
"name": "twitch-auth",
"version": "4.2.2",
"version": "4.2.3",
"description": "Authenticate with Twitch and stop caring about refreshing tokens.",

@@ -35,3 +35,3 @@ "keywords": [

"tslib": "^2.0.0",
"twitch-api-call": "^4.2.2"
"twitch-api-call": "^4.2.3"
},

@@ -48,3 +48,3 @@ "files": [

},
"gitHead": "bc9a47f2a686d587631776e0bbde26840b8a37ff"
"gitHead": "244bb3cad045854a7fd73505796bdfcb0d14270f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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