nestjs-minio
Advanced tools
Comparing version 2.1.6 to 2.1.7
import { NestMinioOptions } from './interfaces'; | ||
import * as Minio from 'minio'; | ||
interface INestMinioService { | ||
@@ -7,7 +8,6 @@ getMinio(): any; | ||
private _NestMinioOptions; | ||
private readonly logger; | ||
private _minioConnection; | ||
constructor(_NestMinioOptions: NestMinioOptions); | ||
getMinio(): any; | ||
getMinio(): Minio.Client; | ||
} | ||
export {}; |
@@ -23,4 +23,2 @@ "use strict"; | ||
this._NestMinioOptions = _NestMinioOptions; | ||
this.logger = new common_1.Logger('NestMinioService'); | ||
// this.logger.log(`Options: ${JSON.stringify(this._NestMinioOptions)}`); | ||
} | ||
@@ -27,0 +25,0 @@ getMinio() { |
{ | ||
"name": "nestjs-minio", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "Minio object storage with nestjs", | ||
@@ -38,3 +38,3 @@ "author": "Rubin Bhandari", | ||
"@nestjs/platform-express": "^7.6.12", | ||
"@nestjs/testing": "7.6.12", | ||
"@nestjs/testing": "7.6.13", | ||
"@types/express": "4.17.11", | ||
@@ -41,0 +41,0 @@ "@types/jest": "26.0.20", |
@@ -89,6 +89,7 @@ <p align="center"> | ||
import { MINIO_CONNECTION } from '../constants'; | ||
import {Client} from 'minio'; | ||
@Controller() | ||
export class NestMinioClientController { | ||
constructor(@Inject(MINIO_CONNECTION) private readonly minioClient) {} | ||
constructor(@Inject(MINIO_CONNECTION) private readonly minioClient: Client) {} | ||
@@ -122,2 +123,1 @@ @Get() | ||
``` | ||
Sorry, the diff of this file is not supported yet
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
44964
311