🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@klevu/core

Package Overview
Dependencies
Maintainers
3
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@klevu/core - npm Package Compare versions

Comparing version
5.6.0
to
5.7.0
+2
-2
dist/cjs/connection/moi/moi.js

@@ -22,3 +22,3 @@ "use strict";

function startMoi(options = {}) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e;
return __awaiter(this, void 0, void 0, function* () {

@@ -76,3 +76,3 @@ const config = ((_a = options.settings) === null || _a === void 0 ? void 0 : _a.configOverride) || index_js_1.KlevuConfig.getDefault();

}, config);
if (!(result === null || result === void 0 ? void 0 : result.data[0].context)) {
if (!(result === null || result === void 0 ? void 0 : result.data) || !((_e = result === null || result === void 0 ? void 0 : result.data[0]) === null || _e === void 0 ? void 0 : _e.context)) {
throw new Error("No context found");

@@ -79,0 +79,0 @@ }

@@ -19,3 +19,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

export function startMoi(options = {}) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e;
return __awaiter(this, void 0, void 0, function* () {

@@ -73,3 +73,3 @@ const config = ((_a = options.settings) === null || _a === void 0 ? void 0 : _a.configOverride) || KlevuConfig.getDefault();

}, config);
if (!(result === null || result === void 0 ? void 0 : result.data[0].context)) {
if (!(result === null || result === void 0 ? void 0 : result.data) || !((_e = result === null || result === void 0 ? void 0 : result.data[0]) === null || _e === void 0 ? void 0 : _e.context)) {
throw new Error("No context found");

@@ -76,0 +76,0 @@ }

{
"name": "@klevu/core",
"sideEffects": false,
"version": "5.6.0",
"version": "5.7.0",
"description": "Typescript SDK that simplifies development on Klevu backend. Klevu provides advanced AI-powered search and discovery solutions for online retailers.",

@@ -6,0 +6,0 @@ "keywords": [