Compare commits

..

2 Commits

Author SHA1 Message Date
9592ab863a 1.0.43 2021-12-18 01:13:02 +01:00
b60ece389c fix(core): update 2021-12-18 01:13:02 +01:00
3 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartbucket",
"version": "1.0.42",
"version": "1.0.43",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartbucket",
"version": "1.0.42",
"version": "1.0.43",
"license": "UNLICENSED",
"dependencies": {
"@pushrocks/qenv": "^4.0.10",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartbucket",
"version": "1.0.42",
"version": "1.0.43",
"description": "simple cloud independent object storage",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",

View File

@ -4,6 +4,7 @@ import { Bucket } from './smartbucket.classes.bucket';
export interface ISmartBucketConfig {
endpoint: string;
port?: number;
useSsl?: boolean;
accessKey: string;
accessSecret: string;
}
@ -21,7 +22,7 @@ export class SmartBucket {
this.minioClient = new plugins.minio.Client({
endPoint: this.config.endpoint,
port: configArg.port || 443,
useSSL: true,
useSSL: configArg.useSsl || true,
accessKey: this.config.accessKey,
secretKey: this.config.accessSecret,
});