pokenode-ts 1.15.0 → 1.16.0

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
@@ -1,8 +1,8 @@
1
- # [1.15.0](https://github.com/Gabb-c/pokenode-ts/compare/v1.14.0...v1.15.0) (2022-07-11)
1
+ # [1.16.0](https://github.com/Gabb-c/pokenode-ts/compare/v1.15.0...v1.16.0) (2022-07-15)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **constants:** update MoveAilments enum ([d48fa43](https://github.com/Gabb-c/pokenode-ts/commit/d48fa43dcb01ccf2c426f7af78cc98161f90de67))
7
- * **constants:** update Regions enum ([5e75912](https://github.com/Gabb-c/pokenode-ts/commit/5e759120d6d6de0efcbd5e9a71cd27df37bf189c))
8
- * **deps:** update pino and pino-pretty ([99e92b5](https://github.com/Gabb-c/pokenode-ts/commit/99e92b5f7a21bdc15d57ac476e4ff527033186e0))
6
+ * **constants:** update evolution triggers ([5af33dc](https://github.com/Gabb-c/pokenode-ts/commit/5af33dc1615a98cda6126d5a304f705e31ee2838))
7
+ * **constants:** update versions and version groups ([73e259d](https://github.com/Gabb-c/pokenode-ts/commit/73e259d67c71fedb61fdf6a0220d2f77d8e9bb28))
8
+ * **constants:** updatevitems ([79599e6](https://github.com/Gabb-c/pokenode-ts/commit/79599e687995da637bb1255910f88f931e647557))
package/README.md CHANGED
@@ -15,9 +15,9 @@ A lightweight Node.js wrapper for the PokéAPI with built-in types. An easy way
15
15
 
16
16
  ## Features
17
17
 
18
- - [Bulit-in typings](https://gabb-c.github.io/pokenode-ts/#/typings/berry-typings?id=berries)
19
- - [Axios with auto-cache requests](https://gabb-c.github.io/pokenode-ts/#/getting-started/cache)
20
- - [Logging configuration](https://gabb-c.github.io/pokenode-ts/#/getting-started/logs)
18
+ - [Built-in typings](https://pokenode-ts-docs-gabb-c.vercel.app/docs/typings/berry-typings)
19
+ - [Axios with auto-cache requests](https://pokenode-ts-docs-gabb-c.vercel.app/docs/guides/cache)
20
+ - [Logging configuration](https://pokenode-ts-docs-gabb-c.vercel.app/docs/guides/logs)
21
21
 
22
22
  ## Installation
23
23
 
@@ -29,7 +29,7 @@ yarn add pokenode-ts # Recommended
29
29
 
30
30
  ## Basic Example
31
31
 
32
- Using a client, like [PokemonClient](https://gabb-c.github.io/pokenode-ts/#/clients/pokemon-client):
32
+ Using a client, like [PokemonClient](https://pokenode-ts-docs-gabb-c.vercel.app/docs/clients/pokemon-client):
33
33
 
34
34
  ```js
35
35
  import { PokemonClient } from 'pokenode-ts';
@@ -7,5 +7,10 @@ var EvolutionTriggers;
7
7
  EvolutionTriggers[EvolutionTriggers["TRADE"] = 2] = "TRADE";
8
8
  EvolutionTriggers[EvolutionTriggers["USE_ITEM"] = 3] = "USE_ITEM";
9
9
  EvolutionTriggers[EvolutionTriggers["SHED"] = 4] = "SHED";
10
- EvolutionTriggers[EvolutionTriggers["OTHER"] = 5] = "OTHER";
10
+ EvolutionTriggers[EvolutionTriggers["SPIN"] = 5] = "SPIN";
11
+ EvolutionTriggers[EvolutionTriggers["TOWER_OF_DARKNESS"] = 6] = "TOWER_OF_DARKNESS";
12
+ EvolutionTriggers[EvolutionTriggers["TOWER_OF_WATER"] = 7] = "TOWER_OF_WATER";
13
+ EvolutionTriggers[EvolutionTriggers["THREE_CRITICAL_HITS"] = 8] = "THREE_CRITICAL_HITS";
14
+ EvolutionTriggers[EvolutionTriggers["TAKE_DAMAGE"] = 9] = "TAKE_DAMAGE";
15
+ EvolutionTriggers[EvolutionTriggers["OTHER"] = 10] = "OTHER";
11
16
  })(EvolutionTriggers = exports.EvolutionTriggers || (exports.EvolutionTriggers = {}));
@@ -79,6 +79,11 @@ var Versions;
79
79
  Versions[Versions["LETS_GO_EEVEE"] = 32] = "LETS_GO_EEVEE";
80
80
  Versions[Versions["SWORD"] = 33] = "SWORD";
81
81
  Versions[Versions["SHIELD"] = 34] = "SHIELD";
82
+ Versions[Versions["THE_ISLE_OF_ARMOR"] = 35] = "THE_ISLE_OF_ARMOR";
83
+ Versions[Versions["THE_CROWN_TUNDRA"] = 36] = "THE_CROWN_TUNDRA";
84
+ Versions[Versions["BRILLIANT_DIAMOND"] = 37] = "BRILLIANT_DIAMOND";
85
+ Versions[Versions["SHINING_PEARL"] = 38] = "SHINING_PEARL";
86
+ Versions[Versions["LEGENDS_ARCEUS"] = 39] = "LEGENDS_ARCEUS";
82
87
  })(Versions = exports.Versions || (exports.Versions = {}));
83
88
  var VersionGroups;
84
89
  (function (VersionGroups) {
@@ -102,4 +107,8 @@ var VersionGroups;
102
107
  VersionGroups[VersionGroups["ULTRA_SUN_ULTRA_MOON"] = 18] = "ULTRA_SUN_ULTRA_MOON";
103
108
  VersionGroups[VersionGroups["LETS_GO"] = 19] = "LETS_GO";
104
109
  VersionGroups[VersionGroups["SWORD_SHIELD"] = 20] = "SWORD_SHIELD";
110
+ VersionGroups[VersionGroups["THE_ISLE_OF_ARMOR"] = 21] = "THE_ISLE_OF_ARMOR";
111
+ VersionGroups[VersionGroups["THE_CROWN_TUNDRA"] = 22] = "THE_CROWN_TUNDRA";
112
+ VersionGroups[VersionGroups["BRILLIANT_DIAMOND_AND_SHINING_PEARL"] = 23] = "BRILLIANT_DIAMOND_AND_SHINING_PEARL";
113
+ VersionGroups[VersionGroups["LEGENDS_ARCEUS"] = 24] = "LEGENDS_ARCEUS";
105
114
  })(VersionGroups = exports.VersionGroups || (exports.VersionGroups = {}));
@@ -59,6 +59,11 @@ var ItemCategories;
59
59
  ItemCategories[ItemCategories["MEGA_STONES"] = 44] = "MEGA_STONES";
60
60
  ItemCategories[ItemCategories["MEMORIES"] = 45] = "MEMORIES";
61
61
  ItemCategories[ItemCategories["Z_CRYSTALS"] = 46] = "Z_CRYSTALS";
62
+ ItemCategories[ItemCategories["SPECIES_CANDIES"] = 47] = "SPECIES_CANDIES";
63
+ ItemCategories[ItemCategories["CATCHING_BONUS"] = 48] = "CATCHING_BONUS";
64
+ ItemCategories[ItemCategories["DYNAMAX_CRISTALS"] = 49] = "DYNAMAX_CRISTALS";
65
+ ItemCategories[ItemCategories["NATURE_MINTS"] = 50] = "NATURE_MINTS";
66
+ ItemCategories[ItemCategories["CURRY_INGREDIENTS"] = 51] = "CURRY_INGREDIENTS";
62
67
  })(ItemCategories = exports.ItemCategories || (exports.ItemCategories = {}));
63
68
  var ItemFlingEffects;
64
69
  (function (ItemFlingEffects) {
package/dist/index.d.ts CHANGED
@@ -3487,7 +3487,12 @@ export declare enum EvolutionTriggers {
3487
3487
  TRADE = 2,
3488
3488
  USE_ITEM = 3,
3489
3489
  SHED = 4,
3490
- OTHER = 5
3490
+ SPIN = 5,
3491
+ TOWER_OF_DARKNESS = 6,
3492
+ TOWER_OF_WATER = 7,
3493
+ THREE_CRITICAL_HITS = 8,
3494
+ TAKE_DAMAGE = 9,
3495
+ OTHER = 10
3491
3496
  }
3492
3497
  export declare enum Generations {
3493
3498
  GENERATION_I = 1,
@@ -3563,7 +3568,12 @@ export declare enum Versions {
3563
3568
  LETS_GO_PIKACHU = 31,
3564
3569
  LETS_GO_EEVEE = 32,
3565
3570
  SWORD = 33,
3566
- SHIELD = 34
3571
+ SHIELD = 34,
3572
+ THE_ISLE_OF_ARMOR = 35,
3573
+ THE_CROWN_TUNDRA = 36,
3574
+ BRILLIANT_DIAMOND = 37,
3575
+ SHINING_PEARL = 38,
3576
+ LEGENDS_ARCEUS = 39
3567
3577
  }
3568
3578
  export declare enum VersionGroups {
3569
3579
  RED_BLUE = 1,
@@ -3585,7 +3595,11 @@ export declare enum VersionGroups {
3585
3595
  SUN_MOON = 17,
3586
3596
  ULTRA_SUN_ULTRA_MOON = 18,
3587
3597
  LETS_GO = 19,
3588
- SWORD_SHIELD = 20
3598
+ SWORD_SHIELD = 20,
3599
+ THE_ISLE_OF_ARMOR = 21,
3600
+ THE_CROWN_TUNDRA = 22,
3601
+ BRILLIANT_DIAMOND_AND_SHINING_PEARL = 23,
3602
+ LEGENDS_ARCEUS = 24
3589
3603
  }
3590
3604
  export declare enum Regions {
3591
3605
  KANTO = 1,
@@ -3889,7 +3903,12 @@ export declare enum ItemCategories {
3889
3903
  MIRACLE_SHOOTER = 43,
3890
3904
  MEGA_STONES = 44,
3891
3905
  MEMORIES = 45,
3892
- Z_CRYSTALS = 46
3906
+ Z_CRYSTALS = 46,
3907
+ SPECIES_CANDIES = 47,
3908
+ CATCHING_BONUS = 48,
3909
+ DYNAMAX_CRISTALS = 49,
3910
+ NATURE_MINTS = 50,
3911
+ CURRY_INGREDIENTS = 51
3893
3912
  }
3894
3913
  export declare enum ItemFlingEffects {
3895
3914
  BADLY_POISON = 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pokenode-ts",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "private": false,
5
5
  "description": "A lightweight Node.js wrapper for the PokéAPI with built-in types.",
6
6
  "keywords": [
@@ -65,12 +65,12 @@
65
65
  "@semantic-release/github": "^8.0.5",
66
66
  "@semantic-release/npm": "^9.0.1",
67
67
  "@semantic-release/release-notes-generator": "^10.0.3",
68
- "@swc/core": "^1.2.211",
68
+ "@swc/core": "^1.2.215",
69
69
  "@swc/jest": "^0.2.21",
70
- "@types/jest": "^28.1.4",
71
- "@types/node": "^18.0.3",
72
- "@typescript-eslint/eslint-plugin": "^5.30.5",
73
- "@typescript-eslint/parser": "^5.30.5",
70
+ "@types/jest": "^28.1.5",
71
+ "@types/node": "^18.0.4",
72
+ "@typescript-eslint/eslint-plugin": "^5.30.6",
73
+ "@typescript-eslint/parser": "^5.30.6",
74
74
  "babel-plugin-module-resolver": "^4.1.0",
75
75
  "dts-bundle-generator": "^6.12.0",
76
76
  "eslint": "^8.19.0",
@@ -80,7 +80,7 @@
80
80
  "eslint-config-prettier": "^8.5.0",
81
81
  "eslint-plugin-eslint-comments": "^3.2.0",
82
82
  "eslint-plugin-import": "^2.26.0",
83
- "eslint-plugin-jest": "^26.5.3",
83
+ "eslint-plugin-jest": "^26.6.0",
84
84
  "eslint-plugin-node": "^11.1.0",
85
85
  "eslint-plugin-prettier": "^4.2.1",
86
86
  "eslint-plugin-promise": "^6.0.0",
@@ -88,7 +88,7 @@
88
88
  "http-status-codes": "^2.2.0",
89
89
  "husky": "^8.0.1",
90
90
  "is-ci": "^3.0.1",
91
- "jest": "^28.1.2",
91
+ "jest": "^28.1.3",
92
92
  "lint-staged": "^13.0.3",
93
93
  "lockfile-lint": "^4.7.6",
94
94
  "prettier": "^2.7.1",