@eluvio/elv-client-js 4.0.134 → 4.0.135

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-client-js",
3
- "version": "4.0.134",
3
+ "version": "4.0.135",
4
4
  "description": "Javascript client for the Eluvio Content Fabric",
5
5
  "main": "src/index.js",
6
6
  "author": "Kevin Talmadge",
@@ -510,7 +510,7 @@ class ElvWalletClient {
510
510
 
511
511
  let fabricToken, expiresAt;
512
512
  if(createRemoteToken && this.client.signer.remoteSigner) {
513
- expiresAt = Date.now() + 24 * 60 * 60 * 1000;
513
+ expiresAt = Date.now() + tokenDuration * 60 * 60 * 1000;
514
514
  const tokenResponse = await this.client.signer.RetrieveCSAT({email, nonce, tenantId, force, duration: tokenDuration});
515
515
  fabricToken = tokenResponse.token;
516
516
  nonce = tokenResponse.nonce;