create-discord-https 2.0.5 → 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
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
|
@@ -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
|
}
|