@devvit/public-api 0.10.23-next-2024-06-12-1b25bb8f2.0 → 0.10.23-next-2024-06-13-72bd939c1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/devvit/internals/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAK/C,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,wBAAwB,CAAC;AAI5E,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,MAAM,GACjB,WAAW,CA4Bb"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/devvit/internals/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI/C,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,wBAAwB,CAAC;AAK5E,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,MAAM,GACjB,WAAW,CA4Bb"}
@@ -1,6 +1,6 @@
1
1
  import { Header } from '@devvit/shared-types/Header.js';
2
2
  import { assertNonNull } from '@devvit/shared-types/NonNull.js';
3
- import pkg from '../../../package.json' assert { type: 'json' };
3
+ import pkg from '../../version.json' assert { type: 'json' };
4
4
  let loggedVersion = false;
5
5
  export function getContextFromMetadata(metadata, postId, commentId) {
6
6
  const subredditId = metadata[Header.Subreddit]?.values[0];
package/meta.json CHANGED
@@ -11760,11 +11760,11 @@
11760
11760
  "format": "esm"
11761
11761
  },
11762
11762
  "package.json": {
11763
- "bytes": 2832,
11763
+ "bytes": 2819,
11764
11764
  "imports": []
11765
11765
  },
11766
11766
  "src/devvit/internals/context.ts": {
11767
- "bytes": 2686,
11767
+ "bytes": 2683,
11768
11768
  "imports": [
11769
11769
  {
11770
11770
  "path": "../shared-types/dist/Header.js",
@@ -11779,7 +11779,7 @@
11779
11779
  {
11780
11780
  "path": "package.json",
11781
11781
  "kind": "import-statement",
11782
- "original": "../../../package.json"
11782
+ "original": "../../version.json"
11783
11783
  }
11784
11784
  ],
11785
11785
  "format": "esm"
@@ -14356,7 +14356,7 @@
14356
14356
  "bytesInOutput": 1973
14357
14357
  },
14358
14358
  "package.json": {
14359
- "bytesInOutput": 2943
14359
+ "bytesInOutput": 2930
14360
14360
  },
14361
14361
  "src/devvit/internals/context.ts": {
14362
14362
  "bytesInOutput": 1798
@@ -14524,7 +14524,7 @@
14524
14524
  "bytesInOutput": 4450
14525
14525
  }
14526
14526
  },
14527
- "bytes": 14993539
14527
+ "bytes": 14993506
14528
14528
  }
14529
14529
  }
14530
14530
  }
package/meta.min.json CHANGED
@@ -2990,11 +2990,11 @@
2990
2990
  "format": "esm"
2991
2991
  },
2992
2992
  "package.json": {
2993
- "bytes": 2832,
2993
+ "bytes": 2819,
2994
2994
  "imports": []
2995
2995
  },
2996
2996
  "src/devvit/internals/context.ts": {
2997
- "bytes": 2686,
2997
+ "bytes": 2683,
2998
2998
  "imports": [
2999
2999
  {
3000
3000
  "path": "../shared-types/dist/Header.js",
@@ -3009,7 +3009,7 @@
3009
3009
  {
3010
3010
  "path": "package.json",
3011
3011
  "kind": "import-statement",
3012
- "original": "../../../package.json"
3012
+ "original": "../../version.json"
3013
3013
  }
3014
3014
  ],
3015
3015
  "format": "esm"
@@ -4642,7 +4642,7 @@
4642
4642
  "imports": [],
4643
4643
  "exports": [],
4644
4644
  "inputs": {},
4645
- "bytes": 1135300
4645
+ "bytes": 1135284
4646
4646
  },
4647
4647
  "dist/public-api.min.js": {
4648
4648
  "imports": [
@@ -5268,7 +5268,7 @@
5268
5268
  "bytesInOutput": 848
5269
5269
  },
5270
5270
  "package.json": {
5271
- "bytesInOutput": 2390
5271
+ "bytesInOutput": 2377
5272
5272
  },
5273
5273
  "src/devvit/internals/context.ts": {
5274
5274
  "bytesInOutput": 940
@@ -5427,7 +5427,7 @@
5427
5427
  "bytesInOutput": 2135
5428
5428
  }
5429
5429
  },
5430
- "bytes": 242962
5430
+ "bytes": 242949
5431
5431
  }
5432
5432
  }
5433
5433
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.10.23-next-2024-06-12-1b25bb8f2.0",
3
+ "version": "0.10.23-next-2024-06-13-72bd939c1.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "type": "module",
10
10
  "main": "./index.js",
11
11
  "scripts": {
12
- "build": "yarn build:icon-types && yarn build:semantic-colors && tsc && cp -af package.json devvit.tsconfig.json dist/ && yarn build:types && yarn build:min && yarn build:unmin",
12
+ "build": "yarn build:icon-types && yarn build:semantic-colors && tsc && cp -af devvit.tsconfig.json dist/ && yarn build:types && yarn build:min && yarn build:unmin",
13
13
  "build:icon-types": "make-icons src/types/icons.ts",
14
14
  "build:min": "esbuild --bundle --sourcemap=linked --target=es2020 --format=esm --metafile=dist/meta.min.json --outfile=dist/public-api.min.js --external:@devvit/protos --minify src/index.ts",
15
15
  "build:semantic-colors": "node scripts/make-semantic-colors.js",
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.10.23-next-2024-06-12-1b25bb8f2.0",
34
- "@devvit/shared-types": "0.10.23-next-2024-06-12-1b25bb8f2.0",
33
+ "@devvit/protos": "0.10.23-next-2024-06-13-72bd939c1.0",
34
+ "@devvit/shared-types": "0.10.23-next-2024-06-13-72bd939c1.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-12-1b25bb8f2.0",
44
+ "@devvit/tsconfig": "0.10.23-next-2024-06-13-72bd939c1.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": "16ba154de06de7f7ce0fcdd8551bfb47c57b5ef8"
67
+ "gitHead": "231786e8fd7fe4c8d9b1e9846a93846127943980"
68
68
  }