@wikicasa-dev/utilities 1.1.21 → 1.1.22-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,4 @@
1
1
  import { Nullable } from '@wikicasa-dev/types';
2
-
3
2
  /**
4
3
  * Calculates the SHA-256 hash of the input string.
5
4
  *
@@ -1,3 +1,2 @@
1
1
  import { GPlaceDetails, Place } from '@wikicasa-dev/types';
2
-
3
2
  export declare const googlePlaceConverter: (gPlace: GPlaceDetails, address: string, place: Place) => Promise<Place>;
@@ -1,5 +1,4 @@
1
1
  import { LatLng } from 'leaflet';
2
-
3
2
  export declare function parsePoints(polygonFromMap: string): Array<LatLng> | undefined;
4
3
  /**
5
4
  * Parses a string representation of a polygon and converts it to an array of LatLng coordinates.
@@ -1,6 +1,5 @@
1
1
  import { Nullable, Optional } from '@wikicasa-dev/types';
2
2
  import { FlatInvert, InvertKeyToValue } from '../types/ObjectUtilsTypes';
3
-
4
3
  export declare function shallowCopyObjectTo(from: Record<string, any> | undefined, to: Record<string, any>): void;
5
4
  /**
6
5
  * Checks if the given object is empty.
@@ -1,4 +1,3 @@
1
1
  import { RealEstateSearchBean } from '@wikicasa-dev/types';
2
-
3
2
  export declare function buildURL(cityURL: string, listingTypology: string, contractType: string | undefined | null, zone?: string | null, seoFilter?: string | null, agencyAndPlace?: string, district?: string | null): string;
4
3
  export declare function buildParams(searchBean: RealEstateSearchBean, isAgency?: boolean): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/utilities",
3
- "version": "1.1.21",
3
+ "version": "1.1.22-alpha.2",
4
4
  "description": "Wikicasa frontend utilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -35,13 +35,9 @@
35
35
  "@types/js-cookie": "^3.0.6",
36
36
  "@types/leaflet": "^1.9.3",
37
37
  "@types/node": "^20.5.0",
38
- "@wikicasa-dev/types": "2.1.2",
39
- "glob": "^10.3.10",
38
+ "@wikicasa-dev/types": "2.1.8-alpha.2",
40
39
  "jest-environment-jsdom": "^29.7.0",
41
- "ts-jest": "^29.2.1",
42
- "typescript": "^5.4.3",
43
- "vite": "^5.2.3",
44
- "vite-plugin-dts": "^3.7.3"
40
+ "ts-jest": "^29.2.1"
45
41
  },
46
42
  "dependencies": {
47
43
  "date-fns": "^3.6.0",