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