@devvit/public-api 0.11.7-next-2025-02-10-fe279479a.0 → 0.11.7
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/AssetsClient/AssetsClient.js +2 -2
- package/meta.json +5 -5
- package/meta.min.json +6 -6
- package/package.json +7 -7
- package/public-api.iife.js +4 -4
- package/public-api.min.js +1 -1
- package/public-api.min.js.map +2 -2
- package/version.json +1 -1
|
@@ -48,7 +48,7 @@ _AssetsClient_assetMap = new WeakMap(), _AssetsClient_webViewAssetMap = new Weak
|
|
|
48
48
|
try {
|
|
49
49
|
assertValidUrl(assetPath);
|
|
50
50
|
// URL is valid
|
|
51
|
-
return assetPath;
|
|
51
|
+
return encodeURI(assetPath);
|
|
52
52
|
}
|
|
53
53
|
catch {
|
|
54
54
|
// Not a fully qualified URL, not an asset, return an empty string
|
|
@@ -68,7 +68,7 @@ _AssetsClient_assetMap = new WeakMap(), _AssetsClient_webViewAssetMap = new Weak
|
|
|
68
68
|
else {
|
|
69
69
|
try {
|
|
70
70
|
assertValidUrl(path);
|
|
71
|
-
retval[path] = path;
|
|
71
|
+
retval[path] = encodeURI(path);
|
|
72
72
|
}
|
|
73
73
|
catch {
|
|
74
74
|
// invalid URL, missing from cache
|
package/meta.json
CHANGED
|
@@ -7477,7 +7477,7 @@
|
|
|
7477
7477
|
"format": "esm"
|
|
7478
7478
|
},
|
|
7479
7479
|
"src/apis/AssetsClient/AssetsClient.ts": {
|
|
7480
|
-
"bytes":
|
|
7480
|
+
"bytes": 3780,
|
|
7481
7481
|
"imports": [
|
|
7482
7482
|
{
|
|
7483
7483
|
"path": "src/devvit/Devvit.ts",
|
|
@@ -7763,7 +7763,7 @@
|
|
|
7763
7763
|
"format": "esm"
|
|
7764
7764
|
},
|
|
7765
7765
|
"package.json": {
|
|
7766
|
-
"bytes":
|
|
7766
|
+
"bytes": 2694,
|
|
7767
7767
|
"imports": [],
|
|
7768
7768
|
"format": "esm",
|
|
7769
7769
|
"with": {
|
|
@@ -10050,7 +10050,7 @@
|
|
|
10050
10050
|
"bytesInOutput": 146
|
|
10051
10051
|
},
|
|
10052
10052
|
"src/apis/AssetsClient/AssetsClient.ts": {
|
|
10053
|
-
"bytesInOutput":
|
|
10053
|
+
"bytesInOutput": 2490
|
|
10054
10054
|
},
|
|
10055
10055
|
"src/apis/key-value-storage/KeyValueStorage.ts": {
|
|
10056
10056
|
"bytesInOutput": 951
|
|
@@ -10083,7 +10083,7 @@
|
|
|
10083
10083
|
"bytesInOutput": 1973
|
|
10084
10084
|
},
|
|
10085
10085
|
"package.json": {
|
|
10086
|
-
"bytesInOutput":
|
|
10086
|
+
"bytesInOutput": 2795
|
|
10087
10087
|
},
|
|
10088
10088
|
"src/devvit/internals/context.ts": {
|
|
10089
10089
|
"bytesInOutput": 2029
|
|
@@ -10278,7 +10278,7 @@
|
|
|
10278
10278
|
"bytesInOutput": 2975
|
|
10279
10279
|
}
|
|
10280
10280
|
},
|
|
10281
|
-
"bytes":
|
|
10281
|
+
"bytes": 12296555
|
|
10282
10282
|
}
|
|
10283
10283
|
}
|
|
10284
10284
|
}
|
package/meta.min.json
CHANGED
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"format": "esm"
|
|
333
333
|
},
|
|
334
334
|
"src/apis/AssetsClient/AssetsClient.ts": {
|
|
335
|
-
"bytes":
|
|
335
|
+
"bytes": 3780,
|
|
336
336
|
"imports": [
|
|
337
337
|
{
|
|
338
338
|
"path": "src/devvit/Devvit.ts",
|
|
@@ -618,7 +618,7 @@
|
|
|
618
618
|
"format": "esm"
|
|
619
619
|
},
|
|
620
620
|
"package.json": {
|
|
621
|
-
"bytes":
|
|
621
|
+
"bytes": 2694,
|
|
622
622
|
"imports": [],
|
|
623
623
|
"format": "esm",
|
|
624
624
|
"with": {
|
|
@@ -2480,7 +2480,7 @@
|
|
|
2480
2480
|
"imports": [],
|
|
2481
2481
|
"exports": [],
|
|
2482
2482
|
"inputs": {},
|
|
2483
|
-
"bytes":
|
|
2483
|
+
"bytes": 1037137
|
|
2484
2484
|
},
|
|
2485
2485
|
"dist/public-api.min.js": {
|
|
2486
2486
|
"imports": [
|
|
@@ -2783,7 +2783,7 @@
|
|
|
2783
2783
|
"bytesInOutput": 65
|
|
2784
2784
|
},
|
|
2785
2785
|
"src/apis/AssetsClient/AssetsClient.ts": {
|
|
2786
|
-
"bytesInOutput":
|
|
2786
|
+
"bytesInOutput": 747
|
|
2787
2787
|
},
|
|
2788
2788
|
"src/apis/key-value-storage/KeyValueStorage.ts": {
|
|
2789
2789
|
"bytesInOutput": 449
|
|
@@ -2816,7 +2816,7 @@
|
|
|
2816
2816
|
"bytesInOutput": 848
|
|
2817
2817
|
},
|
|
2818
2818
|
"package.json": {
|
|
2819
|
-
"bytesInOutput":
|
|
2819
|
+
"bytesInOutput": 2274
|
|
2820
2820
|
},
|
|
2821
2821
|
"src/devvit/internals/context.ts": {
|
|
2822
2822
|
"bytesInOutput": 1087
|
|
@@ -3005,7 +3005,7 @@
|
|
|
3005
3005
|
"bytesInOutput": 1267
|
|
3006
3006
|
}
|
|
3007
3007
|
},
|
|
3008
|
-
"bytes":
|
|
3008
|
+
"bytes": 215131
|
|
3009
3009
|
}
|
|
3010
3010
|
}
|
|
3011
3011
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/public-api",
|
|
3
|
-
"version": "0.11.7
|
|
3
|
+
"version": "0.11.7",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"clean": "rm -rf .turbo api-extractor coverage dist src/devvit/internals/semanticColors.ts src/types/icons.ts || :",
|
|
19
19
|
"clobber": "yarn clean && rm -rf node_modules",
|
|
20
20
|
"dev": "tsc -w",
|
|
21
|
-
"dev:build": "chokidar ./src
|
|
21
|
+
"dev:build": "chokidar ./src --command 'yarn build' --ignore './src/types/icons.ts' --ignore './src/devvit/internals/semanticColors.ts'",
|
|
22
22
|
"lint": "redlint .",
|
|
23
23
|
"lint:fix": "yarn lint --fix",
|
|
24
24
|
"prepublishOnly": "publish-package-json",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
},
|
|
31
31
|
"types": "./index.d.ts",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@devvit/protos": "0.11.7
|
|
34
|
-
"@devvit/shared-types": "0.11.7
|
|
33
|
+
"@devvit/protos": "0.11.7",
|
|
34
|
+
"@devvit/shared-types": "0.11.7",
|
|
35
35
|
"base64-js": "1.5.1",
|
|
36
36
|
"clone-deep": "4.0.1",
|
|
37
37
|
"moderndash": "4.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@ampproject/filesize": "4.3.0",
|
|
41
|
-
"@devvit/repo-tools": "0.11.7
|
|
42
|
-
"@devvit/tsconfig": "0.11.7
|
|
41
|
+
"@devvit/repo-tools": "0.11.7",
|
|
42
|
+
"@devvit/tsconfig": "0.11.7",
|
|
43
43
|
"@microsoft/api-extractor": "7.41.0",
|
|
44
44
|
"@reddit/faceplate-ui": "18.0.1",
|
|
45
45
|
"@types/clone-deep": "4.0.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"source": "./src/index.ts",
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "f0cc99e2032bd0206c09f25937880e92daf0300c"
|
|
64
64
|
}
|