@devvit/public-api 0.11.0-next-2024-08-05-2ed73e85a.0 → 0.11.0-next-2024-08-06-81c6947e7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/devvit/Devvit.d.ts +3 -10
- package/devvit/Devvit.d.ts.map +1 -1
- package/devvit/internals/app-settings.js +1 -1
- package/devvit/internals/blocks/BlocksTransformer.d.ts +3 -2
- package/devvit/internals/blocks/BlocksTransformer.d.ts.map +1 -1
- package/devvit/internals/blocks/BlocksTransformer.js +6 -4
- package/devvit/internals/blocks/handler/BlocksHandler.d.ts +2 -1
- package/devvit/internals/blocks/handler/BlocksHandler.d.ts.map +1 -1
- package/devvit/internals/blocks/handler/BlocksHandler.js +6 -2
- package/devvit/internals/custom-post.js +3 -3
- package/devvit/internals/helpers/settingsUtils.js +3 -3
- package/devvit/internals/installation-settings.js +1 -1
- package/devvit/internals/menu-items.d.ts +1 -1
- package/devvit/internals/menu-items.d.ts.map +1 -1
- package/devvit/internals/menu-items.js +5 -5
- package/devvit/internals/ui-event-handler.js +7 -7
- package/devvit/internals/ui-request-handler.js +2 -2
- package/meta.json +20 -20
- package/meta.min.json +21 -21
- package/package.json +7 -7
- package/public-api.d.ts +2 -9
- package/public-api.iife.js +29 -24
- package/public-api.min.js +5 -5
- package/public-api.min.js.map +3 -3
package/meta.min.json
CHANGED
@@ -3022,7 +3022,7 @@
|
|
3022
3022
|
"format": "esm"
|
3023
3023
|
},
|
3024
3024
|
"src/devvit/internals/helpers/settingsUtils.ts": {
|
3025
|
-
"bytes":
|
3025
|
+
"bytes": 2092,
|
3026
3026
|
"imports": [
|
3027
3027
|
{
|
3028
3028
|
"path": "@devvit/protos",
|
@@ -3048,7 +3048,7 @@
|
|
3048
3048
|
"format": "esm"
|
3049
3049
|
},
|
3050
3050
|
"src/devvit/internals/app-settings.ts": {
|
3051
|
-
"bytes":
|
3051
|
+
"bytes": 1186,
|
3052
3052
|
"imports": [
|
3053
3053
|
{
|
3054
3054
|
"path": "@devvit/protos",
|
@@ -3127,7 +3127,7 @@
|
|
3127
3127
|
"format": "esm"
|
3128
3128
|
},
|
3129
3129
|
"src/devvit/internals/blocks/BlocksTransformer.ts": {
|
3130
|
-
"bytes":
|
3130
|
+
"bytes": 27614,
|
3131
3131
|
"imports": [
|
3132
3132
|
{
|
3133
3133
|
"path": "@devvit/protos",
|
@@ -3214,7 +3214,7 @@
|
|
3214
3214
|
"format": "esm"
|
3215
3215
|
},
|
3216
3216
|
"src/devvit/internals/custom-post.ts": {
|
3217
|
-
"bytes":
|
3217
|
+
"bytes": 1239,
|
3218
3218
|
"imports": [
|
3219
3219
|
{
|
3220
3220
|
"path": "@devvit/protos",
|
@@ -3240,7 +3240,7 @@
|
|
3240
3240
|
"format": "esm"
|
3241
3241
|
},
|
3242
3242
|
"src/devvit/internals/installation-settings.ts": {
|
3243
|
-
"bytes":
|
3243
|
+
"bytes": 1243,
|
3244
3244
|
"imports": [
|
3245
3245
|
{
|
3246
3246
|
"path": "@devvit/protos",
|
@@ -3271,7 +3271,7 @@
|
|
3271
3271
|
"format": "esm"
|
3272
3272
|
},
|
3273
3273
|
"src/devvit/internals/menu-items.ts": {
|
3274
|
-
"bytes":
|
3274
|
+
"bytes": 3423,
|
3275
3275
|
"imports": [
|
3276
3276
|
{
|
3277
3277
|
"path": "@devvit/protos",
|
@@ -3457,7 +3457,7 @@
|
|
3457
3457
|
"format": "cjs"
|
3458
3458
|
},
|
3459
3459
|
"src/devvit/internals/ui-event-handler.ts": {
|
3460
|
-
"bytes":
|
3460
|
+
"bytes": 4276,
|
3461
3461
|
"imports": [
|
3462
3462
|
{
|
3463
3463
|
"path": "@devvit/protos",
|
@@ -3833,7 +3833,7 @@
|
|
3833
3833
|
"format": "esm"
|
3834
3834
|
},
|
3835
3835
|
"src/devvit/internals/blocks/handler/BlocksHandler.ts": {
|
3836
|
-
"bytes":
|
3836
|
+
"bytes": 18389,
|
3837
3837
|
"imports": [
|
3838
3838
|
{
|
3839
3839
|
"path": "@devvit/protos",
|
@@ -3874,7 +3874,7 @@
|
|
3874
3874
|
"format": "esm"
|
3875
3875
|
},
|
3876
3876
|
"src/devvit/internals/ui-request-handler.ts": {
|
3877
|
-
"bytes":
|
3877
|
+
"bytes": 1267,
|
3878
3878
|
"imports": [
|
3879
3879
|
{
|
3880
3880
|
"path": "@devvit/protos",
|
@@ -3900,7 +3900,7 @@
|
|
3900
3900
|
"format": "esm"
|
3901
3901
|
},
|
3902
3902
|
"src/devvit/Devvit.ts": {
|
3903
|
-
"bytes":
|
3903
|
+
"bytes": 34942,
|
3904
3904
|
"imports": [
|
3905
3905
|
{
|
3906
3906
|
"path": "@devvit/protos",
|
@@ -4738,7 +4738,7 @@
|
|
4738
4738
|
"imports": [],
|
4739
4739
|
"exports": [],
|
4740
4740
|
"inputs": {},
|
4741
|
-
"bytes":
|
4741
|
+
"bytes": 1188297
|
4742
4742
|
},
|
4743
4743
|
"dist/public-api.min.js": {
|
4744
4744
|
"imports": [
|
@@ -5307,7 +5307,7 @@
|
|
5307
5307
|
"bytesInOutput": 4123
|
5308
5308
|
},
|
5309
5309
|
"src/devvit/internals/app-settings.ts": {
|
5310
|
-
"bytesInOutput":
|
5310
|
+
"bytesInOutput": 359
|
5311
5311
|
},
|
5312
5312
|
"src/apis/ui/helpers/transformForm.ts": {
|
5313
5313
|
"bytesInOutput": 1956
|
@@ -5316,7 +5316,7 @@
|
|
5316
5316
|
"bytesInOutput": 33
|
5317
5317
|
},
|
5318
5318
|
"src/devvit/internals/helpers/settingsUtils.ts": {
|
5319
|
-
"bytesInOutput":
|
5319
|
+
"bytesInOutput": 491
|
5320
5320
|
},
|
5321
5321
|
"src/devvit/internals/blocks/useChannel.ts": {
|
5322
5322
|
"bytesInOutput": 1537
|
@@ -5382,7 +5382,7 @@
|
|
5382
5382
|
"bytesInOutput": 897
|
5383
5383
|
},
|
5384
5384
|
"src/devvit/internals/custom-post.ts": {
|
5385
|
-
"bytesInOutput":
|
5385
|
+
"bytesInOutput": 389
|
5386
5386
|
},
|
5387
5387
|
"src/devvit/internals/blocks/BlocksReconciler.ts": {
|
5388
5388
|
"bytesInOutput": 7095
|
@@ -5394,7 +5394,7 @@
|
|
5394
5394
|
"bytesInOutput": 101
|
5395
5395
|
},
|
5396
5396
|
"src/devvit/internals/blocks/BlocksTransformer.ts": {
|
5397
|
-
"bytesInOutput":
|
5397
|
+
"bytesInOutput": 11470
|
5398
5398
|
},
|
5399
5399
|
"src/devvit/internals/semanticColors.ts": {
|
5400
5400
|
"bytesInOutput": 11055
|
@@ -5409,10 +5409,10 @@
|
|
5409
5409
|
"bytesInOutput": 1136
|
5410
5410
|
},
|
5411
5411
|
"src/devvit/internals/installation-settings.ts": {
|
5412
|
-
"bytesInOutput":
|
5412
|
+
"bytesInOutput": 398
|
5413
5413
|
},
|
5414
5414
|
"src/devvit/internals/menu-items.ts": {
|
5415
|
-
"bytesInOutput":
|
5415
|
+
"bytesInOutput": 1349
|
5416
5416
|
},
|
5417
5417
|
"src/devvit/internals/plugins.ts": {
|
5418
5418
|
"bytesInOutput": 47
|
@@ -5427,10 +5427,10 @@
|
|
5427
5427
|
"bytesInOutput": 363
|
5428
5428
|
},
|
5429
5429
|
"src/devvit/internals/ui-event-handler.ts": {
|
5430
|
-
"bytesInOutput":
|
5430
|
+
"bytesInOutput": 1418
|
5431
5431
|
},
|
5432
5432
|
"src/devvit/internals/ui-request-handler.ts": {
|
5433
|
-
"bytesInOutput":
|
5433
|
+
"bytesInOutput": 307
|
5434
5434
|
},
|
5435
5435
|
"src/devvit/internals/blocks/handler/UIClient.ts": {
|
5436
5436
|
"bytesInOutput": 967
|
@@ -5472,7 +5472,7 @@
|
|
5472
5472
|
"bytesInOutput": 530
|
5473
5473
|
},
|
5474
5474
|
"src/devvit/internals/blocks/handler/BlocksHandler.ts": {
|
5475
|
-
"bytesInOutput":
|
5475
|
+
"bytesInOutput": 6630
|
5476
5476
|
},
|
5477
5477
|
"src/apis/reddit/helpers/makeGettersEnumerable.ts": {
|
5478
5478
|
"bytesInOutput": 166
|
@@ -5550,7 +5550,7 @@
|
|
5550
5550
|
"bytesInOutput": 178
|
5551
5551
|
}
|
5552
5552
|
},
|
5553
|
-
"bytes":
|
5553
|
+
"bytes": 250694
|
5554
5554
|
}
|
5555
5555
|
}
|
5556
5556
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/public-api",
|
3
|
-
"version": "0.11.0-next-2024-08-
|
3
|
+
"version": "0.11.0-next-2024-08-06-81c6947e7.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.11.0-next-2024-08-
|
34
|
-
"@devvit/shared-types": "0.11.0-next-2024-08-
|
33
|
+
"@devvit/protos": "0.11.0-next-2024-08-06-81c6947e7.0",
|
34
|
+
"@devvit/shared-types": "0.11.0-next-2024-08-06-81c6947e7.0",
|
35
35
|
"base64-js": "1.5.1",
|
36
36
|
"clone-deep": "4.0.1",
|
37
37
|
"core-js": "3.27.2",
|
@@ -39,9 +39,9 @@
|
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"@ampproject/filesize": "4.3.0",
|
42
|
-
"@devvit/eslint-config": "0.11.0-next-2024-08-
|
43
|
-
"@devvit/repo-tools": "0.11.0-next-2024-08-
|
44
|
-
"@devvit/tsconfig": "0.11.0-next-2024-08-
|
42
|
+
"@devvit/eslint-config": "0.11.0-next-2024-08-06-81c6947e7.0",
|
43
|
+
"@devvit/repo-tools": "0.11.0-next-2024-08-06-81c6947e7.0",
|
44
|
+
"@devvit/tsconfig": "0.11.0-next-2024-08-06-81c6947e7.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": "731e19ca75fb4f4ea22cb29a8dacb31b06a756b1"
|
68
68
|
}
|
package/public-api.d.ts
CHANGED
@@ -9917,15 +9917,8 @@ export declare namespace Devvit {
|
|
9917
9917
|
*/
|
9918
9918
|
id?: string;
|
9919
9919
|
};
|
9920
|
-
export type
|
9921
|
-
|
9922
|
-
};
|
9923
|
-
export type OnMessageEvent = {
|
9924
|
-
type: string;
|
9925
|
-
data?: JSONValue;
|
9926
|
-
};
|
9927
|
-
export type OnPressEventHandler = (event: OnPressEvent) => void | Promise<void>;
|
9928
|
-
export type OnWebViewEventHandler = (event: OnMessageEvent) => void | Promise<void>;
|
9920
|
+
export type OnPressEventHandler = (data: JSONObject) => void | Promise<void>;
|
9921
|
+
export type OnWebViewEventHandler = (message: JSONObject) => void | Promise<void>;
|
9929
9922
|
export type Actionable = {
|
9930
9923
|
onPress?: OnPressEventHandler | undefined;
|
9931
9924
|
};
|