@aiconomy/aico-components 0.0.197 → 0.0.202

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/ssr/index.js CHANGED
@@ -16005,10 +16005,11 @@ async function fetchNewsArticles(api, page, size, signal, newsChannels = [], new
16005
16005
  ? 'news'
16006
16006
  : api.accessToken
16007
16007
  ? latestNews
16008
- ? `aico-shops/1/latest-news-resource?allBrands=${allBrands}`
16008
+ ? `aico-shops/1/latest-news-resource`
16009
16009
  : 'aico-shops/1/news-resource'
16010
16010
  : '';
16011
16011
  const queryParams = new URLSearchParams();
16012
+ queryParams.set('allBrands', `${allBrands}`);
16012
16013
  queryParams.set('page[number]', String(page));
16013
16014
  queryParams.set('page[size]', String(size));
16014
16015
  if (api.bearerToken) {
@@ -16001,10 +16001,11 @@ async function fetchNewsArticles(api, page, size, signal, newsChannels = [], new
16001
16001
  ? 'news'
16002
16002
  : api.accessToken
16003
16003
  ? latestNews
16004
- ? `aico-shops/1/latest-news-resource?allBrands=${allBrands}`
16004
+ ? `aico-shops/1/latest-news-resource`
16005
16005
  : 'aico-shops/1/news-resource'
16006
16006
  : '';
16007
16007
  const queryParams = new URLSearchParams();
16008
+ queryParams.set('allBrands', `${allBrands}`);
16008
16009
  queryParams.set('page[number]', String(page));
16009
16010
  queryParams.set('page[size]', String(size));
16010
16011
  if (api.bearerToken) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiconomy/aico-components",
3
- "version": "0.0.197",
3
+ "version": "0.0.202",
4
4
  "description": "Aiconomy components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",