@devvit/public-api 0.11.13-next-2025-04-22-b3224015b.0 → 0.11.13

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.
@@ -384,7 +384,7 @@ export class Comment {
384
384
  }
385
385
  /** @internal */
386
386
  static async submit(options, metadata) {
387
- const { runAs = 'APP' } = options;
387
+ const { runAs = 'UNSPECIFIED' } = options;
388
388
  const runAsType = RunAs[runAs];
389
389
  const client = runAsType === RunAs.USER
390
390
  ? Devvit.userActionsPlugin
@@ -557,7 +557,7 @@ export class Post {
557
557
  }
558
558
  /** @internal */
559
559
  static async submit(options, metadata) {
560
- const { runAs = 'APP' } = options;
560
+ const { runAs = 'UNSPECIFIED' } = options;
561
561
  const runAsType = RunAs[runAs];
562
562
  const client = runAsType === RunAs.USER
563
563
  ? Devvit.userActionsPlugin
package/meta.json CHANGED
@@ -873,7 +873,7 @@
873
873
  "format": "esm"
874
874
  },
875
875
  "../protos/dist/types/devvit/ui/effects/web_view/v1alpha/post_message.js": {
876
- "bytes": 14726,
876
+ "bytes": 14104,
877
877
  "imports": [
878
878
  {
879
879
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -9038,7 +9038,7 @@
9038
9038
  "format": "esm"
9039
9039
  },
9040
9040
  "src/apis/reddit/models/Post.ts": {
9041
- "bytes": 45420,
9041
+ "bytes": 45428,
9042
9042
  "imports": [
9043
9043
  {
9044
9044
  "path": "../protos/dist/index.js",
@@ -9205,7 +9205,7 @@
9205
9205
  "format": "esm"
9206
9206
  },
9207
9207
  "src/apis/reddit/models/Comment.ts": {
9208
- "bytes": 23836,
9208
+ "bytes": 23844,
9209
9209
  "imports": [
9210
9210
  {
9211
9211
  "path": "../shared-types/dist/NonNull.js",
@@ -9902,7 +9902,7 @@
9902
9902
  "bytesInOutput": 2720
9903
9903
  },
9904
9904
  "../protos/dist/types/devvit/ui/effects/web_view/v1alpha/post_message.js": {
9905
- "bytesInOutput": 13448
9905
+ "bytesInOutput": 12910
9906
9906
  },
9907
9907
  "../protos/dist/types/devvit/ui/effects/v1alpha/create_order.js": {
9908
9908
  "bytesInOutput": 10718
@@ -10334,7 +10334,7 @@
10334
10334
  "bytesInOutput": 12100
10335
10335
  },
10336
10336
  "src/apis/reddit/models/Post.ts": {
10337
- "bytesInOutput": 36697
10337
+ "bytesInOutput": 36705
10338
10338
  },
10339
10339
  "src/apis/reddit/helpers/textFallbackToRichtext.ts": {
10340
10340
  "bytesInOutput": 455
@@ -10343,7 +10343,7 @@
10343
10343
  "bytesInOutput": 16886
10344
10344
  },
10345
10345
  "src/apis/reddit/models/Comment.ts": {
10346
- "bytesInOutput": 22758
10346
+ "bytesInOutput": 22766
10347
10347
  },
10348
10348
  "src/apis/reddit/models/index.ts": {
10349
10349
  "bytesInOutput": 0
@@ -10382,7 +10382,7 @@
10382
10382
  "bytesInOutput": 4013
10383
10383
  }
10384
10384
  },
10385
- "bytes": 12501219
10385
+ "bytes": 12499369
10386
10386
  }
10387
10387
  }
10388
10388
  }
package/meta.min.json CHANGED
@@ -1857,7 +1857,7 @@
1857
1857
  "format": "esm"
1858
1858
  },
1859
1859
  "src/apis/reddit/models/Post.ts": {
1860
- "bytes": 45420,
1860
+ "bytes": 45428,
1861
1861
  "imports": [
1862
1862
  {
1863
1863
  "path": "@devvit/protos",
@@ -2024,7 +2024,7 @@
2024
2024
  "format": "esm"
2025
2025
  },
2026
2026
  "src/apis/reddit/models/Comment.ts": {
2027
- "bytes": 23836,
2027
+ "bytes": 23844,
2028
2028
  "imports": [
2029
2029
  {
2030
2030
  "path": "../shared-types/dist/NonNull.js",
@@ -2536,7 +2536,7 @@
2536
2536
  "imports": [],
2537
2537
  "exports": [],
2538
2538
  "inputs": {},
2539
- "bytes": 1070619
2539
+ "bytes": 1070635
2540
2540
  },
2541
2541
  "dist/public-api.min.js": {
2542
2542
  "imports": [
@@ -3045,7 +3045,7 @@
3045
3045
  "bytesInOutput": 4610
3046
3046
  },
3047
3047
  "src/apis/reddit/models/Post.ts": {
3048
- "bytesInOutput": 15268
3048
+ "bytesInOutput": 15276
3049
3049
  },
3050
3050
  "src/apis/reddit/helpers/textFallbackToRichtext.ts": {
3051
3051
  "bytesInOutput": 114
@@ -3054,7 +3054,7 @@
3054
3054
  "bytesInOutput": 6302
3055
3055
  },
3056
3056
  "src/apis/reddit/models/Comment.ts": {
3057
- "bytesInOutput": 9619
3057
+ "bytesInOutput": 9627
3058
3058
  },
3059
3059
  "src/apis/reddit/models/index.ts": {
3060
3060
  "bytesInOutput": 0
@@ -3093,7 +3093,7 @@
3093
3093
  "bytesInOutput": 107
3094
3094
  }
3095
3095
  },
3096
- "bytes": 220778
3096
+ "bytes": 220794
3097
3097
  }
3098
3098
  }
3099
3099
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.13-next-2025-04-22-b3224015b.0",
3
+ "version": "0.11.13",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,17 +30,17 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/metrics": "0.11.13-next-2025-04-22-b3224015b.0",
34
- "@devvit/protos": "0.11.13-next-2025-04-22-b3224015b.0",
35
- "@devvit/shared-types": "0.11.13-next-2025-04-22-b3224015b.0",
33
+ "@devvit/metrics": "0.11.13",
34
+ "@devvit/protos": "0.11.13",
35
+ "@devvit/shared-types": "0.11.13",
36
36
  "base64-js": "1.5.1",
37
37
  "clone-deep": "4.0.1",
38
38
  "moderndash": "4.0.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@ampproject/filesize": "4.3.0",
42
- "@devvit/repo-tools": "0.11.13-next-2025-04-22-b3224015b.0",
43
- "@devvit/tsconfig": "0.11.13-next-2025-04-22-b3224015b.0",
42
+ "@devvit/repo-tools": "0.11.13",
43
+ "@devvit/tsconfig": "0.11.13",
44
44
  "@microsoft/api-extractor": "7.41.0",
45
45
  "@reddit/faceplate-ui": "18.0.1",
46
46
  "@types/clone-deep": "4.0.1",
@@ -49,7 +49,7 @@
49
49
  "esbuild": "0.23.0",
50
50
  "eslint": "9.11.1",
51
51
  "typescript": "5.3.2",
52
- "vitest": "1.6.1"
52
+ "vitest": "1.6.0"
53
53
  },
54
54
  "publishConfig": {
55
55
  "directory": "dist"
@@ -61,5 +61,5 @@
61
61
  }
62
62
  },
63
63
  "source": "./src/index.ts",
64
- "gitHead": "657c36314cf6579135775e0b6566f09885b2b6e4"
64
+ "gitHead": "6ebae441926485519748aff1791abc444ddf4f12"
65
65
  }