@hashgraph/hedera-wallet-connect 1.4.4-canary.b020e62.0 → 1.4.4-canary.b86874c.0

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.
@@ -78,12 +78,13 @@ export class DAppSigner {
78
78
  }
79
79
  if (this.extensionId)
80
80
  extensionOpen(this.extensionId);
81
+ const currentDate = Date.now();
81
82
  const dAppRequest = {
82
83
  topic: this.topic,
83
84
  request,
84
85
  chainId: ledgerIdToCAIPChainId(this.ledgerId),
85
86
  // hardcode expiry to 5 minutes
86
- expiry: 300,
87
+ expiry: currentDate + 300,
87
88
  };
88
89
  this.logger.debug('Sending request to wallet', dAppRequest);
89
90
  return this.signClient.request(dAppRequest);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashgraph/hedera-wallet-connect",
3
- "version": "1.4.4-canary.b020e62.0",
3
+ "version": "1.4.4-canary.b86874c.0",
4
4
  "description": "A library to facilitate integrating Hedera with WalletConnect",
5
5
  "repository": {
6
6
  "type": "git",