create-substrat 0.17.2 → 0.18.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 +1 -1
- package/project-files.js +5 -5
- package/template/src/worker.ts +6 -0
package/package.json
CHANGED
package/project-files.js
CHANGED
|
@@ -30,12 +30,12 @@ import { DEV_SERVERS } from './dev-servers.js';
|
|
|
30
30
|
// The runtime packages release together off one version line (the changesets `fixed`
|
|
31
31
|
// group), so one constant is right for all of them. Engines do NOT share a line —
|
|
32
32
|
// each versions on its own, so one pin per engine, deliberately.
|
|
33
|
-
const SUBSTRAT = '^0.
|
|
34
|
-
const ENGINE_WORKORDER = '^0.13.
|
|
35
|
-
const ENGINE_INVOICING = '^0.11.
|
|
33
|
+
const SUBSTRAT = '^0.197.0';
|
|
34
|
+
const ENGINE_WORKORDER = '^0.13.22';
|
|
35
|
+
const ENGINE_INVOICING = '^0.11.81';
|
|
36
36
|
const BOUNDARY_LINT = '^0.9.1';
|
|
37
|
-
const DEV_ISSUER = '^0.8.
|
|
38
|
-
const ATTACHMENT_EXTRACTORS = '^0.2.
|
|
37
|
+
const DEV_ISSUER = '^0.8.1';
|
|
38
|
+
const ATTACHMENT_EXTRACTORS = '^0.2.58';
|
|
39
39
|
|
|
40
40
|
export const TSCONFIG = `${JSON.stringify(
|
|
41
41
|
{
|
package/template/src/worker.ts
CHANGED
|
@@ -167,6 +167,12 @@ const door = workerDoor<Env>({
|
|
|
167
167
|
// The sample world (src/world.ts) a seeded preview of this app holds: its people sign in by
|
|
168
168
|
// picking a persona, as they do locally. Seated only in a clean-room preview, never an install.
|
|
169
169
|
world: WORLD,
|
|
170
|
+
// Files on customers and bikes (manifest.ts `attachmentTargets`), served and removed by the door
|
|
171
|
+
// as the signed-in person: GET and DELETE /api/attachments/:attachmentId. A GET streams the file
|
|
172
|
+
// and answers byte ranges, so an <audio> or <video> element can play and seek it. A route of your
|
|
173
|
+
// own reaches the same files through `door.attachments(c)`. The door also reads a download link
|
|
174
|
+
// an operation mints (`ctx.attachments.mintDownloadUrl`), for a caller with no session.
|
|
175
|
+
attachments: true,
|
|
170
176
|
});
|
|
171
177
|
|
|
172
178
|
/** The caller's scope stub. 401 if nobody. */
|