@getlupa/client 0.5.1-alpha-8 → 0.5.1-alpha-9
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/cjs/index.d.ts +1 -2
- package/dist/cjs/index.min.js +0 -6
- package/dist/cjs/types/General.d.ts +4 -2
- package/dist/es/index.d.ts +1 -2
- package/dist/es/index.min.js +0 -2
- package/dist/es/types/General.d.ts +4 -2
- package/dist/iife/index.d.ts +1 -2
- package/dist/iife/types/General.d.ts +4 -2
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
|
|
2
2
|
import { FacetStyle, SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
|
|
3
|
-
import { SdkOptions, TrackingOptions } from "./types/General";
|
|
3
|
+
import { SdkOptions, TrackingOptions, Environment, SortDirection } from "./types/General";
|
|
4
4
|
import { ProductListOptions } from "./types/product-list/ProductListOptions";
|
|
5
5
|
import { DocumentElementType } from "./types/DocumentElement";
|
|
6
6
|
import { SearchBoxPanelType } from "./types/search-box/SearchBoxPanel";
|
|
7
|
-
import { Environment, SortDirection } from "@getlupa/client-sdk/Types";
|
|
8
7
|
import { RoutingBehavior } from "./types/search-results/RoutingBehavior";
|
|
9
8
|
import { AnchorPosition } from "./types/search-results/SearchResultsProductCardOptions";
|
|
10
9
|
import { BadgeType } from "./types/search-results/BadgeOptions";
|
package/dist/cjs/index.min.js
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Types = require('@getlupa/client-sdk/Types');
|
|
6
|
-
|
|
7
5
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
8
6
|
|
|
9
7
|
function getDefaultExportFromCjs (x) {
|
|
@@ -34671,8 +34669,4 @@ var lupaSearch = {
|
|
|
34671
34669
|
clearProductList: clearProductList
|
|
34672
34670
|
};
|
|
34673
34671
|
|
|
34674
|
-
Object.defineProperty(exports, 'SortDirection', {
|
|
34675
|
-
enumerable: true,
|
|
34676
|
-
get: function () { return Types.SortDirection; }
|
|
34677
|
-
});
|
|
34678
34672
|
exports["default"] = lupaSearch;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Environment } from "@getlupa/client-sdk/Types";
|
|
2
1
|
import { AnalyticsOptions } from "./AnalyticsOptions";
|
|
2
|
+
import { Environment as SdkEnvironment, SortDirection as SdkSortDirection } from "@getlupa/client-sdk/Types";
|
|
3
3
|
export declare type SdkOptions = {
|
|
4
|
-
environment:
|
|
4
|
+
environment: SdkEnvironment;
|
|
5
5
|
customUrl?: string;
|
|
6
6
|
customPayload?: Record<string, unknown>;
|
|
7
7
|
customHeaders?: Record<string, string>;
|
|
@@ -14,3 +14,5 @@ export declare type TrackingOptions = {
|
|
|
14
14
|
userKey?: string;
|
|
15
15
|
analytics?: AnalyticsOptions;
|
|
16
16
|
};
|
|
17
|
+
export declare type SortDirection = SdkSortDirection;
|
|
18
|
+
export declare type Environment = SdkEnvironment;
|
package/dist/es/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
|
|
2
2
|
import { FacetStyle, SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
|
|
3
|
-
import { SdkOptions, TrackingOptions } from "./types/General";
|
|
3
|
+
import { SdkOptions, TrackingOptions, Environment, SortDirection } from "./types/General";
|
|
4
4
|
import { ProductListOptions } from "./types/product-list/ProductListOptions";
|
|
5
5
|
import { DocumentElementType } from "./types/DocumentElement";
|
|
6
6
|
import { SearchBoxPanelType } from "./types/search-box/SearchBoxPanel";
|
|
7
|
-
import { Environment, SortDirection } from "@getlupa/client-sdk/Types";
|
|
8
7
|
import { RoutingBehavior } from "./types/search-results/RoutingBehavior";
|
|
9
8
|
import { AnchorPosition } from "./types/search-results/SearchResultsProductCardOptions";
|
|
10
9
|
import { BadgeType } from "./types/search-results/BadgeOptions";
|
package/dist/es/index.min.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export { SortDirection } from '@getlupa/client-sdk/Types';
|
|
2
|
-
|
|
3
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
2
|
|
|
5
3
|
function getDefaultExportFromCjs (x) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Environment } from "@getlupa/client-sdk/Types";
|
|
2
1
|
import { AnalyticsOptions } from "./AnalyticsOptions";
|
|
2
|
+
import { Environment as SdkEnvironment, SortDirection as SdkSortDirection } from "@getlupa/client-sdk/Types";
|
|
3
3
|
export declare type SdkOptions = {
|
|
4
|
-
environment:
|
|
4
|
+
environment: SdkEnvironment;
|
|
5
5
|
customUrl?: string;
|
|
6
6
|
customPayload?: Record<string, unknown>;
|
|
7
7
|
customHeaders?: Record<string, string>;
|
|
@@ -14,3 +14,5 @@ export declare type TrackingOptions = {
|
|
|
14
14
|
userKey?: string;
|
|
15
15
|
analytics?: AnalyticsOptions;
|
|
16
16
|
};
|
|
17
|
+
export declare type SortDirection = SdkSortDirection;
|
|
18
|
+
export declare type Environment = SdkEnvironment;
|
package/dist/iife/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
|
|
2
2
|
import { FacetStyle, SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
|
|
3
|
-
import { SdkOptions, TrackingOptions } from "./types/General";
|
|
3
|
+
import { SdkOptions, TrackingOptions, Environment, SortDirection } from "./types/General";
|
|
4
4
|
import { ProductListOptions } from "./types/product-list/ProductListOptions";
|
|
5
5
|
import { DocumentElementType } from "./types/DocumentElement";
|
|
6
6
|
import { SearchBoxPanelType } from "./types/search-box/SearchBoxPanel";
|
|
7
|
-
import { Environment, SortDirection } from "@getlupa/client-sdk/Types";
|
|
8
7
|
import { RoutingBehavior } from "./types/search-results/RoutingBehavior";
|
|
9
8
|
import { AnchorPosition } from "./types/search-results/SearchResultsProductCardOptions";
|
|
10
9
|
import { BadgeType } from "./types/search-results/BadgeOptions";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Environment } from "@getlupa/client-sdk/Types";
|
|
2
1
|
import { AnalyticsOptions } from "./AnalyticsOptions";
|
|
2
|
+
import { Environment as SdkEnvironment, SortDirection as SdkSortDirection } from "@getlupa/client-sdk/Types";
|
|
3
3
|
export declare type SdkOptions = {
|
|
4
|
-
environment:
|
|
4
|
+
environment: SdkEnvironment;
|
|
5
5
|
customUrl?: string;
|
|
6
6
|
customPayload?: Record<string, unknown>;
|
|
7
7
|
customHeaders?: Record<string, string>;
|
|
@@ -14,3 +14,5 @@ export declare type TrackingOptions = {
|
|
|
14
14
|
userKey?: string;
|
|
15
15
|
analytics?: AnalyticsOptions;
|
|
16
16
|
};
|
|
17
|
+
export declare type SortDirection = SdkSortDirection;
|
|
18
|
+
export declare type Environment = SdkEnvironment;
|