@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.
package/dist/index.mjs CHANGED
@@ -2056,7 +2056,12 @@ var HaexVaultSdk = class {
2056
2056
  async request(method, params) {
2057
2057
  const resolvedParams = params ?? {};
2058
2058
  if (this.isNativeWindow && hasTauri()) {
2059
- return sendInvoke(method, resolvedParams, this.config, this.log.bind(this));
2059
+ const paramsWithCredentials = {
2060
+ ...resolvedParams,
2061
+ publicKey: this._extensionInfo?.publicKey,
2062
+ extensionName: this._extensionInfo?.name
2063
+ };
2064
+ return sendInvoke(method, paramsWithCredentials, this.config, this.log.bind(this));
2060
2065
  }
2061
2066
  const requestId = generateRequestId(++this.requestCounter);
2062
2067
  return sendPostMessage(method, resolvedParams, requestId, this.config, this._extensionInfo, this.pendingRequests);