@dyrected/admin 1.0.6 → 2.0.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/CHANGELOG.md +24 -0
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @dyrected/admin
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Updated all storage adapters to support `Uint8Array` buffers and file prefixing.
|
|
8
|
+
- **Storage API Update**: The `buffer` parameter in `StorageAdapter.upload` and `resolve` now expects a `Uint8Array` instead of a Node.js `Buffer`. This ensures better compatibility across different JavaScript environments.
|
|
9
|
+
- **File Prefixing**: Added support for an optional `prefix` parameter in `StorageAdapter.upload` to allow organizing files into subfolders or prefixes (supported by Cloudinary, S3, B2, and Local storage).
|
|
10
|
+
- **Alignment**: Standardized `CloudinaryStorageAdapter`, `LocalStorageAdapter`, `S3StorageAdapter`, and `B2StorageAdapter` to strictly follow the `@dyrected/core` interface.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- @dyrected/core@2.0.0
|
|
16
|
+
- @dyrected/sdk@2.0.0
|
|
17
|
+
|
|
18
|
+
## 1.0.9
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- d8e1f29: bump package versions and update export conditions for admin package
|
|
23
|
+
- Updated dependencies [d8e1f29]
|
|
24
|
+
- @dyrected/core@1.0.9
|
|
25
|
+
- @dyrected/sdk@1.0.9
|
|
26
|
+
|
|
3
27
|
## 1.0.6
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dyrected/admin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.mjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.mjs"
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"browser": "./dist/index.mjs",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
12
14
|
},
|
|
13
15
|
"./styles": "./dist/admin.css"
|
|
14
16
|
},
|
|
@@ -58,8 +60,8 @@
|
|
|
58
60
|
"tailwind-merge": "^3.5.0",
|
|
59
61
|
"tailwindcss-animate": "^1.0.7",
|
|
60
62
|
"zod": "^3.25.76",
|
|
61
|
-
"@dyrected/sdk": "^
|
|
62
|
-
"@dyrected/core": "^
|
|
63
|
+
"@dyrected/sdk": "^2.0.0",
|
|
64
|
+
"@dyrected/core": "^2.0.0"
|
|
63
65
|
},
|
|
64
66
|
"devDependencies": {
|
|
65
67
|
"@eslint/js": "^10.0.1",
|