@distilled.cloud/cloudflare 0.7.3 → 0.7.4

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",
3
+ "version": "0.7.4",
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.3",
66
+ "@distilled.cloud/core": "0.7.4",
67
67
  "effect": "4.0.0-beta.38"
68
68
  },
69
69
  "devDependencies": {
@@ -6893,6 +6893,7 @@ export interface PutScriptRequest {
6893
6893
  | { service: string; environment?: string; namespace?: string }[]
6894
6894
  | null;
6895
6895
  usageModel?: "standard" | "bundled" | "unbound";
6896
+ containers?: { className: string }[];
6896
6897
  };
6897
6898
  /** Body param: An array of modules (often JavaScript files) comprising a Worker script. At least one module must be present and referenced in the metadata as `main_module` or `body_part` by filename.<br/ */
6898
6899
  files?: (File | Blob)[];
@@ -7373,6 +7374,13 @@ export const PutScriptRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7373
7374
  usageModel: Schema.optional(
7374
7375
  Schema.Literals(["standard", "bundled", "unbound"]),
7375
7376
  ),
7377
+ containers: Schema.optional(
7378
+ Schema.Array(
7379
+ Schema.Struct({
7380
+ className: Schema.String,
7381
+ }).pipe(Schema.encodeKeys({ className: "class_name" })),
7382
+ ),
7383
+ ),
7376
7384
  }).pipe(
7377
7385
  Schema.encodeKeys({
7378
7386
  assets: "assets",
@@ -7391,6 +7399,7 @@ export const PutScriptRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7391
7399
  tags: "tags",
7392
7400
  tailConsumers: "tail_consumers",
7393
7401
  usageModel: "usage_model",
7402
+ containers: "containers",
7394
7403
  }),
7395
7404
  ),
7396
7405
  files: Schema.optional(