Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@types/ebay-oauth-nodejs-client
Advanced tools
TypeScript definitions for ebay-oauth-nodejs-client
npm install --save @types/ebay-oauth-nodejs-client
This package contains type definitions for ebay-oauth-nodejs-client (https://github.com/eBay/ebay-oauth-nodejs-client).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ebay-oauth-nodejs-client.
// Type definitions for ebay-oauth-nodejs-client 1.2
// Project: https://github.com/eBay/ebay-oauth-nodejs-client
// Definitions by: Jeremy Möglich <https://github.com/JeremyMoeglich>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
type EbayEnvironment = 'SANDBOX' | 'PRODUCTION';
type EbayAuthTokenOptions =
| {
filePath: string;
}
| {
clientId: string;
clientSecret: string;
env?: EbayEnvironment;
baseUrl?: string;
redirectUri?: string;
scope?: string[] | string;
};
declare class EbayAuthToken {
constructor(options: Readonly<EbayAuthTokenOptions>);
getApplicationToken(environment: EbayEnvironment, scopes?: ReadonlyArray<string> | string): Promise<string>;
generateUserAuthorizationUrl(
environment: EbayEnvironment,
scopes: string[] | string,
options?: {
prompt?: 'login' | 'consent';
state?: string;
},
): string;
exchangeCodeForAccessToken(environment: EbayEnvironment, code: string): Promise<string>;
getAccessToken(
environment: EbayEnvironment,
refreshToken: string,
scopes: ReadonlyArray<string> | string,
): Promise<string>;
setRefreshToken(refreshToken: string): void;
getRefreshToken(): string;
}
export = EbayAuthToken;
These definitions were written by Jeremy Möglich.
FAQs
TypeScript definitions for ebay-oauth-nodejs-client
The npm package @types/ebay-oauth-nodejs-client receives a total of 1,308 weekly downloads. As such, @types/ebay-oauth-nodejs-client popularity was classified as popular.
We found that @types/ebay-oauth-nodejs-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.