@pgpmjs/types 2.20.3 → 2.21.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/esm/pgpm.js CHANGED
@@ -45,7 +45,8 @@ export const pgpmDefaults = {
45
45
  awsRegion: 'us-east-1',
46
46
  awsAccessKey: 'minioadmin',
47
47
  awsSecretKey: 'minioadmin',
48
- minioEndpoint: 'http://localhost:9000'
48
+ endpoint: 'http://localhost:9000',
49
+ publicUrlPrefix: 'http://localhost:9000/test-bucket'
49
50
  },
50
51
  deployment: {
51
52
  useTx: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/types",
3
- "version": "2.20.3",
3
+ "version": "2.21.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PGPM types",
6
6
  "main": "index.js",
@@ -42,5 +42,5 @@
42
42
  "devDependencies": {
43
43
  "makage": "^0.3.0"
44
44
  },
45
- "gitHead": "d0d8f5ca5828ad3efba5f607bc699a8d520e4603"
45
+ "gitHead": "fe60f7b81252eea53dce227bb581d5ae2ef0ec36"
46
46
  }
package/pgpm.d.ts CHANGED
@@ -110,8 +110,10 @@ export interface CDNOptions {
110
110
  awsAccessKey?: string;
111
111
  /** AWS secret key for S3 */
112
112
  awsSecretKey?: string;
113
- /** MinIO endpoint URL for local development (only used when provider is 'minio') */
114
- minioEndpoint?: string;
113
+ /** S3-compatible API endpoint URL (MinIO, R2, DO Spaces, GCS, etc.) */
114
+ endpoint?: string;
115
+ /** Public URL prefix for generating download URLs (e.g., CDN domain, S3 public URL) */
116
+ publicUrlPrefix?: string;
115
117
  }
116
118
  /**
117
119
  * SMTP email configuration options
package/pgpm.js CHANGED
@@ -49,7 +49,8 @@ exports.pgpmDefaults = {
49
49
  awsRegion: 'us-east-1',
50
50
  awsAccessKey: 'minioadmin',
51
51
  awsSecretKey: 'minioadmin',
52
- minioEndpoint: 'http://localhost:9000'
52
+ endpoint: 'http://localhost:9000',
53
+ publicUrlPrefix: 'http://localhost:9000/test-bucket'
53
54
  },
54
55
  deployment: {
55
56
  useTx: true,