@travetto/model-s3 3.1.0-rc.1 → 3.1.0-rc.10

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/service.ts +1 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-s3",
3
- "version": "3.1.0-rc.1",
3
+ "version": "3.1.0-rc.10",
4
4
  "description": "S3 backing for the travetto model module.",
5
5
  "keywords": [
6
6
  "s3",
@@ -27,11 +27,11 @@
27
27
  "dependencies": {
28
28
  "@aws-sdk/client-s3": "^3.272.0",
29
29
  "@aws-sdk/credential-provider-ini": "^3.218.0",
30
- "@travetto/config": "^3.1.0-rc.1",
31
- "@travetto/model": "^3.1.0-rc.1"
30
+ "@travetto/config": "^3.1.0-rc.8",
31
+ "@travetto/model": "^3.1.0-rc.10"
32
32
  },
33
33
  "peerDependencies": {
34
- "@travetto/command": "^3.1.0-rc.1"
34
+ "@travetto/command": "^3.1.0-rc.5"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "@travetto/command": {
package/src/service.ts CHANGED
@@ -14,7 +14,6 @@ import { ModelCrudUtil } from '@travetto/model/src/internal/service/crud';
14
14
  import { ModelExpirySupport } from '@travetto/model/src/service/expiry';
15
15
  import { ModelExpiryUtil } from '@travetto/model/src/internal/service/expiry';
16
16
  import { ModelStorageUtil } from '@travetto/model/src/internal/service/storage';
17
- import { ModelUtil } from '@travetto/model/src/internal/util';
18
17
 
19
18
  import { S3ModelConfig } from './config';
20
19
 
@@ -34,6 +33,7 @@ const STREAM_SPACE = '@travetto/model-s3:stream';
34
33
  @Injectable()
35
34
  export class S3ModelService implements ModelCrudSupport, ModelStreamSupport, ModelStorageSupport, ModelExpirySupport {
36
35
 
36
+ uuid = ModelCrudUtil.uuidGenerator();
37
37
  client: s3.S3;
38
38
 
39
39
  constructor(public readonly config: S3ModelConfig) { }
@@ -147,10 +147,6 @@ export class S3ModelService implements ModelCrudSupport, ModelStreamSupport, Mod
147
147
  }
148
148
  }
149
149
 
150
- uuid(): string {
151
- return ModelUtil.uuid(32);
152
- }
153
-
154
150
  async postConstruct(): Promise<void> {
155
151
  this.client = new s3.S3(this.config.config);
156
152
  ModelStorageUtil.registerModelChangeListener(this);