@getlupa/client 0.5.1-alpha-22 → 0.6.0-alpha-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.
@@ -1,5 +1,5 @@
1
1
  import { AnalyticsOptions } from "./AnalyticsOptions";
2
- import { Environment as SdkEnvironment, SortDirection as SdkSortDirection } from "@getlupa/client-sdk/Types";
2
+ import { Environment as SdkEnvironment } from "@getlupa/client-sdk/Types";
3
3
  export declare type SdkOptions = {
4
4
  environment: SdkEnvironment;
5
5
  customUrl?: string;
@@ -14,5 +14,5 @@ export declare type TrackingOptions = {
14
14
  userKey?: string;
15
15
  analytics?: AnalyticsOptions;
16
16
  };
17
- export declare type SortDirection = SdkSortDirection;
18
17
  export declare type Environment = SdkEnvironment;
18
+ export declare type SortDirection = "asc" | "desc";
@@ -1,4 +1,4 @@
1
- import { SortDirection } from "@getlupa/client-sdk/Types";
1
+ import { SortDirection } from "../General";
2
2
  export declare type SearchResultsSortOptions = {
3
3
  key: string;
4
4
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "0.5.1-alpha-22",
3
+ "version": "0.6.0-alpha-2",
4
4
  "main": "dist/cjs/index.min.js",
5
5
  "module": "dist/es/index.min.js",
6
6
  "types": "dist/es/index.d.ts",