@moloodev/editor-store 0.4.0 → 0.6.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/package.json +3 -3
- package/src/upload.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moloodev/editor-store",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./src/index.ts",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@vercel/blob": "^2.8.0",
|
|
14
14
|
"zod": "^4.5.4",
|
|
15
|
-
"@moloodev/platform": "0.
|
|
15
|
+
"@moloodev/platform": "0.6.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^24.13.3",
|
|
19
19
|
"tsx": "^4.23.13",
|
|
20
20
|
"typescript": "^7.0.2",
|
|
21
|
-
"@moloodev/typescript-config": "0.
|
|
21
|
+
"@moloodev/typescript-config": "0.6.0"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|
package/src/upload.ts
CHANGED
|
@@ -51,7 +51,7 @@ type ScriptUploadToken = {
|
|
|
51
51
|
validUntil: number;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
// Shared private intake.
|
|
54
|
+
// Shared private intake. Immediate publication and reviewed submissions both
|
|
55
55
|
// check the bytes at this pathname before they write a revision.
|
|
56
56
|
export function uploadPath(id: string): string {
|
|
57
57
|
if (!isDnsId(id)) throw new Error("invalid id");
|