Socket
Socket
Sign inDemoInstall

@algolia/client-common

Package Overview
Dependencies
Maintainers
3
Versions
226
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-beta.2 to 5.0.0-beta.3

24

dist/client-common.esm.node.js

@@ -302,2 +302,10 @@ function createAuth(appId, apiKey, authMode = 'WithinHeaders') {

function _defineProperty(e, r, t) {
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
value: t,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[r] = t, e;
}
function _toPrimitive(t, r) {

@@ -317,16 +325,2 @@ if ("object" != typeof t || !t) return t;

}
function _defineProperty(obj, key, value) {
key = _toPropertyKey(key);
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}

@@ -352,3 +346,3 @@ class AlgoliaError extends Error {

constructor(stackTrace) {
super('Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.', stackTrace, 'RetryError');
super('Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.', stackTrace, 'RetryError');
}

@@ -355,0 +349,0 @@ }

{
"name": "@algolia/client-common",
"version": "5.0.0-beta.2",
"version": "5.0.0-beta.3",
"description": "Common package for the Algolia JavaScript API client.",

@@ -23,9 +23,9 @@ "repository": "algolia/algoliasearch-client-javascript",

"devDependencies": {
"@babel/preset-env": "7.24.5",
"@babel/preset-typescript": "7.24.1",
"@babel/preset-env": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@types/jest": "29.5.12",
"@types/node": "20.12.11",
"@types/node": "20.14.2",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"ts-jest": "29.1.2",
"ts-jest": "29.1.4",
"typescript": "5.4.5"

@@ -32,0 +32,0 @@ },

@@ -28,3 +28,3 @@ import type { Response, StackFrame } from '../types';

super(
'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.',
'Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.',
stackTrace,

@@ -31,0 +31,0 @@ 'RetryError'

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