@haex-space/vault-sdk 2.5.60 → 2.5.64

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.
@@ -1465,7 +1465,12 @@ var HaexVaultSdk = class {
1465
1465
  async request(method, params) {
1466
1466
  const resolvedParams = params ?? {};
1467
1467
  if (this.isNativeWindow && hasTauri()) {
1468
- return sendInvoke(method, resolvedParams, this.config, this.log.bind(this));
1468
+ const paramsWithCredentials = {
1469
+ ...resolvedParams,
1470
+ publicKey: this._extensionInfo?.publicKey,
1471
+ name: this._extensionInfo?.name
1472
+ };
1473
+ return sendInvoke(method, paramsWithCredentials, this.config, this.log.bind(this));
1469
1474
  }
1470
1475
  const requestId = generateRequestId(++this.requestCounter);
1471
1476
  return sendPostMessage(method, resolvedParams, requestId, this.config, this._extensionInfo, this.pendingRequests);