@devvit/reddit 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.
- package/graphql/GraphQL.d.ts +2 -2
- package/models/Post.js +3 -3
- package/package.json +10 -10
package/graphql/GraphQL.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { QueryResponse } from '@devvit/protos';
|
|
2
|
-
import type {
|
|
2
|
+
import type { JsonObject } from '@devvit/shared';
|
|
3
3
|
export declare class GraphQL {
|
|
4
4
|
#private;
|
|
5
5
|
/** @internal */
|
|
6
6
|
static queryWithQueryString(q: string): Promise<QueryResponse>;
|
|
7
7
|
/** @internal */
|
|
8
|
-
static query(operationName: string, id: string, variables:
|
|
8
|
+
static query(operationName: string, id: string, variables: JsonObject): Promise<QueryResponse>;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=GraphQL.d.ts.map
|
package/models/Post.js
CHANGED
|
@@ -1062,13 +1062,13 @@ async function getThumbnailV2(options) {
|
|
|
1062
1062
|
function SplashPostData(opts, title) {
|
|
1063
1063
|
return {
|
|
1064
1064
|
appDisplayName: opts.appDisplayName,
|
|
1065
|
-
appIconUri: opts.
|
|
1066
|
-
backgroundUri: opts.
|
|
1065
|
+
appIconUri: opts.appIconUri,
|
|
1066
|
+
backgroundUri: opts.backgroundUri,
|
|
1067
1067
|
buttonLabel: opts.buttonLabel,
|
|
1068
1068
|
description: opts.description,
|
|
1069
1069
|
// to-do: use entry _name_ and fish out URL in Splash component using
|
|
1070
1070
|
// entrypoints recorded in LinkedBundle.
|
|
1071
|
-
entryUri: opts.
|
|
1071
|
+
entryUri: opts.entryUri,
|
|
1072
1072
|
height: opts.height === 'tall' ? 2 : 1,
|
|
1073
1073
|
title: opts.title ?? title,
|
|
1074
1074
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/reddit",
|
|
3
|
-
"version": "0.11.20-next-2025-07-31-
|
|
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,19 +23,19 @@
|
|
|
23
23
|
},
|
|
24
24
|
"types": "./index.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@devvit/protos": "0.11.20-next-2025-07-31-
|
|
27
|
-
"@devvit/public-api": "0.11.20-next-2025-07-31-
|
|
28
|
-
"@devvit/shared": "0.11.20-next-2025-07-31-
|
|
29
|
-
"@devvit/shared-types": "0.11.20-next-2025-07-31-
|
|
30
|
-
"@devvit/splash": "0.11.20-next-2025-07-31-
|
|
26
|
+
"@devvit/protos": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
|
|
27
|
+
"@devvit/public-api": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
|
|
28
|
+
"@devvit/shared": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
|
|
29
|
+
"@devvit/shared-types": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
|
|
30
|
+
"@devvit/splash": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@devvit/server": "*"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@devvit/repo-tools": "0.11.20-next-2025-07-31-
|
|
37
|
-
"@devvit/server": "0.11.20-next-2025-07-31-
|
|
38
|
-
"@devvit/tsconfig": "0.11.20-next-2025-07-31-
|
|
36
|
+
"@devvit/repo-tools": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
|
|
37
|
+
"@devvit/server": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
|
|
38
|
+
"@devvit/tsconfig": "0.11.20-next-2025-07-31-16-39-01-d8b1781f8.0",
|
|
39
39
|
"eslint": "9.11.1",
|
|
40
40
|
"typescript": "5.8.3",
|
|
41
41
|
"vitest": "1.6.1"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"directory": "dist"
|
|
45
45
|
},
|
|
46
46
|
"source": "./src/index.ts",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a22f4ae371c11088c2c95888b009a3bde094a0e5"
|
|
48
48
|
}
|