@distilled.cloud/cloudflare 0.7.6 → 0.7.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/cloudflare",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"specs:update": "git -C specs/cloudflare-typescript fetch && git -C specs/cloudflare-typescript checkout main && git -C specs/cloudflare-typescript pull"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@distilled.cloud/core": "0.7.
|
|
66
|
+
"@distilled.cloud/core": "0.7.7",
|
|
67
67
|
"effect": "4.0.0-beta.38"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
package/src/services/workers.ts
CHANGED
|
@@ -6842,6 +6842,7 @@ export interface PutScriptRequest {
|
|
|
6842
6842
|
scriptName?: string;
|
|
6843
6843
|
}
|
|
6844
6844
|
| { name: string; part: string; type: "wasm_module" }
|
|
6845
|
+
| { name: string; type: "worker_loader" }
|
|
6845
6846
|
)[];
|
|
6846
6847
|
bodyPart?: string;
|
|
6847
6848
|
compatibilityDate?: string;
|
|
@@ -7205,6 +7206,10 @@ export const PutScriptRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7205
7206
|
part: Schema.String,
|
|
7206
7207
|
type: Schema.Literal("wasm_module"),
|
|
7207
7208
|
}),
|
|
7209
|
+
Schema.Struct({
|
|
7210
|
+
name: Schema.String,
|
|
7211
|
+
type: Schema.Literal("worker_loader"),
|
|
7212
|
+
}),
|
|
7208
7213
|
]),
|
|
7209
7214
|
),
|
|
7210
7215
|
),
|
|
@@ -7772,6 +7777,7 @@ export const PutScriptResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7772
7777
|
export type PutScriptError =
|
|
7773
7778
|
| DefaultErrors
|
|
7774
7779
|
| InvalidRoute
|
|
7780
|
+
| InvalidWorkerScript
|
|
7775
7781
|
| DurableObjectMustBeSqlite;
|
|
7776
7782
|
|
|
7777
7783
|
export const putScript: API.OperationMethod<
|
|
@@ -7782,7 +7788,7 @@ export const putScript: API.OperationMethod<
|
|
|
7782
7788
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7783
7789
|
input: PutScriptRequest,
|
|
7784
7790
|
output: PutScriptResponse,
|
|
7785
|
-
errors: [InvalidRoute, DurableObjectMustBeSqlite],
|
|
7791
|
+
errors: [InvalidRoute, InvalidWorkerScript, DurableObjectMustBeSqlite],
|
|
7786
7792
|
}));
|
|
7787
7793
|
|
|
7788
7794
|
export interface DeleteScriptRequest {
|