@discordjs/rest 0.3.0 → 0.4.0-dev.1644537992.298b226
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/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/lib/CDN.d.ts +7 -0
- package/dist/lib/RequestManager.d.ts +2 -2
- package/package.json +89 -88
- package/docs/README.md +0 -1
- package/docs/index.yml +0 -5
package/package.json
CHANGED
|
@@ -1,89 +1,90 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
2
|
+
"name": "@discordjs/rest",
|
|
3
|
+
"version": "0.4.0-dev.1644537992.298b226",
|
|
4
|
+
"description": "The REST API for discord.js",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "tsup && tsc --emitDeclarationOnly --incremental",
|
|
7
|
+
"test": "jest --pass-with-no-tests --collect-coverage",
|
|
8
|
+
"lint": "prettier --check . && eslint src __tests__ --ext mjs,js,ts",
|
|
9
|
+
"format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
|
|
10
|
+
"docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
|
|
11
|
+
"prepublishOnly": "yarn build && yarn lint && yarn test",
|
|
12
|
+
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'"
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"module": "./dist/index.mjs",
|
|
16
|
+
"typings": "./dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
"import": "./dist/index.mjs",
|
|
19
|
+
"require": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"directories": {
|
|
22
|
+
"lib": "src",
|
|
23
|
+
"test": "__tests__"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"contributors": [
|
|
29
|
+
"Crawl <icrawltogo@gmail.com>",
|
|
30
|
+
"Amish Shah <amishshah.2k@gmail.com>",
|
|
31
|
+
"SpaceEEC <spaceeec@yahoo.com>",
|
|
32
|
+
"Vlad Frangu <kingdgrizzle@gmail.com>",
|
|
33
|
+
"Antonio Roman <kyradiscord@gmail.com>"
|
|
34
|
+
],
|
|
35
|
+
"license": "Apache-2.0",
|
|
36
|
+
"keywords": [
|
|
37
|
+
"discord",
|
|
38
|
+
"api",
|
|
39
|
+
"rest",
|
|
40
|
+
"discordapp",
|
|
41
|
+
"discordjs"
|
|
42
|
+
],
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "git+https://github.com/discordjs/discord.js.git"
|
|
46
|
+
},
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/discordjs/discord.js/issues"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://discord.js.org",
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@discordjs/collection": "^0.6.0-dev",
|
|
53
|
+
"@sapphire/async-queue": "^1.2.0",
|
|
54
|
+
"@sapphire/snowflake": "^3.1.0",
|
|
55
|
+
"@types/node-fetch": "^2.5.12",
|
|
56
|
+
"discord-api-types": "^0.26.1",
|
|
57
|
+
"form-data": "^4.0.0",
|
|
58
|
+
"node-fetch": "^2.6.7",
|
|
59
|
+
"tslib": "^2.3.1"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@babel/core": "^7.17.0",
|
|
63
|
+
"@babel/plugin-proposal-decorators": "^7.17.0",
|
|
64
|
+
"@babel/preset-env": "^7.16.11",
|
|
65
|
+
"@babel/preset-typescript": "^7.16.7",
|
|
66
|
+
"@discordjs/ts-docgen": "^0.3.4",
|
|
67
|
+
"@types/jest": "^27.4.0",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
69
|
+
"@typescript-eslint/parser": "^5.10.2",
|
|
70
|
+
"babel-plugin-const-enum": "^1.2.0",
|
|
71
|
+
"babel-plugin-transform-typescript-metadata": "^0.3.2",
|
|
72
|
+
"eslint": "^8.8.0",
|
|
73
|
+
"eslint-config-marine": "^9.3.2",
|
|
74
|
+
"eslint-config-prettier": "^8.3.0",
|
|
75
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
76
|
+
"jest": "^27.4.7",
|
|
77
|
+
"nock": "^13.2.4",
|
|
78
|
+
"prettier": "^2.5.1",
|
|
79
|
+
"tsup": "^5.11.13",
|
|
80
|
+
"typedoc": "^0.22.11",
|
|
81
|
+
"typescript": "^4.5.5"
|
|
82
|
+
},
|
|
83
|
+
"engines": {
|
|
84
|
+
"node": ">=16.9.0"
|
|
85
|
+
},
|
|
86
|
+
"publishConfig": {
|
|
87
|
+
"access": "public"
|
|
88
|
+
},
|
|
89
|
+
"stableVersion": "0.4.0-dev"
|
|
90
|
+
}
|
package/docs/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
## [View the documentation here.](https://discord.js.org/#/docs/rest)
|