@devvit/public-api 0.11.11-next-2025-03-19-f4f216ef1.0 → 0.11.11-next-2025-03-20-9f4cb9c08.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.
@@ -1,7 +1,6 @@
1
- import { RunAs as _RunAs } from '@devvit/protos';
2
1
  export declare const RunAs: {
3
- readonly APP: _RunAs.APP;
4
- readonly USER: _RunAs.USER;
2
+ readonly APP: 0;
3
+ readonly USER: 1;
5
4
  };
6
5
  export type RunAs = (typeof RunAs)[keyof typeof RunAs];
7
6
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/apis/reddit/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEjD,eAAO,MAAM,KAAK;;;CAGR,CAAC;AAEX,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/apis/reddit/common.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;CAGR,CAAC;AAEX,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
- import { RunAs as _RunAs } from '@devvit/protos';
2
1
  export const RunAs = {
3
- APP: _RunAs.APP,
4
- USER: _RunAs.USER,
2
+ APP: 0,
3
+ USER: 1,
5
4
  };
package/meta.json CHANGED
@@ -7789,7 +7789,7 @@
7789
7789
  "format": "esm"
7790
7790
  },
7791
7791
  "package.json": {
7792
- "bytes": 2720,
7792
+ "bytes": 2758,
7793
7793
  "imports": [],
7794
7794
  "format": "esm",
7795
7795
  "with": {
@@ -8833,14 +8833,8 @@
8833
8833
  "format": "esm"
8834
8834
  },
8835
8835
  "src/apis/reddit/common.ts": {
8836
- "bytes": 183,
8837
- "imports": [
8838
- {
8839
- "path": "../protos/dist/index.js",
8840
- "kind": "import-statement",
8841
- "original": "@devvit/protos"
8842
- }
8843
- ],
8836
+ "bytes": 113,
8837
+ "imports": [],
8844
8838
  "format": "esm"
8845
8839
  },
8846
8840
  "src/apis/reddit/helpers/makeGettersEnumerable.ts": {
@@ -10138,7 +10132,7 @@
10138
10132
  "bytesInOutput": 1973
10139
10133
  },
10140
10134
  "package.json": {
10141
- "bytesInOutput": 2821
10135
+ "bytesInOutput": 2861
10142
10136
  },
10143
10137
  "src/devvit/internals/context.ts": {
10144
10138
  "bytesInOutput": 2029
@@ -10255,7 +10249,7 @@
10255
10249
  "bytesInOutput": 18326
10256
10250
  },
10257
10251
  "src/apis/reddit/common.ts": {
10258
- "bytesInOutput": 63
10252
+ "bytesInOutput": 46
10259
10253
  },
10260
10254
  "src/apis/reddit/helpers/makeGettersEnumerable.ts": {
10261
10255
  "bytesInOutput": 344
@@ -10336,7 +10330,7 @@
10336
10330
  "bytesInOutput": 3408
10337
10331
  }
10338
10332
  },
10339
- "bytes": 12455653
10333
+ "bytes": 12455648
10340
10334
  }
10341
10335
  }
10342
10336
  }
package/meta.min.json CHANGED
@@ -629,7 +629,7 @@
629
629
  "format": "esm"
630
630
  },
631
631
  "package.json": {
632
- "bytes": 2720,
632
+ "bytes": 2758,
633
633
  "imports": [],
634
634
  "format": "esm",
635
635
  "with": {
@@ -1673,14 +1673,8 @@
1673
1673
  "format": "esm"
1674
1674
  },
1675
1675
  "src/apis/reddit/common.ts": {
1676
- "bytes": 183,
1677
- "imports": [
1678
- {
1679
- "path": "@devvit/protos",
1680
- "kind": "import-statement",
1681
- "external": true
1682
- }
1683
- ],
1676
+ "bytes": 113,
1677
+ "imports": [],
1684
1678
  "format": "esm"
1685
1679
  },
1686
1680
  "src/apis/reddit/helpers/makeGettersEnumerable.ts": {
@@ -2517,7 +2511,7 @@
2517
2511
  "imports": [],
2518
2512
  "exports": [],
2519
2513
  "inputs": {},
2520
- "bytes": 1058703
2514
+ "bytes": 1058641
2521
2515
  },
2522
2516
  "dist/public-api.min.js": {
2523
2517
  "imports": [
@@ -2686,11 +2680,6 @@
2686
2680
  "kind": "import-statement",
2687
2681
  "external": true
2688
2682
  },
2689
- {
2690
- "path": "@devvit/protos",
2691
- "kind": "import-statement",
2692
- "external": true
2693
- },
2694
2683
  {
2695
2684
  "path": "@devvit/protos",
2696
2685
  "kind": "import-statement",
@@ -2878,7 +2867,7 @@
2878
2867
  "bytesInOutput": 848
2879
2868
  },
2880
2869
  "package.json": {
2881
- "bytesInOutput": 2300
2870
+ "bytesInOutput": 2332
2882
2871
  },
2883
2872
  "src/devvit/internals/context.ts": {
2884
2873
  "bytesInOutput": 1087
@@ -2986,7 +2975,7 @@
2986
2975
  "bytesInOutput": 2170
2987
2976
  },
2988
2977
  "src/apis/reddit/common.ts": {
2989
- "bytesInOutput": 73
2978
+ "bytesInOutput": 22
2990
2979
  },
2991
2980
  "src/apis/reddit/helpers/makeGettersEnumerable.ts": {
2992
2981
  "bytesInOutput": 166
@@ -3070,7 +3059,7 @@
3070
3059
  "bytesInOutput": 1396
3071
3060
  }
3072
3061
  },
3073
- "bytes": 218706
3062
+ "bytes": 218687
3074
3063
  }
3075
3064
  }
3076
3065
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.11-next-2025-03-19-f4f216ef1.0",
3
+ "version": "0.11.11-next-2025-03-20-9f4cb9c08.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,16 +30,17 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.11.11-next-2025-03-19-f4f216ef1.0",
34
- "@devvit/shared-types": "0.11.11-next-2025-03-19-f4f216ef1.0",
33
+ "@devvit/metrics": "0.11.11-next-2025-03-20-9f4cb9c08.0",
34
+ "@devvit/protos": "0.11.11-next-2025-03-20-9f4cb9c08.0",
35
+ "@devvit/shared-types": "0.11.11-next-2025-03-20-9f4cb9c08.0",
35
36
  "base64-js": "1.5.1",
36
37
  "clone-deep": "4.0.1",
37
38
  "moderndash": "4.0.0"
38
39
  },
39
40
  "devDependencies": {
40
41
  "@ampproject/filesize": "4.3.0",
41
- "@devvit/repo-tools": "0.11.11-next-2025-03-19-f4f216ef1.0",
42
- "@devvit/tsconfig": "0.11.11-next-2025-03-19-f4f216ef1.0",
42
+ "@devvit/repo-tools": "0.11.11-next-2025-03-20-9f4cb9c08.0",
43
+ "@devvit/tsconfig": "0.11.11-next-2025-03-20-9f4cb9c08.0",
43
44
  "@microsoft/api-extractor": "7.41.0",
44
45
  "@reddit/faceplate-ui": "18.0.1",
45
46
  "@types/clone-deep": "4.0.1",
@@ -60,5 +61,5 @@
60
61
  }
61
62
  },
62
63
  "source": "./src/index.ts",
63
- "gitHead": "bc1cd2fdd03e92ea93fc065c461adc42dc0e2630"
64
+ "gitHead": "bc1bc785b686666a18998096e9079e38a22269ce"
64
65
  }