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