create-discord-https 2.0.4 → 2.0.7
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/index.js +4 -4
- package/package.json +1 -1
- package/templates/cloudflare/src/DevLayer.js +1 -1
- package/templates/cloudflare-ts/src/DevLayer.js +1 -1
- package/templates/node/src/DevLayer.js +1 -1
- package/templates/node-ts/src/DevLayer.js +1 -1
- package/templates/vercel/src/DevLayer.js +1 -1
- package/templates/vercel-ts/api/interactions.ts +1 -1
- package/templates/vercel-ts/package.json +1 -0
- package/templates/vercel-ts/src/DevLayer.js +1 -1
package/index.js
CHANGED
|
@@ -65,8 +65,8 @@ const SERVERTYPE = [
|
|
|
65
65
|
display: "JavaScript",
|
|
66
66
|
color: yellow,
|
|
67
67
|
secret: {
|
|
68
|
-
token: [
|
|
69
|
-
publicKey: [
|
|
68
|
+
token: [9 - 1, 12 - 1],
|
|
69
|
+
publicKey: [10 - 1, 15 - 1],
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
72
|
{
|
|
@@ -74,8 +74,8 @@ const SERVERTYPE = [
|
|
|
74
74
|
display: "TypeScript (recommend)",
|
|
75
75
|
color: blueBright,
|
|
76
76
|
secret: {
|
|
77
|
-
token: [
|
|
78
|
-
publicKey: [
|
|
77
|
+
token: [9 - 1, 12 - 1],
|
|
78
|
+
publicKey: [10 - 1, 15 - 1],
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
81
|
],
|
package/package.json
CHANGED
|
@@ -68,7 +68,7 @@ export async function tunnelLayer() {
|
|
|
68
68
|
|
|
69
69
|
console.log(
|
|
70
70
|
chalk.default.yellow(
|
|
71
|
-
`[DevLayer]
|
|
71
|
+
`[DevLayer] If you haven't set the interaction URL yet, you can do so after the server has been started. The URL is static, so it only needs to be configured once.\n`
|
|
72
72
|
)
|
|
73
73
|
);
|
|
74
74
|
|
|
@@ -68,7 +68,7 @@ export async function tunnelLayer() {
|
|
|
68
68
|
|
|
69
69
|
console.log(
|
|
70
70
|
chalk.default.yellow(
|
|
71
|
-
`[DevLayer]
|
|
71
|
+
`[DevLayer] If you haven't set the interaction URL yet, you can do so after the server has been started. The URL is static, so it only needs to be configured once.\n`
|
|
72
72
|
)
|
|
73
73
|
);
|
|
74
74
|
|
|
@@ -64,7 +64,7 @@ export async function tunnelLayer() {
|
|
|
64
64
|
|
|
65
65
|
console.log(
|
|
66
66
|
chalk.default.yellow(
|
|
67
|
-
`[DevLayer]
|
|
67
|
+
`[DevLayer] If you haven't set the interaction URL yet, you can do so after the server has been started. The URL is static, so it only needs to be configured once.\n`
|
|
68
68
|
)
|
|
69
69
|
);
|
|
70
70
|
|
|
@@ -64,7 +64,7 @@ export async function tunnelLayer() {
|
|
|
64
64
|
|
|
65
65
|
console.log(
|
|
66
66
|
chalk.default.yellow(
|
|
67
|
-
`[DevLayer]
|
|
67
|
+
`[DevLayer] If you haven't set the interaction URL yet, you can do so after the server has been started. The URL is static, so it only needs to be configured once.\n`
|
|
68
68
|
)
|
|
69
69
|
);
|
|
70
70
|
|
|
@@ -64,7 +64,7 @@ export async function tunnelLayer() {
|
|
|
64
64
|
|
|
65
65
|
console.log(
|
|
66
66
|
chalk.default.yellow(
|
|
67
|
-
`[DevLayer]
|
|
67
|
+
`[DevLayer] If you haven't set the interaction URL yet, you can do so after the server has been started. The URL is static, so it only needs to be configured once.\n`
|
|
68
68
|
)
|
|
69
69
|
);
|
|
70
70
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import client from "../src/index.js";
|
|
2
|
-
import type { VercelRequest, VercelResponse } from "@vercel/
|
|
2
|
+
import type { VercelRequest, VercelResponse } from "@vercel/node";
|
|
3
3
|
export default async function handler(req: VercelRequest, res: VercelResponse) {
|
|
4
4
|
return await client.listen("api/interactions", req, res);
|
|
5
5
|
}
|
|
@@ -64,7 +64,7 @@ export async function tunnelLayer() {
|
|
|
64
64
|
|
|
65
65
|
console.log(
|
|
66
66
|
chalk.default.yellow(
|
|
67
|
-
`[DevLayer]
|
|
67
|
+
`[DevLayer] If you haven't set the interaction URL yet, you can do so after the server has been started. The URL is static, so it only needs to be configured once.\n`
|
|
68
68
|
)
|
|
69
69
|
);
|
|
70
70
|
|