@devvit/public-api 0.11.16-next-2025-05-23-d1e4bdc1f.0 → 0.11.16-next-2025-05-27-582080d5b.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/apis/ui/UIClient.js +1 -1
- package/devvit/internals/blocks/handler/UIClient.js +1 -1
- package/meta.json +5 -5
- package/meta.min.json +6 -6
- package/package.json +7 -7
- package/public-api.iife.js +3 -3
- package/public-api.min.js +2 -2
- package/public-api.min.js.map +2 -2
package/apis/ui/UIClient.js
CHANGED
|
@@ -101,7 +101,7 @@ export class UIClient {
|
|
|
101
101
|
url = new URL(thingOrUrl).toString();
|
|
102
102
|
}
|
|
103
103
|
else {
|
|
104
|
-
url = new URL(thingOrUrl.
|
|
104
|
+
url = new URL(thingOrUrl.url).toString();
|
|
105
105
|
}
|
|
106
106
|
__classPrivateFieldGet(this, _UIClient_effects, "f").push({
|
|
107
107
|
type: EffectType.EFFECT_NAVIGATE_TO_URL,
|
|
@@ -106,7 +106,7 @@ export class UIClient {
|
|
|
106
106
|
url = new URL(thingOrUrl).toString();
|
|
107
107
|
}
|
|
108
108
|
else {
|
|
109
|
-
url = new URL(thingOrUrl.
|
|
109
|
+
url = new URL(thingOrUrl.url).toString();
|
|
110
110
|
}
|
|
111
111
|
__classPrivateFieldGet(this, _UIClient_renderContext, "f").emitEffect(url, {
|
|
112
112
|
type: EffectType.EFFECT_NAVIGATE_TO_URL,
|
package/meta.json
CHANGED
|
@@ -7723,7 +7723,7 @@
|
|
|
7723
7723
|
"format": "esm"
|
|
7724
7724
|
},
|
|
7725
7725
|
"src/apis/ui/UIClient.ts": {
|
|
7726
|
-
"bytes":
|
|
7726
|
+
"bytes": 4087,
|
|
7727
7727
|
"imports": [
|
|
7728
7728
|
{
|
|
7729
7729
|
"path": "../protos/dist/index.js",
|
|
@@ -8458,7 +8458,7 @@
|
|
|
8458
8458
|
"format": "esm"
|
|
8459
8459
|
},
|
|
8460
8460
|
"src/devvit/internals/blocks/handler/UIClient.ts": {
|
|
8461
|
-
"bytes":
|
|
8461
|
+
"bytes": 4542,
|
|
8462
8462
|
"imports": [
|
|
8463
8463
|
{
|
|
8464
8464
|
"path": "../protos/dist/index.js",
|
|
@@ -10203,7 +10203,7 @@
|
|
|
10203
10203
|
"bytesInOutput": 2681
|
|
10204
10204
|
},
|
|
10205
10205
|
"src/apis/ui/UIClient.ts": {
|
|
10206
|
-
"bytesInOutput":
|
|
10206
|
+
"bytesInOutput": 3213
|
|
10207
10207
|
},
|
|
10208
10208
|
"src/apis/makeAPIClients.ts": {
|
|
10209
10209
|
"bytesInOutput": 1973
|
|
@@ -10293,7 +10293,7 @@
|
|
|
10293
10293
|
"bytesInOutput": 830
|
|
10294
10294
|
},
|
|
10295
10295
|
"src/devvit/internals/blocks/handler/UIClient.ts": {
|
|
10296
|
-
"bytesInOutput":
|
|
10296
|
+
"bytesInOutput": 3436
|
|
10297
10297
|
},
|
|
10298
10298
|
"src/devvit/internals/blocks/handler/useChannel.ts": {
|
|
10299
10299
|
"bytesInOutput": 5148
|
|
@@ -10410,7 +10410,7 @@
|
|
|
10410
10410
|
"bytesInOutput": 4418
|
|
10411
10411
|
}
|
|
10412
10412
|
},
|
|
10413
|
-
"bytes":
|
|
10413
|
+
"bytes": 12557910
|
|
10414
10414
|
}
|
|
10415
10415
|
}
|
|
10416
10416
|
}
|
package/meta.min.json
CHANGED
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
"format": "esm"
|
|
528
528
|
},
|
|
529
529
|
"src/apis/ui/UIClient.ts": {
|
|
530
|
-
"bytes":
|
|
530
|
+
"bytes": 4087,
|
|
531
531
|
"imports": [
|
|
532
532
|
{
|
|
533
533
|
"path": "@devvit/protos",
|
|
@@ -1262,7 +1262,7 @@
|
|
|
1262
1262
|
"format": "esm"
|
|
1263
1263
|
},
|
|
1264
1264
|
"src/devvit/internals/blocks/handler/UIClient.ts": {
|
|
1265
|
-
"bytes":
|
|
1265
|
+
"bytes": 4542,
|
|
1266
1266
|
"imports": [
|
|
1267
1267
|
{
|
|
1268
1268
|
"path": "@devvit/protos",
|
|
@@ -2546,7 +2546,7 @@
|
|
|
2546
2546
|
"imports": [],
|
|
2547
2547
|
"exports": [],
|
|
2548
2548
|
"inputs": {},
|
|
2549
|
-
"bytes":
|
|
2549
|
+
"bytes": 1078614
|
|
2550
2550
|
},
|
|
2551
2551
|
"dist/public-api.min.js": {
|
|
2552
2552
|
"imports": [
|
|
@@ -2904,7 +2904,7 @@
|
|
|
2904
2904
|
"bytesInOutput": 1247
|
|
2905
2905
|
},
|
|
2906
2906
|
"src/apis/ui/UIClient.ts": {
|
|
2907
|
-
"bytesInOutput":
|
|
2907
|
+
"bytesInOutput": 1342
|
|
2908
2908
|
},
|
|
2909
2909
|
"src/apis/makeAPIClients.ts": {
|
|
2910
2910
|
"bytesInOutput": 848
|
|
@@ -2988,7 +2988,7 @@
|
|
|
2988
2988
|
"bytesInOutput": 65
|
|
2989
2989
|
},
|
|
2990
2990
|
"src/devvit/internals/blocks/handler/UIClient.ts": {
|
|
2991
|
-
"bytesInOutput":
|
|
2991
|
+
"bytesInOutput": 1286
|
|
2992
2992
|
},
|
|
2993
2993
|
"../shared-types/dist/useForm.js": {
|
|
2994
2994
|
"bytesInOutput": 74
|
|
@@ -3102,7 +3102,7 @@
|
|
|
3102
3102
|
"bytesInOutput": 107
|
|
3103
3103
|
}
|
|
3104
3104
|
},
|
|
3105
|
-
"bytes":
|
|
3105
|
+
"bytes": 222187
|
|
3106
3106
|
}
|
|
3107
3107
|
}
|
|
3108
3108
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/public-api",
|
|
3
|
-
"version": "0.11.16-next-2025-05-
|
|
3
|
+
"version": "0.11.16-next-2025-05-27-582080d5b.0",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
},
|
|
31
31
|
"types": "./index.d.ts",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@devvit/metrics": "0.11.16-next-2025-05-
|
|
34
|
-
"@devvit/protos": "0.11.16-next-2025-05-
|
|
35
|
-
"@devvit/shared-types": "0.11.16-next-2025-05-
|
|
33
|
+
"@devvit/metrics": "0.11.16-next-2025-05-27-582080d5b.0",
|
|
34
|
+
"@devvit/protos": "0.11.16-next-2025-05-27-582080d5b.0",
|
|
35
|
+
"@devvit/shared-types": "0.11.16-next-2025-05-27-582080d5b.0",
|
|
36
36
|
"base64-js": "1.5.1",
|
|
37
37
|
"clone-deep": "4.0.1",
|
|
38
38
|
"moderndash": "4.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@ampproject/filesize": "4.3.0",
|
|
42
|
-
"@devvit/repo-tools": "0.11.16-next-2025-05-
|
|
43
|
-
"@devvit/tsconfig": "0.11.16-next-2025-05-
|
|
42
|
+
"@devvit/repo-tools": "0.11.16-next-2025-05-27-582080d5b.0",
|
|
43
|
+
"@devvit/tsconfig": "0.11.16-next-2025-05-27-582080d5b.0",
|
|
44
44
|
"@microsoft/api-extractor": "7.41.0",
|
|
45
45
|
"@reddit/faceplate-ui": "18.0.1",
|
|
46
46
|
"@types/clone-deep": "4.0.1",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"source": "./src/index.ts",
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "3cdcec13abfda5924946e32819b0738d41205b8d"
|
|
65
65
|
}
|