@orion-js/file-manager
Advanced tools
Comparing version 3.6.1 to 3.6.2
@@ -8,4 +8,6 @@ export interface Credentials { | ||
basePath: string; | ||
endpoint?: string; | ||
s3ForcePathStyle?: boolean; | ||
} | ||
export declare const setupFileManager: (options: any) => any; | ||
export declare const getAWSCredentials: () => Partial<Credentials>; |
@@ -43,7 +43,9 @@ "use strict"; | ||
async resolve(params, viewer) { | ||
const { accessKeyId, secretAccessKey, region, bucket, canUpload, basePath } = (0, credentials_1.getAWSCredentials)(); | ||
const { accessKeyId, secretAccessKey, region, bucket, endpoint, s3ForcePathStyle, canUpload, basePath } = (0, credentials_1.getAWSCredentials)(); | ||
const s3 = new aws_sdk_1.default.S3({ | ||
accessKeyId, | ||
secretAccessKey, | ||
region | ||
region, | ||
endpoint, | ||
s3ForcePathStyle | ||
}); | ||
@@ -50,0 +52,0 @@ if (canUpload) { |
{ | ||
"name": "@orion-js/file-manager", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"main": "lib/index.js", | ||
@@ -21,3 +21,3 @@ "author": "nicolaslopezj", | ||
"@orion-js/schema": "^3.6.1", | ||
"aws-sdk": "^2.1028.0", | ||
"aws-sdk": "^2.1367.0", | ||
"escape-string-regexp": "^4.0.0", | ||
@@ -42,3 +42,3 @@ "lodash": "^4.17.21", | ||
}, | ||
"gitHead": "ce643e657e199d1893c8c0f1d067d96e542f1796" | ||
"gitHead": "2ee319d47d7eb4d0da1c50f83d1259896ee644b4" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16225
408
Updatedaws-sdk@^2.1367.0