@discordjs/core 0.5.1-dev.1681603848-01949d6.0 → 0.5.1

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/package.json CHANGED
@@ -1,84 +1,84 @@
1
1
  {
2
- "name": "@discordjs/core",
3
- "version": "0.5.1-dev.1681603848-01949d6.0",
4
- "description": "A thinly abstracted wrapper around the rest API, and gateway.",
5
- "scripts": {
6
- "test": "vitest run",
7
- "build": "tsup",
8
- "build:docs": "tsc -p tsconfig.docs.json",
9
- "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts --format=pretty",
10
- "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts --fix --format=pretty",
11
- "docs": "yarn build:docs && api-extractor run --local",
12
- "prepack": "yarn build && yarn lint",
13
- "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/core/*'",
14
- "release": "cliff-jumper"
15
- },
16
- "main": "./dist/index.js",
17
- "module": "./dist/index.mjs",
18
- "typings": "./dist/index.d.ts",
19
- "exports": {
20
- ".": {
21
- "import": "./dist/index.mjs",
22
- "require": "./dist/index.js",
23
- "types": "./dist/index.d.ts"
24
- },
25
- "./http-only": {
26
- "import": "./dist/http-only.mjs",
27
- "require": "./dist/http-only.js",
28
- "types": "./dist/http-only.d.ts"
29
- }
30
- },
31
- "directories": {
32
- "lib": "src",
33
- "test": "__tests__"
34
- },
35
- "files": [
36
- "dist"
37
- ],
38
- "contributors": [
39
- "Crawl <icrawltogo@gmail.com>",
40
- "SpaceEEC <spaceeec@yahoo.com>",
41
- "Vlad Frangu <kingdgrizzle@gmail.com>",
42
- "Aura Román <kyradiscord@gmail.com>",
43
- "Suneet Tipirneni <suneettipirneni@icloud.com>"
44
- ],
45
- "license": "Apache-2.0",
46
- "keywords": [],
47
- "repository": {
48
- "type": "git",
49
- "url": "git+https://github.com/discordjs/discord.js.git"
50
- },
51
- "bugs": {
52
- "url": "https://github.com/discordjs/discord.js/issues"
53
- },
54
- "homepage": "https://discord.js.org",
55
- "dependencies": {
56
- "@discordjs/rest": "^1.7.0",
57
- "@discordjs/util": "^0.2.0",
58
- "@discordjs/ws": "^0.8.0",
59
- "@sapphire/snowflake": "^3.4.2",
60
- "@vladfrangu/async_event_emitter": "^2.2.1",
61
- "discord-api-types": "^0.37.38"
62
- },
63
- "devDependencies": {
64
- "@favware/cliff-jumper": "^2.0.0",
65
- "@microsoft/api-extractor": "^7.34.4",
66
- "@types/node": "16.18.23",
67
- "@vitest/coverage-c8": "^0.30.1",
68
- "cross-env": "^7.0.3",
69
- "esbuild-plugin-version-injector": "^1.1.0",
70
- "eslint": "^8.38.0",
71
- "eslint-config-neon": "^0.1.42",
72
- "eslint-formatter-pretty": "^5.0.0",
73
- "prettier": "^2.8.7",
74
- "tsup": "^6.7.0",
75
- "typescript": "^5.0.4",
76
- "vitest": "^0.29.8"
77
- },
78
- "engines": {
79
- "node": ">=16.9.0"
80
- },
81
- "publishConfig": {
82
- "access": "public"
83
- }
84
- }
2
+ "name": "@discordjs/core",
3
+ "version": "0.5.1",
4
+ "description": "A thinly abstracted wrapper around the rest API, and gateway.",
5
+ "scripts": {
6
+ "test": "vitest run",
7
+ "build": "tsup",
8
+ "build:docs": "tsc -p tsconfig.docs.json",
9
+ "lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts --format=pretty",
10
+ "format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts --fix --format=pretty",
11
+ "docs": "yarn build:docs && api-extractor run --local",
12
+ "prepack": "yarn build && yarn lint",
13
+ "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/core/*'",
14
+ "release": "cliff-jumper"
15
+ },
16
+ "main": "./dist/index.js",
17
+ "module": "./dist/index.mjs",
18
+ "typings": "./dist/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/index.mjs",
22
+ "require": "./dist/index.js",
23
+ "types": "./dist/index.d.ts"
24
+ },
25
+ "./http-only": {
26
+ "import": "./dist/http-only.mjs",
27
+ "require": "./dist/http-only.js",
28
+ "types": "./dist/http-only.d.ts"
29
+ }
30
+ },
31
+ "directories": {
32
+ "lib": "src",
33
+ "test": "__tests__"
34
+ },
35
+ "files": [
36
+ "dist"
37
+ ],
38
+ "contributors": [
39
+ "Crawl <icrawltogo@gmail.com>",
40
+ "SpaceEEC <spaceeec@yahoo.com>",
41
+ "Vlad Frangu <kingdgrizzle@gmail.com>",
42
+ "Aura Román <kyradiscord@gmail.com>",
43
+ "Suneet Tipirneni <suneettipirneni@icloud.com>"
44
+ ],
45
+ "license": "Apache-2.0",
46
+ "keywords": [],
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "git+https://github.com/discordjs/discord.js.git"
50
+ },
51
+ "bugs": {
52
+ "url": "https://github.com/discordjs/discord.js/issues"
53
+ },
54
+ "homepage": "https://discord.js.org",
55
+ "dependencies": {
56
+ "@discordjs/rest": "workspace:^",
57
+ "@discordjs/util": "workspace:^",
58
+ "@discordjs/ws": "workspace:^",
59
+ "@sapphire/snowflake": "^3.4.2",
60
+ "@vladfrangu/async_event_emitter": "^2.2.1",
61
+ "discord-api-types": "^0.37.38"
62
+ },
63
+ "devDependencies": {
64
+ "@favware/cliff-jumper": "^2.0.0",
65
+ "@microsoft/api-extractor": "^7.34.4",
66
+ "@types/node": "16.18.23",
67
+ "@vitest/coverage-c8": "^0.30.1",
68
+ "cross-env": "^7.0.3",
69
+ "esbuild-plugin-version-injector": "^1.1.0",
70
+ "eslint": "^8.38.0",
71
+ "eslint-config-neon": "^0.1.42",
72
+ "eslint-formatter-pretty": "^5.0.0",
73
+ "prettier": "^2.8.7",
74
+ "tsup": "^6.7.0",
75
+ "typescript": "^5.0.4",
76
+ "vitest": "^0.29.8"
77
+ },
78
+ "engines": {
79
+ "node": ">=16.9.0"
80
+ },
81
+ "publishConfig": {
82
+ "access": "public"
83
+ }
84
+ }
package/CHANGELOG.md DELETED
@@ -1,64 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- # [@discordjs/core@0.5.0](https://github.com/discordjs/discord.js/compare/@discordjs/core@0.4.0...@discordjs/core@0.5.0) - (2023-04-01)
6
-
7
- ## Bug Fixes
8
-
9
- - **core:** Include data for defer (#9284) ([9d69bba](https://github.com/discordjs/discord.js/commit/9d69bba47c73b756086992bc14e57c40fadb34d1))
10
- - **scripts:** Accessing tsComment ([d8d5f31](https://github.com/discordjs/discord.js/commit/d8d5f31d3927fd1de62f1fa3a1a6e454243ad87b))
11
-
12
- ## Features
13
-
14
- - **core:** Http-only wrapper (#9281) ([11e682c](https://github.com/discordjs/discord.js/commit/11e682cfe388b9a3070388f73ebef3c27555c0dd))
15
- - **core:** Add `AbortSignal` support. (#9042) ([907eb1b](https://github.com/discordjs/discord.js/commit/907eb1b4708bdaf30f4e59f4016ef8a717f47a4c))
16
- - **website:** Render syntax and mdx on the server (#9086) ([ee5169e](https://github.com/discordjs/discord.js/commit/ee5169e0aadd7bbfcd752aae614ec0f69602b68b))
17
-
18
- # [@discordjs/core@0.4.0](https://github.com/discordjs/discord.js/compare/@discordjs/core@0.3.0...@discordjs/core@0.4.0) - (2023-03-12)
19
-
20
- ## Bug Fixes
21
-
22
- - **core:** Use `auth: false` for interaction callback methods (#9211) ([1b29099](https://github.com/discordjs/discord.js/commit/1b29099ed0b0deb98db844671aa23b4a84ec9c08))
23
- - **WebSocketShard:** Proper error bubbling (#9119) ([9681f34](https://github.com/discordjs/discord.js/commit/9681f348770b0e2ff9b7c96b1c30575dd950e2ed))
24
- - **oauth2:** Pass through body (#9106) ([483cbb3](https://github.com/discordjs/discord.js/commit/483cbb3b2abd2e3afadc3f814069d8e12bcf812b))
25
-
26
- ## Documentation
27
-
28
- - Fix /core README example (#9201) ([f65ac2e](https://github.com/discordjs/discord.js/commit/f65ac2ea780e9f60123c611292f0d0b647106d4c))
29
-
30
- ## Features
31
-
32
- - **core:** Adds `getWebhooks()` function for the channel API and for the guild API (#9043) ([c6f9c50](https://github.com/discordjs/discord.js/commit/c6f9c50ba9abf9555a2c40de3113a08765b830d5))
33
- - **website:** Add support for source file links (#9048) ([f6506e9](https://github.com/discordjs/discord.js/commit/f6506e99c496683ee0ab67db0726b105b929af38))
34
- - **core:** Implement some ws send events (#8941) ([816aed4](https://github.com/discordjs/discord.js/commit/816aed478e3035060697092d52ad2b58106be0ee))
35
- - **core:** Add oauth2 api support (#8938) ([36560c9](https://github.com/discordjs/discord.js/commit/36560c99559ea5d66d42e29fcf050b7d1c33cf6b))
36
-
37
- ## Refactor
38
-
39
- - **core:** Move `setVoiceState` to `GuildsAPI` (#9228) ([dff131e](https://github.com/discordjs/discord.js/commit/dff131e8e4c24356d534a3dd42b33886ad30239f))
40
-
41
- ## Typings
42
-
43
- - **MappedEvents:** Add `GuildAuditLogEntryCreate` (#9175) ([3492b19](https://github.com/discordjs/discord.js/commit/3492b194b5aabfb6214aa985667f5ed7188fa6e8))
44
- - Fix `GuildsAPI#getMembers` return type (#9037) ([158db47](https://github.com/discordjs/discord.js/commit/158db474b7514e9ff6ba6f48a89ad71c97a7088a))
45
-
46
- # [@discordjs/core@0.3.0](https://github.com/discordjs/discord.js/compare/@discordjs/core@0.2.0...@discordjs/core@0.3.0) - (2022-12-16)
47
-
48
- ## Bug Fixes
49
-
50
- - **core:** Instantiate/export role connections ([166f742](https://github.com/discordjs/discord.js/commit/166f742d02d475a5044f935ee638ae1e25075b9c))
51
-
52
- # [@discordjs/core@0.2.0](https://github.com/discordjs/discord.js/tree/@discordjs/core@0.2.0) - (2022-12-16)
53
-
54
- ## Bug Fixes
55
-
56
- - **thread:** `get()` route (#8897) ([3dede75](https://github.com/discordjs/discord.js/commit/3dede75621993428216196c60658e0c482aa9f61))
57
- - Remove casts when using `makeURLSearchParams()` (#8877) ([7430c8e](https://github.com/discordjs/discord.js/commit/7430c8e4c8e299acf750b46b6146c611b0c4941d))
58
-
59
- ## Features
60
-
61
- - **core:** Add support for role connections (#8930) ([3d6fa24](https://github.com/discordjs/discord.js/commit/3d6fa248c07b2278504bbe8bafa17a3294971fd9))
62
- - Add links to each routes documentation (#8898) ([73300c7](https://github.com/discordjs/discord.js/commit/73300c75fae7df9af293f7c03b179236679fb753))
63
- - **interactions:** Add `messageId` parameter to `deleteReply()` (#8896) ([3f555d5](https://github.com/discordjs/discord.js/commit/3f555d5ddf53b778fc0e69e1ff77ec93d876dcdb))
64
- - Add `@discordjs/core` (#8736) ([2127b32](https://github.com/discordjs/discord.js/commit/2127b32d26dedeb44ec43d16ec2e2046919f9bb0))