@miradorlabs/parallax-web 1.0.7 → 1.0.8

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.umd.js CHANGED
@@ -1953,7 +1953,7 @@
1953
1953
  this.apiUrl = apiUrl;
1954
1954
  }
1955
1955
  // Create credentials object with API key if provided
1956
- const credentials = apiKey ? { 'x-api-key': apiKey } : undefined;
1956
+ const credentials = apiKey ? { 'x-parallax-api-key': apiKey } : undefined;
1957
1957
  // Initialize the gRPC-Web client
1958
1958
  this.client = new ParallaxGatewayServiceClient(this.apiUrl, credentials);
1959
1959
  }
@@ -2325,7 +2325,7 @@
2325
2325
  };
2326
2326
  // Add API key to headers if provided
2327
2327
  if (this.apiKey) {
2328
- headers['x-api-key'] = this.apiKey;
2328
+ headers['x-parallax-api-key'] = this.apiKey;
2329
2329
  }
2330
2330
  // Add custom metadata
2331
2331
  if (metadata) {
@@ -2363,7 +2363,7 @@
2363
2363
  };
2364
2364
  // Add API key to headers if provided
2365
2365
  if (this.apiKey) {
2366
- headers['x-api-key'] = this.apiKey;
2366
+ headers['x-parallax-api-key'] = this.apiKey;
2367
2367
  }
2368
2368
  fetch(`${this.url}/${service}/${method}`, {
2369
2369
  method: 'POST',