@studiocms/s3-storage 0.2.0 → 0.3.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/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * loaded when a user imports the StudioCMS plugin in their Astro configuration file. These
4
4
  * directives must be first at the top of the file and can only be preceded by this comment.
5
5
  */
6
- import { type StudioCMSStorageManager } from 'studiocms/plugins';
6
+ import type { StudioCMSStorageManagerDef } from 'studiocms/schemas';
7
7
  /**
8
8
  * Creates and configures a StudioCMS S3 Storage Manager plugin.
9
9
  *
@@ -25,5 +25,5 @@ import { type StudioCMSStorageManager } from 'studiocms/plugins';
25
25
  * const s3Storage = studiocmsS3Storage();
26
26
  * ```
27
27
  */
28
- export declare function studiocmsS3Storage(): StudioCMSStorageManager;
28
+ export declare function studiocmsS3Storage(): StudioCMSStorageManagerDef;
29
29
  export default studiocmsS3Storage;
package/dist/index.js CHANGED
@@ -6,9 +6,8 @@ function studiocmsS3Storage() {
6
6
  return defineStorageManager({
7
7
  identifier: packageIdentifier,
8
8
  name: "StudioCMS S3 Storage",
9
- studiocmsMinimumVersion: "0.1.0-beta.31",
10
9
  hooks: {
11
- "studiocms:storage-manager": ({ setStorageManager, logger }) => {
10
+ "studiocms:storage-manager": async ({ setStorageManager, logger }) => {
12
11
  logger.info("StudioCMS S3 Storage initialized.");
13
12
  setStorageManager({
14
13
  managerPath: resolve("./s3-storage-manager.js")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiocms/s3-storage",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Add S3 Storage Support into your StudioCMS project.",
5
5
  "author": {
6
6
  "name": "withstudiocms",
@@ -46,18 +46,18 @@
46
46
  },
47
47
  "type": "module",
48
48
  "dependencies": {
49
- "@aws-sdk/client-s3": "^3.970.0",
50
- "@aws-sdk/s3-request-presigner": "^3.970.0",
49
+ "@aws-sdk/client-s3": "^3.1003.0",
50
+ "@aws-sdk/s3-request-presigner": "^3.1003.0",
51
51
  "astro-integration-kit": "^0.19.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "^22.0.0",
55
55
  "astro": "^5.12.9",
56
56
  "vite": "^6.3.4",
57
- "studiocms": "^0.2.0"
57
+ "studiocms": "^0.4.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "effect": "^3.19.14"
60
+ "effect": "^3.19.19"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "buildkit build 'src/**/*.{ts,astro,css,json,png}'",