@dimah-s3/server 2.0.0-beta.2 → 2.0.0-beta.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/README.md +5 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @dimah-s3/server
|
|
2
2
|
|
|
3
|
-
**2.0 beta.** Install with `@beta`. `@latest` stays on 1.x, and betas can include breaking changes until 2.0.0.
|
|
3
|
+
**2.0 beta.** Install with `@beta`. `@latest` stays on 1.x ([v1.s3.dimah.dev](https://v1.s3.dimah.dev/docs)), and betas can include breaking changes until 2.0.0.
|
|
4
4
|
|
|
5
5
|
Presigned S3 upload, download, and delete handlers with route policies,
|
|
6
6
|
guards, and lifecycle hooks. One instance gives you an HTTP `handler`, an
|
|
7
7
|
in-process `api`, and `put` for server-side uploads.
|
|
8
8
|
|
|
9
|
-
Full documentation: [
|
|
10
|
-
[llms.txt](https://
|
|
9
|
+
Full documentation: [s3.dimah.dev/docs/server](https://s3.dimah.dev/docs/server) ·
|
|
10
|
+
[llms.txt](https://s3.dimah.dev/llms.txt)
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
@@ -64,7 +64,7 @@ export const { GET, POST, PUT, PATCH, DELETE } = toNextJsHandler(s3);
|
|
|
64
64
|
// Any Fetch runtime: s3.handler(request)
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
See [Server Setup](https://
|
|
67
|
+
See [Server Setup](https://s3.dimah.dev/docs/server/setup) for every adapter.
|
|
68
68
|
|
|
69
69
|
## Guards and hooks
|
|
70
70
|
|
|
@@ -109,7 +109,7 @@ Optional persistence: add `db()` from [`@dimah-s3/db`](../db) to `plugins`.
|
|
|
109
109
|
|
|
110
110
|
## Upgrading from 1.7
|
|
111
111
|
|
|
112
|
-
See [Upgrade to 2.0 beta](https://
|
|
112
|
+
See [Upgrade to 2.0 beta](https://s3.dimah.dev/docs/migration-2-0).
|
|
113
113
|
|
|
114
114
|
## License
|
|
115
115
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimah-s3/server",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.4",
|
|
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",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sveltekit",
|
|
26
26
|
"typescript"
|
|
27
27
|
],
|
|
28
|
-
"homepage": "https://
|
|
28
|
+
"homepage": "https://s3.dimah.dev/docs/server",
|
|
29
29
|
"bugs": {
|
|
30
30
|
"url": "https://github.com/dimah-kz/dimah-s3/issues"
|
|
31
31
|
},
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"dependencies": {
|
|
83
83
|
"@aws-sdk/s3-presigned-post": "^3.1161.0",
|
|
84
84
|
"@aws-sdk/s3-request-presigner": "^3.1161.0",
|
|
85
|
-
"@dimah-s3/core": "2.0.0-beta.
|
|
85
|
+
"@dimah-s3/core": "2.0.0-beta.4",
|
|
86
86
|
"better-call": "1.4.4",
|
|
87
87
|
"zod": "^4.6.7"
|
|
88
88
|
},
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"tsc-alias": "^1.9.10",
|
|
98
98
|
"tsup": "^9.0.0",
|
|
99
99
|
"typescript": "7.0.2",
|
|
100
|
-
"vitest": "^5.0
|
|
100
|
+
"vitest": "^5.1.0"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"@aws-sdk/client-s3": ">=3"
|