@devvit/server 0.11.18-next-2025-06-25-20-52-07-e7d01e3b1.0 → 0.11.18-next-2025-06-26-14-14-16-da1ef2cdb.0

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.
Files changed (2) hide show
  1. package/define-config.js +1 -6
  2. package/package.json +7 -7
package/define-config.js CHANGED
@@ -78,12 +78,7 @@ function configureMenuActions(menuActions) {
78
78
  headers['Content-Type'] = 'application/json';
79
79
  const response = await fetch(url, {
80
80
  method: 'POST',
81
- // TODO: add a request message type that devs can use with this info.
82
- // i.e. (req: Request<MenuItemOnPressEvent>)
83
- body: JSON.stringify({
84
- location: ev.location,
85
- targetId: ev.targetId,
86
- }),
81
+ body: JSON.stringify(ev),
87
82
  headers,
88
83
  });
89
84
  if (!response.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/server",
3
- "version": "0.11.18-next-2025-06-25-20-52-07-e7d01e3b1.0",
3
+ "version": "0.11.18-next-2025-06-26-14-14-16-da1ef2cdb.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,13 +23,13 @@
23
23
  },
24
24
  "types": "./index.d.ts",
25
25
  "dependencies": {
26
- "@devvit/protos": "0.11.18-next-2025-06-25-20-52-07-e7d01e3b1.0",
27
- "@devvit/public-api": "0.11.18-next-2025-06-25-20-52-07-e7d01e3b1.0",
28
- "@devvit/shared-types": "0.11.18-next-2025-06-25-20-52-07-e7d01e3b1.0"
26
+ "@devvit/protos": "0.11.18-next-2025-06-26-14-14-16-da1ef2cdb.0",
27
+ "@devvit/public-api": "0.11.18-next-2025-06-26-14-14-16-da1ef2cdb.0",
28
+ "@devvit/shared-types": "0.11.18-next-2025-06-26-14-14-16-da1ef2cdb.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@devvit/repo-tools": "0.11.18-next-2025-06-25-20-52-07-e7d01e3b1.0",
32
- "@devvit/tsconfig": "0.11.18-next-2025-06-25-20-52-07-e7d01e3b1.0",
31
+ "@devvit/repo-tools": "0.11.18-next-2025-06-26-14-14-16-da1ef2cdb.0",
32
+ "@devvit/tsconfig": "0.11.18-next-2025-06-26-14-14-16-da1ef2cdb.0",
33
33
  "eslint": "9.11.1",
34
34
  "typescript": "5.8.3",
35
35
  "vitest": "1.6.1"
@@ -38,5 +38,5 @@
38
38
  "directory": "dist"
39
39
  },
40
40
  "source": "./src/index.ts",
41
- "gitHead": "2c44bc2d58bf93248c6c414616800b609587283a"
41
+ "gitHead": "49052408818c5e2586fde79e28a90d8b433e0c1b"
42
42
  }