Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@algolia/client-common

Package Overview
Dependencies
Maintainers
3
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/client-common - npm Package Compare versions

Comparing version 5.0.0-alpha.8 to 5.0.0-alpha.9

8

dist/client-common.cjs.js

@@ -533,5 +533,3 @@ 'use strict';

} : {};
const queryParameters = {
'x-algolia-agent': algoliaAgent.value,
...baseQueryParameters,
const queryParameters = { ...baseQueryParameters,
...request.queryParameters,

@@ -541,2 +539,6 @@ ...dataQueryParameters

if (algoliaAgent.value) {
queryParameters['x-algolia-agent'] = algoliaAgent.value;
}
if (requestOptions && requestOptions.queryParameters) {

@@ -543,0 +545,0 @@ for (const key of Object.keys(requestOptions.queryParameters)) {

@@ -529,5 +529,3 @@ function createAuth(appId, apiKey, authMode = 'WithinHeaders') {

} : {};
const queryParameters = {
'x-algolia-agent': algoliaAgent.value,
...baseQueryParameters,
const queryParameters = { ...baseQueryParameters,
...request.queryParameters,

@@ -537,2 +535,6 @@ ...dataQueryParameters

if (algoliaAgent.value) {
queryParameters['x-algolia-agent'] = algoliaAgent.value;
}
if (requestOptions && requestOptions.queryParameters) {

@@ -539,0 +541,0 @@ for (const key of Object.keys(requestOptions.queryParameters)) {

{
"name": "@algolia/client-common",
"version": "5.0.0-alpha.8",
"version": "5.0.0-alpha.9",
"description": "Common package for the Algolia JavaScript API client.",

@@ -5,0 +5,0 @@ "repository": "algolia/algoliasearch-client-javascript",

@@ -113,3 +113,2 @@ import type {

const queryParameters: QueryParameters = {
'x-algolia-agent': algoliaAgent.value,
...baseQueryParameters,

@@ -120,2 +119,6 @@ ...request.queryParameters,

if (algoliaAgent.value) {
queryParameters['x-algolia-agent'] = algoliaAgent.value;
}
if (requestOptions && requestOptions.queryParameters) {

@@ -122,0 +125,0 @@ for (const key of Object.keys(requestOptions.queryParameters)) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc