@devvit/public-api 0.10.25-next-2024-08-15-1214a0630.0 → 0.10.25-next-2024-08-19-d1d142b18.0

Sign up to get free protection for your applications and to get access to all the features.
package/meta.min.json CHANGED
@@ -2777,7 +2777,7 @@
2777
2777
  "format": "esm"
2778
2778
  },
2779
2779
  "src/apis/redis/RedisClient.ts": {
2780
- "bytes": 21337,
2780
+ "bytes": 22554,
2781
2781
  "imports": [
2782
2782
  {
2783
2783
  "path": "@devvit/protos",
@@ -4633,7 +4633,7 @@
4633
4633
  "imports": [],
4634
4634
  "exports": [],
4635
4635
  "inputs": {},
4636
- "bytes": 1138285
4636
+ "bytes": 1137863
4637
4637
  },
4638
4638
  "dist/public-api.min.js": {
4639
4639
  "imports": [
@@ -5155,7 +5155,7 @@
5155
5155
  "bytesInOutput": 10320
5156
5156
  },
5157
5157
  "../../node_modules/base64-js/index.js": {
5158
- "bytesInOutput": 1499
5158
+ "bytesInOutput": 1469
5159
5159
  },
5160
5160
  "src/index.ts": {
5161
5161
  "bytesInOutput": 18
@@ -5170,7 +5170,7 @@
5170
5170
  "bytesInOutput": 1365
5171
5171
  },
5172
5172
  "src/devvit/Devvit.ts": {
5173
- "bytesInOutput": 5891
5173
+ "bytesInOutput": 5870
5174
5174
  },
5175
5175
  "../shared-types/dist/Actor.js": {
5176
5176
  "bytesInOutput": 31
@@ -5221,52 +5221,52 @@
5221
5221
  "bytesInOutput": 502
5222
5222
  },
5223
5223
  "src/apis/AssetsClient/AssetsClient.ts": {
5224
- "bytesInOutput": 550
5224
+ "bytesInOutput": 521
5225
5225
  },
5226
5226
  "src/apis/key-value-storage/KeyValueStorage.ts": {
5227
- "bytesInOutput": 456
5227
+ "bytesInOutput": 449
5228
5228
  },
5229
5229
  "src/apis/media/MediaClient.ts": {
5230
- "bytesInOutput": 273
5230
+ "bytesInOutput": 266
5231
5231
  },
5232
5232
  "src/apis/modLog/ModLogClient.ts": {
5233
- "bytesInOutput": 131
5233
+ "bytesInOutput": 124
5234
5234
  },
5235
5235
  "src/apis/reddit/RedditAPIClient.ts": {
5236
- "bytesInOutput": 6877
5236
+ "bytesInOutput": 6869
5237
5237
  },
5238
5238
  "src/apis/redis/RedisClient.ts": {
5239
- "bytesInOutput": 9597
5239
+ "bytesInOutput": 10021
5240
5240
  },
5241
5241
  "src/apis/scheduler/SchedulerClient.ts": {
5242
- "bytesInOutput": 716
5242
+ "bytesInOutput": 709
5243
5243
  },
5244
5244
  "src/apis/settings/SettingsClient.ts": {
5245
- "bytesInOutput": 675
5245
+ "bytesInOutput": 668
5246
5246
  },
5247
5247
  "src/apis/ui/UIClient.ts": {
5248
- "bytesInOutput": 1128
5248
+ "bytesInOutput": 1121
5249
5249
  },
5250
5250
  "src/devvit/internals/promise_cache.ts": {
5251
- "bytesInOutput": 2813
5251
+ "bytesInOutput": 2576
5252
5252
  },
5253
5253
  "src/devvit/internals/cache.ts": {
5254
5254
  "bytesInOutput": 65
5255
5255
  },
5256
5256
  "src/apis/realtime/RealtimeClient.ts": {
5257
- "bytesInOutput": 154
5257
+ "bytesInOutput": 147
5258
5258
  },
5259
5259
  "src/apis/makeAPIClients.ts": {
5260
5260
  "bytesInOutput": 848
5261
5261
  },
5262
5262
  "src/devvit/internals/context.ts": {
5263
- "bytesInOutput": 849
5263
+ "bytesInOutput": 848
5264
5264
  },
5265
5265
  "src/devvit/internals/custom-post.ts": {
5266
5266
  "bytesInOutput": 350
5267
5267
  },
5268
5268
  "src/devvit/internals/blocks/BlocksReconciler.ts": {
5269
- "bytesInOutput": 7132
5269
+ "bytesInOutput": 7074
5270
5270
  },
5271
5271
  "src/apis/ui/helpers/getEffectsFromUIClient.ts": {
5272
5272
  "bytesInOutput": 34
@@ -5275,7 +5275,7 @@
5275
5275
  "bytesInOutput": 101
5276
5276
  },
5277
5277
  "src/devvit/internals/blocks/BlocksTransformer.ts": {
5278
- "bytesInOutput": 12236
5278
+ "bytesInOutput": 12229
5279
5279
  },
5280
5280
  "src/devvit/internals/semanticColors.ts": {
5281
5281
  "bytesInOutput": 11055
@@ -5296,7 +5296,7 @@
5296
5296
  "bytesInOutput": 313
5297
5297
  },
5298
5298
  "src/devvit/internals/triggers.ts": {
5299
- "bytesInOutput": 2927
5299
+ "bytesInOutput": 2945
5300
5300
  },
5301
5301
  "../shared-types/dist/StringUtil.js": {
5302
5302
  "bytesInOutput": 363
@@ -5308,28 +5308,28 @@
5308
5308
  "bytesInOutput": 260
5309
5309
  },
5310
5310
  "src/devvit/internals/blocks/handler/BlocksHandler.ts": {
5311
- "bytesInOutput": 5936
5311
+ "bytesInOutput": 5636
5312
5312
  },
5313
5313
  "src/devvit/internals/blocks/handler/UIClient.ts": {
5314
- "bytesInOutput": 974
5314
+ "bytesInOutput": 967
5315
5315
  },
5316
5316
  "src/devvit/internals/blocks/handler/useForm.ts": {
5317
5317
  "bytesInOutput": 422
5318
5318
  },
5319
5319
  "src/devvit/internals/blocks/handler/useChannel.ts": {
5320
- "bytesInOutput": 1519
5320
+ "bytesInOutput": 1498
5321
5321
  },
5322
5322
  "src/devvit/internals/blocks/handler/useInterval.ts": {
5323
- "bytesInOutput": 1184
5323
+ "bytesInOutput": 1156
5324
5324
  },
5325
5325
  "src/devvit/internals/blocks/handler/RenderContext.ts": {
5326
- "bytesInOutput": 2051
5326
+ "bytesInOutput": 2044
5327
5327
  },
5328
5328
  "src/devvit/internals/blocks/handler/types.ts": {
5329
5329
  "bytesInOutput": 29
5330
5330
  },
5331
5331
  "src/devvit/internals/blocks/handler/useState.ts": {
5332
- "bytesInOutput": 1225
5332
+ "bytesInOutput": 1197
5333
5333
  },
5334
5334
  "src/devvit/internals/blocks/handler/ContextBuilder.ts": {
5335
5335
  "bytesInOutput": 605
@@ -5353,7 +5353,7 @@
5353
5353
  "bytesInOutput": 101
5354
5354
  },
5355
5355
  "src/apis/reddit/models/Listing.ts": {
5356
- "bytesInOutput": 1394
5356
+ "bytesInOutput": 1373
5357
5357
  },
5358
5358
  "src/apis/reddit/models/ModNote.ts": {
5359
5359
  "bytesInOutput": 1994
@@ -5365,16 +5365,16 @@
5365
5365
  "bytesInOutput": 296
5366
5366
  },
5367
5367
  "src/apis/reddit/models/Flair.ts": {
5368
- "bytesInOutput": 4180
5368
+ "bytesInOutput": 4083
5369
5369
  },
5370
5370
  "src/apis/reddit/models/Post.ts": {
5371
- "bytesInOutput": 12808
5371
+ "bytesInOutput": 12551
5372
5372
  },
5373
5373
  "src/apis/reddit/models/User.ts": {
5374
- "bytesInOutput": 6070
5374
+ "bytesInOutput": 5982
5375
5375
  },
5376
5376
  "src/apis/reddit/models/Comment.ts": {
5377
- "bytesInOutput": 9252
5377
+ "bytesInOutput": 9038
5378
5378
  },
5379
5379
  "src/apis/reddit/models/index.ts": {
5380
5380
  "bytesInOutput": 0
@@ -5383,25 +5383,25 @@
5383
5383
  "bytesInOutput": 1472
5384
5384
  },
5385
5385
  "src/apis/reddit/models/ModMail.ts": {
5386
- "bytesInOutput": 6176
5386
+ "bytesInOutput": 6109
5387
5387
  },
5388
5388
  "src/apis/reddit/models/PrivateMessage.ts": {
5389
- "bytesInOutput": 1890
5389
+ "bytesInOutput": 1841
5390
5390
  },
5391
5391
  "src/apis/reddit/models/Subreddit.ts": {
5392
- "bytesInOutput": 9890
5392
+ "bytesInOutput": 9800
5393
5393
  },
5394
5394
  "src/apis/reddit/models/Vault.ts": {
5395
5395
  "bytesInOutput": 516
5396
5396
  },
5397
5397
  "src/apis/reddit/models/Widget.ts": {
5398
- "bytesInOutput": 8149
5398
+ "bytesInOutput": 7981
5399
5399
  },
5400
5400
  "src/apis/reddit/models/WikiPage.ts": {
5401
- "bytesInOutput": 4891
5401
+ "bytesInOutput": 4772
5402
5402
  },
5403
5403
  "src/apis/reddit/models/PostCollection.ts": {
5404
- "bytesInOutput": 3362
5404
+ "bytesInOutput": 3271
5405
5405
  },
5406
5406
  "../shared-types/dist/sanitizeSvg.js": {
5407
5407
  "bytesInOutput": 1351
@@ -5413,10 +5413,10 @@
5413
5413
  "bytesInOutput": 28
5414
5414
  },
5415
5415
  "src/devvit/internals/blocks/handler/useAsync.ts": {
5416
- "bytesInOutput": 2042
5416
+ "bytesInOutput": 1993
5417
5417
  }
5418
5418
  },
5419
- "bytes": 242555
5419
+ "bytes": 240848
5420
5420
  }
5421
5421
  }
5422
5422
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.10.25-next-2024-08-15-1214a0630.0",
3
+ "version": "0.10.25-next-2024-08-19-d1d142b18.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "scripts": {
12
12
  "build": "yarn build:icon-types && yarn build:semantic-colors && tsc && cp -a 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
- "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",
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",
16
16
  "build:types": "api-extractor run && sed -ne '/declare global {/,$ p' src/devvit/Devvit.ts >> dist/public-api.d.ts",
17
17
  "build:unmin": "esbuild --bundle --sourcemap=inline --target=es2020 --format=iife --metafile=dist/meta.json --outfile=dist/public-api.iife.js --global-name=devvitPublicAPI src/index.ts",
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.10.25-next-2024-08-15-1214a0630.0",
34
- "@devvit/shared-types": "0.10.25-next-2024-08-15-1214a0630.0",
33
+ "@devvit/protos": "0.10.25-next-2024-08-19-d1d142b18.0",
34
+ "@devvit/shared-types": "0.10.25-next-2024-08-19-d1d142b18.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.10.25-next-2024-08-15-1214a0630.0",
43
- "@devvit/repo-tools": "0.10.25-next-2024-08-15-1214a0630.0",
44
- "@devvit/tsconfig": "0.10.25-next-2024-08-15-1214a0630.0",
42
+ "@devvit/eslint-config": "0.10.25-next-2024-08-19-d1d142b18.0",
43
+ "@devvit/repo-tools": "0.10.25-next-2024-08-19-d1d142b18.0",
44
+ "@devvit/tsconfig": "0.10.25-next-2024-08-19-d1d142b18.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",
@@ -49,7 +49,7 @@
49
49
  "@types/lodash.isequal": "4.5.6",
50
50
  "@vitest/coverage-c8": "0.32.0",
51
51
  "chokidar-cli": "3.0.0",
52
- "esbuild": "0.18.12",
52
+ "esbuild": "0.23.0",
53
53
  "eslint": "8.9.0",
54
54
  "typescript": "5.3.2",
55
55
  "vitest": "1.6.0"
@@ -64,5 +64,5 @@
64
64
  }
65
65
  },
66
66
  "source": "./src/index.ts",
67
- "gitHead": "5b796181c046fffa52de092eceee97874c70cb2f"
67
+ "gitHead": "38cc00c7052220c5fe4644948799e7cc479bd019"
68
68
  }