@clairejs/server 3.16.8 → 3.16.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.
package/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  ## Change Log
2
2
 
3
- #### 3.16.8:
3
+ #### 3.16.10:
4
4
 
5
- - refactor aws s3 file service
5
+ - update core, orm
6
+ - fix aws s3 file service
6
7
  - do not throw when fail to clean up in ModelRepository
7
8
  - fix file controllers
8
9
  - fix socket authentication, fix http error code in response
@@ -54,7 +54,7 @@ let S3FileService = class S3FileService extends AbstractFileService {
54
54
  getSinglePresignedUrl(_operation, objectKey) {
55
55
  return this.cloudfrontSigner.getSignedUrl({
56
56
  url: `${this.config.CLOUD_FRONT_PUBLIC_DOMAIN}/${objectKey}`,
57
- expires: this.config.PRESIGNED_URL_EXPIRATION_S * 1000
57
+ expires: Date.now() + this.config.PRESIGNED_URL_EXPIRATION_S * 1000
58
58
  });
59
59
  }
60
60
  async copySingleObject(fromObjectKey, toObjectKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clairejs/server",
3
- "version": "3.16.8",
3
+ "version": "3.16.10",
4
4
  "description": "Claire server NodeJs framework written in Typescript.",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
@@ -31,8 +31,8 @@
31
31
  "ws": "^7.5.5"
32
32
  },
33
33
  "peerDependencies": {
34
- "@clairejs/core": "^3.5.2",
35
- "@clairejs/orm": "^3.10.12",
34
+ "@clairejs/core": "^3.6.1",
35
+ "@clairejs/orm": "^3.11.0",
36
36
  "ioredis": "^5.2.0"
37
37
  },
38
38
  "devDependencies": {