@thefittingroom/sdk 1.2.0 → 1.2.1
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/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +2 -2
- package/dist/esm/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* thefittingroom v1.2.
|
|
2
|
+
* thefittingroom v1.2.1 (2024-06-27T17:22:36.881Z)
|
|
3
3
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
// Code generated by tygo. DO NOT EDIT.
|
|
@@ -22976,7 +22976,7 @@ class TfrShop {
|
|
|
22976
22976
|
throw new Error('Taxonomy not found for style garment category id');
|
|
22977
22977
|
const filteredLocations = !filledLocations.length
|
|
22978
22978
|
? taxonomy.garment_measurement_locations.female
|
|
22979
|
-
: taxonomy.garment_measurement_locations.female.filter((location) =>
|
|
22979
|
+
: taxonomy.garment_measurement_locations.female.filter((location) => filledLocations.includes(location));
|
|
22980
22980
|
return filteredLocations.map((location) => {
|
|
22981
22981
|
return this.measurementLocations.has(location) ? this.measurementLocations.get(location) : location;
|
|
22982
22982
|
});
|