@programisto/edrm-storage 1.0.2 → 1.0.3

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.
package/dist/bin/www.js CHANGED
@@ -9,5 +9,5 @@ if (fs.existsSync(localAppPath)) {
9
9
  await import(localAppPath);
10
10
  }
11
11
  else {
12
- await import('@programisto/endurance-core');
12
+ await import('@programisto/endurance');
13
13
  }
@@ -1,4 +1,4 @@
1
- import { EnduranceSchema } from '@programisto/endurance-core';
1
+ import { EnduranceSchema } from '@programisto/endurance';
2
2
  export declare enum FileStatus {
3
3
  PENDING = "PENDING",
4
4
  UPLOADING = "UPLOADING",
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  /* eslint-disable @typescript-eslint/no-unused-vars, no-use-before-define */
11
- import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance-core';
11
+ import { EnduranceSchema, EnduranceModelType } from '@programisto/endurance';
12
12
  // Enums pour les statuts de fichiers
13
13
  export var FileStatus;
14
14
  (function (FileStatus) {
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter } from '@programisto/endurance-core';
1
+ import { EnduranceRouter } from '@programisto/endurance';
2
2
  declare class EdrmStorageRouter extends EnduranceRouter {
3
3
  private storageService;
4
4
  constructor();
@@ -1,4 +1,4 @@
1
- import { EnduranceRouter } from '@programisto/endurance-core';
1
+ import { EnduranceRouter } from '@programisto/endurance';
2
2
  import { EdrmStorageService } from '../services/edrm-storage.service.js';
3
3
  class EdrmStorageRouter extends EnduranceRouter {
4
4
  storageService;
@@ -1,4 +1,4 @@
1
- import { enduranceEmitter, enduranceEventTypes } from '@programisto/endurance-core';
1
+ import { enduranceEmitter, enduranceEventTypes } from '@programisto/endurance';
2
2
  import FileModel, { FileStatus, FileProvider, FileType } from '../models/file.model.js';
3
3
  import { S3StorageProvider } from '../providers/s3-storage.provider.js';
4
4
  import crypto from 'crypto';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@programisto/edrm-storage",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@aws-sdk/client-s3": "^3.879.0",
21
21
  "@aws-sdk/s3-request-presigner": "^3.879.0",
22
- "@programisto/endurance-core": "^1.1.6",
22
+ "@programisto/endurance": "^1.0.2",
23
23
  "aws-sdk": "^2.1692.0",
24
24
  "debug": "^4.3.7",
25
25
  "fs": "^0.0.1-security",