@flusys/nestjs-storage 3.0.0-rc → 3.0.1

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.
@@ -1,7 +1,4 @@
1
- /**
2
- * Optional Azure Blob Storage Provider
3
- * Requires: npm install @azure/storage-blob
4
- */ function _define_property(obj, key, value) {
1
+ function _define_property(obj, key, value) {
5
2
  if (key in obj) {
6
3
  Object.defineProperty(obj, key, {
7
4
  value: value,
@@ -14,7 +11,10 @@
14
11
  }
15
12
  return obj;
16
13
  }
17
- import { Logger } from '@nestjs/common';
14
+ /**
15
+ * Optional Azure Blob Storage Provider
16
+ * Requires: npm install @azure/storage-blob
17
+ */ import { Logger } from '@nestjs/common';
18
18
  import { v4 as uuidv4 } from 'uuid';
19
19
  import { ImageCompressor } from '../utils/image-compressor.util';
20
20
  export class AzureProvider {
@@ -1,7 +1,4 @@
1
- /**
2
- * Optional AWS S3 Storage Provider
3
- * Requires: npm install @aws-sdk/client-s3 @aws-sdk/lib-storage @aws-sdk/s3-request-presigner
4
- */ function _define_property(obj, key, value) {
1
+ function _define_property(obj, key, value) {
5
2
  if (key in obj) {
6
3
  Object.defineProperty(obj, key, {
7
4
  value: value,
@@ -14,7 +11,10 @@
14
11
  }
15
12
  return obj;
16
13
  }
17
- import { Logger } from '@nestjs/common';
14
+ /**
15
+ * Optional AWS S3 Storage Provider
16
+ * Requires: npm install @aws-sdk/client-s3 @aws-sdk/lib-storage @aws-sdk/s3-request-presigner
17
+ */ import { Logger } from '@nestjs/common';
18
18
  import { v4 as uuidv4 } from 'uuid';
19
19
  import { ImageCompressor } from '../utils/image-compressor.util';
20
20
  export class S3Provider {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flusys/nestjs-storage",
3
- "version": "3.0.0-rc",
3
+ "version": "3.0.1",
4
4
  "description": "Modular storage package with optional AWS S3, Azure Blob, and SFTP providers",
5
5
  "main": "cjs/index.js",
6
6
  "module": "fesm/index.js",
@@ -128,7 +128,7 @@
128
128
  }
129
129
  },
130
130
  "dependencies": {
131
- "@flusys/nestjs-core": "3.0.0-rc",
132
- "@flusys/nestjs-shared": "3.0.0-rc"
131
+ "@flusys/nestjs-core": "3.0.1",
132
+ "@flusys/nestjs-shared": "3.0.1"
133
133
  }
134
134
  }