@sonic-equipment/ui 0.0.49 → 0.0.50

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -55,7 +55,7 @@ const configPerEnvironment = {
55
55
  ALGOLIA_HOST: 'bff.shop.sonic-equipment.com',
56
56
  ALGOLIA_PROXY_HOST: 'sonicequipment.commerce.insitesandbox.com',
57
57
  BFF_API_URL: 'https://bff.shop.sonic-equipment.com',
58
- PROXY_API_URL: 'https://shop.sonic-equipment.com/bff',
58
+ PROXY_API_URL: 'https://shop.sonic-equipment.com/api/v1/bff',
59
59
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
60
60
  SHOP_API_URL: '',
61
61
  },
@@ -65,7 +65,7 @@ const configPerEnvironment = {
65
65
  ALGOLIA_HOST: 'test-bff.shop.sonic-equipment.com',
66
66
  ALGOLIA_PROXY_HOST: 'sonicequipment.commerce.insitesandbox.com',
67
67
  BFF_API_URL: 'https://test-bff.shop.sonic-equipment.com',
68
- PROXY_API_URL: 'https://sonicequipment.commerce.insitesandbox.com/bff',
68
+ PROXY_API_URL: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/bff',
69
69
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
70
70
  SHOP_API_URL: '',
71
71
  },
@@ -128,7 +128,7 @@ function useFetchProductListingPageData({ languageCode, pageUrl, }) {
128
128
  return useQuery({
129
129
  gcTime: 1000 * 60 * 60 * 24,
130
130
  queryFn: async () => {
131
- const res = await fetch(`${config.PROXY_API_URL}/api/v1/plp/?pageUrl=${pageUrl}`, {
131
+ const res = await fetch(`${config.PROXY_API_URL}/plp/?pageUrl=${pageUrl}`, {
132
132
  headers: { 'Current-Language-Id': languageCode },
133
133
  });
134
134
  if (!res.ok)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {