@dimah-s3/core 2.0.0-beta.3 → 2.0.0-beta.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.
- package/README.md +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @dimah-s3/core
|
|
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
|
The protocol, typed fetch client, error catalog, and pure helpers shared by
|
|
6
6
|
`@dimah-s3/server` and `@dimah-s3/react`.
|
|
7
7
|
|
|
8
|
-
Full documentation: [
|
|
9
|
-
[llms.txt](https://
|
|
8
|
+
Full documentation: [s3.dimah.dev/docs/core](https://s3.dimah.dev/docs/core) ·
|
|
9
|
+
[llms.txt](https://s3.dimah.dev/llms.txt)
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
@@ -46,11 +46,11 @@ options and adds a bound `Provider` and `useApi`.
|
|
|
46
46
|
|
|
47
47
|
Every failure is an `APIError` with a stable `code` from `S3_ERROR_CODES`.
|
|
48
48
|
Narrow it with `isS3ErrorCode(error, "OBJECT_NOT_FOUND")`. See
|
|
49
|
-
[Errors](https://
|
|
49
|
+
[Errors](https://s3.dimah.dev/docs/server/errors).
|
|
50
50
|
|
|
51
51
|
## Upgrading from 1.7
|
|
52
52
|
|
|
53
|
-
See [Upgrade to 2.0 beta](https://
|
|
53
|
+
See [Upgrade to 2.0 beta](https://s3.dimah.dev/docs/migration-2-0).
|
|
54
54
|
|
|
55
55
|
## License
|
|
56
56
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimah-s3/core",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.5",
|
|
4
4
|
"description": "Typed S3 presign protocol and fetch client shared by @dimah-s3/server and @dimah-s3/react",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"s3",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"protocol",
|
|
12
12
|
"typescript"
|
|
13
13
|
],
|
|
14
|
-
"homepage": "https://
|
|
14
|
+
"homepage": "https://s3.dimah.dev/docs/core",
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/dimah-kz/dimah-s3/issues"
|
|
17
17
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@better-fetch/fetch": "1.3.3",
|
|
42
42
|
"@noble/hashes": "^2.4.0",
|
|
43
|
-
"better-call": "1.4.
|
|
43
|
+
"better-call": "1.4.5",
|
|
44
44
|
"zod": "^4.6.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|