@dimah-s3/server 1.5.9 → 1.5.11

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/dist/put.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { ConfirmedObjectResponse, S3RouteName } from "@dimah-s3/core";
2
- import type { ResolvedDimahS3Config } from "./types/index.d.ts";
2
+ import type { ResolvedDimahS3Config } from "./types/index.js";
3
3
  export type PutObjectInput = {
4
4
  route: S3RouteName;
5
5
  fileName: string;
package/dist/route.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { DimahS3RouteConfig } from "./types/config.d.ts";
1
+ import type { DimahS3RouteConfig } from "./types/config.js";
2
2
  /**
3
3
  * Identity helper so route configs infer as a distinct policy object.
4
4
  *
@@ -1,7 +1,7 @@
1
1
  import type { S3Client } from "@aws-sdk/client-s3";
2
2
  import type { S3ObjectAcl, UploadPresignMethod } from "@dimah-s3/core";
3
3
  import type { DeleteGuardContext, DeleteOnDeletedContext, DownloadGuardContext, DownloadOnPresignedContext, DownloadResolveInfo, GuardContext, MultipartGuardContext, MultipartOnAbortContext, MultipartOnInitContext, MultipartOnListContext, RouteGuardContext, UploadConfirmGuardContext, UploadGuardContext, UploadObjectContext, UploadObjectInfo, UploadOnConfirmedContext, UploadOnPresignedContext } from "./hook-contexts";
4
- import type { DimahS3Plugin } from "../plugin/types.d.ts";
4
+ import type { DimahS3Plugin } from "../plugin/types.js";
5
5
  export type { UploadObjectContext, UploadObjectInfo, DownloadResolveInfo };
6
6
  /** The three nested features on a named route. */
7
7
  export declare const ROUTE_FEATURES: readonly ["upload", "download", "delete"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimah-s3/server",
3
- "version": "1.5.9",
3
+ "version": "1.5.11",
4
4
  "description": "Presigned S3 server — dimahS3() with HTTP handler and direct api for upload, download, delete, and multipart",
5
5
  "keywords": [
6
6
  "s3",
@@ -84,24 +84,24 @@
84
84
  "dist"
85
85
  ],
86
86
  "dependencies": {
87
- "@aws-sdk/s3-presigned-post": "^3.1134.0",
88
- "@aws-sdk/s3-request-presigner": "^3.1134.0",
89
- "@dimah-s3/core": "1.5.9",
90
- "better-call": "1.4.0",
87
+ "@aws-sdk/s3-presigned-post": "^3.1149.0",
88
+ "@aws-sdk/s3-request-presigner": "^3.1149.0",
89
+ "@dimah-s3/core": "1.5.11",
90
+ "better-call": "1.4.2",
91
91
  "zod": "^4.6.5"
92
92
  },
93
93
  "devDependencies": {
94
- "@aws-sdk/client-s3": "^3.1134.0",
95
- "@types/node": "^26.6.1",
94
+ "@aws-sdk/client-s3": "^3.1149.0",
95
+ "@types/node": "^26.6.5",
96
96
  "@workspace/eslint-config": "0.0.1",
97
97
  "@workspace/tsup-config": "0.0.0",
98
98
  "@workspace/typescript-config": "0.0.1",
99
99
  "@workspace/vitest-config": "0.0.7",
100
- "eslint": "^10.10.0",
101
- "tsc-alias": "^1.9.5",
100
+ "eslint": "^10.12.0",
101
+ "tsc-alias": "^1.9.7",
102
102
  "tsup": "^8.5.1",
103
103
  "typescript": "7.0.2",
104
- "vitest": "^5.0.1"
104
+ "vitest": "^5.0.3"
105
105
  },
106
106
  "peerDependencies": {
107
107
  "@aws-sdk/client-s3": ">=3"