@seedcord/http 0.0.1 → 0.1.0-next.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,62 +1,99 @@
1
1
  {
2
- "name": "@seedcord/http",
3
- "type": "module",
4
- "version": "0.0.1",
5
- "description": "HTTP-interactions transport for Seedcord bots",
6
- "engines": {
7
- "node": ">=24.3"
2
+ "name": "@seedcord/http",
3
+ "type": "module",
4
+ "version": "0.1.0-next.1",
5
+ "description": "HTTP-interactions transport for Seedcord bots",
6
+ "engines": {
7
+ "node": ">=24.3"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/seedcord/seedcord.git",
12
+ "directory": "packages/http"
13
+ },
14
+ "types": "./dist/index.d.mts",
15
+ "exports": {
16
+ ".": {
17
+ "import": {
18
+ "types": "./dist/index.d.mts",
19
+ "default": "./dist/index.mjs"
20
+ },
21
+ "require": {
22
+ "types": "./dist/index.d.cts",
23
+ "default": "./dist/index.cjs"
24
+ }
8
25
  },
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/seedcord/seedcord.git",
12
- "directory": "packages/http"
26
+ "./edge": {
27
+ "import": {
28
+ "types": "./dist/edge.index.d.mts",
29
+ "default": "./dist/edge.index.mjs"
30
+ },
31
+ "require": {
32
+ "types": "./dist/edge.index.d.cts",
33
+ "default": "./dist/edge.index.cjs"
34
+ }
13
35
  },
14
- "types": "./dist/index.d.mts",
15
- "exports": {
16
- ".": {
17
- "import": {
18
- "types": "./dist/index.d.mts",
19
- "default": "./dist/index.mjs"
20
- },
21
- "require": {
22
- "types": "./dist/index.d.cts",
23
- "default": "./dist/index.cjs"
24
- }
25
- }
26
- },
27
- "files": [
28
- "dist",
29
- "package.json",
30
- "README.md",
31
- "LICENSE"
32
- ],
33
- "scripts": {
34
- "build": "tsdown",
35
- "clean": "rm -rf dist",
36
- "lint": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.{ts,tsx}' --cache",
37
- "lint:fix": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.{ts,tsx}' --fix --cache",
38
- "fmt": "prettier --write 'src/**/*.{ts,tsx,json,md}' 'tests/**/*.{ts,tsx,json,md}' --cache",
39
- "fmt:check": "prettier --check 'src/**/*.{ts,tsx,json,md}' 'tests/**/*.{ts,tsx,json,md}' --cache",
40
- "tc": "tsgo --noEmit",
41
- "test": "vitest run",
42
- "test:watch": "vitest dev",
43
- "coverage": "vitest run --coverage"
44
- },
45
- "dependencies": {
46
- "@seedcord/errors": "workspace:*"
47
- },
48
- "peerDependencies": {
49
- "typescript": "catalog:peer"
50
- },
51
- "devDependencies": {
52
- "@cloudflare/vitest-pool-workers": "^0.18.4",
53
- "@vitest/coverage-istanbul": "^4.1.9",
54
- "@seedcord/eslint-config": "workspace:*",
55
- "@seedcord/tsconfig": "workspace:*",
56
- "@seedcord/tsdown-config": "workspace:*"
57
- },
58
- "publishConfig": {
59
- "access": "public",
60
- "provenance": true
36
+ "./manifest": {
37
+ "import": {
38
+ "types": "./dist/manifest.index.d.mts",
39
+ "default": "./dist/manifest.index.mjs"
40
+ },
41
+ "require": {
42
+ "types": "./dist/manifest.index.d.cts",
43
+ "default": "./dist/manifest.index.cjs"
44
+ }
61
45
  }
62
- }
46
+ },
47
+ "files": [
48
+ "dist",
49
+ "package.json",
50
+ "README.md",
51
+ "LICENSE"
52
+ ],
53
+ "dependencies": {
54
+ "@discordjs/core": "^2.6.0",
55
+ "@discordjs/rest": "^2.6.2",
56
+ "discord-api-types": "^0.38.51",
57
+ "envapt": "^8.1.0",
58
+ "type-fest": "^5.7.0",
59
+ "@seedcord/core": "0.1.0-next.6",
60
+ "@seedcord/errors": "0.3.0-next.5",
61
+ "@seedcord/logger": "0.1.0-next.2",
62
+ "@seedcord/rate-limiter": "0.1.0-next.4",
63
+ "@seedcord/types": "0.8.0-next.7",
64
+ "@seedcord/utils": "0.8.0-next.7"
65
+ },
66
+ "peerDependencies": {
67
+ "reflect-metadata": "^0.2.2",
68
+ "typescript": "^6.0.3"
69
+ },
70
+ "devDependencies": {
71
+ "@cloudflare/vitest-pool-workers": "^0.18.4",
72
+ "@discordjs/builders": "^1.14.1",
73
+ "@vitest/coverage-istanbul": "^4.1.10",
74
+ "esbuild": "^0.28.1",
75
+ "reflect-metadata": "^0.2.2",
76
+ "vitest": "^4.1.10",
77
+ "@seedcord/eslint-config": "1.5.0-next.4",
78
+ "@seedcord/tsconfig": "2.0.1",
79
+ "@seedcord/tsdown-config": "2.0.1",
80
+ "@seedcord/vitest-config": "0.0.1"
81
+ },
82
+ "publishConfig": {
83
+ "access": "public",
84
+ "provenance": true
85
+ },
86
+ "scripts": {
87
+ "build": "tsdown",
88
+ "clean": "rm -rf dist",
89
+ "lint": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.{ts,tsx}' --cache",
90
+ "lint:fix": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.{ts,tsx}' --fix --cache",
91
+ "fmt": "prettier --write 'src/**/*.{ts,tsx,json,md}' 'tests/**/*.{ts,tsx,json,md}' --cache",
92
+ "fmt:check": "prettier --check 'src/**/*.{ts,tsx,json,md}' 'tests/**/*.{ts,tsx,json,md}' --cache",
93
+ "tc": "tsgo --noEmit",
94
+ "test": "vitest run",
95
+ "test:watch": "vitest dev",
96
+ "coverage": "vitest run --coverage"
97
+ },
98
+ "readme": "<p align=\"center\">\n <picture>\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.seedcord.org/assets/wordmark-dark.webp\" />\n <img src=\"https://cdn.seedcord.org/assets/wordmark-light.webp\" alt=\"seedcord\" width=\"440\" />\n </picture>\n</p>\n\n# @seedcord/http\n\nHTTP-interactions transport for Seedcord bots\n\nPart of the [seedcord](https://github.com/seedcord/seedcord) framework. Until a major v1.0.0 release, expect breaking changes in minor versions.\n"
99
+ }