e621 2.0.3 → 2.1.3

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.
Files changed (58) hide show
  1. package/.mocharc.json +6 -0
  2. package/.ncurc.json +3 -0
  3. package/Features/Artists.md +34 -0
  4. package/Features/E621SearchInconsistencies.md +51 -0
  5. package/Features/FuturePlans.md +47 -0
  6. package/Features/Pools.md +33 -0
  7. package/Features/PostSets.md +32 -0
  8. package/Features/Posts.md +40 -0
  9. package/Features/README.md +12 -0
  10. package/Features/Tags.md +28 -0
  11. package/Features/UserFeedback.md +28 -0
  12. package/Features/Users.md +32 -0
  13. package/Features/WikiPages.md +31 -0
  14. package/README.md +1 -94
  15. package/build/package.json +12 -4
  16. package/build/src/index.d.ts +10 -5
  17. package/build/src/index.js +14 -6
  18. package/build/src/modules/Artists.d.ts +17 -3
  19. package/build/src/modules/Artists.js +49 -4
  20. package/build/src/modules/Pools.d.ts +2 -0
  21. package/build/src/modules/Pools.js +3 -1
  22. package/build/src/modules/PostSets.d.ts +14 -0
  23. package/build/src/modules/PostSets.js +30 -4
  24. package/build/src/modules/Posts.d.ts +16 -2
  25. package/build/src/modules/Posts.js +37 -3
  26. package/build/src/modules/Tags.d.ts +63 -0
  27. package/build/src/modules/Tags.js +149 -0
  28. package/build/src/modules/UserFeedback.d.ts +1 -1
  29. package/build/src/modules/UserFeedback.js +4 -2
  30. package/build/src/modules/Users.d.ts +8 -1
  31. package/build/src/modules/Users.js +15 -3
  32. package/build/src/structures/Pool.d.ts +1 -1
  33. package/build/src/structures/Pool.js +2 -2
  34. package/build/src/structures/PoolHistory.d.ts +4 -3
  35. package/build/src/structures/PoolHistory.js +2 -1
  36. package/build/src/structures/PostApproval.d.ts +25 -0
  37. package/build/src/structures/PostApproval.js +33 -0
  38. package/build/src/structures/PostHistory.d.ts +5 -5
  39. package/build/src/structures/PostHistory.js +3 -3
  40. package/build/src/structures/Tag.d.ts +60 -0
  41. package/build/src/structures/Tag.js +87 -0
  42. package/build/src/structures/TagHistory.d.ts +27 -0
  43. package/build/src/structures/TagHistory.js +36 -0
  44. package/build/src/types/artists.d.ts +6 -0
  45. package/build/src/types/index.d.ts +1 -0
  46. package/build/src/types/pools.d.ts +5 -4
  47. package/build/src/types/posts.d.ts +21 -7
  48. package/build/src/types/tags.d.ts +47 -0
  49. package/build/src/types/users.d.ts +1 -1
  50. package/build/src/types/wiki_pages.d.ts +1 -1
  51. package/build/src/util/Debug.d.ts +1 -0
  52. package/build/src/util/Debug.js +11 -0
  53. package/build/src/util/FormHelper.js +2 -2
  54. package/build/src/util/RequestHandler.d.ts +3 -2
  55. package/build/src/util/RequestHandler.js +26 -3
  56. package/build/src/util/Timer.d.ts +6 -0
  57. package/build/src/util/Timer.js +71 -0
  58. package/package.json +12 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "e621",
3
- "version": "2.0.3",
3
+ "version": "2.1.3",
4
4
  "description": "A module for interfacing with e621.",
5
5
  "main": "build/src/index.js",
6
6
  "scripts": {
@@ -28,9 +28,17 @@
28
28
  },
29
29
  "homepage": "https://github.com/DonovanDMC/E621#readme",
30
30
  "devDependencies": {
31
- "@uwu-codes/eslint-config": "^1.0.25",
31
+ "@types/chai": "^4.3.0",
32
+ "@types/debug": "^4.1.7",
33
+ "@types/mocha": "^9.0.0",
34
+ "@uwu-codes/eslint-config": "^1.0.31",
32
35
  "@uwu-codes/tsconfig": "^1.0.1",
33
- "ts-node": "^10.3.0",
34
- "typescript": "^4.4.4"
36
+ "chai": "^4.3.4",
37
+ "mocha": "^9.1.3",
38
+ "ts-node": "^10.4.0",
39
+ "typescript": "^4.5.4"
40
+ },
41
+ "dependencies": {
42
+ "debug": "^4.3.3"
35
43
  }
36
44
  }