gj-boomlings-api 1.3.3 → 1.3.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/.nvmrc ADDED
Binary file
@@ -1,12 +1,4 @@
1
1
  module.exports = {
2
- blockUser:
3
- /**
4
- * Blocks the user.
5
- *
6
- * @param {string} target - The target's player ID or username.
7
- * @param {string} username - The blocking person's player ID or username.
8
- * @param {string} password - The blocking person's password.
9
- */
10
2
  async function(target, username, password) {
11
3
  if(!target || target == "") throw new Error("Please provide a target's player ID or username!");
12
4
  if(!username || username == "") throw new Error("Please provide your player ID or username!");
@@ -1,12 +1,5 @@
1
1
  module.exports = {
2
2
  deleteAccountPost:
3
- /**
4
- * Deletes the account post.
5
- *
6
- * @param {number} id - The account post ID (returned by `uploadAccountPost()` function).
7
- * @param {string} str - The deleting person's player ID or username.
8
- * @param {string} password - The deleting person's password.
9
- */
10
3
  async function(id, str, password) {
11
4
  if(!id || id == "") throw new Error("Please provide an account post ID!");
12
5
  if(!str || str == "") throw new Error("Please provide a user ID or name!");
@@ -1,13 +1,5 @@
1
1
  module.exports = {
2
2
  deleteComment:
3
- /**
4
- * Deletes the comment.
5
- *
6
- * @param {number} id - The comment ID (returned by `uploadComment()` function).
7
- * @param {number} lvl - The ID of a level the comment is posted on.
8
- * @param {string} str - The deleting person's player ID or username.
9
- * @param {string} password - The deleting person's password.
10
- */
11
3
  async function(id, lvl, str, password) {
12
4
  if(!id || id == "") throw new Error("Please provide a comment ID!");
13
5
  if(!lvl || lvl == "") throw new Error("Please provide a level ID!");
@@ -1,10 +1,5 @@
1
1
  module.exports = {
2
2
  dlLevel:
3
- /**
4
- * Downloads the level by its ID.
5
- *
6
- * @param {number} level - The level ID.
7
- */
8
3
  async function(level) {
9
4
  const {decB64} = require("../misc/decB64.js");
10
5
  const zlib = require("zlib");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gj-boomlings-api",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "A light-weight Geometry Dash API wrapper",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  "bugs": {
17
17
  "url": "https://github.com/shikoshib/gj-boomlings-api/issues"
18
18
  },
19
- "homepage": "https://github.com/shikoshib/gj-boomlings-api#readme",
19
+ "homepage": "https://shikoshib.github.io/gj-boomlings-api/",
20
20
  "keywords": [
21
21
  "geometrydash",
22
22
  "gd",
@@ -27,10 +27,11 @@
27
27
  "robtop",
28
28
  "geometry dash"
29
29
  ],
30
+ "engines": {
31
+ "npm": ">=8.19.2 <10.0.0",
32
+ "node": ">=18.0.0 <20.0.0"
33
+ },
30
34
  "dependencies": {
31
35
  "axios": "^1.2.1"
32
- },
33
- "devDependencies": {
34
- "typescript": "^4.9.4"
35
36
  }
36
37
  }
package/tsconfig.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowJs": true,
4
- "noEmit": true
5
- }
6
- }