@devvit/public-api 0.11.0-next-2024-07-10-032c868ba.0 → 0.11.0-next-2024-07-10-85ade0a81.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"Devvit.d.ts","sourceRoot":"","sources":["../../src/devvit/Devvit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAItD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAE/D,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,IAAI,EAEJ,YAAY,EACZ,wBAAwB,EACxB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,sBAAsB,EAGtB,gBAAgB,EAChB,iBAAiB,EAGjB,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AA2C3B;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IACjB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEpC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,qBAAa,MAAO,SAAQ,KAAK;;IAC/B,MAAM,CAAC,KAAK,EAAE,WAAW,CAAM;IAgB/B;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;IA4C7C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;IAI5C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CAAC,iBAAiB,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IAI9D;;;;;OAKG;IACH,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAA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EAAE,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,KAAK,GAAG,CAAC,OAAO,CAAC;KACrF;CACF"}
package/devvit/Devvit.js CHANGED
@@ -391,6 +391,7 @@ export class Devvit extends Actor {
391
391
  constructor(config) {
392
392
  super(config);
393
393
  __classPrivateFieldSet(_a, _a, config.assets ?? {}, "f", _Devvit_assets);
394
+ __classPrivateFieldSet(_a, _a, config.webviewAssets ?? {}, "f", _Devvit_webviewAssets);
394
395
  for (const fullName in __classPrivateFieldGet(_a, _a, "f", _Devvit_uses)) {
395
396
  const use = __classPrivateFieldGet(_a, _a, "f", _Devvit_uses)[fullName];
396
397
  use.handler = config.use(use.def, use.options);
@@ -421,8 +422,6 @@ export class Devvit extends Actor {
421
422
  if (__classPrivateFieldGet(_a, _a, "f", _Devvit_triggerOnEventHandlers).size > 0) {
422
423
  registerTriggers(config);
423
424
  }
424
- __classPrivateFieldSet(_a, _a, config.assets ?? {}, "f", _Devvit_assets);
425
- __classPrivateFieldSet(_a, _a, config.webviewAssets ?? {}, "f", _Devvit_webviewAssets);
426
425
  }
427
426
  }
428
427
  _a = Devvit, _Devvit_use = function _Devvit_use(d, opts) {
@@ -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;AAI/C,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,wBAAwB,CAAC;AAG5E,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;AAG5E,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,MAAM,CAAC,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,MAAM,GACjB,WAAW,CA+Bb"}
@@ -4,12 +4,15 @@ import pkg from '../../version.json' assert { type: 'json' };
4
4
  export function getContextFromMetadata(metadata, postId, commentId) {
5
5
  const subredditId = metadata[Header.Subreddit]?.values[0];
6
6
  assertNonNull(subredditId, 'subreddit is missing from Context');
7
+ // devvit-app-user is only available in the remote runtime.
7
8
  const appAccountId = metadata[Header.AppUser]?.values[0];
8
- assertNonNull(appAccountId, 'appAccountId is missing from Context');
9
9
  const userId = metadata[Header.User]?.values[0];
10
10
  const debug = parseDebug(metadata);
11
11
  return {
12
- appAccountId,
12
+ get appAccountId() {
13
+ assertNonNull(appAccountId, 'appAccountId is missing from Context');
14
+ return appAccountId;
15
+ },
13
16
  subredditId,
14
17
  userId,
15
18
  postId,
package/meta.json CHANGED
@@ -11706,7 +11706,7 @@
11706
11706
  "imports": []
11707
11707
  },
11708
11708
  "src/devvit/internals/context.ts": {
11709
- "bytes": 2543,
11709
+ "bytes": 2650,
11710
11710
  "imports": [
11711
11711
  {
11712
11712
  "path": "../shared-types/dist/Header.js",
@@ -12563,7 +12563,7 @@
12563
12563
  "format": "esm"
12564
12564
  },
12565
12565
  "src/devvit/Devvit.ts": {
12566
- "bytes": 34634,
12566
+ "bytes": 34591,
12567
12567
  "imports": [
12568
12568
  {
12569
12569
  "path": "../protos/dist/index.js",
@@ -14376,7 +14376,7 @@
14376
14376
  "bytesInOutput": 2948
14377
14377
  },
14378
14378
  "src/devvit/internals/context.ts": {
14379
- "bytesInOutput": 1628
14379
+ "bytesInOutput": 1677
14380
14380
  },
14381
14381
  "src/devvit/internals/helpers/settingsUtils.ts": {
14382
14382
  "bytesInOutput": 1229
@@ -14472,7 +14472,7 @@
14472
14472
  "bytesInOutput": 618
14473
14473
  },
14474
14474
  "src/devvit/Devvit.ts": {
14475
- "bytesInOutput": 19087
14475
+ "bytesInOutput": 19028
14476
14476
  },
14477
14477
  "src/apis/reddit/helpers/makeGettersEnumerable.ts": {
14478
14478
  "bytesInOutput": 344
@@ -14556,7 +14556,7 @@
14556
14556
  "bytesInOutput": 4450
14557
14557
  }
14558
14558
  },
14559
- "bytes": 14991189
14559
+ "bytes": 14991263
14560
14560
  }
14561
14561
  }
14562
14562
  }
package/meta.min.json CHANGED
@@ -2994,7 +2994,7 @@
2994
2994
  "imports": []
2995
2995
  },
2996
2996
  "src/devvit/internals/context.ts": {
2997
- "bytes": 2543,
2997
+ "bytes": 2650,
2998
2998
  "imports": [
2999
2999
  {
3000
3000
  "path": "../shared-types/dist/Header.js",
@@ -3851,7 +3851,7 @@
3851
3851
  "format": "esm"
3852
3852
  },
3853
3853
  "src/devvit/Devvit.ts": {
3854
- "bytes": 34634,
3854
+ "bytes": 34591,
3855
3855
  "imports": [
3856
3856
  {
3857
3857
  "path": "@devvit/protos",
@@ -4720,7 +4720,7 @@
4720
4720
  "imports": [],
4721
4721
  "exports": [],
4722
4722
  "inputs": {},
4723
- "bytes": 1178681
4723
+ "bytes": 1178722
4724
4724
  },
4725
4725
  "dist/public-api.min.js": {
4726
4726
  "imports": [
@@ -5263,7 +5263,7 @@
5263
5263
  "bytesInOutput": 1365
5264
5264
  },
5265
5265
  "src/devvit/Devvit.ts": {
5266
- "bytesInOutput": 6014
5266
+ "bytesInOutput": 5993
5267
5267
  },
5268
5268
  "../shared-types/dist/Actor.js": {
5269
5269
  "bytesInOutput": 31
@@ -5356,7 +5356,7 @@
5356
5356
  "bytesInOutput": 2395
5357
5357
  },
5358
5358
  "src/devvit/internals/context.ts": {
5359
- "bytesInOutput": 872
5359
+ "bytesInOutput": 882
5360
5360
  },
5361
5361
  "src/devvit/internals/custom-post.ts": {
5362
5362
  "bytesInOutput": 350
@@ -5527,7 +5527,7 @@
5527
5527
  "bytesInOutput": 2135
5528
5528
  }
5529
5529
  },
5530
- "bytes": 250660
5530
+ "bytes": 250649
5531
5531
  }
5532
5532
  }
5533
5533
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.0-next-2024-07-10-032c868ba.0",
3
+ "version": "0.11.0-next-2024-07-10-85ade0a81.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-07-10-032c868ba.0",
34
- "@devvit/shared-types": "0.11.0-next-2024-07-10-032c868ba.0",
33
+ "@devvit/protos": "0.11.0-next-2024-07-10-85ade0a81.0",
34
+ "@devvit/shared-types": "0.11.0-next-2024-07-10-85ade0a81.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-07-10-032c868ba.0",
43
- "@devvit/repo-tools": "0.11.0-next-2024-07-10-032c868ba.0",
44
- "@devvit/tsconfig": "0.11.0-next-2024-07-10-032c868ba.0",
42
+ "@devvit/eslint-config": "0.11.0-next-2024-07-10-85ade0a81.0",
43
+ "@devvit/repo-tools": "0.11.0-next-2024-07-10-85ade0a81.0",
44
+ "@devvit/tsconfig": "0.11.0-next-2024-07-10-85ade0a81.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": "54b1e7a418dce39308f15d460a91f90a818c4e32"
67
+ "gitHead": "54200ca6b8754acacbe1c9a76b82ec96d309b0de"
68
68
  }