@haex-space/vault-sdk 2.5.60 → 2.5.62

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