@pkmn/client
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -73,3 +73,3 @@ import { DataKind, GameType, Generation, Generations, ID, PokemonSet, SideID } from '@pkmn/data'; | ||
slot: number; | ||
pokemonid: SideID | Protocol.PokemonIdent; | ||
pokemonid: Protocol.PokemonIdent | SideID; | ||
}; | ||
@@ -76,0 +76,0 @@ getSwitchedPokemon(pokemonid: PokemonIdent | SideID, details: PokemonDetails): Pokemon; |
@@ -130,4 +130,4 @@ "use strict"; | ||
const pokemon = this.battle.rememberTeamPreviewPokemon(args[1], args[2]); | ||
if (args[3] === 'item') | ||
pokemon.teamPreviewItem = true; | ||
if (args[3] === 'item' || args[3] === 'mail') | ||
pokemon.teamPreviewItem = true; // TODO: mail | ||
} | ||
@@ -134,0 +134,0 @@ '|teampreview|'(args) { |
{ | ||
"name": "@pkmn/client", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"main": "build/index.js", | ||
@@ -19,7 +19,7 @@ "types": "build/index.d.ts", | ||
"dependencies": { | ||
"@pkmn/data": "^0.4.6", | ||
"@pkmn/protocol": "^0.3.3" | ||
"@pkmn/data": "^0.4.8", | ||
"@pkmn/protocol": "^0.3.4" | ||
}, | ||
"devDependencies": { | ||
"@pkmn/dex": "^0.4.6" | ||
"@pkmn/dex": "^0.4.8" | ||
}, | ||
@@ -26,0 +26,0 @@ "scripts": { |
@@ -222,3 +222,3 @@ import { | ||
const pokemon = this.battle.rememberTeamPreviewPokemon(args[1], args[2])!; | ||
if (args[3] === 'item') pokemon.teamPreviewItem = true; | ||
if (args[3] === 'item' || args[3] === 'mail') pokemon.teamPreviewItem = true; // TODO: mail | ||
} | ||
@@ -225,0 +225,0 @@ |
Sorry, the diff of this file is not supported yet
303285
Updated@pkmn/data@^0.4.8
Updated@pkmn/protocol@^0.3.4