algolia-experiences 1.5.1 → 1.5.2
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.
|
@@ -8676,7 +8676,10 @@
|
|
|
8676
8676
|
|
|
8677
8677
|
// typed as any, since it accepts the _real_ js clients, not the interface we otherwise expect
|
|
8678
8678
|
function getAppIdAndApiKey(searchClient) {
|
|
8679
|
-
if (searchClient.
|
|
8679
|
+
if (searchClient.appId && searchClient.apiKey) {
|
|
8680
|
+
// searchClient v5
|
|
8681
|
+
return [searchClient.appId, searchClient.apiKey];
|
|
8682
|
+
} else if (searchClient.transporter) {
|
|
8680
8683
|
// searchClient v4 or v5
|
|
8681
8684
|
var transporter = searchClient.transporter;
|
|
8682
8685
|
var headers = transporter.headers || transporter.baseHeaders;
|
|
@@ -12779,7 +12782,7 @@
|
|
|
12779
12782
|
};
|
|
12780
12783
|
}
|
|
12781
12784
|
|
|
12782
|
-
var version$1 = '4.75.
|
|
12785
|
+
var version$1 = '4.75.7';
|
|
12783
12786
|
|
|
12784
12787
|
function _typeof$j(obj) {
|
|
12785
12788
|
"@babel/helpers - typeof";
|