@devvit/client 0.12.1-next-2025-09-22-23-03-51-81208d513.0 → 0.12.1-next-2025-09-23-22-09-23-eb3f7daf4.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.
- package/client-meta.min.json +121 -102
- package/client.min.js +1 -1
- package/client.min.js.map +4 -4
- package/effects/web-view-mode.d.ts +66 -0
- package/effects/web-view-mode.d.ts.map +1 -0
- package/effects/web-view-mode.js +101 -0
- package/effects/web-view-mode.test.d.ts.map +1 -0
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/package.json +8 -8
- package/effects/immersive-mode-listeners.test.d.ts.map +0 -1
- package/effects/immersive-mode.d.ts +0 -51
- package/effects/immersive-mode.d.ts.map +0 -1
- package/effects/immersive-mode.js +0 -75
- package/effects/immersive-mode.test.d.ts.map +0 -1
- package/index.test.d.ts.map +0 -1
package/client-meta.min.json
CHANGED
|
@@ -1,68 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"inputs": {
|
|
3
|
-
"../shared-types/dist/assert.js": {
|
|
4
|
-
"bytes": 89,
|
|
5
|
-
"imports": [],
|
|
6
|
-
"format": "esm"
|
|
7
|
-
},
|
|
8
|
-
"../shared-types/dist/tid.js": {
|
|
9
|
-
"bytes": 2341,
|
|
10
|
-
"imports": [
|
|
11
|
-
{
|
|
12
|
-
"path": "../shared-types/dist/assert.js",
|
|
13
|
-
"kind": "import-statement",
|
|
14
|
-
"original": "./assert.js"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"format": "esm"
|
|
18
|
-
},
|
|
19
|
-
"../shared-types/dist/webbit.js": {
|
|
20
|
-
"bytes": 38,
|
|
21
|
-
"imports": [],
|
|
22
|
-
"format": "esm"
|
|
23
|
-
},
|
|
24
|
-
"../../node_modules/jwt-decode/build/esm/index.js": {
|
|
25
|
-
"bytes": 1697,
|
|
26
|
-
"imports": [],
|
|
27
|
-
"format": "esm"
|
|
28
|
-
},
|
|
29
|
-
"../web-view-scripts/dist/init-context.js": {
|
|
30
|
-
"bytes": 2902,
|
|
31
|
-
"imports": [
|
|
32
|
-
{
|
|
33
|
-
"path": "../shared-types/dist/tid.js",
|
|
34
|
-
"kind": "import-statement",
|
|
35
|
-
"original": "@devvit/shared-types/tid.js"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"path": "../shared-types/dist/webbit.js",
|
|
39
|
-
"kind": "import-statement",
|
|
40
|
-
"original": "@devvit/shared-types/webbit.js"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"path": "../../node_modules/jwt-decode/build/esm/index.js",
|
|
44
|
-
"kind": "import-statement",
|
|
45
|
-
"original": "jwt-decode"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"format": "esm"
|
|
49
|
-
},
|
|
50
|
-
"src/clientContext.ts": {
|
|
51
|
-
"bytes": 704,
|
|
52
|
-
"imports": [
|
|
53
|
-
{
|
|
54
|
-
"path": "../web-view-scripts/dist/init-context.js",
|
|
55
|
-
"kind": "import-statement",
|
|
56
|
-
"original": "@devvit/web-view-scripts/init-context.js"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"path": "../web-view-scripts/dist/init-context.js",
|
|
60
|
-
"kind": "import-statement",
|
|
61
|
-
"original": "@devvit/web-view-scripts/init-context.js"
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"format": "esm"
|
|
65
|
-
},
|
|
66
3
|
"../../node_modules/@protobufjs/aspromise/index.js": {
|
|
67
4
|
"bytes": 1592,
|
|
68
5
|
"imports": [],
|
|
@@ -309,6 +246,74 @@
|
|
|
309
246
|
],
|
|
310
247
|
"format": "esm"
|
|
311
248
|
},
|
|
249
|
+
"../shared-types/dist/assert.js": {
|
|
250
|
+
"bytes": 89,
|
|
251
|
+
"imports": [],
|
|
252
|
+
"format": "esm"
|
|
253
|
+
},
|
|
254
|
+
"../shared-types/dist/tid.js": {
|
|
255
|
+
"bytes": 2341,
|
|
256
|
+
"imports": [
|
|
257
|
+
{
|
|
258
|
+
"path": "../shared-types/dist/assert.js",
|
|
259
|
+
"kind": "import-statement",
|
|
260
|
+
"original": "./assert.js"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"format": "esm"
|
|
264
|
+
},
|
|
265
|
+
"../shared-types/dist/webbit.js": {
|
|
266
|
+
"bytes": 38,
|
|
267
|
+
"imports": [],
|
|
268
|
+
"format": "esm"
|
|
269
|
+
},
|
|
270
|
+
"../../node_modules/jwt-decode/build/esm/index.js": {
|
|
271
|
+
"bytes": 1697,
|
|
272
|
+
"imports": [],
|
|
273
|
+
"format": "esm"
|
|
274
|
+
},
|
|
275
|
+
"../web-view-scripts/dist/init-context.js": {
|
|
276
|
+
"bytes": 3066,
|
|
277
|
+
"imports": [
|
|
278
|
+
{
|
|
279
|
+
"path": "../protos/dist/types/devvit/ui/effects/web_view/v1alpha/immersive_mode.js",
|
|
280
|
+
"kind": "import-statement",
|
|
281
|
+
"original": "@devvit/protos/types/devvit/ui/effects/web_view/v1alpha/immersive_mode.js"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"path": "../shared-types/dist/tid.js",
|
|
285
|
+
"kind": "import-statement",
|
|
286
|
+
"original": "@devvit/shared-types/tid.js"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"path": "../shared-types/dist/webbit.js",
|
|
290
|
+
"kind": "import-statement",
|
|
291
|
+
"original": "@devvit/shared-types/webbit.js"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"path": "../../node_modules/jwt-decode/build/esm/index.js",
|
|
295
|
+
"kind": "import-statement",
|
|
296
|
+
"original": "jwt-decode"
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"format": "esm"
|
|
300
|
+
},
|
|
301
|
+
"src/clientContext.ts": {
|
|
302
|
+
"bytes": 704,
|
|
303
|
+
"imports": [
|
|
304
|
+
{
|
|
305
|
+
"path": "../web-view-scripts/dist/init-context.js",
|
|
306
|
+
"kind": "import-statement",
|
|
307
|
+
"original": "@devvit/web-view-scripts/init-context.js"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"path": "../web-view-scripts/dist/init-context.js",
|
|
311
|
+
"kind": "import-statement",
|
|
312
|
+
"original": "@devvit/web-view-scripts/init-context.js"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"format": "esm"
|
|
316
|
+
},
|
|
312
317
|
"../protos/dist/types/google/protobuf/struct.js": {
|
|
313
318
|
"bytes": 14892,
|
|
314
319
|
"imports": [
|
|
@@ -4964,22 +4969,6 @@
|
|
|
4964
4969
|
],
|
|
4965
4970
|
"format": "esm"
|
|
4966
4971
|
},
|
|
4967
|
-
"src/effects/immersive-mode.ts": {
|
|
4968
|
-
"bytes": 3704,
|
|
4969
|
-
"imports": [
|
|
4970
|
-
{
|
|
4971
|
-
"path": "../protos/dist/types/devvit/ui/effects/web_view/v1alpha/immersive_mode.js",
|
|
4972
|
-
"kind": "import-statement",
|
|
4973
|
-
"original": "@devvit/protos/types/devvit/ui/effects/web_view/v1alpha/immersive_mode.js"
|
|
4974
|
-
},
|
|
4975
|
-
{
|
|
4976
|
-
"path": "../shared-types/dist/client/emit-effect.js",
|
|
4977
|
-
"kind": "import-statement",
|
|
4978
|
-
"original": "@devvit/shared-types/client/emit-effect.js"
|
|
4979
|
-
}
|
|
4980
|
-
],
|
|
4981
|
-
"format": "esm"
|
|
4982
|
-
},
|
|
4983
4972
|
"src/effects/navigate-to.ts": {
|
|
4984
4973
|
"bytes": 762,
|
|
4985
4974
|
"imports": [
|
|
@@ -5095,18 +5084,34 @@
|
|
|
5095
5084
|
],
|
|
5096
5085
|
"format": "esm"
|
|
5097
5086
|
},
|
|
5098
|
-
"
|
|
5099
|
-
"bytes":
|
|
5087
|
+
"../protos/dist/json/devvit/ui/effects/web_view/v1alpha/immersive_mode.js": {
|
|
5088
|
+
"bytes": 922,
|
|
5089
|
+
"imports": [],
|
|
5090
|
+
"format": "esm"
|
|
5091
|
+
},
|
|
5092
|
+
"src/effects/web-view-mode.ts": {
|
|
5093
|
+
"bytes": 4245,
|
|
5100
5094
|
"imports": [
|
|
5101
5095
|
{
|
|
5102
|
-
"path": "
|
|
5096
|
+
"path": "../protos/dist/json/devvit/ui/effects/web_view/v1alpha/immersive_mode.js",
|
|
5103
5097
|
"kind": "import-statement",
|
|
5104
|
-
"original": "
|
|
5098
|
+
"original": "@devvit/protos/json/devvit/ui/effects/web_view/v1alpha/immersive_mode.js"
|
|
5105
5099
|
},
|
|
5106
5100
|
{
|
|
5107
|
-
"path": "
|
|
5101
|
+
"path": "../shared-types/dist/client/emit-effect.js",
|
|
5102
|
+
"kind": "import-statement",
|
|
5103
|
+
"original": "@devvit/shared-types/client/emit-effect.js"
|
|
5104
|
+
}
|
|
5105
|
+
],
|
|
5106
|
+
"format": "esm"
|
|
5107
|
+
},
|
|
5108
|
+
"src/index.ts": {
|
|
5109
|
+
"bytes": 662,
|
|
5110
|
+
"imports": [
|
|
5111
|
+
{
|
|
5112
|
+
"path": "src/clientContext.ts",
|
|
5108
5113
|
"kind": "import-statement",
|
|
5109
|
-
"original": "./
|
|
5114
|
+
"original": "./clientContext.js"
|
|
5110
5115
|
},
|
|
5111
5116
|
{
|
|
5112
5117
|
"path": "src/effects/navigate-to.ts",
|
|
@@ -5132,6 +5137,16 @@
|
|
|
5132
5137
|
"path": "src/effects/show-toast.ts",
|
|
5133
5138
|
"kind": "import-statement",
|
|
5134
5139
|
"original": "./effects/show-toast.js"
|
|
5140
|
+
},
|
|
5141
|
+
{
|
|
5142
|
+
"path": "src/effects/web-view-mode.ts",
|
|
5143
|
+
"kind": "import-statement",
|
|
5144
|
+
"original": "./effects/web-view-mode.js"
|
|
5145
|
+
},
|
|
5146
|
+
{
|
|
5147
|
+
"path": "src/effects/web-view-mode.ts",
|
|
5148
|
+
"kind": "import-statement",
|
|
5149
|
+
"original": "./effects/web-view-mode.js"
|
|
5135
5150
|
}
|
|
5136
5151
|
],
|
|
5137
5152
|
"format": "esm"
|
|
@@ -5142,19 +5157,20 @@
|
|
|
5142
5157
|
"imports": [],
|
|
5143
5158
|
"exports": [],
|
|
5144
5159
|
"inputs": {},
|
|
5145
|
-
"bytes":
|
|
5160
|
+
"bytes": 477692
|
|
5146
5161
|
},
|
|
5147
5162
|
"dist/client.min.js": {
|
|
5148
5163
|
"imports": [],
|
|
5149
5164
|
"exports": [
|
|
5150
|
-
"
|
|
5165
|
+
"addWebViewModeListener",
|
|
5151
5166
|
"canRunAsUser",
|
|
5152
5167
|
"context",
|
|
5153
|
-
"
|
|
5168
|
+
"exitExpandedMode",
|
|
5154
5169
|
"getShareData",
|
|
5170
|
+
"getWebViewMode",
|
|
5155
5171
|
"navigateTo",
|
|
5156
|
-
"
|
|
5157
|
-
"
|
|
5172
|
+
"removeWebViewModeListener",
|
|
5173
|
+
"requestExpandedMode",
|
|
5158
5174
|
"showForm",
|
|
5159
5175
|
"showShareSheet",
|
|
5160
5176
|
"showToast"
|
|
@@ -5215,6 +5231,12 @@
|
|
|
5215
5231
|
"../../node_modules/protobufjs/minimal.js": {
|
|
5216
5232
|
"bytesInOutput": 49
|
|
5217
5233
|
},
|
|
5234
|
+
"../protos/dist/types/devvit/ui/effects/web_view/v1alpha/immersive_mode.js": {
|
|
5235
|
+
"bytesInOutput": 1391
|
|
5236
|
+
},
|
|
5237
|
+
"../protos/dist/types/typeRegistry.js": {
|
|
5238
|
+
"bytesInOutput": 14
|
|
5239
|
+
},
|
|
5218
5240
|
"../shared-types/dist/assert.js": {
|
|
5219
5241
|
"bytesInOutput": 38
|
|
5220
5242
|
},
|
|
@@ -5228,19 +5250,13 @@
|
|
|
5228
5250
|
"bytesInOutput": 936
|
|
5229
5251
|
},
|
|
5230
5252
|
"../web-view-scripts/dist/init-context.js": {
|
|
5231
|
-
"bytesInOutput":
|
|
5253
|
+
"bytesInOutput": 937
|
|
5232
5254
|
},
|
|
5233
5255
|
"src/clientContext.ts": {
|
|
5234
5256
|
"bytesInOutput": 224
|
|
5235
5257
|
},
|
|
5236
5258
|
"src/index.ts": {
|
|
5237
|
-
"bytesInOutput":
|
|
5238
|
-
},
|
|
5239
|
-
"../protos/dist/types/devvit/ui/effects/web_view/v1alpha/immersive_mode.js": {
|
|
5240
|
-
"bytesInOutput": 1391
|
|
5241
|
-
},
|
|
5242
|
-
"../protos/dist/types/typeRegistry.js": {
|
|
5243
|
-
"bytesInOutput": 14
|
|
5259
|
+
"bytesInOutput": 5
|
|
5244
5260
|
},
|
|
5245
5261
|
"../protos/dist/types/devvit/ui/events/v1alpha/web_view.js": {
|
|
5246
5262
|
"bytesInOutput": 8869
|
|
@@ -5287,9 +5303,6 @@
|
|
|
5287
5303
|
"../shared-types/dist/client/emit-effect.js": {
|
|
5288
5304
|
"bytesInOutput": 637
|
|
5289
5305
|
},
|
|
5290
|
-
"src/effects/immersive-mode.ts": {
|
|
5291
|
-
"bytesInOutput": 571
|
|
5292
|
-
},
|
|
5293
5306
|
"src/effects/navigate-to.ts": {
|
|
5294
5307
|
"bytesInOutput": 171
|
|
5295
5308
|
},
|
|
@@ -5319,9 +5332,15 @@
|
|
|
5319
5332
|
},
|
|
5320
5333
|
"src/effects/show-toast.ts": {
|
|
5321
5334
|
"bytesInOutput": 140
|
|
5335
|
+
},
|
|
5336
|
+
"../protos/dist/json/devvit/ui/effects/web_view/v1alpha/immersive_mode.js": {
|
|
5337
|
+
"bytesInOutput": 176
|
|
5338
|
+
},
|
|
5339
|
+
"src/effects/web-view-mode.ts": {
|
|
5340
|
+
"bytesInOutput": 904
|
|
5322
5341
|
}
|
|
5323
5342
|
},
|
|
5324
|
-
"bytes":
|
|
5343
|
+
"bytes": 107459
|
|
5325
5344
|
}
|
|
5326
5345
|
}
|
|
5327
5346
|
}
|