@devvit/build-pack 0.11.20-next-2025-07-31-00-19-34-263fd4edc.0 → 0.11.20-next-2025-07-31-16-39-01-d8b1781f8.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.
@@ -38,7 +38,7 @@ function configurePost(name, post) {
38
38
  const postDataHeader = ctx.metadata[Header.PostData]?.values[0];
39
39
  const postData = postDataHeader ? JSON.parse(postDataHeader) : {};
40
40
  const splash = postData.splash;
41
- return (Devvit.createElement(Splash, { appDisplayName: splash?.appDisplayName || name, appIconURI: splash?.appIconUri, backgroundURI: splash?.backgroundUri, buttonLabel: splash?.buttonLabel, description: splash?.description, entryURI: splash?.entryUri || defaultEntrypoint.entry, height: splash?.height == null
41
+ return (Devvit.createElement(Splash, { appDisplayName: splash?.appDisplayName || name, appIconUri: splash?.appIconUri, backgroundUri: splash?.backgroundUri, buttonLabel: splash?.buttonLabel, description: splash?.description, entryUri: splash?.entryUri || defaultEntrypoint.entry, height: splash?.height == null
42
42
  ? defaultEntrypoint.height
43
43
  : splash.height === Height.TALL
44
44
  ? 'tall'
@@ -86,7 +86,7 @@ function configureTriggers(triggers) {
86
86
  // Convert the hydrated old Protobuf to JSON. Don't use
87
87
  // Protobuf.toJSON() which would omit default values.
88
88
  const body = JSON.parse(JSON.stringify(ev));
89
- // Cast to JSONObject since interfaces are open types.
89
+ // Cast to JsonObject since interfaces are open types.
90
90
  await callWebbitEndpoint(endpoint, body, ctx.metadata);
91
91
  },
92
92
  });
@@ -99,7 +99,7 @@ async function handleFormResponse(endpoint, event, ctx) {
99
99
  await handleUiResponse(ctx, uiResponse);
100
100
  }
101
101
  // TODO: expand this to fully validate the UiResponse format, including Form definitions,
102
- // and convert signature to validateUiResponse(uiResponse: JSONValue): uiResponse is UiResponse
102
+ // and convert signature to validateUiResponse(uiResponse: JsonValue): uiResponse is UiResponse
103
103
  /** @internal */
104
104
  export function validateUiResponse(uiResponse) {
105
105
  // Validations:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/build-pack",
3
- "version": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
3
+ "version": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "types": "./index.d.ts",
25
25
  "dependencies": {
26
- "@devvit/protos": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
27
- "@devvit/shared-types": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
28
- "@devvit/splash": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
26
+ "@devvit/protos": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
27
+ "@devvit/shared-types": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
28
+ "@devvit/splash": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
29
29
  "esbuild": "0.23.0",
30
30
  "rxjs": "7.8.1",
31
31
  "tsv": "0.2.0",
@@ -36,12 +36,12 @@
36
36
  "@devvit/shared": "*"
37
37
  },
38
38
  "devDependencies": {
39
- "@devvit/public-api": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
40
- "@devvit/repo-tools": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
41
- "@devvit/scheduler": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
42
- "@devvit/server": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
43
- "@devvit/shared": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
44
- "@devvit/tsconfig": "0.11.20-next-2025-07-31-00-19-34-263fd4edc.0",
39
+ "@devvit/public-api": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
40
+ "@devvit/repo-tools": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
41
+ "@devvit/scheduler": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
42
+ "@devvit/server": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
43
+ "@devvit/shared": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
44
+ "@devvit/tsconfig": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
45
45
  "@types/tsv": "0.2.1",
46
46
  "eslint": "9.11.1",
47
47
  "vitest": "1.6.1"
@@ -50,5 +50,5 @@
50
50
  "directory": "dist"
51
51
  },
52
52
  "source": "./src/index.ts",
53
- "gitHead": "1e9f483327272ba1b41601d34cfe215c06a8512e"
53
+ "gitHead": "a22f4ae371c11088c2c95888b009a3bde094a0e5"
54
54
  }