@devvit/public-api 0.10.20-next-2024-05-06-a9757fbcc.0 → 0.10.20-next-2024-05-06-18be4b555.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/meta.json +4 -108
  2. package/package.json +19 -13
  3. package/public-api.iife.js +3067 -4261
package/meta.json CHANGED
@@ -9532,57 +9532,6 @@
9532
9532
  ],
9533
9533
  "format": "esm"
9534
9534
  },
9535
- "../protos/dist/types/devvit/plugin/gl/methodtype.js": {
9536
- "bytes": 1377,
9537
- "imports": [],
9538
- "format": "esm"
9539
- },
9540
- "../protos/dist/types/devvit/plugin/gl/methods.js": {
9541
- "bytes": 25406,
9542
- "imports": [],
9543
- "format": "esm"
9544
- },
9545
- "../protos/dist/types/devvit/plugin/gl/glrenderer.js": {
9546
- "bytes": 11212,
9547
- "imports": [
9548
- {
9549
- "path": "../../node_modules/long/src/long.js",
9550
- "kind": "import-statement",
9551
- "original": "long"
9552
- },
9553
- {
9554
- "path": "../../node_modules/protobufjs/minimal.js",
9555
- "kind": "import-statement",
9556
- "original": "protobufjs/minimal.js"
9557
- },
9558
- {
9559
- "path": "../protos/dist/types/google/protobuf/empty.js",
9560
- "kind": "import-statement",
9561
- "original": "../../../google/protobuf/empty.js"
9562
- },
9563
- {
9564
- "path": "../protos/dist/types/google/protobuf/struct.js",
9565
- "kind": "import-statement",
9566
- "original": "../../../google/protobuf/struct.js"
9567
- },
9568
- {
9569
- "path": "../protos/dist/types/typeRegistry.js",
9570
- "kind": "import-statement",
9571
- "original": "../../../typeRegistry.js"
9572
- },
9573
- {
9574
- "path": "../protos/dist/types/devvit/plugin/gl/methods.js",
9575
- "kind": "import-statement",
9576
- "original": "./methods.js"
9577
- },
9578
- {
9579
- "path": "../protos/dist/types/devvit/plugin/gl/methodtype.js",
9580
- "kind": "import-statement",
9581
- "original": "./methodtype.js"
9582
- }
9583
- ],
9584
- "format": "esm"
9585
- },
9586
9535
  "../protos/dist/types/devvit/plugin/devserver/testcases.js": {
9587
9536
  "bytes": 5474,
9588
9537
  "imports": [
@@ -10136,27 +10085,6 @@
10136
10085
  ],
10137
10086
  "format": "esm"
10138
10087
  },
10139
- "../protos/dist/types/devvit/actor/gl/glclient.js": {
10140
- "bytes": 6618,
10141
- "imports": [
10142
- {
10143
- "path": "../../node_modules/protobufjs/minimal.js",
10144
- "kind": "import-statement",
10145
- "original": "protobufjs/minimal.js"
10146
- },
10147
- {
10148
- "path": "../protos/dist/types/google/protobuf/empty.js",
10149
- "kind": "import-statement",
10150
- "original": "../../../google/protobuf/empty.js"
10151
- },
10152
- {
10153
- "path": "../protos/dist/types/typeRegistry.js",
10154
- "kind": "import-statement",
10155
- "original": "../../../typeRegistry.js"
10156
- }
10157
- ],
10158
- "format": "esm"
10159
- },
10160
10088
  "../protos/dist/types/devvit/actor/bot/bot.js": {
10161
10089
  "bytes": 13129,
10162
10090
  "imports": [
@@ -11586,7 +11514,7 @@
11586
11514
  "format": "esm"
11587
11515
  },
11588
11516
  "../protos/dist/index.js": {
11589
- "bytes": 12290,
11517
+ "bytes": 12072,
11590
11518
  "imports": [
11591
11519
  {
11592
11520
  "path": "../protos/dist/types/typeRegistry.js",
@@ -11888,21 +11816,6 @@
11888
11816
  "kind": "import-statement",
11889
11817
  "original": "./types/devvit/plugin/http/http.js"
11890
11818
  },
11891
- {
11892
- "path": "../protos/dist/types/devvit/plugin/gl/methodtype.js",
11893
- "kind": "import-statement",
11894
- "original": "./types/devvit/plugin/gl/methodtype.js"
11895
- },
11896
- {
11897
- "path": "../protos/dist/types/devvit/plugin/gl/methods.js",
11898
- "kind": "import-statement",
11899
- "original": "./types/devvit/plugin/gl/methods.js"
11900
- },
11901
- {
11902
- "path": "../protos/dist/types/devvit/plugin/gl/glrenderer.js",
11903
- "kind": "import-statement",
11904
- "original": "./types/devvit/plugin/gl/glrenderer.js"
11905
- },
11906
11819
  {
11907
11820
  "path": "../protos/dist/types/devvit/plugin/devserver/testcases.js",
11908
11821
  "kind": "import-statement",
@@ -12093,11 +12006,6 @@
12093
12006
  "kind": "import-statement",
12094
12007
  "original": "./types/devvit/actor/hello/hello.js"
12095
12008
  },
12096
- {
12097
- "path": "../protos/dist/types/devvit/actor/gl/glclient.js",
12098
- "kind": "import-statement",
12099
- "original": "./types/devvit/actor/gl/glclient.js"
12100
- },
12101
12009
  {
12102
12010
  "path": "../protos/dist/types/devvit/actor/bot/bot.js",
12103
12011
  "kind": "import-statement",
@@ -15513,15 +15421,6 @@
15513
15421
  "../protos/dist/types/devvit/plugin/http/http.js": {
15514
15422
  "bytesInOutput": 14423
15515
15423
  },
15516
- "../protos/dist/types/devvit/plugin/gl/methodtype.js": {
15517
- "bytesInOutput": 1231
15518
- },
15519
- "../protos/dist/types/devvit/plugin/gl/methods.js": {
15520
- "bytesInOutput": 23931
15521
- },
15522
- "../protos/dist/types/devvit/plugin/gl/glrenderer.js": {
15523
- "bytesInOutput": 9338
15524
- },
15525
15424
  "../protos/dist/types/devvit/plugin/devserver/testcases.js": {
15526
15425
  "bytesInOutput": 4983
15527
15426
  },
@@ -15535,7 +15434,7 @@
15535
15434
  "bytesInOutput": 57
15536
15435
  },
15537
15436
  "../protos/dist/types/devvit/plugin/builder/builder.js": {
15538
- "bytesInOutput": 3169
15437
+ "bytesInOutput": 3165
15539
15438
  },
15540
15439
  "../protos/dist/types/devvit/plugin/automodregex/automodregex.js": {
15541
15440
  "bytesInOutput": 6180
@@ -15556,7 +15455,7 @@
15556
15455
  "bytesInOutput": 2146
15557
15456
  },
15558
15457
  "../protos/dist/types/devvit/dev_portal/waitlist/waitlist.js": {
15559
- "bytesInOutput": 17720
15458
+ "bytesInOutput": 17704
15560
15459
  },
15561
15460
  "../protos/dist/types/devvit/dev_portal/admin/waitlist_admin.js": {
15562
15461
  "bytesInOutput": 23945
@@ -15585,9 +15484,6 @@
15585
15484
  "../protos/dist/types/devvit/actor/hello/hello.js": {
15586
15485
  "bytesInOutput": 2848
15587
15486
  },
15588
- "../protos/dist/types/devvit/actor/gl/glclient.js": {
15589
- "bytesInOutput": 4354
15590
- },
15591
15487
  "../protos/dist/types/devvit/actor/bot/bot.js": {
15592
15488
  "bytesInOutput": 10675
15593
15489
  },
@@ -16000,7 +15896,7 @@
16000
15896
  "bytesInOutput": 370
16001
15897
  }
16002
15898
  },
16003
- "bytes": 16225995
15899
+ "bytes": 16091111
16004
15900
  }
16005
15901
  }
16006
15902
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.10.20-next-2024-05-06-a9757fbcc.0",
3
+ "version": "0.10.20-next-2024-05-06-18be4b555.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,32 +23,32 @@
23
23
  "lint:fix": "yarn lint --fix",
24
24
  "prepublishOnly": "publish-package-json",
25
25
  "test": "yarn test:unit && yarn test:types && yarn test:size",
26
- "test:size": "filesize",
26
+ "test:size": "echo \"dist/public-api.min.js uncompressed bundle size: $(stat -c '%s' dist/public-api.min.js|numfmt --to-unit=Ki --format=%.1f) KiB\" && bundlesize",
27
27
  "test:types": "tsc --noEmit",
28
28
  "test:unit": "vitest run",
29
29
  "test:unit-with-coverage": "vitest run --coverage"
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.10.20-next-2024-05-06-a9757fbcc.0",
34
- "@devvit/runtimes": "0.10.20-next-2024-05-06-a9757fbcc.0",
35
- "@devvit/shared-types": "0.10.20-next-2024-05-06-a9757fbcc.0",
33
+ "@devvit/protos": "0.10.20-next-2024-05-06-18be4b555.0",
34
+ "@devvit/runtimes": "0.10.20-next-2024-05-06-18be4b555.0",
35
+ "@devvit/shared-types": "0.10.20-next-2024-05-06-18be4b555.0",
36
36
  "base64-js": "1.5.1",
37
37
  "clone-deep": "4.0.1",
38
38
  "core-js": "3.27.2",
39
39
  "lodash.isequal": "4.5.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@ampproject/filesize": "4.3.0",
43
42
  "@devvit/eslint-config": "0.10.19",
44
43
  "@devvit/repo-tools": "0.10.19",
45
- "@devvit/tsconfig": "0.10.20-next-2024-05-06-a9757fbcc.0",
44
+ "@devvit/tsconfig": "0.10.20-next-2024-05-06-18be4b555.0",
46
45
  "@microsoft/api-extractor": "7.41.0",
47
46
  "@reddit/faceplate-ui": "11.1.0",
48
47
  "@types/clone-deep": "4.0.1",
49
48
  "@types/core-js": "2.5.6",
50
49
  "@types/lodash.isequal": "4.5.6",
51
50
  "@vitest/coverage-c8": "0.32.0",
51
+ "bundlesize": "0.18.2",
52
52
  "chokidar-cli": "3.0.0",
53
53
  "esbuild": "0.18.12",
54
54
  "eslint": "8.9.0",
@@ -58,12 +58,18 @@
58
58
  "publishConfig": {
59
59
  "directory": "dist"
60
60
  },
61
- "filesize": {
62
- "dist/public-api.min.js": {
63
- "gzip": "77 KB",
64
- "none": "256 KB"
61
+ "bundlesize": [
62
+ {
63
+ "compression": "gzip",
64
+ "maxSize": "78 KB",
65
+ "path": "dist/public-api.min.js"
66
+ },
67
+ {
68
+ "compression": "none",
69
+ "maxSize": "255 KB",
70
+ "path": "dist/public-api.min.js"
65
71
  }
66
- },
72
+ ],
67
73
  "source": "./src/index.ts",
68
- "gitHead": "35fab6835e502ea8f72d9cb1426a465826541091"
74
+ "gitHead": "e5054ea6e2d1a858f50c0f00bd9b80782909b982"
69
75
  }