Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
9f0b1dab55 | |||
9b84cf8bc0 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartbucket",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartbucket",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"description": "simple cloud independent object storage",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
|
@ -9,6 +9,14 @@ export interface ISmartBucketConfig {
|
||||
export class SmartBucket {
|
||||
public config: ISmartBucketConfig;
|
||||
|
||||
public minioClient = new plugins.minio.Client({
|
||||
endPoint: 'ams3.digitaloceanspaces.com',
|
||||
port: 9000,
|
||||
useSSL: true,
|
||||
accessKey: 'Q3AM3UQ867SPQQA43P2F',
|
||||
secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG'
|
||||
});
|
||||
|
||||
/**
|
||||
* the constructor of SmartBucket
|
||||
*/
|
||||
@ -19,5 +27,7 @@ export class SmartBucket {
|
||||
/**
|
||||
* initializes the Smartbucket
|
||||
*/
|
||||
public async init() {}
|
||||
public async init() {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -4,3 +4,7 @@ export { smartpromise };
|
||||
|
||||
// third party scope
|
||||
import * as minio from 'minio';
|
||||
|
||||
export {
|
||||
minio
|
||||
};
|
||||
|
Reference in New Issue
Block a user