@adobe/aio-lib-web 7.0.2 → 7.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.
@@ -67,7 +67,7 @@ module.exports = class RemoteStorage {
67
67
  accessKeyId: creds.accessKeyId,
68
68
  secretAccessKey: creds.secretAccessKey,
69
69
  sessionToken: creds.sessionToken,
70
- expiration: creds.expiration
70
+ expiration: creds.expiration ? new Date(creds.expiration) : undefined
71
71
  }
72
72
  this.bucket = creds.params.Bucket
73
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/aio-lib-web",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "description": "Utility tooling library to build and deploy Adobe I/O Project Firefly app static sites to CDN",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -32,7 +32,7 @@
32
32
  "@adobe/aio-lib-core-config": "^5",
33
33
  "@adobe/aio-lib-core-logging": "^3",
34
34
  "@adobe/aio-lib-core-tvm": "^4",
35
- "@aws-sdk/client-s3": "3.623.0",
35
+ "@aws-sdk/client-s3": "^3.624.0",
36
36
  "core-js": "^3.25.1",
37
37
  "fs-extra": "^11",
38
38
  "joi": "^17.2.1",
@@ -47,7 +47,7 @@ describe('RemoteStorage', () => {
47
47
  accessKeyId: global.fakeTVMResponse.accessKeyId,
48
48
  secretAccessKey: global.fakeTVMResponse.secretAccessKey,
49
49
  sessionToken: global.fakeTVMResponse.sessionToken,
50
- expiration: global.fakeTVMResponse.expiration
50
+ expiration: new Date(global.fakeTVMResponse.expiration)
51
51
  },
52
52
  region: 'us-east-1'
53
53
  })