@hashgraphonline/hashinal-wc 1.0.92-canary → 1.0.92-canary-2
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.
|
@@ -4880,11 +4880,15 @@ class DAppSigner {
|
|
|
4880
4880
|
}
|
|
4881
4881
|
if (this.extensionId)
|
|
4882
4882
|
extensionOpen(this.extensionId);
|
|
4883
|
-
|
|
4883
|
+
const dAppRequest = {
|
|
4884
4884
|
topic: this.topic,
|
|
4885
4885
|
request,
|
|
4886
|
-
chainId: ledgerIdToCAIPChainId(this.ledgerId)
|
|
4887
|
-
|
|
4886
|
+
chainId: ledgerIdToCAIPChainId(this.ledgerId),
|
|
4887
|
+
// hardcode expiry to 5 minutes
|
|
4888
|
+
expiry: 300
|
|
4889
|
+
};
|
|
4890
|
+
this.logger.debug("Sending request to wallet", dAppRequest);
|
|
4891
|
+
return this.signClient.request(dAppRequest);
|
|
4888
4892
|
}
|
|
4889
4893
|
getAccountId() {
|
|
4890
4894
|
return this.accountId;
|