bancho.js 0.11.3 → 0.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Version 0.11
4
4
 
5
+ ### Version 0.11.5
6
+
7
+ - Apply new personal account rate limits
8
+
9
+ ### Version 0.11.4
10
+
11
+ - Add argument types to utility functions
12
+
5
13
  ### Version 0.11.3
6
14
 
7
15
  - Add missing exports from typings
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![NPM](https://nodei.co/npm/bancho.js.png?compact=true)](https://nodei.co/npm/bancho.js/)
4
4
  [![pipeline status](https://git.cartooncraft.fr/ThePooN/bancho.js/badges/master/pipeline.svg)](https://git.cartooncraft.fr/ThePooN/bancho.js/commits/master)
5
5
 
6
- ## Current release: 0.11.3
6
+ ## Current release: 0.11.5
7
7
 
8
8
  # Introduction
9
9
 
Binary file
package/index.d.ts CHANGED
@@ -904,23 +904,23 @@ declare module "bancho.js" {
904
904
  }
905
905
 
906
906
  /** Compares the provided object and return true if the object is an instance of BanchoMod. */
907
- export function isBanchoMod(mod): boolean
907
+ export function isBanchoMod(mod: BanchoMod): boolean
908
908
  /** Compares the provided object and return true if the object is an instance of BanchoUser. */
909
- export function isBanchoUser(user): boolean
909
+ export function isBanchoUser(user: BanchoUser): boolean
910
910
  /** Compares the provided object and return true if the object is an instance of BanchoChannel. */
911
- export function isBanchoChannel(channel): boolean
911
+ export function isBanchoChannel(channel: BanchoChannel): boolean
912
912
  /** Compares the provided object and return true if the object is an instance of BanchoMultiplayerChannel. */
913
- export function isBanchoMultiplayerChannel(channel): boolean
913
+ export function isBanchoMultiplayerChannel(channel: BanchoMultiplayerChannel): boolean
914
914
  /** Compares the provided object and return true if the object is an instance of BanchoLobby. */
915
- export function isBanchoLobby(lobby): boolean
915
+ export function isBanchoLobby(lobby: BanchoLobby): boolean
916
916
  /** Compares the provided object and return true if the object is an instance of BanchoChannelMember. */
917
- export function isBanchoChannelMember(member): boolean
917
+ export function isBanchoChannelMember(member: BanchoChannelMember): boolean
918
918
  /** Compares the provided object and return true if the object is an instance of BanchoMessage. */
919
- export function isBanchoMessage(message): boolean
919
+ export function isBanchoMessage(message: BanchoMessage): boolean
920
920
  /** Compares the provided object and return true if the object is an instance of ChannelMessage. */
921
- export function isChannelMessage(message): boolean
921
+ export function isChannelMessage(message: ChannelMessage): boolean
922
922
  /** Compares the provided object and return true if the object is an instance of PrivateMessage. */
923
- export function isPrivateMessage(message): boolean
923
+ export function isPrivateMessage(message: PrivateMessage): boolean
924
924
 
925
925
  /**
926
926
  * Contains the different connect states: Disconnected, Connecting, Reconnecting, Connected.
@@ -63,8 +63,8 @@ class BanchoClient extends EventEmitter {
63
63
  const options = {
64
64
  host: "irc.ppy.sh",
65
65
  port: 6667,
66
- limiterTimespan: 12500,
67
- limiterPrivate: 9,
66
+ limiterTimespan: 25000,
67
+ limiterPrivate: 18,
68
68
  limiterPublic: undefined,
69
69
  botAccount: false,
70
70
  gamemode: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bancho.js",
3
- "version": "0.11.3",
3
+ "version": "0.11.5",
4
4
  "description": "Interface with Bancho over IRC, made easy and reliable",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",