@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/svelte.js CHANGED
@@ -1717,7 +1717,12 @@ var HaexVaultSdk = class {
1717
1717
  async request(method, params) {
1718
1718
  const resolvedParams = params ?? {};
1719
1719
  if (this.isNativeWindow && hasTauri()) {
1720
- return sendInvoke(method, resolvedParams, this.config, this.log.bind(this));
1720
+ const paramsWithCredentials = {
1721
+ ...resolvedParams,
1722
+ publicKey: this._extensionInfo?.publicKey,
1723
+ name: this._extensionInfo?.name
1724
+ };
1725
+ return sendInvoke(method, paramsWithCredentials, this.config, this.log.bind(this));
1721
1726
  }
1722
1727
  const requestId = generateRequestId(++this.requestCounter);
1723
1728
  return sendPostMessage(method, resolvedParams, requestId, this.config, this._extensionInfo, this.pendingRequests);