@devvit/public-api 0.10.23-next-2024-06-20-bb1417a02.0 → 0.10.23-next-2024-06-20-366dbe83d.0
Sign up to get free protection for your applications and to get access to all the features.
- package/apis/reddit/models/Subreddit.js +1 -1
- package/meta.json +3 -3
- package/meta.min.json +4 -4
- package/package.json +5 -5
- package/public-api.iife.js +2 -2
- package/public-api.min.js +1 -1
- package/public-api.min.js.map +2 -2
@@ -615,7 +615,7 @@ _Subreddit_id = new WeakMap(), _Subreddit_name = new WeakMap(), _Subreddit_creat
|
|
615
615
|
export async function getSubredditLeaderboard(subredditId, metadata) {
|
616
616
|
const operationName = 'GetSubredditLeaderboard';
|
617
617
|
const persistedQueryHash = '18ead70c46b6446d45ecd8b679b16d9a929a933d6ef25d8262a459cb18b72848';
|
618
|
-
const response = await GraphQL.query(operationName, persistedQueryHash, { subredditId }, metadata);
|
618
|
+
const response = await GraphQL.query(operationName, persistedQueryHash, { id: subredditId }, metadata);
|
619
619
|
if (!response.data?.subredditInfoByID?.subreddit?.leaderboard.summary) {
|
620
620
|
throw new Error('subreddit leaderboard summary not found');
|
621
621
|
}
|
package/meta.json
CHANGED
@@ -13053,7 +13053,7 @@
|
|
13053
13053
|
"format": "esm"
|
13054
13054
|
},
|
13055
13055
|
"src/apis/reddit/models/Subreddit.ts": {
|
13056
|
-
"bytes":
|
13056
|
+
"bytes": 33575,
|
13057
13057
|
"imports": [
|
13058
13058
|
{
|
13059
13059
|
"path": "../shared-types/dist/Header.js",
|
@@ -14517,7 +14517,7 @@
|
|
14517
14517
|
"bytesInOutput": 4029
|
14518
14518
|
},
|
14519
14519
|
"src/apis/reddit/models/Subreddit.ts": {
|
14520
|
-
"bytesInOutput":
|
14520
|
+
"bytesInOutput": 24677
|
14521
14521
|
},
|
14522
14522
|
"src/apis/reddit/models/Vault.ts": {
|
14523
14523
|
"bytesInOutput": 1093
|
@@ -14544,7 +14544,7 @@
|
|
14544
14544
|
"bytesInOutput": 4450
|
14545
14545
|
}
|
14546
14546
|
},
|
14547
|
-
"bytes":
|
14547
|
+
"bytes": 15007370
|
14548
14548
|
}
|
14549
14549
|
}
|
14550
14550
|
}
|
package/meta.min.json
CHANGED
@@ -4278,7 +4278,7 @@
|
|
4278
4278
|
"format": "esm"
|
4279
4279
|
},
|
4280
4280
|
"src/apis/reddit/models/Subreddit.ts": {
|
4281
|
-
"bytes":
|
4281
|
+
"bytes": 33575,
|
4282
4282
|
"imports": [
|
4283
4283
|
{
|
4284
4284
|
"path": "../shared-types/dist/Header.js",
|
@@ -4657,7 +4657,7 @@
|
|
4657
4657
|
"imports": [],
|
4658
4658
|
"exports": [],
|
4659
4659
|
"inputs": {},
|
4660
|
-
"bytes":
|
4660
|
+
"bytes": 1145442
|
4661
4661
|
},
|
4662
4662
|
"dist/public-api.min.js": {
|
4663
4663
|
"imports": [
|
@@ -5417,7 +5417,7 @@
|
|
5417
5417
|
"bytesInOutput": 1890
|
5418
5418
|
},
|
5419
5419
|
"src/apis/reddit/models/Subreddit.ts": {
|
5420
|
-
"bytesInOutput":
|
5420
|
+
"bytesInOutput": 10256
|
5421
5421
|
},
|
5422
5422
|
"src/apis/reddit/models/Vault.ts": {
|
5423
5423
|
"bytesInOutput": 516
|
@@ -5444,7 +5444,7 @@
|
|
5444
5444
|
"bytesInOutput": 2135
|
5445
5445
|
}
|
5446
5446
|
},
|
5447
|
-
"bytes":
|
5447
|
+
"bytes": 245529
|
5448
5448
|
}
|
5449
5449
|
}
|
5450
5450
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/public-api",
|
3
|
-
"version": "0.10.23-next-2024-06-20-
|
3
|
+
"version": "0.10.23-next-2024-06-20-366dbe83d.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -30,8 +30,8 @@
|
|
30
30
|
},
|
31
31
|
"types": "./index.d.ts",
|
32
32
|
"dependencies": {
|
33
|
-
"@devvit/protos": "0.10.23-next-2024-06-20-
|
34
|
-
"@devvit/shared-types": "0.10.23-next-2024-06-20-
|
33
|
+
"@devvit/protos": "0.10.23-next-2024-06-20-366dbe83d.0",
|
34
|
+
"@devvit/shared-types": "0.10.23-next-2024-06-20-366dbe83d.0",
|
35
35
|
"base64-js": "1.5.1",
|
36
36
|
"clone-deep": "4.0.1",
|
37
37
|
"core-js": "3.27.2",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"@ampproject/filesize": "4.3.0",
|
42
42
|
"@devvit/eslint-config": "0.10.22",
|
43
43
|
"@devvit/repo-tools": "0.10.22",
|
44
|
-
"@devvit/tsconfig": "0.10.23-next-2024-06-20-
|
44
|
+
"@devvit/tsconfig": "0.10.23-next-2024-06-20-366dbe83d.0",
|
45
45
|
"@microsoft/api-extractor": "7.41.0",
|
46
46
|
"@reddit/faceplate-ui": "11.3.3",
|
47
47
|
"@types/clone-deep": "4.0.1",
|
@@ -64,5 +64,5 @@
|
|
64
64
|
}
|
65
65
|
},
|
66
66
|
"source": "./src/index.ts",
|
67
|
-
"gitHead": "
|
67
|
+
"gitHead": "32c961aaa4cd692c045c799fbf35b12ea5081043"
|
68
68
|
}
|