@spscommerce/asst-api 5.3.3 → 5.3.4
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/{chunk-FECWD4HI.js → chunk-42U2ERT7.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/msw.js +1 -1
- package/package.json +2 -2
|
@@ -422,7 +422,7 @@ var companyFeatureSchema = z7.object({
|
|
|
422
422
|
});
|
|
423
423
|
function createCompanyFeaturesApi(client, companyType) {
|
|
424
424
|
function getSearchParams() {
|
|
425
|
-
return companyType
|
|
425
|
+
return { companyType: companyType ?? client.getCompanyType() };
|
|
426
426
|
}
|
|
427
427
|
async function checkIfStageItemSetupIsEnabled(signal) {
|
|
428
428
|
const data = await client.get(`${BASE_URL10}/isphaseditemsetupenabled`, {
|
package/dist/index.cjs
CHANGED
|
@@ -1732,7 +1732,7 @@ var companyFeatureSchema = import_zod38.z.object({
|
|
|
1732
1732
|
});
|
|
1733
1733
|
function createCompanyFeaturesApi(client, companyType) {
|
|
1734
1734
|
function getSearchParams() {
|
|
1735
|
-
return companyType
|
|
1735
|
+
return { companyType: companyType ?? client.getCompanyType() };
|
|
1736
1736
|
}
|
|
1737
1737
|
async function checkIfStageItemSetupIsEnabled(signal) {
|
|
1738
1738
|
const data = await client.get(`${BASE_URL10}/isphaseditemsetupenabled`, {
|
package/dist/index.js
CHANGED
package/dist/msw.js
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Assortment Api is a collection of HTTP functions to use Assortment endpoints",
|
|
4
4
|
"author": "Assortment",
|
|
5
5
|
"repository": "https://github.com/SPSCommerce/assortment-main/tree/main/ui/packages/asst-api",
|
|
6
|
-
"version": "5.3.
|
|
6
|
+
"version": "5.3.4",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"msw": "^2.11.3",
|
|
55
55
|
"tsup": "^8.3.0",
|
|
56
56
|
"typescript": "~5.8.3",
|
|
57
|
-
"vite": "^
|
|
57
|
+
"vite": "^8.0.16",
|
|
58
58
|
"zod": "^3.23.8"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|