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

kindred-api

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kindred-api - npm Package Compare versions

Comparing version 2.0.79 to 2.0.80

6

CHANGELOG.md

@@ -9,4 +9,8 @@ From here onwards I'll try to adhere to [Semantic Versioning](http://semver.org). I kinda messed up early, and so it ended up as 2.0 (lol). Sorry guys!

## [2.0.79]() - Quickfix Masteries by account id methods
## [2.0.80]() - Fix TS matchlist typings.
Queue was the only one in the option types.
## [2.0.79](https://github.com/ChauTNguyen/kindred-api/commit/479c3b34d703ffa36ba554909c590eab2bb81a61) - Quickfix Masteries by account id methods.
by.accountId -> by.account

@@ -13,0 +17,0 @@

2

package.json
{
"name": "kindred-api",
"version": "2.0.79",
"version": "2.0.80",
"description": "Node.js League of Legends v3 API wrapper with built-in rate-limiting (enforced per region, burst/spread, follows retry headers, app/method rate-limiting), caching (in-memory, Redis), automatic retries, and parameter checking.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -185,5 +185,5 @@ declare module 'kindred-api' {

by: {
id: (id: number, optionsOrRegionOrCallback?: OptsOrRegOrCb<{ queue: number}, Matchlist>, regionOrCallback?: RegOrCb<Matchlist>, cb?: Callback<Matchlist>) => Promise<Matchlist>;
name: (name: string, optionsOrRegionOrCallback?: OptsOrRegOrCb<{ queue: number}, Matchlist>, regionOrCallback?: RegOrCb<Matchlist>, cb?: Callback<Matchlist>) => Promise<Matchlist>;
account: (account: number, optionsOrRegionOrCallback?: OptsOrRegOrCb<{ queue: number}, Matchlist>, regionOrCallback?: RegOrCb<Matchlist>, cb?: Callback<Matchlist>) => Promise<Matchlist>;
id: (id: number, optionsOrRegionOrCallback?: OptsOrRegOrCb<{ queue?: number, beginTime?: number | Date, endIndex?: number, season?: number, champion?: number, beginIndex?: number, endTime?: number | Date }, Matchlist>, regionOrCallback?: RegOrCb<Matchlist>, cb?: Callback<Matchlist>) => Promise<Matchlist>;
name: (name: string, optionsOrRegionOrCallback?: OptsOrRegOrCb<{ queue?: number, beginTime?: number | Date, endIndex?: number, season?: number, champion?: number, beginIndex?: number, endTime?: number | Date }, Matchlist>, regionOrCallback?: RegOrCb<Matchlist>, cb?: Callback<Matchlist>) => Promise<Matchlist>;
account: (account: number, optionsOrRegionOrCallback?: OptsOrRegOrCb<{ queue?: number, beginTime?: number | Date, endIndex?: number, season?: number, champion?: number, beginIndex?: number, endTime?: number | Date }, Matchlist>, regionOrCallback?: RegOrCb<Matchlist>, cb?: Callback<Matchlist>) => Promise<Matchlist>;
};

@@ -190,0 +190,0 @@

@@ -315,3 +315,3 @@ /// <reference path='index.d.ts' />

const matchOpts = {
forPlatformId: "NA1",
forPlatformId: PLATFORM_IDS.NORTH_AMERICA,
forAccountId: 12346

@@ -366,2 +366,2 @@ }

.then(data => console.log(data))
.catch(err => console.error(err))
.catch(err => console.error(err))
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