@devvit/public-api 0.11.11-next-2025-03-18-8a91fd0df.0 → 0.11.11-next-2025-03-19-f4f216ef1.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,4 +1,4 @@
1
- import { RunAs as _RunAs } from '@devvit/protos/types/devvit/plugin/redditapi/common/common_msg.js';
1
+ import { RunAs as _RunAs } from '@devvit/protos';
2
2
  export declare const RunAs: {
3
3
  readonly APP: _RunAs.APP;
4
4
  readonly USER: _RunAs.USER;
@@ -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,mEAAmE,CAAC;AAEpG,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,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,4 +1,4 @@
1
- import { RunAs as _RunAs } from '@devvit/protos/types/devvit/plugin/redditapi/common/common_msg.js';
1
+ import { RunAs as _RunAs } from '@devvit/protos';
2
2
  export const RunAs = {
3
3
  APP: _RunAs.APP,
4
4
  USER: _RunAs.USER,
package/meta.json CHANGED
@@ -6911,7 +6911,7 @@
6911
6911
  "format": "esm"
6912
6912
  },
6913
6913
  "../protos/dist/index.js": {
6914
- "bytes": 6503,
6914
+ "bytes": 6510,
6915
6915
  "imports": [
6916
6916
  {
6917
6917
  "path": "../protos/dist/lib/Defunct-Types.js",
@@ -8833,12 +8833,12 @@
8833
8833
  "format": "esm"
8834
8834
  },
8835
8835
  "src/apis/reddit/common.ts": {
8836
- "bytes": 234,
8836
+ "bytes": 183,
8837
8837
  "imports": [
8838
8838
  {
8839
- "path": "../protos/dist/types/devvit/plugin/redditapi/common/common_msg.js",
8839
+ "path": "../protos/dist/index.js",
8840
8840
  "kind": "import-statement",
8841
- "original": "@devvit/protos/types/devvit/plugin/redditapi/common/common_msg.js"
8841
+ "original": "@devvit/protos"
8842
8842
  }
8843
8843
  ],
8844
8844
  "format": "esm"
@@ -10336,7 +10336,7 @@
10336
10336
  "bytesInOutput": 3408
10337
10337
  }
10338
10338
  },
10339
- "bytes": 12455721
10339
+ "bytes": 12455653
10340
10340
  }
10341
10341
  }
10342
10342
  }
package/meta.min.json CHANGED
@@ -1673,10 +1673,10 @@
1673
1673
  "format": "esm"
1674
1674
  },
1675
1675
  "src/apis/reddit/common.ts": {
1676
- "bytes": 234,
1676
+ "bytes": 183,
1677
1677
  "imports": [
1678
1678
  {
1679
- "path": "@devvit/protos/types/devvit/plugin/redditapi/common/common_msg.js",
1679
+ "path": "@devvit/protos",
1680
1680
  "kind": "import-statement",
1681
1681
  "external": true
1682
1682
  }
@@ -2517,7 +2517,7 @@
2517
2517
  "imports": [],
2518
2518
  "exports": [],
2519
2519
  "inputs": {},
2520
- "bytes": 1058754
2520
+ "bytes": 1058703
2521
2521
  },
2522
2522
  "dist/public-api.min.js": {
2523
2523
  "imports": [
@@ -2657,7 +2657,7 @@
2657
2657
  "external": true
2658
2658
  },
2659
2659
  {
2660
- "path": "@devvit/protos/types/devvit/plugin/redditapi/common/common_msg.js",
2660
+ "path": "@devvit/protos",
2661
2661
  "kind": "import-statement",
2662
2662
  "external": true
2663
2663
  },
@@ -2986,7 +2986,7 @@
2986
2986
  "bytesInOutput": 2170
2987
2987
  },
2988
2988
  "src/apis/reddit/common.ts": {
2989
- "bytesInOutput": 124
2989
+ "bytesInOutput": 73
2990
2990
  },
2991
2991
  "src/apis/reddit/helpers/makeGettersEnumerable.ts": {
2992
2992
  "bytesInOutput": 166
@@ -3070,7 +3070,7 @@
3070
3070
  "bytesInOutput": 1396
3071
3071
  }
3072
3072
  },
3073
- "bytes": 218757
3073
+ "bytes": 218706
3074
3074
  }
3075
3075
  }
3076
3076
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.11-next-2025-03-18-8a91fd0df.0",
3
+ "version": "0.11.11-next-2025-03-19-f4f216ef1.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,16 +30,16 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.11.11-next-2025-03-18-8a91fd0df.0",
34
- "@devvit/shared-types": "0.11.11-next-2025-03-18-8a91fd0df.0",
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",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "moderndash": "4.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@ampproject/filesize": "4.3.0",
41
- "@devvit/repo-tools": "0.11.11-next-2025-03-18-8a91fd0df.0",
42
- "@devvit/tsconfig": "0.11.11-next-2025-03-18-8a91fd0df.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",
43
43
  "@microsoft/api-extractor": "7.41.0",
44
44
  "@reddit/faceplate-ui": "18.0.1",
45
45
  "@types/clone-deep": "4.0.1",
@@ -60,5 +60,5 @@
60
60
  }
61
61
  },
62
62
  "source": "./src/index.ts",
63
- "gitHead": "4f3c471486623a78ffff679524224d919b1438e7"
63
+ "gitHead": "bc1cd2fdd03e92ea93fc065c461adc42dc0e2630"
64
64
  }
package/public-api.d.ts CHANGED
@@ -36315,6 +36315,7 @@ declare namespace protos {
36315
36315
  MediaServiceDefinition,
36316
36316
  ModlogDefinition,
36317
36317
  RedditObject,
36318
+ RunAs,
36318
36319
  FlairDefinition,
36319
36320
  QueryResponse,
36320
36321
  GraphQL,
@@ -36500,7 +36501,6 @@ declare namespace protos {
36500
36501
  runAsToJSON,
36501
36502
  apiClientConfig_BodyTypeFromJSON,
36502
36503
  apiClientConfig_BodyTypeToJSON,
36503
- RunAs,
36504
36504
  Listing_2 as Listing,
36505
36505
  Listing_ListingData,
36506
36506
  WrappedRedditObject,