@adminforth/upload 2.8.2 → 2.8.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.
Files changed (2) hide show
  1. package/index.ts +3 -3
  2. package/package.json +4 -2
package/index.ts CHANGED
@@ -97,11 +97,11 @@ export default class UploadPlugin extends AdminForthPlugin {
97
97
  await fn.call(adapter, filePath);
98
98
  }
99
99
 
100
- private markKeyForNotDeletion(filePath: string) {
100
+ public markKeyForNotDeletion(filePath: string) {
101
101
  return this.callStorageAdapter('markKeyForNotDeletion', 'markKeyForNotDeletation', filePath);
102
102
  }
103
-
104
- private markKeyForDeletion(filePath: string) {
103
+
104
+ public markKeyForDeletion(filePath: string) {
105
105
  return this.callStorageAdapter('markKeyForDeletion', 'markKeyForDeletation', filePath);
106
106
  }
107
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/upload",
3
- "version": "2.8.2",
3
+ "version": "2.8.4",
4
4
  "description": "Plugin for uploading files for adminforth",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,9 @@
21
21
  "license": "ISC",
22
22
  "dependencies": {
23
23
  "@aws-sdk/client-s3": "^3.629.0",
24
- "@aws-sdk/s3-request-presigner": "^3.629.0",
24
+ "@aws-sdk/s3-request-presigner": "^3.629.0"
25
+ },
26
+ "peerDependencies": {
25
27
  "adminforth": "^2.13.0-next.51"
26
28
  },
27
29
  "keywords": [