@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.esm.js CHANGED
@@ -1949,7 +1949,7 @@ class ParallaxClient {
1949
1949
  this.apiUrl = apiUrl;
1950
1950
  }
1951
1951
  // Create credentials object with API key if provided
1952
- const credentials = apiKey ? { 'x-api-key': apiKey } : undefined;
1952
+ const credentials = apiKey ? { 'x-parallax-api-key': apiKey } : undefined;
1953
1953
  // Initialize the gRPC-Web client
1954
1954
  this.client = new ParallaxGatewayServiceClient(this.apiUrl, credentials);
1955
1955
  }
@@ -2321,7 +2321,7 @@ class GrpcWebRpc {
2321
2321
  };
2322
2322
  // Add API key to headers if provided
2323
2323
  if (this.apiKey) {
2324
- headers['x-api-key'] = this.apiKey;
2324
+ headers['x-parallax-api-key'] = this.apiKey;
2325
2325
  }
2326
2326
  // Add custom metadata
2327
2327
  if (metadata) {
@@ -2359,7 +2359,7 @@ class GrpcWebRpc {
2359
2359
  };
2360
2360
  // Add API key to headers if provided
2361
2361
  if (this.apiKey) {
2362
- headers['x-api-key'] = this.apiKey;
2362
+ headers['x-parallax-api-key'] = this.apiKey;
2363
2363
  }
2364
2364
  fetch(`${this.url}/${service}/${method}`, {
2365
2365
  method: 'POST',