@podosoft/podokit 1.1.4 → 1.1.5

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.
@@ -27,9 +27,13 @@ test("object storage: put, get, and presign @smoke", async ({ playwright }) => {
27
27
  expect(presigned.ok()).toBeTruthy();
28
28
  const pre = await presigned.json() as { url: string };
29
29
  expect(new URL(pre.url).pathname).toContain(key);
30
- const download = await ctx.get(pre.url);
31
- expect(download.ok()).toBeTruthy();
32
- expect(await download.text()).toBe("hello world");
30
+ // The URL is signed for the API's S3 endpoint. A containerized dev stack signs an
31
+ // in-network host, so download it only when the runner was given that endpoint too.
32
+ if (process.env.S3_ENDPOINT) {
33
+ const download = await ctx.get(pre.url);
34
+ expect(download.ok()).toBeTruthy();
35
+ expect(await download.text()).toBe("hello world");
36
+ }
33
37
  } finally {
34
38
  await ctx.dispose();
35
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podosoft/podokit",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "An opinionated Bun and Elysia full-stack TypeScript starter toolkit and CLI with SvelteKit, TailwindCSS, shadcn-svelte, Docker, and k3s.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {